Bug 981986

Summary: [abrt] gnucash-2.4.13-1.fc18: set_gdate_val: Process /usr/bin/gnucash was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Brent R Brian <brentrbrian>
Component: gnucashAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: notting, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:4d96bc741cafec05b5393ba05bf05687642a5252
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-13 16:23:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: gconf_subtree
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages
none
log file from: gnucash --nofile --debug --extra --logto ~/gnucash.log none

Description Brent R Brian 2013-07-07 14:34:55 UTC
Description of problem:
I have two accounting files, one opens fine (the smaller), the other (larger) crashes silently.

Version-Release number of selected component:
gnucash-2.4.13-1.fc18

Additional info:
reporter:       libreport-2.1.5
backtrace_rating: 4
cmdline:        gnucash
crash_function: set_gdate_val
executable:     /usr/bin/gnucash
kernel:         3.9.6-200.fc18.x86_64
runlevel:       N 5
uid:            1000
xsession_errors: 

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 set_gdate_val at gnc-slots-sql.c:604
 #1 load_date at gnc-backend-sql.c:2104
 #2 gnc_sql_load_object at gnc-backend-sql.c:2479
 #3 load_slot_for_list_item at gnc-slots-sql.c:902
 #4 gnc_sql_slots_load_for_list at gnc-slots-sql.c:962
 #5 query_transactions at gnc-transaction-sql.c:421
 #6 gnc_sql_transaction_load_all_tx at gnc-transaction-sql.c:901
 #7 g_hash_table_foreach_sorted at qofutil.c:47
 #8 qof_object_foreach_backend at qofobject.c:398
 #9 gnc_sql_load at gnc-backend-sql.c:261

Comment 1 Brent R Brian 2013-07-07 14:34:59 UTC
Created attachment 769994 [details]
File: backtrace

Comment 2 Brent R Brian 2013-07-07 14:35:02 UTC
Created attachment 769995 [details]
File: cgroup

Comment 3 Brent R Brian 2013-07-07 14:35:05 UTC
Created attachment 769996 [details]
File: core_backtrace

Comment 4 Brent R Brian 2013-07-07 14:35:08 UTC
Created attachment 769997 [details]
File: dso_list

Comment 5 Brent R Brian 2013-07-07 14:35:11 UTC
Created attachment 769998 [details]
File: environ

Comment 6 Brent R Brian 2013-07-07 14:35:14 UTC
Created attachment 769999 [details]
File: gconf_subtree

Comment 7 Brent R Brian 2013-07-07 14:35:18 UTC
Created attachment 770000 [details]
File: limits

Comment 8 Brent R Brian 2013-07-07 14:35:21 UTC
Created attachment 770001 [details]
File: maps

Comment 9 Brent R Brian 2013-07-07 14:35:25 UTC
Created attachment 770002 [details]
File: open_fds

Comment 10 Brent R Brian 2013-07-07 14:35:28 UTC
Created attachment 770003 [details]
File: proc_pid_status

Comment 11 Brent R Brian 2013-07-07 14:35:31 UTC
Created attachment 770004 [details]
File: var_log_messages

Comment 12 Brent R Brian 2013-07-07 15:13:29 UTC
I doubt this helps much, but here goes.

I have two files, sqlite, one is rather small, the other (that crashes) is large.

Neither of the two closed with any warning or error (that I know of) when last used.

I have had updates recently, almost every time I log on.

I can open the smaller file, no issues.  Larger one fails.

As a sanity check, I:

  removed gnucash (yum remove)
  installed gnucash (yum install)

then I ran gnucash from command line:

  gnucash --nofile --debug --extra --logto ~/gnucash.log

and then opened my file (largest one), it failes.

The log file seems to say the same thing the crash report does, but I attached it anyway.

Comment 13 Brent R Brian 2013-07-07 15:15:10 UTC
Created attachment 770017 [details]
log file from: gnucash --nofile --debug --extra --logto ~/gnucash.log

added log file.

Comment 14 Bill Nottingham 2013-07-09 20:53:45 UTC
Is there some version that *doesn't* crash on that file?

Comment 15 Brent R Brian 2013-07-11 10:41:55 UTC
Actually, the "file" is SQLite ... I did a query on the record in question and it seems fine ... the transaction log file seems fine.

Comment 16 Bill Nottingham 2013-07-11 14:37:27 UTC
I'm sorry, restating - is there some version of GnuCash which starts correctly with that file?

Comment 17 Brent R Brian 2013-07-13 16:23:45 UTC
I tried the file with Mint 15 and it failed.

I restored the file from backup, replayed the log files to bring it up to date, and all seems well ... no idea what happened ... system stable and nothing ever crashes ...  seems odd that it appeared after updates ... no matter.