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 333029 - Accounts disappear after creating new accounts from OFX Import/HBCI setup
Accounts disappear after creating new accounts from OFX Import/HBCI setup
Status: VERIFIED DUPLICATE of bug 343362
Product: GnuCash
Classification: Other
Component: Import - Other
1.9.x
Other All
: Normal major
: ---
Assigned To: Chris Shoemaker
Christian Stimming
: 342305 (view as bug list)
Depends on: 343405
Blocks:
 
 
Reported: 2006-03-01 19:12 UTC by raunsi
Modified: 2018-06-29 20:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description raunsi 2006-03-01 19:12:03 UTC
Please describe the problem:
After creating two new accounts from the HBCI setup dialog, most of the accounts
 disappear (see how-to-reproduce section). 

Mandriva RPM: gnucash-1.9.1-2mdk
> gnucash -v
GnuCash 1.9.1
Build vom 2006-02-26, Revision r13313


Steps to reproduce:
1. Invoke the Tools / HBCI Setup dialogue
2. Configure aqbanking for two bank accounts
3. When asked to select an gnucash account to be assigned to the HBCI bank
account, choose "new account" and create a new account
4. Execute step 3 for both HBCI accounts and finish the HBCI setup dialogue


Actual results:
First, everything seems ok. The 2 accounts can be populated via HBCI with
transactions from the bank. Then save the file, exit and restart gnucash. Most
accounts, including the newly created, have disappeared.


Expected results:


Does this happen every time?
Yes

Other information:
When the accounts are created first and then assigned to the HBCI accounts,
there is no problem.
Comment 1 Christian Stimming 2006-03-02 08:41:16 UTC
Taking ownership. As a quick workaround, I could disable the account creation in that setup wizard altogether. I'll look into that sometime during the next weeks.
Comment 2 Christian Stimming 2006-03-06 21:15:48 UTC
The dialog in question is the common "account selector dialog", which is used from OFX import, or HBCI setup, or MT940 import. If anyone wants to reproduce, use the MT940 or OFX importer and choose a new account.

However, with r13500 I was unable to observe any problematic behaviour here -- the account creation worked just fine and everything was ok on next loading. Could you please try again with 1.9.2 or recent SVN and see whether you can get this reproduced? If yes, could you give a description as how to reproduce this exactly? Maybe some weird currencies or account types were involved?
Comment 3 ariser 2006-04-09 15:46:34 UTC
Effects related to this bug.

I encounter crashes of Gnc on creating accounts in the account selector dialog when setting up HBCI.

Procedure is as follows:
1. Generate new file including new account hierarchy
2. Start HBCI-Wizard
3. Walk through hbci-setup
4. Select first bank account
5. in Account selection sheet, generate new account, select EUR as currency, OK
6. Select second bank account
7. same as in 5. -> crash

Stack trace follows:

(gdb) cont
Continuing.
Reading symbols for shared libraries ... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done

Program received signal EXC_BAD_ACCESS, Could not access memory.
0x900009c0 in strcmp ()
(gdb) bt
  • #0 strcmp
  • #1 g_utf8_collate
  • #2 sort_by_string
    at gnc-tree-view-account.c line 290
  • #3 gtk_tree_model_sort_level_find_insert
  • #4 gtk_tree_model_sort_insert_value
  • #5 gtk_tree_model_sort_row_inserted
  • #6 g_closure_invoke
  • #7 signal_emit_unlocked_R
  • #8 g_signal_emit_valist
  • #9 g_signal_emit
  • #10 gtk_tree_model_filter_row_inserted
  • #11 g_closure_invoke
  • #12 signal_emit_unlocked_R
  • #13 g_signal_emit_valist
  • #14 g_signal_emit
  • #15 gnc_tree_model_account_event_handler
    at gnc-tree-model-account.c line 1535
  • #16 qof_event_generate_internal
    at qofevent.c line 246
  • #17 xaccGroupInsertAccount
    at Group.c line 798
  • #18 xaccAccountInsertSubAccount
    at Group.c line 740
  • #19 gnc_ui_to_account
    at dialog-account.c line 358
  • #20 gnc_finish_ok
    at dialog-account.c line 417
  • #21 gnc_new_account_ok
    at dialog-account.c line 938
  • #22 gnc_account_window_response_cb
    at dialog-account.c line 955
  • #23 gnc_ui_new_accounts_from_name_with_defaults
    at dialog-account.c line 1619
  • #24 gnc_import_add_account
    at import-account-matcher.c line 102
  • #25 gnc_import_select_account
  • #26 on_accountlist_select_row
    at druid-hbci-initial.c line 401
  • #27 g_closure_invoke
  • #28 signal_emit_unlocked_R
  • #29 g_signal_emit_valist
  • #30 gtk_signal_emit
  • #31 gtk_clist_button_release
  • #32 _gtk_marshal_BOOLEAN__BOXED
  • #33 g_closure_invoke
  • #34 signal_emit_unlocked_R
  • #35 g_signal_emit_valist
  • #36 g_signal_emit
  • #37 gtk_widget_event_internal
  • #38 gtk_propagate_event
  • #39 gtk_main_do_event
  • #40 gdk_event_dispatch
  • #41 g_main_dispatch
  • #42 g_main_context_iterate
  • #43 g_main_loop_run
  • #44 gtk_main
  • #45 gnc_ui_start_event_loop
    at gnc-gnome-utils.c line 368
  • #46 inner_main
    at gnucash-bin.c line 473
  • #47 invoke_main_func
    at init.c line 635
  • #48 scm_boot_guile_1
    at init.c line 615
  • #49 scm_boot_guile
    at init.c line 440
  • #50 main
    at gnucash-bin.c line 509

Comment 4 ariser 2006-04-09 15:48:05 UTC
I forgot the Gnucash version:
Moritz-Kaisers-Computer:moritz$ gnucash --version
GnuCash 1.9.3
Built 2006-03-27 from r13672

Comment 5 Christian Stimming 2006-05-22 09:02:22 UTC
The same issue was reported in bug#342305
Comment 6 Chris Shoemaker 2006-06-01 14:05:39 UTC


  • #10 gtk_tree_model_filter_row_inserted

This really makes me think this is a dup of bug #343362.

But I'd still like to know: 
1) what version of gtk+ this was crashing with, 
2) is this still a problem after r14285?

*** This bug has been marked as a duplicate of 343362 ***
Comment 7 Chris Shoemaker 2006-06-01 14:26:20 UTC
*** Bug 342305 has been marked as a duplicate of this bug. ***
Comment 8 John Ralls 2018-06-29 20:58:48 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=333029. Please update any external references or bookmarks.