ofxdirectconnect in aqbanking3 branch

Martin Preuss aquamaniac at gmx.de
Mon Jul 21 02:20:57 EDT 2008


Hi,

On Sonntag, 20. Juli 2008, Andreas Köhler wrote:
> On So, 2008-07-20 at 13:46 +0200, Martin Preuss wrote:
[...]
> You may want to take a look at http://wiki.gnucash.org/wiki/Backtrace .
> A stack trace would indeed be brilliant. Maybe it also helps to start
> gnucash with "--logto stderr --log gwenhywfar=debug --log
> aqbanking=debug" (other log levels being info, mess, warn, crit and
> error, btw).
[...]

Ok, here is the backtrace:

---------------------------------------------------------------------------------------X8
#0  0xb722c463 in memmove () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#1  0xb735c574 in gnc_utf8_strip_invalid (str=0x0) at gnc-glib-utils.c:195
        end = (gchar *) 0xb61f9240 "U\211�S\203�$�\233���\201�\024�"
        len = 16
#2  0xb735c5c3 in gnc_utf8_strip_invalid_strdup (str=0x0) at 
gnc-glib-utils.c:203
        result = (gchar *) 0x0
#3  0xb61f97cb in ab_account_longname (ab_acc=0x86b3e18) at 
druid-ab-initial.c:475
        bankname = (gchar *) 0xb5c50a14 "\020y\016"
        result = (gchar *) 0xff0a0000 <Address 0xff0a0000 out of bounds>
        bankcode = 0xbf888c24 "\205�P\021`�]\b/Ӧ�\004\201\004\201H\214\210�/3ǵ 
�W\b\004\201x\214\210�U4ǵ\030>k\b �W\bx\214\210�cZi�\034�G\b\001"
        __PRETTY_FUNCTION__ = "ab_account_longname"
#4  0xb61f98a5 in update_account_list_acc_cb (ab_acc=0x86b3e18, 
user_data=0x857a920)
    at druid-ab-initial.c:504
        info = (ABInitialInfo *) 0x857a920
        gnc_name = (gchar *) 0xb5c7332f "\203�\004
[]�U\211�S\203�\004�\206���\201��M\005"
        ab_name = (gchar *) 0xbf888c48 "x\214\210�U4ǵ\030>k\b 
�W\bx\214\210�cZi�\034�G\b\001"
        gnc_acc = (Account *) 0xb5cc8104
        iter = {stamp = 290500997, user_data = 0x85de160, user_data2 = 
0xb7a6d32f,
  user_data3 = 0xb5cc8104}
        __PRETTY_FUNCTION__ = "update_account_list_acc_cb"
#5  0xb5c73455 in AB_Account_List2_ForEach (l=0x86b9b68, fn=0xb61f9876 
<update_account_list_acc_cb>,
    user_data=0x857a920) at account.c:31
        it = (AB_ACCOUNT_LIST2_ITERATOR *) 0x86b95d0
        el = (AB_ACCOUNT *) 0x86b3e18
#6  0xb61f9a63 in update_account_list (info=0x857a920) at 
druid-ab-initial.c:544
        acclist = (AB_ACCOUNT_LIST2 *) 0x86b9b68
        __PRETTY_FUNCTION__ = "update_account_list"
#7  0xb61f9328 in dai_match_page_prepare_cb (druid_page=0x85c0090, 
widget=0x8585c18,
    user_data=0x857a920) at druid-ab-initial.c:331
        info = (ABInitialInfo *) 0x857a920
        root = (Account *) 0x840e2e8
        data = {api = 0x85c3728, hash = 0x85d4168}
        __PRETTY_FUNCTION__ = "dai_match_page_prepare_cb"
---------------------------------------------------------------------------------------X8

it looks like ab_account_longname() calls gnc_utf8_strip_invalid_strdup() with 
a NULL pointer...

Regards
Martin


-- 
"Things are only impossible until they're not"

Martin Preuss - http://www.aquamaniac.de/
AqBanking - http://www.aqbanking.de/
LibChipcard - http://www.libchipcard.de/


More information about the gnucash-devel mailing list