After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 607565 - crash when reading exported accounts
crash when reading exported accounts
Status: RESOLVED OBSOLETE
Product: GnuCash
Classification: Other
Component: Import - QSF
2.2.9
Other Linux
: Normal critical
: ---
Assigned To: Andreas Köhler
Andreas Köhler
Depends on:
Blocks:
 
 
Reported: 2010-01-20 16:30 UTC by Bill Nottingham
Modified: 2018-06-29 22:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
basic account tree (141.89 KB, application/xml)
2010-01-20 16:30 UTC, Bill Nottingham
Details

Description Bill Nottingham 2010-01-20 16:30:56 UTC
Created attachment 151849 [details]
basic account tree

Originally filed at https://bugzilla.redhat.com/show_bug.cgi?id=557002

How to reproduce:

1. Start a new account tree
2. Export it to QSF xml
3. Attempt to open that file.

Program received signal SIGSEGV, Segmentation fault.
xaccSplitSetDateReconciledTS (split=0x1a97240 [Split], ts=0x5460) at Split.c:1452
1452	   split->date_reconciled = *ts;
(gdb) bt
  • #0 xaccSplitSetDateReconciledTS
    at Split.c line 1452
  • #1 qsf_object_commitCB
    at qsf-backend.c line 1111
  • #2 IA__g_hash_table_foreach
    at ghash.c line 1211
  • #3 qsfdoc_to_qofbook
    at qsf-backend.c line 367
  • #4 load_our_qsf_object
    at qsf-backend.c line 430
  • #5 qsf_file_type
    at qsf-backend.c line 476
  • #6 qof_session_load
    at qofsession.c line 1139
  • #7 gnc_post_file_open
    at gnc-file.c line 758
  • #8 inner_main
    at gnucash-bin.c line 475
  • #9 invoke_main_func
    at init.c line 367
  • #10 c_body
    at continuations.c line 349
  • #11 scm_c_catch
    at throw.c line 203
  • #12 scm_i_with_continuation_barrier
    at continuations.c line 325
  • #13 scm_c_with_continuation_barrier
    at continuations.c line 367
  • #14 scm_i_with_guile_and_parent
    at threads.c line 733
  • #15 scm_boot_guile
    at init.c line 350
  • #16 main
    at gnucash-bin.c line 622

Comment 1 Christian Stimming 2010-01-21 13:25:53 UTC
Again, I would first ask whether the same problem occurs with 2.3.8. However, "QSF export" and subsequent "QSF import" still have serious problems, so this problem might still have remained. The original reporter should be asked to submit an example QSF xml file which reproduces this crash (with 2.2.9), and then we should first check whether this still crashes with 2.3.8.
Comment 2 Bill Nottingham 2010-01-21 15:16:22 UTC
Yes, it still crashes with 2.3.8. Same place, actually.

Program received signal SIGSEGV, Segmentation fault.
xaccSplitSetDateReconciledTS (split=0x1cda240 [Split], ts=0x5460) at Split.c:1458
1458	   split->date_reconciled = *ts;
(gdb) bt
  • #0 xaccSplitSetDateReconciledTS
    at Split.c line 1458
  • #1 qsf_object_commitCB
    at qsf-backend.c line 1114
  • #2 IA__g_hash_table_foreach
    at ghash.c line 1211
  • #3 qsfdoc_to_qofbook
    at qsf-backend.c line 370
  • #4 load_our_qsf_object
    at qsf-backend.c line 433
  • #5 qsf_file_type
    at qsf-backend.c line 479
  • #6 qof_session_load
    at qofsession.c line 1320
  • #7 gnc_post_file_open
    at gnc-file.c line 758
  • #8 inner_main
    at gnucash-bin.c line 476
  • #9 invoke_main_func
    at init.c line 367
  • #10 c_body
    at continuations.c line 349
  • #11 scm_c_catch
    at throw.c line 203
  • #12 scm_i_with_continuation_barrier
    at continuations.c line 325
  • #13 scm_c_with_continuation_barrier
    at continuations.c line 367
  • #14 scm_i_with_guile_and_parent
    at threads.c line 733
  • #15 scm_boot_guile
    at init.c line 350
  • #16 main
    at gnucash-bin.c line 623

Comment 3 Christian Stimming 2010-01-21 15:41:56 UTC
Does this happen with any file that was created by "QSF export" (which would be bad :-), or only with special ones as the original reporter had them?
Comment 4 Bill Nottingham 2010-01-21 16:00:26 UTC
The one attached above (which crashes) was created with the default account tree from 'New file'.
Comment 5 Geert Janssens 2010-05-05 11:00:00 UTC
Thanks for taking the time to report this bug.
However, qsf (qof serialization format) has not been maintained for a long time and hence has been removed completely from the upcoming 2.4 series (in svn r19099 to be exact, which will first appear in 2.3.13). you are using a version that is too old and not supported anymore. So I will be marking all bugs related to it as obsolete.
Comment 6 John Ralls 2018-06-29 22:33:51 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=607565. Please update any external references or bookmarks.