segfault using latest svn tree

Phil Longstaff plongstaff at rogers.com
Sat Jun 6 12:12:29 EDT 2009


Hmmm...  I just built from svn using your configure options and had no problem.  
Were there any problems during configure or make?  Is it reproducible?  Can you 
send a sample data file with the problem?

Phil

On June 6, 2009 09:03:50 am Don Zickus wrote:
> On Fri, Jun 5, 2009 at 11:28 PM, Phil Longstaff <plongstaff at rogers.com> wrote:
> > What OS?  What configure options?
>
> Oh  yeah, sorry about that.
>
> Linux (Fedora 11)
> ./configure  --enable-compile-warnings         --enable-ofx
> --enable-hbci         --disable-static --prefix=/opt/gnucash/svn
> --enable-error-on-warning=no
>
> Cheers,
> Don
>
> > ________________________________
> > From: Don Zickus <dzickus at gmail.com>
> > To: gnucash-devel at gnucash.org
> > Sent: Friday, June 5, 2009 11:13:06 PM
> > Subject: segfault using latest svn tree
> >
> > Hello,
> >
> > I was building the latest svn tree and tried running the compiled
> > binary.  Everything started fine, until I tried to look at a Budget
> > Report.  After selecting Reports->Budget->Budget Report, gnucash
> > segfaults on me.  Anyone have any thoughts?  I really don't compile
> > gnucash often and used the fedora spec file as a guidance for
> > configure options.
> >
> > Cheers,
> > Don
> >
> > gnucash-bin[5524]: segfault at 4 ip 002cc90d sp bff936e0 error 4 in
> > libgncmod-gnome-utils.so[25d000+c0000]
> >
> > gdb stuff (it looks like it segfaulted on a NULL pointer dereference)
> > (gdb) bt
> > #0  0x0018f90d in SWIG_MangledTypeQueryModule (name=<value optimized
> > out>, end=<value optimized out>,
> >     start=<value optimized out>) at ../../src/swig-runtime.h:546
> > #1  SWIG_TypeQueryModule (name=<value optimized out>, end=<value
> > optimized out>, start=<value optimized out>)
> >     at ../../src/swig-runtime.h:590
> > #2  SWIG_TypeQuery (name=<value optimized out>, end=<value optimized
> > out>, start=<value optimized out>)
> >     at ../../src/swig-runtime.h:1223
> > #3  gnc_main_window_to_scm (name=<value optimized out>, end=<value
> > optimized out>,
> >     start=<value optimized out>) at gnc-plugin-menu-additions.c:193
> > #4  gnc_plugin_menu_additions_action_cb (name=<value optimized out>,
> > end=<value optimized out>,
> >     start=<value optimized out>) at gnc-plugin-menu-additions.c:218
> > #5  0x003ddd4c in g_cclosure_marshal_VOID__VOID () from
> > /lib/libgobject-2.0.so.0
> > #6  0x003d0352 in g_closure_invoke () from /lib/libgobject-2.0.so.0
> > #7  0x003e5bc8 in ?? () from /lib/libgobject-2.0.so.0
> > #8  0x003e6f7d in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
> > #9  0x003e7406 in g_signal_emit () from /lib/libgobject-2.0.so.0
> > #10 0x0619ae25 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
> > #11 0x0619ce85 in gtk_action_activate () from
> > /usr/lib/libgtk-x11-2.0.so.0 #12 0x003ddd4c in
> > g_cclosure_marshal_VOID__VOID () from
> > /lib/libgobject-2.0.so.0
> > #13 0x003ce9c9 in ?? () from /lib/libgobject-2.0.so.0
> > #14 0x003d0352 in g_closure_invoke () from /lib/libgobject-2.0.so.0
> > #15 0x003e54cd in ?? () from /lib/libgobject-2.0.so.0
> > #16 0x003e6f7d in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
> > #17 0x003e7406 in g_signal_emit () from /lib/libgobject-2.0.so.0
> > #18 0x06390df7 in gtk_widget_activate () from
> > /usr/lib/libgtk-x11-2.0.so.0 #19 0x0627e7f0 in
> > gtk_menu_shell_activate_item () from
> > /usr/lib/libgtk-x11-2.0.so.0
> > #20 0x0628024d in ?? () from /usr/lib/libgtk-x11-2.0.so.0
> > #21 0x06275ed9 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
> > #22 0x0626f6e4 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
> > #23 0x003ce9c9 in ?? () from /lib/libgobject-2.0.so.0
> > #24 0x003d0352 in g_closure_invoke () from /lib/libgobject-2.0.so.0
> > #25 0x003e58bb in ?? () from /lib/libgobject-2.0.so.0
> > <snip>
> >
> > (gdb) disassemble
> > Dump of assembler code for function SWIG_MangledTypeQueryModule:
> > 0x0018f8fe <SWIG_MangledTypeQueryModule+0>:    lea    -0x17e34(%ebx),%ecx
> > 0x0018f904 <SWIG_MangledTypeQueryModule+6>:    mov    %ecx,-0x2c(%ebp)
> > 0x0018f907 <SWIG_Guile_GetModule+121>:  mov    %edx,-0x1c(%ebp)
> > 0x0018f90a <SWIG_MangledTypeQueryModule+12>:    mov    -0x1c(%ebp),%edx
> > 0x0018f90d <SWIG_MangledTypeQueryModule+15>:    mov    0x4(%edx),%eax
> > 0x0018f910 <SWIG_MangledTypeQueryModule+18>:    test  %eax,%eax
> > 0x0018f912 <SWIG_MangledTypeQueryModule+20>:    je    0x18f96d
> > <SWIG_MangledTypeQueryModule+111>
> > 0x0018f914 <SWIG_MangledTypeQueryModule+22>:    mov    (%edx),%ecx
> > 0x0018f916 <SWIG_MangledTypeQueryModule+24>:    sub    $0x1,%eax
> > 0x0018f919 <SWIG_MangledTypeQueryModule+27>:    xor    %edx,%edx
> > 0x0018f91b <SWIG_MangledTypeQueryModule+29>:    mov    %eax,-0x20(%ebp)
> > 0x0018f91e <SWIG_MangledTypeQueryModule+32>:    mov    %edx,-0x38(%ebp)
> > 0x0018f921 <SWIG_MangledTypeQueryModule+35>:    mov    %ecx,-0x28(%ebp)
> > 0x0018f924 <SWIG_MangledTypeQueryModule+38>:    mov    -0x20(%ebp),%eax
> > 0x0018f927 <SWIG_MangledTypeQueryModule+41>:    add    -0x38(%ebp),%eax
> > 0x0018f92a <SWIG_MangledTypeQueryModule+44>:    mov    -0x28(%ebp),%edx
> > 0x0018f92d <SWIG_MangledTypeQueryModule+47>:    shr    %eax
> > 0x0018f92f <SWIG_MangledTypeQueryModule+49>:    mov    (%edx,%eax,4),%edx
> > 0x0018f932 <SWIG_MangledTypeQueryModule+52>:    mov    (%edx),%edi
> > 0x0018f934 <SWIG_MangledTypeQueryModule+54>:    mov    %edx,-0x24(%ebp)
> > 0x0018f937 <SWIG_MangledTypeQueryModule+57>:    test  %edi,%edi
> > 0x0018f939 <SWIG_MangledTypeQueryModule+59>:    je    0x18f96d
> > <SWIG_MangledTypeQueryModule+111>
> > <snip>
> >
> > (gdb) info registers
> > eax            0x204    516
> > ecx            0x1c8f70 1871728
> > edx            0x0      0
> > ebx            0x1e0da4 1969572
> > esp            0xbfffdf10      0xbfffdf10
> > ebp            0xbfffdf78      0xbfffdf78
> > esi            0xb58ba730      -1249138896
> > edi            0x8439aa0        138648224
> > eip            0x18f90d 0x18f90d <SWIG_MangledTypeQueryModule+15>
> > eflags        0x10246  [ PF ZF IF RF ]
> > cs            0x73    115
> > ss            0x7b    123
> > ds            0x7b    123
> > es            0x7b    123
> > fs            0x0      0
> > gs            0x33    51
> > _______________________________________________
> > gnucash-devel mailing list
> > gnucash-devel at gnucash.org
> > https://lists.gnucash.org/mailman/listinfo/gnucash-devel



More information about the gnucash-devel mailing list