Segmentation fault

Sebastian Held sebastian.held at gmx.de
Tue Apr 21 07:26:24 EDT 2009


Am Dienstag 14 April 2009 09:29:25 schrieb Dave Hardman:
> 	I updated the ports (on freebsd 7.1 amd64) and gnucash-2.2.7 was
> recompiled since there was a later version of one or more of its
> dependencies. Over 400 ports were recompiled.
>
> 	Gnucash now loads the file, if file previously had account windows
> open the gnucash crashes, if the only window open is the list of
> accounts then gnucash does not crash until I attempt to open an account.
> I tried more than one file, including a backup, with consistent results.
> 	Presumably, the fault was caused by one or more of the new
> dependencies.
>
> 	The information below is from a session which crashed when I
> attempted open an account.
>
> : gnucash --debug --extra                                                  
> :                    ~
>
> gnc.bin-Message: main: binreloc relocation support was disabled at
> configure time.
>
> Found Finance::Quote version 1.15
> [1]    93890 segmentation fault  gnucash --debug --extra
>
>
> Extracts from gnucash.trace
>
> * 15:44:13  INFO <gnc.engine> [gnc_hook_lookup] no hook lists
> * 15:44:13  INFO <qof.engine> [init_from_file] guid_init got 512 bytes from
> /dev/urandom * 15:44:13  INFO <qof.engine> [init_from_file] guid_init got
> 1903 bytes from /etc/passwd * 15:44:13  INFO <qof.engine> [guid_init] got
> 18951 bytes
> * 15:44:27 MESSG <gnc.bin> loading system configuration
> * 15:44:27 MESSG <gnc.bin> loading user configuration
> * 15:44:27 MESSG <gnc.bin> loading auto configuration
> * 15:44:27 MESSG <gnc.bin> loading saved reports
> * 15:44:27 MESSG <gnc.bin> loading stylesheets
> * 15:44:27 MESSG <gnc.scm> Found Finance::Quote version 1.15
> * 15:44:27  INFO <gnc.account> [xaccAccountRecomputeBalance] acct= starting
> baln=0/1 * 15:44:27  INFO <gnc.commodity> [gnc_commodity_table_insert]
> insert 0x80810b908 AFA into nsp=0x8089a11e0 CURRENCY
>
>
> ######## The missing entries are overwhelmingly INFO with a few MESSG
>
>
> * 15:44:33  INFO <gnc.account> [xaccAccountGetBalanceInCurrency] 
> baln=647830/100 * 15:44:33  INFO <gnc.account>
> [xaccAccountGetBalanceInCurrency]  baln=647830/100 * 15:44:33  INFO
> <gnc.account> [xaccAccountGetBalanceInCurrency]  baln=647830/100 * 15:44:33
>  INFO <gnc.account> [xaccAccountGetBalanceInCurrency]  baln=647830/100 *
> 15:44:33  INFO <qof.object> [qof_object_foreach] type=Split
> * 15:44:33  INFO <qof.query> [qof_query_run_internal] matching
> objects=0x80bd22000 count=60 * 15:44:33  INFO <qof.engine>
> [qof_event_generate_internal] id=5 hi=0x8094a8aa0 han=0x80118b020 data=0x0
> * 15:44:33  INFO <qof.engine> [qof_event_generate_internal] id=3
> hi=0x8089bb820 han=0x800946530 data=0x0 * 15:44:33  INFO <qof.engine>
> [qof_event_generate_internal] id=2 hi=0x8087db280 han=0x801416900 data=0x0
> * 15:44:33  INFO <qof.engine> [qof_event_generate_internal] id=1
> hi=0x8084bbb40 han=0x80117ba60 data=0x0 * 15:44:33  INFO <gnc.engine>
> [xaccTransSetDateInternal] addr=0x8094a3530 set date to
> 1239631200.000000000 Tue Apr 14 00:00:00 2009 * 15:44:33  INFO <qof.engine>
> [qof_event_generate_internal] id=5 hi=0x8094a8aa0 han=0x80118b020
> data=0x7fffffffcf50 * 15:44:33  INFO <qof.engine>
> [qof_event_generate_internal] id=3 hi=0x8089bb820 han=0x800946530
> data=0x7fffffffcf50 * 15:44:33  INFO <qof.engine>
> [qof_event_generate_internal] id=2 hi=0x8087db280 han=0x801416900
> data=0x7fffffffcf50 * 15:44:33  INFO <qof.engine>
> [qof_event_generate_internal] id=1 hi=0x8084bbb40 han=0x80117ba60
> data=0x7fffffffcf50 I
>
> Dave
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.


Am Saturday 18 April 2009 03:47:34 schrieben Sie:
> On Tue, Apr 14, 2009 at 10:24:06AM +0200, Sebastian Held wrote:
> > Am Dienstag 14 April 2009 09:29:25 schrieb Dave Hardman:
> > > 	Gnucash now loads the file, if file previously had account windows
> > > open the gnucash crashes, if the only window open is the list of
> > > accounts then gnucash does not crash until I attempt to open an
> > > account. I tried more than one file, including a backup, with
> > > consistent results. Presumably, the fault was caused by one or more of
> > > the new
> > > dependencies.
> >
> > Please create a backtrace by following
> > http://wiki.gnucash.org/wiki/Stack_Trace
> >
> > This will show the library where the crash occurs.
> >
> > Sebastian
>
> Sebastion,
> 	Attached
>
> Dave

Dear Dave,

Please respond to the list, too.

I'm sorry for the delay, but currently I've no internet access at home.
Thanks for the backtrace. I will look into it.
The backtrace will be even more meaningful, if you substitute
bt full
for the "bt" command (should be changed at the wiki...).

Sebastian


More information about the gnucash-user mailing list