aqbanking5 and ofxdc can crash gnucash trunk

David Reiser dbreiser at
Thu Aug 26 23:08:50 EDT 2010

Using gwen r1983, aqbanking r2095, and gnucash r19465, if I
Use gnucash to get transactions via ofxDC
Then go to Tools>Online Banking Setup and launch the the Aqbanking wizard,
gnucash crashes with the console reading:

* 12:15:31  WARN <gwenhywfar> inherit.c:  180: Type "5f47140b" not derived from this base type
Assertion failed: (xgui), function AB_Gui_ReadDialogPrefs, file abgui.c, line 246.
Abort trap

and the top of the backtrace:

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0  Dispatch queue:

Application Specific Information:
Assertion failed: (xgui), function AB_Gui_ReadDialogPrefs, file abgui.c, line 246.

Thread 0 Crashed:  Dispatch queue:
0   libSystem.B.dylib             	0x00007fff872913d6 __kill + 10
1   libSystem.B.dylib             	0x00007fff87331972 abort + 83
2   libSystem.B.dylib             	0x00007fff8731e9b4 __pthread_markcancel + 0
3   libaqbanking.32.dylib         	0x0000000108573cf3 AB_Gui_ReadDialogPrefs + 196
4   libgwenhywfar.59.dylib        	0x0000000108af17b1 GWEN_Gui_ReadDialogPrefs + 86
5   libgwenhywfar.59.dylib        	0x0000000108aec7de GWEN_Dialog_new + 395
6   libaqbanking.32.dylib         	0x0000000108578e0a AB_SetupDialog_new + 46
7   libgncmod-aqbanking.dylib     	0x00000001080b2c51 dai_wizard_button_clicked_cb + 266 (druid-ab-initial.c:241)

On relaunching gnucash, getting into the wizard works, and retrieving transactions works, but if I again try to open the setup wizard after having retrieved transactions, I get the same crash.

Martin thinks that it's related to gnucash still using multiple GWEN_GUI objects: 
"Only one of those objects is derived from AB_GUI, and for reasons unknown to me at some times a false GUI object is chosen by Gnucash ...   I recommended multiple times to really, really create the GUI object and init AqBanking once only (!), preferably upon plugin init."

David Reiser
dbreiser at

More information about the gnucash-devel mailing list