Hi, [EMAIL PROTECTED] wrote: > ---- "Andreas Köhler" <[EMAIL PROTECTED]> wrote: > > Hi, > > > > On Do, 2008-07-31 at 20:15 -0400, [EMAIL PROTECTED] 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/[EMAIL PROTECTED] _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel