GNOME Bugzilla – Bug 553088
Crashes while loading - Windows 2000
Last modified: 2018-06-29 22:10:26 UTC
Steps to reproduce: 1. Install uon Windows 2000 SP3 2. Initiate execution 3. Stack trace: No stack trace available - load failure - but missing dll libgnmod-engine msg Other information:
Created attachment 119068 [details] libgncmod-engine.dll missing
Created attachment 119069 [details] This would be the DOS abend under gdb
Comment on attachment 119068 [details] libgncmod-engine.dll missing Can I get it from somewhere or is it in the wrong location? Thanks
(In reply to comment #0) > Steps to reproduce: > 1. Install uon Windows 2000 SP3 > 2. Initiate execution > 3. > > > Stack trace: > No stack trace available - load failure - but missing dll libgnmod-engine msg > > > Other information: >
(In reply to comment #0) > 2. Initiate execution Please go into detail here. Do you try to run gnucash-bin.exe yourself, or are to executing gnucash.bat? What is the location you installed GnuCash to?
Created attachment 119128 [details] Abend popups
Created attachment 119129 [details] gdb console
(In reply to comment #6) > Created an attachment (id=119128) [edit] > Abend popups > (In reply to comment #5) > (In reply to comment #0) > > 2. Initiate execution > > Please go into detail here. Do you try to run gnucash-bin.exe yourself, or are > to executing gnucash.bat? > What is the location you installed GnuCash to? > The last post was misleading because I ran gnucash-bin.exe under gdb. The next twio screens show what happens when I move all dlls into c:\program files\gnucash\bin and run gnucash-bin.exe under gdb - still no stack dump.
Please do not run gnucash-bin.exe yourself. I have no idea what makes people think that is the correct solution... So, did you try to start gnucash.bat? Typically, users simply use the provided start menu or desktop entries. If you are trying to run gdb, please read http://wiki.gnucash.org/wiki/Windows#Debugging_with_gdb .
Created attachment 119131 [details] Popup
Created attachment 119132 [details] trace
(In reply to comment #9) > Please do not run gnucash-bin.exe yourself. I have no idea what makes people > think that is the correct solution... > > So, did you try to start gnucash.bat? Typically, users simply use the provided > start menu or desktop entries. > > If you are trying to run gdb, please read > http://wiki.gnucash.org/wiki/Windows#Debugging_with_gdb . > Yes, I also ran gnucash.bat and the desktop icon with the same result - box with a red X in it. I also ran gdb again following the instruction in http://wiki.gnucash.org/wiki/Windows#Debugging_with_gdb and modoifying gnucash.bat. The results are attached.
Have you moved the DLLs back? Just to be on the safe side, may you uninstall GnuCash completely, remove all remnants, reinstall it and retry? Do you have cygwin or anything special in your PATHs?
(In reply to comment #13) > Have you moved the DLLs back? Just to be on the safe side, may you uninstall > GnuCash completely, remove all remnants, reinstall it and retry? > Do you have cygwin or anything special in your PATHs? > I de-installed, removed the gnucash folder, re-installed with what seems to be similar results. The modified gnucash.bat file is; setlocal chcp 1252 set PATH=C:\Program Files\gnucash\bin;C:\Program Files\gnucash\lib;C:\Program Files\gnucash\lib\gnucash;%PATH% set GUILE_WARN_DEPRECATED=no set GNC_MODULE_PATH=C:\Program Files\gnucash\lib\gnucash set GUILE_LOAD_PATH=C:\Program Files\gnucash\share\gnucash\guile-modules;C:\Program Files\gnucash\share\gnucash\scm;C:\Program Files\gnucash\share\guile\1.6;%GUILE_LOAD_PATH% set LTDL_LIBRARY_PATH=C:\Program Files\gnucash\lib set QOF_LIB_DIR=C:\Program Files\gnucash\lib\gnucash rem start gnucash-bin %* set PATH=C:\Program Files\gdb\bin;%PATH% start C:\MinGW\bin\gdb.exe gnucash-bin %*
Created attachment 119133 [details] GDB trace after re-installing
That is a completely different stack trace, further down the initialization route than anything you attached before. So my advice is not to change too much manually before you have completely analyzed what the problem actually is :-) OK, so the program reached a location it should never reach (http://svn.gnucash.org/trac/browser/gnucash/branches/2.2/src/gnome/dialog-new-user.c#L122). Did you see the welcome dialog, asking first time users what they want to do (create accounts, import qif, tutorial)? Its result, the choice the user has made, is not recognized as one of the good values. Please try to run gnucash with "--logto stderr --log gnc.gui=debug", by appending it gnucash or, when running gnucash from gdb, starting via "r --logto[...]".
(In reply to comment #16) > That is a completely different stack trace, further down the initialization > route than anything you attached before. So my advice is not to change too > much manually before you have completely analyzed what the problem actually is > :-) > > OK, so the program reached a location it should never reach > (http://svn.gnucash.org/trac/browser/gnucash/branches/2.2/src/gnome/dialog-new-user.c#L122). > Did you see the welcome dialog, asking first time users what they want to do > (create accounts, import qif, tutorial)? Its result, the choice the user has > made, is not recognized as one of the good values. Please try to run gnucash > with "--logto stderr --log gnc.gui=debug", by appending it gnucash or, when > running gnucash from gdb, starting via "r --logto[...]". > Like this - I don't think this had any effect, however, I attach the popup error message and dump. I did not see the welcome dialog asking what I wanted to do - just the splash screen while loading and then the bomb popup. setlocal chcp 1252 set PATH=C:\Program Files\gnucash\bin;C:\Program Files\gnucash\lib;C:\Program Files\gnucash\lib\gnucash;%PATH% set GUILE_WARN_DEPRECATED=no set GNC_MODULE_PATH=C:\Program Files\gnucash\lib\gnucash set GUILE_LOAD_PATH=C:\Program Files\gnucash\share\gnucash\guile-modules;C:\Program Files\gnucash\share\gnucash\scm;C:\Program Files\gnucash\share\guile\1.6;%GUILE_LOAD_PATH% set LTDL_LIBRARY_PATH=C:\Program Files\gnucash\lib set QOF_LIB_DIR=C:\Program Files\gnucash\lib\gnucash rem start gnucash-bin %* set PATH=C:\Program Files\gdb\bin;%PATH% start C:\MinGW\bin\gdb.exe gnucash-bin %* --logto stderr --log gnc.gui=debug
Created attachment 119137 [details] bomb message - splash screen behind
Created attachment 119138 [details] another back trace
From reading the code, perhaps GnuCash is unable to find/load the "newuser.glade" file?
What is shown in your GnuCash trace file? Not sure about Windows 2000, but on XP it would be something like c:\Documents and Settings\myname\Local Settings\Temp\gnucash.trace.XXXXXX, where XXXXXX is some random numbers/letters. Also, can you show the results when you use the options that Andreas gave in comment 16? Also, you probably need to insert "--args" when launching gdb from your .bat file, like (all on one line): start C:\MinGW\bin\gdb.exe --args gnucash-bin %* --logto stderr --log gnc.gui=debug
Created attachment 119271 [details] args on command line
Created attachment 119273 [details] trace file This is the trace file from the latest run - found where you indicated - thanks.
Created attachment 119274 [details] Abend pic created Sep 23 This is the stack dump associated with the trace file.
(In reply to comment #21) > What is shown in your GnuCash trace file? Not sure about Windows 2000, but on > XP it would be something like c:\Documents and Settings\myname\Local > Settings\Temp\gnucash.trace.XXXXXX, where XXXXXX is some random > numbers/letters. > > Also, can you show the results when you use the options that Andreas gave in > comment 16? Also, you probably need to insert "--args" when launching gdb from > your .bat file, like (all on one line): > > start C:\MinGW\bin\gdb.exe --args gnucash-bin %* > --logto stderr --log gnc.gui=debug > I tried args on the command line enterered at the gdb console as per Andreas's instructions i.e. run --logto stderr --log gnc.gui=debug. Although the usual trace was not created, no other files were created.
Andreas, Look at the "could not get system codepage name" error message in the trace file from comment 23. Glade seems to fail because g_win32_locale_filename_from_utf8() returns NULL. See the Glade code here: http://code.bandit-project.org/trac/browser/trunk/iss/external/gnome/libglade/glade/glade-parser.c?rev=747#L1219 Not sure what could be causing this, though. Maybe an environment setting?
*** This bug has been marked as a duplicate of 554650 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=553088. Please update any external references or bookmarks.