On pressing 'OK' after editing a scheduled transaction, gnucash-2.4.10 crashes with a segfault. The backtrace is Core was generated by `gnucash'. Program terminated with signal 11, Segmentation fault. #0 g_hash_table_foreach (hash_table=0x0, func=0xb752d82a <_find_unreferenced_vars>, user_data=0xbf9b3a98) at ghash.c:1414 1414 gint version = hash_table->version; (gdb) bt #0 g_hash_table_foreach (hash_table=0x0, func=0xb752d82a <_find_unreferenced_vars>, user_data=0xbf9b3a98) at ghash.c:1414 #1 0xb752db04 in gnc_sx_instance_model_update_sx_instances (model=0xb8251318, sx=0xb7f0d2d8) at gnc-sx-instance-model.c:814 #2 0xb75e7355 in gsltma_updated_cb (instances=0xb8251318, sx_updated=0xb7f0d2d8, user_data=0xb8263840) at gnc-sx-list-tree-model-adapter.c:542 #3 0xb65cc55b in g_cclosure_marshal_VOID__POINTER (closure=0xb8281c70, return_value=0x0, n_param_values=2, param_values=0xb8359250, invocation_hint=0xbf9b3cbc, marshal_data=0x0) at gmarshal.c:609 #4 0xb65ca01a in g_closure_invoke (closure=0xb8281c70, return_value=0x0, n_param_values=2, param_values=0xb8359250, invocation_hint=0xbf9b3cbc) at gclosure.c:774 #5 0xb65df8bd in signal_emit_unlocked_R (node=0xb7f684c0, detail=0, instance=0xb8251318, emission_return=0x0, instance_and_params=0xb8359250) at gsignal.c:3272 #6 0xb65e8ea2 in g_signal_emit_valist (instance=0xb8251318, signal_id=261, detail=0, var_args=0xbf9b3efc "\222]Ƕ") at gsignal.c:3003 #7 0xb65e91b7 in g_signal_emit_by_name (instance=0xb8251318, detailed_signal=0xb7542b78 "updated") at gsignal.c:3097 #8 0xb752d5cb in _gnc_sx_instance_event_handler (ent=0xb7f0d2d8, event_type=2, user_data=0xb8251318, evt_data=0x0) at gnc-sx-instance-model.c:665 #9 0xb7373d67 in qof_event_generate_internal (entity=0xb7f0d2d8, event_id=2, event_data=0x0) at qofevent.c:200 #10 0xb7373ed2 in qof_event_gen (entity=0xb7f0d2d8, event_id=2, event_data=0x0) at qofevent.c:244 #11 0xb73eff67 in commit_done (inst=0xb7f0d2d8) at SchedXaction.c:532 #12 0xb736d264 in qof_commit_edit_part2 (inst=0xb7f0d2d8, on_error=0xb73efeb7 <commit_err>, on_done=0xb73eff29 <commit_done>, on_free=0xb73efe61 <sx_free>) at qofinstance.c:1157 #13 0xb73effea in gnc_sx_commit_edit (sx=0xb7f0d2d8) at SchedXaction.c:539 #14 0xb767cc7c in gnc_sxed_save_sx (sxed=0xb8150140) at dialog-sx-editor.c:1018 #15 0xb767b1a1 in editor_ok_button_clicked (b=0xb7f55010, sxed=0xb8150140) at dialog-sx-editor.c:255 #16 0xb65cb84c in g_cclosure_marshal_VOID__VOID (closure=0xb82df210, return_value=0x0, n_param_values=1, param_values=0xb83411c8, invocation_hint=0xbf9b42ec, marshal_data=0x0) at gmarshal.c:85 #17 0xb65ca01a in g_closure_invoke (closure=0xb82df210, return_value=0x0, n_param_values=1, param_values=0xb83411c8, invocation_hint=0xbf9b42ec) at gclosure.c:774 #18 0xb65df8bd in signal_emit_unlocked_R (node=0xb7d4bc70, detail=0, instance=0xb7f55010, emission_return=0x0, instance_and_params=0xb83411c8) at gsignal.c:3272 #19 0xb65e8ea2 in g_signal_emit_valist (instance=0xb7f55010, signal_id=167, detail=0, var_args=0xbf9b44bc "") at gsignal.c:3003 #20 0xb65e900f in g_signal_emit (instance=0xb7f55010, signal_id=167, detail=0) at gsignal.c:3060 #21 0xb6de0e8a in IA__gtk_button_clicked (button=0xb7f55010) at gtkbutton.c:1128 #22 0xb6de2690 in gtk_real_button_released (button=0xb7f55010) at gtkbutton.c:1725 #23 gtk_real_button_released (button=0xb7f55010) at gtkbutton.c:1715 #24 0xb65cb84c in g_cclosure_marshal_VOID__VOID (closure=0xb7d4bbc0, return_value=0x0, n_param_values=1, param_values=0xb835dd80, invocation_hint=0xbf9b46cc, marshal_data=0xb6de2620) at gmarshal.c:85 #25 0xb65c8795 in g_type_class_meta_marshal (closure=0xb7d4bbc0, return_value=0x0, n_param_values=1, param_values=0xb835dd80, invocation_hint=0xbf9b46cc, marshal_data=0x1a4) at gclosure.c:885 #26 0xb65ca01a in g_closure_invoke (closure=0xb7d4bbc0, return_value=0x0, n_param_values=1, param_values=0xb835dd80, invocation_hint=0xbf9b46cc) at gclosure.c:774 #27 0xb65df047 in signal_emit_unlocked_R (node=0xb7d4bc00, detail=0, instance=0xb7f55010, emission_return=0x0, instance_and_params=0xb835dd80) at gsignal.c:3202 #28 0xb65e8ea2 in g_signal_emit_valist (instance=0xb7f55010, signal_id=166, detail=0, var_args=0xbf9b489c "") at gsignal.c:3003 #29 0xb65e900f in g_signal_emit (instance=0xb7f55010, signal_id=166, detail=0) at gsignal.c:3060 #30 0xb6de0d8a in gtk_button_released (button=0xb7f55010) at gtkbutton.c:1120 #31 0xb6de0de8 in gtk_button_button_release (widget=0xb7f55010, event=0xb8370cf0) at gtkbutton.c:1617 #32 0xb6ebac3a in _gtk_marshal_BOOLEAN__BOXED (closure=0xb7c835e0, return_value=0xbf9b4ae8, n_param_values=2, param_values=0xb8351b68, invocation_hint=0xbf9b4abc, marshal_data=0xb6de0da0) at gtkmarshalers.c:86 #33 0xb65c8795 in g_type_class_meta_marshal (closure=0xb7c835e0, return_value=0xbf9b4ae8, n_param_values=2, param_values=0xb8351b68, invocation_hint=0xbf9b4abc, marshal_data=0xb4) at gclosure.c:885 #34 0xb65ca01a in g_closure_invoke (closure=0xb7c835e0, return_value=0xbf9b4ae8, n_param_values=2, param_values=0xb8351b68, invocation_hint=0xbf9b4abc) at gclosure.c:774 #35 0xb65df6fb in signal_emit_unlocked_R (node=0xb7c83850, detail=0, instance=0xb7f55010, emission_return=0xbf9b4c18, instance_and_params=0xb8351b68) at gsignal.c:3310 #36 0xb65e8cc1 in g_signal_emit_valist (instance=0xb7f55010, signal_id=51, detail=0, var_args=0xbf9b4c90 "\270L\233\277\026\202ն\260Lն") at gsignal.c:3013 #37 0xb65e900f in g_signal_emit (instance=0xb7f55010, signal_id=51, detail=0) at gsignal.c:3060 #38 0xb701bf93 in gtk_widget_event_internal (widget=0xb7f55010, event=0xb8370cf0) at gtkwidget.c:4984 #39 0xb6eb890e in IA__gtk_propagate_event (widget=0xb7f55010, event=0xb8370cf0) at gtkmain.c:2489 #40 0xb6eb8cc0 in IA__gtk_main_do_event (event=0xb8370cf0) at gtkmain.c:1684 #41 0xb6860c74 in gdk_event_dispatch (source=0xb7c63608, callback=0, user_data=0x0) at gdkevents-x11.c:2377 #42 0xb6c6e277 in g_main_dispatch (context=0xb7c636d8) at gmain.c:2441 #43 g_main_context_dispatch (context=0xb7c636d8) at gmain.c:3011 #44 0xb6c6ea08 in g_main_context_iterate (context=0xb7c636d8, block=-1228409616, dispatch=1, self=<optimized out>) at gmain.c:3089 #45 0xb6c6f0b3 in g_main_loop_run (loop=0xb82a32e0) at gmain.c:3297 #46 0xb6eb756f in IA__gtk_main () at gtkmain.c:1256 #47 0xb75c8042 in gnc_ui_start_event_loop () at gnc-gnome-utils.c:668 #48 0xb7747409 in inner_main (closure=0x0, argc=1, argv=0xbf9b53c4) at gnucash-bin.c:735 #49 0xb7297f60 in invoke_main_func (body_data=0xbf9b528c) at init.c:367 #50 0xb726176c in c_body (d=0xbf9b51e0) at continuations.c:349 #51 0xb72ea86d in scm_c_catch (tag=0x104, body=0xb7261750 <c_body>, body_data=0xbf9b51e0, handler=0xb7261790 <c_handler>, handler_data=0xbf9b51e0, pre_unwind_handler=0xb72eb160 <scm_handle_by_message_noexit>, pre_unwind_handler_data=0x0) at throw.c:203 #52 0xb7261f79 in scm_i_with_continuation_barrier (body=0xb7261750 <c_body>, body_data=0xbf9b51e0, handler=0xb7261790 <c_handler>, handler_data=0xbf9b51e0, pre_unwind_handler=0xb72eb160 <scm_handle_by_message_noexit>, pre_unwind_handler_data=0x0) at continuations.c:325 #53 0xb72620a1 in scm_c_with_continuation_barrier (func=0xb7297f10 <invoke_main_func>, data=0xbf9b528c) at continuations.c:367 #54 0xb72e808d in scm_i_with_guile_and_parent (func=0xb7297f10 <invoke_main_func>, data=0xbf9b528c, parent=0x0) at threads.c:733 #55 0xb72e81d9 in scm_with_guile (func=0xb7297f10 <invoke_main_func>, data=0xbf9b528c) at threads.c:721 #56 0xb7298091 in scm_boot_guile (argc=1, argv=0xbf9b53c4, main_func=0xb7747250 <inner_main>, closure=0x0) at init.c:350 ---Type <return> to continue, or q <return> to quit--- #57 0xb774788e in main (argc=1, argv=0xbf9b53c4) at gnucash-bin.c:879 # emerge --info =app-office/gnucash-2.4.10 Portage 2.2.0_alpha90 (default/linux/x86/10.0/desktop, gcc-4.6.2, glibc-2.14.1-r2, 3.3.0-rc6-00164-g4f262ac i686) ================================================================= System Settings ================================================================= System uname: Linux-3.3.0-rc6-00164-g4f262ac-i686-Intel-R-_Core-TM-2_CPU_6700_@_2.66GHz-with-gentoo-2.1 Timestamp of tree: Fri, 09 Mar 2012 17:45:01 +0000 app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.7-r2, 2.7.2-r3, 3.1.4-r3, 3.2.2 dev-util/cmake: 2.8.7-r5 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.9.2 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.6.3-r1, 1.9.6-r3, 1.10.3, 1.11.3 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.4.6-r1, 4.5.3-r2, 4.6.2 sys-devel/gcc-config: 1.5.1 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers) sys-libs/glibc: 2.14.1-r2 Repositories: gentoo bitcoin sunrise betagarden kde x11 newton_local Installed sets: ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -mtune=native -pipe -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=native -mtune=native -pipe -ggdb" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y --autounmask-write y" FEATURES="assume-digests binpkg-logs buildsyspkg distlocks ebuild-locks fixlafiles installsources news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr" FFLAGS="" GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ ftp://mirrors.linuxant.fr/distfiles.gentoo.org/ http://mirror.bytemark.co.uk/gentoo/" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_GB en fr_FR fr" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/bitcoin /var/lib/layman/sunrise /var/lib/layman/betagarden /var/lib/layman/kde /var/lib/layman/x11 /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X \ a52 aac aalib acl acpi aim alsa apache2 audiofile avi bash-completion berkdb bluetooth bonobo branding browserplugin bzip2 bzlib cairo caps cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt cups curl cvs cxx dbus directfb doc dri dts dv dvd dvdr dvdread eds emacs emboss encode ethereal examples exif expat fam fbcon ffmpeg fftw flac fontconfig foomaticdb fortran ftp gcj gd gdbm gdu geoip gif glut gmp gnome gnome-keyring gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hardened htmlhandbook iconv icq icu idn imagemagick imlib ipv6 jabber jack java javascript jbig jce jpeg jpeg2k junit kde kdehiddenvisibility ladspa latex lcms leim libgda libnotify libsamplerate libwww lm_sensors logrotate lua lzma mad matroska mbox mikmod milter mime mmap mmx mng modplug modules mono mozilla mp3 mp4 mpeg mpi mplayer msn mtp mudflap musepack musicbrainz mysql ncurses nls nptl nptlonly nsplugin odbc offensive ogg oggvorbis openal opengl openmp oscar oss pam pango pcntl pcre pdf perl php pic plasma png policykit postgres ppds pppd profile pulseaudio python qt3support qt4 quicktime raw rdesktop readline recode ruby samba sasl sdl semantic-desktop session sharedmem sndfile snmp soap sockets sox speex spell sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs sysvipc tcl tcltk tcpd theora threads tiff tk truetype udev unicode usb v4l v4l2 vim-syntax vorbis wavpack win32codecs wmf wxwindows x264 x86 xattr xcb xcomposite xface xft xine xml xml2 xorg xulrunner xv xvid yahoo zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en fr_FR fr" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev vga v4l r300" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= app-office/gnucash-2.4.10 was built with the following: USE="cxx doc mysql postgres python sqlite -chipcard -debug -hbci -ofx -quotes -webkit"
I would send this directly to upstream: https://bugzilla.gnome.org (installing bug-buddy and letting it be launched and send the bug report will do all the work for you ;)) Then, post link to upstream issue here please
For the record, I had trouble with gnucash crashing on x86 when creating scheduled transaction (created ~4-6 months ago) but on amd64, the same files are handled just fine. Something smells fishy with gnucash on x86.
Did you report it?
Please report it or upstream won't try to fix it for next release
(In reply to comment #4) > Please report it or upstream won't try to fix it for next release