1.8 data file crashes on 2.2.6

knndy5 at fuse.net knndy5 at fuse.net
Fri Aug 1 07:34:49 EDT 2008


---- "\"Andreas Köhler\"" <andi5.py at gmx.net> wrote: 
> Hi,
> 
> knndy5 at fuse.net wrote:
> > ---- "Andreas Köhler" <andi5.py at gmx.net> wrote: 
> > > Hi,
> > > 
> > > On Do, 2008-07-31 at 20:15 -0400, knndy5 at fuse.net wrote:
> > > > I've recently downloaded 2.2.6 for windows and are running it on W2K.
> > > > When trying to open the 1.8 data file from my dying Suse machine
> > > > gnucash crashes. I located a trace file that coincides with when it
> > > > crashed.
> > > > 
> > > > *   WARN <qof.engine> [guid_init()] only got 1922 bytes.
> > > > The identifiers might not be very random.
> > > > *   WARN <gnc.app-util> Could not spawn perl: Failed to execute child
> > > > process (No such file or directory)
> > > > 
> > > > Does gnucash require perl? 
> > > 
> > > No, not at all.
> > > 
> > > At least two things would be interesting for me:
> > > 
> > > (1) If you still use Linux, does it crash on Linux and GnuCash 2.2.x as
> > > well?
> > > (2) May you try to provide us with a backtrace, as described on
> > > http://wiki.gnucash.org/wiki/Windows#Debugging_with_gdb ?  You may also
> > > want to make gnucash-bin.exe a console application
> > > (http://wiki.gnucash.org/wiki/Windows#Console_output_and_exetype) and
> > > start it from gnucash.bat with --debug append (after %*).
> > > 
> > > Ciao,
> > > -- andi5
> > > 
> > 
> > andi5
> > 
> > Here's the backtrace from gdb:
> > 
> > gdb: kernel event for pid=520 tid=1420 code=LOAD_DLL_DEBUG_EVENT)
> > gdb: child_resume.SetThreadContext: thread 520.0x58c
> > ContinueDebugEvent (cpid=520, ctid=1420, DBG_CONTINUE);
> > gdb: kernel event for pid=520 tid=1420 code=EXCEPTION_DEBUG_EVENT)
> > gdb: Target exception EXCEPTION_ACCESS_VIOLATION at 0x6862bcc2
> > 
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x6862bcc2 in iconv_close ()
> >    from C:\Program Files\gnucash\bin\libglib-2.0-0.dll
> > (gdb) bt
> > #0  0x6862bcc2 in iconv_close ()
> >    from C:\Program Files\gnucash\bin\libglib-2.0-0.dll
> > #1  0x63c246c5 in gxi_check_file (data=0x2d34160)
> >     at ../../../repos/src/gnome-utils/druid-gnc-xml-import.c:591
> > #2  0x63c23acb in gnc_xml_convert_single_file (
> >     filename=0x2cf6ea8 "E:\\homeBudget")
> >     at ../../../repos/src/gnome-utils/druid-gnc-xml-import.c:271
> 
> Interesting!
> What encoding did you choose?
> 
> If you compiled GnuCash from source, does putting the g_iconv_close()
> at line 591 into the if branch above change anything? Is iconv -1 at all?
> You might want to play with g_warning() to output some stuff, if you have
> problems setting a breakpoint, which can be tricky indeed[1].
> 
> Ciao,
> -- andi5
> 
> [1] I think it boiled down for me to break after load_gnucash_modules() and
> the add breakpoints sitting inside loaded modules from there.
> 
> -- 
> GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
> Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx

Hi

I didn't build from source but instead used the windows binary from http://downloads.sourceforge.net/gnucash/gnucash-2.2.6-setup.exe?modtime=1217496210&big_mirror=1

Tim


More information about the gnucash-devel mailing list