After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 565375 - system crashes during start-up when online
system crashes during start-up when online
Status: RESOLVED INCOMPLETE
Product: GnuCash
Classification: Other
Component: Windows
2.2.x
Other Windows
: Normal critical
: ---
Assigned To: Andreas Köhler
Christian Stimming
Depends on:
Blocks:
 
 
Reported: 2008-12-22 19:23 UTC by Norbert Enzinger
Modified: 2018-06-29 22:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Norbert Enzinger 2008-12-22 19:23:24 UTC
when I'm online during starting gnucash, gnucash freeze. By luck I found that it starts up with no problem when I'm offline.
Comment 1 Christian Stimming 2008-12-28 20:52:42 UTC
Is this the opposite of bug #510720 ? Weird.
Comment 2 Mike Kordik 2008-12-31 21:22:45 UTC
I am experiencing the same. Windows XP GnuCash 2.2.8. When I am online GnuCash freezes when the startup tip windows pops up and says it is loading GnuCash/app-utils. When I disable the WiFi radio, it starts up normally.
Comment 3 Andreas Köhler 2009-01-19 00:01:36 UTC
Mike, what happens when you

* Start > Run as > cmd.exe, cd c:\Program Files\gnucash\bin, gconftool-2.exe --spawn, gconftool-2 --ping, echo %errorlevel%
Does it print 0?

* try the steps in http://wiki.gnucash.org/wiki/Windows#Debugging_with_gdb and replace "provoke crash" by "provoke hang".  What is the backtrace it prints?
Comment 4 Mike Kordik 2009-01-19 16:18:20 UTC
I did the first step and it did in fact print 0.

When I run gnucash with gdb, I get an exception. I did the backtrace and copied all the way back to the exception. I ran gnucash without gdb and it still does not work when I am online. I don't understand why I am getting the exception from within gdb.

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? () from
(gdb) bt
  • #0 ??
  • #1 pcre3_dll_iname
    from C:\WINDOWS\system32\wxvault.dll
  • #2 ??
  • #3 ??
  • #4 ??
  • #5 ??
  • #6 ??
  • #7 ??
  • #8 ??
  • #9 _PRETTY_FUNCTION__.5
  • #10 ??
  • #11 ??
  • #12 ??
  • #13 wxvault!??0Cwxvault@@QAE@XZ
    from C:\WINDOWS\system32\wxvault.dll
  • #14 ??
  • #15 ??
  • #16 pcre3_dll_iname
    from C:\WINDOWS\system32\wxvault.dll
  • #17 ??
  • #18 ??
  • #19 ??
  • #20 ??
  • #21 ??
  • #22 ??
  • #23 ??
  • #24 ??
  • #25 ??
  • #26 ??
  • #27 ??
  • #28 ??
  • #29 ??
  • #30 ??
  • #31 ??
  • #32 ??
  • #33 ??
  • #34 ??
  • #35 ??
  • #36 ??
  • #37 strchr
    from ntdll.dll
  • #38 ntdll!RtlpNtMakeTemporaryKey
    from ntdll.dll
  • #39 ??
  • #40 ntdll!RtlpNtMakeTemporaryKey
    from ntdll.dll
  • #41 ntdll!RtlInsertElementGenericTableAvl
    from ntdll.dll
  • #42 ??
  • #43 ??
  • #44 ntdll!iswdigit
    from ntdll.dll
  • #45 ??
  • #46 ??
  • #47 ??
  • #48 ??
  • #49 ntdll!ZwCreateNamedPipeFile
    from ntdll.dll
  • #50 KERNEL32!CreatePipe
    from C:\WINDOWS\system32\kernel32.dll
  • #51 ??
  • #52 ??
  • #53 ??
  • #54 ??
  • #55 ??
  • #56 ??
  • #57 ntdll!ZwOpenFile
    from ntdll.dll
  • #58 KERNEL32!CreatePipe
    from C:\WINDOWS\system32\kernel32.dll
  • #59 ??
  • #60 ??
  • #61 ntdll!RtlLookupElementGenericTableAvl
    from ntdll.dll
  • #62 ??
  • #63 ??
  • #64 ??
  • #65 ??
  • #66 ??
  • #67 KERNEL32!CreatePipe
    from C:\WINDOWS\system32\kernel32.dll
  • #68 ??
  • #69 ??
  • #70 ??
  • #71 ??
  • #72 ??
  • #73 ??
  • #74 ??
  • #75 ??
  • #76 ??
  • #77 ??
  • #78 ??
  • #79 ??
  • #80 ??
  • #81 ??
  • #82 ??
  • #83 ??
  • #84 ??
  • #85 ??
  • #86 ??
  • #87 ??
  • #88 ??
  • #89 ??
  • #90 ??
  • #91 strchr
    from ntdll.dll
  • #92 ??
  • #93 ??
  • #94 ??
  • #95 strchr
    from ntdll.dll
  • #96 ntdll!iswdigit
    from ntdll.dll
  • #97 ??
  • #98 ntdll!iswdigit
    from ntdll.dll
  • #99 ntdll!iswdigit
    from ntdll.dll
  • #100 ??
  • #101 ??
  • #102 ntdll!RtlFreeThreadActivationContextStack
    from ntdll.dll
  • #103 ??
  • #104 ??
  • #105 ??
  • #106 ??
  • #107 ??
  • #108 strchr
    from ntdll.dll
  • #109 ntdll!RtlLookupElementGenericTableAvl
    from ntdll.dll
  • #110 ??
  • #111 ntdll!RtlInitializeRXact
    from ntdll.dll
  • #112 ??
  • #113 ??
  • #114 ??
  • #115 ??
  • #116 ??
  • #117 ??
  • #118 ??
  • #119 ??
  • #120 ntdll!RtlNumberGenericTableElementsAvl
    from ntdll.dll
  • #121 ??
  • #122 strchr
    from ntdll.dll
  • #123 ntdll!RtlAppendStringToString
    from ntdll.dll
  • #124 ??
  • #125 ??
  • #126 ??
  • #127 ??
  • #128 ??
  • #129 msvcrt!free
    from C:\WINDOWS\system32\msvcrt.dll
  • #130 ??
  • #131 ??
  • #132 ??
  • #133 ??
  • #134 ??
  • #135 strchr
    from ntdll.dll
  • #136 ntdll!RtlAppendStringToString
    from ntdll.dll
  • #137 ??
  • #138 ntdll!RtlAppendStringToString
    from ntdll.dll
  • #139 msvcrt!free
    from C:\WINDOWS\system32\msvcrt.dll
  • #140 ??
  • #141 ??
  • #142 msvcrt!free
    from C:\WINDOWS\system32\msvcrt.dll
  • #143 ??
  • #144 ??
  • #145 ??
  • #146 ??
  • #147 ??
  • #148 ??
  • #149 g_malloc
    from C:\Program


Thanks for the help!
Comment 5 Andreas Köhler 2009-01-20 11:01:23 UTC
(In reply to comment #4)
> Previous frame inner to this frame (corrupt stack?)

Yeah, it looks silly :-)

Try to find your trace files (http://wiki.gnucash.org/wiki/Windows#Error_messages) and start gnucash as in the wiki page (I changed that right now), but replace %* by --debug.  You can also lookup your home directory ~ (usually C:\Documents and Settings\$username, .gnucash should be there) and create ~\.gnucash\log.conf with

[levels]
gnc=debug

I am not sure that is necessary, but anything may help.

BTW, what are the results of the gconftool-2 tests in comment 3?
Comment 6 Mike Kordik 2009-01-20 14:40:36 UTC
In my comment #4 I did do the test from comment #3 and the result was 0



I created ~\.gnucash\log.conf with:
[levels]
gnc=debug


I also modified gnucash.bat with the command:
start gdb --args gnucash-bin --debug


...and it still gives EXCEPTION_ACCESS_VIOLATION


I also looked at the traces in c:\Documents and Settings\myname\Local Settings\Temp\gnucash.trace.ABCDEF and they are zero bytes in size. Of course the .ABCDEF part changes every time but still the file has zero size.

If I am misunderstanding something in what you want me to do, I apologize.

Also, I sincerely thank you for your help!
Comment 7 mercuryblue144 2010-12-28 02:38:50 UTC
I seem to be having the same problem. I tried the first set of instructions in comment 3 and got 0. The second set of instructions in comment 3 make my eyes cross; I am not a coder. I'm not running anything that I haven't been running in successful attempts to open the program.
Comment 8 Geert Janssens 2011-03-06 17:42:22 UTC
(In reply to comment #7)
> I seem to be having the same problem. I tried the first set of instructions in
> comment 3 and got 0. The second set of instructions in comment 3 make my eyes
> cross; I am not a coder. I'm not running anything that I haven't been running
> in successful attempts to open the program.

Does GnuCash start for you when you have no network connection enabled ? And does it hang while it is loading GnuCash/apputils (this is printed at the bottom of the splash screen) ? If not, this is not the same problem.
Comment 9 Geert Janssens 2011-03-06 17:50:48 UTC
@All of you experiencing a freeze while apputils is loading:

I suspect this report has the same cause as bug 521817.

First of: do you happen to be connected to a Novell Network (not required but that seems to be one trigger for this problem) ?

Secondly, can I ask you guys to download and install the latest nightly build [1] and then follow these instructions:
* Get online (so that GnuCash normally freezes)
* start > run... > cmd.exe
* Enter this command:
cd "C:\Program Files\GnuCash\bin"
The path should be to where you installed GnuCash.
* Then enter this command:
gnucash --debug --log "gnc.gui=debug" --log "qof.engine=debug" --log
"gnc.guile=debug"
This should all be on one line, but bugzilla may split it over multiple lines.
* The moment GnuCash freezes, copy the most recent trace file [2] and attach it here.



[1] the nightly builds can be found here:
http://code.gnucash.org/builds/win32/trunk/
[2] Where to get your trace file:
http://wiki.gnucash.org/wiki/Windows#Error_messages.2C_Trace_file
Comment 10 Geert Janssens 2011-03-08 14:14:38 UTC
Can any one of you that had this problem try to download and install
http://code.gnucash.org/builds/win32/trunk/gnucash-2.4.3-svn-r20381-setup.exe
and check if GnuCash still crashes when run when online ?
Comment 11 Christian Stimming 2011-03-27 19:31:03 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!
Comment 12 John Ralls 2018-06-29 22:14:36 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=565375. Please update any external references or bookmarks.