GNOME Bugzilla – Bug 510720
Crash on Startup "unspecified fatal error", but works with LAN access allowed
Last modified: 2018-06-29 21:59:52 UTC
Steps to reproduce: When running the application on Windows XP Pro Service Pack 2, I get an error that says "Unspecified fatal error encountered, aborting." Stack trace: No stack trace install package for Windows on your pages. Other information: A file called "gnucash.trace.W8S44T" was created. These are the contents: * OTHER <> Can't create CORBA main-thread wakeup pipe
Created attachment 103232 [details] Error Message #1 of 2 This is the first of two errors that is shown immediately after running the program.
Created attachment 103233 [details] Error Message #2 of 2 This is the second of two errors that is shown immediately after running the program.
OS: Windows XP Pro Service Pack 2
Created attachment 103234 [details] The file "gnucash.trace.W8S44T".
I found that someone else has reported this as well. http://bugzilla.gnome.org/show_bug.cgi?id=506195
Does this still occur with 2.2.6?
I know what the problem is now. It has to do with the program being blocked by my ZoneAlarm firewall. I don't understand why this application requires internet access. This is a security risk to me and I only plan to use this application locally. It would be different if I were going to use it on a network. Even then, I would give it permission to access the LAN but never the internet. These two application will error if they are not given FULL permission to access both local and internet. If gnucash-bin.exe gconfd-2.exe If I give them access to both LAN and internet, the application loads without any problem. Is there a possible way around this? I do not wish to give standard applications access to the internet. Thank you for your time.
Created attachment 116210 [details] Works With LAN And Internet Allowed On ZoneAlarm Firewall
GnuCash isn't supposed to require internet access. The problem was determined to be in an ORBit2 library that GnuCash relies on. The problem should be fixed. (See bug 363648.) Does upgrading to 2.2.6 fix the problem?
I apologize. I should have stated in my previous reply that I tested this again using v2.2.6 and that it did not resolve this issue.
'm not sure what the next step is here, so I've asked for additional input on the developers mailing list.
*** Bug 545086 has been marked as a duplicate of this bug. ***
Has been confirmed for 2.2.7 on https://lists.gnucash.org/pipermail/gnucash-de/2008-December/006588.html
Just FTR, I assume the problem persists with the newest GnuCash 2.2.8 installer?
Ok, so what is about GnuCash 2.2.8? http://lists.gnucash.org/pipermail/gnucash-user/2009-January/028082.html?
Scott, is this still an issue with 2.2.8?
Sorry for the delay in replying. GNUCash v2.2.9 does not fix this issue. Again, if ZoneAlarm allows the application local access (Trusted), the program will run, but with no access to Trusted or Internet allowed, it crashes with the "Unspecified fatal error encountered, aborting." and the same trace information. Trace file: gnucash.trace.ULY3VU Same error: * OTHER <> Can't create CORBA main-thread wakeup pipe This is what the ZoneAlarm settings look like: Programs -- gnucash-bin.exe Access -- Trusted -- ALLOWED Access -- Internet -- BLOCK Server -- Trusted -- BLOCK Server -- Internet -- BLOCK Pass Lock -- NONE Here is what ZoneAlarm says about the application when it's first run without any settings in the firewall. ** gnucash-bin.exe is trying to access the trusted zone. ** Validation: N/A ** Application: gnucash-bin.exe ** Destination IP: 127.0.0.1: Port 1224 If you allow it, it then asks for Internet access. If not allowed, the program will start since it was allowed localhost access on port 1224.
I have the same problem with 2.4.0 on XP Pro Service pack 3. I do not run Zone Alarm. I reinstalled GnuCash and it runs once when started from the installer. The installer minimizes to the task bar and won't come back up. When GnuCash is closed, the installer item goes away. When GnuCash is restarted again, theses error messages appear and the same trace log is created.
Does the resolution of bug#638762 help anything here: Adding the following line to the file "C:\Program Files (x86)\gnucash\etc\gnucash\environment": SCHEME_LIBRARY_PATH=
That did it. Thanks for the help.
(In reply to comment #17) > Sorry for the delay in replying. GNUCash v2.2.9 does not fix this issue. > Again, if ZoneAlarm allows the application local access (Trusted), the program > will run, but with no access to Trusted or Internet allowed, it crashes with > the "Unspecified fatal error encountered, aborting." and the same trace > information. > > Trace file: gnucash.trace.ULY3VU > Same error: * OTHER <> Can't create CORBA main-thread wakeup pipe > > This is what the ZoneAlarm settings look like: > > Programs -- gnucash-bin.exe > Access -- Trusted -- ALLOWED > Access -- Internet -- BLOCK > Server -- Trusted -- BLOCK > Server -- Internet -- BLOCK > Pass Lock -- NONE > > Here is what ZoneAlarm says about the application when it's first run without > any settings in the firewall. > > ** gnucash-bin.exe is trying to access the trusted zone. > ** Validation: N/A > ** Application: gnucash-bin.exe > ** Destination IP: 127.0.0.1: Port 1224 > > If you allow it, it then asks for Internet access. If not allowed, the program > will start since it was allowed localhost access on port 1224. I still assume the access to 127.0.0.1 is due to the way gconf works on Windows. As a result, I believe you should allow access to the trusted zone. I'm more intrigued by the request for internet access though. My investigations for bug 521817 show that GnuCash seems to trigger some (perhaps fake) internet access after all when it is setting up the GUID generation code. This could trip up your Zone Alarm that second time. I'll get back to this if/when I manage to fix bug 521817.
(In reply to comment #17) > Sorry for the delay in replying. GNUCash v2.2.9 does not fix this issue. > Again, if ZoneAlarm allows the application local access (Trusted), the program > will run, but with no access to Trusted or Internet allowed, it crashes with > the "Unspecified fatal error encountered, aborting." and the same trace > information. > > Trace file: gnucash.trace.ULY3VU > Same error: * OTHER <> Can't create CORBA main-thread wakeup pipe > > This is what the ZoneAlarm settings look like: > > Programs -- gnucash-bin.exe > Access -- Trusted -- ALLOWED > Access -- Internet -- BLOCK > Server -- Trusted -- BLOCK > Server -- Internet -- BLOCK > Pass Lock -- NONE > > Here is what ZoneAlarm says about the application when it's first run without > any settings in the firewall. > > ** gnucash-bin.exe is trying to access the trusted zone. > ** Validation: N/A > ** Application: gnucash-bin.exe > ** Destination IP: 127.0.0.1: Port 1224 > > If you allow it, it then asks for Internet access. If not allowed, the program > will start since it was allowed localhost access on port 1224. I think I have now fixed the problem that triggers the internet access. Local (or trusted) access should still be allowed for GnuCash to work. Here is how you can test this: * Reset the ZoneAlarm settings for GnuCash, so that the next time you run it, it will ask again what to do with the access GnuCash requests ? * Then, run your current GnuCash installation and verify that ZoneAlarm asks you for both trusted and internet access. You should allow trusted access, GnuCash probably won't work without it. * Reset your ZoneAlarm settings regarding GnuCash again. The above steps are mainly to ensure that ZoneAlarm asks questions for GnuCash. * Then download and install the most recent nightly build from http://code.gnucash.org/builds/win32/trunk/ At the time of this writing that is gnucash-2.4.3-svn-r20381. Any more recent version should be fine as well. * Does ZoneAlarm still ask for both trusted and internet access with this version, or only trusted access ?
I used the following nightly build: gnucash-2.4.4-svn-r20460-setup.exe It asks for both trusted and internet access. When trusted is allowed, internet blocked, it just shows the splash screen and abruptly exits.
That's unfortunate... Can you provide a detailed trace file by running gnucash with some additional parameters ? You can create it with the following steps: * start > run... > cmd.exe * cd "C:\Program Files\GnuCash\bin" * gnucash --debug --log "gnc=debug" Then when the program crashes, add the most recent trace file to this bug please. It should hold a lot more information.
> Can you provide a detailed trace file http://wiki.gnucash.org/wiki/Tracefile Any news?
Sorry for the delay. I downloaded the newest build and tested it, which is at the time of this report: gnucash-2.4.99-svn-r20603-setup.exe Same issue as before, but I have also attached the detailed trace log as requested. This trace is for the condition of: When trusted is allowed, internet blocked, it just shows the splash screen and abruptly exits. After guncash.exe closes abruptly, I see in memory two "gconfd-2.exe" for a while before it they exit. As before, this is what the ZoneAlarm settings look like: Programs -- gnucash.exe Access -- Trusted -- ALLOWED Access -- Internet -- BLOCK Server -- Trusted -- BLOCK Server -- Internet -- BLOCK Pass Lock -- NONE Programs -- gconfd-2.exe Access -- Trusted -- ALLOWED Access -- Internet -- BLOCK Server -- Trusted -- BLOCK Server -- Internet -- BLOCK Pass Lock -- NONE
Created attachment 186928 [details] GNU Cash (gnucash-2.4.99-svn-r20603) Detailed Trace Log
Unfortunately the trace doesn't give a clue to why gnucash halts abruptly. When it happens, does Windows display an error message or something ? In any case, I have added some additional debug code in the source files, which should appear in tomorrow's nightly build. Can you reset your gnucash firewall rules and run the test described in comment 24 again ? Please post the new trace file. It should give some more info on where GnuCash stops.
In an effort to reproduce, I went through the trouble of installing ZoneAlarm on a virtual machine (with the risk of locking myself out of that machine completely). I can't reproduce this problem in my test environment. With a fresh ZoneAlarm install without any custom configuration changes from my part, ZoneAlarm will give two smart advisories: gnucash.exe is trying to access the Internet Application: gnucash.exe Destination IP: 127.0.0.1:Port 1123 gconf-2.exe is trying to access the Internet Application: gconfd-2.exe Destination IP: 127.0.0.1:Port 1130 On request from the gnucash.exe program to IP address 127.0.0.1 and one request from gconfd-2.exe to IP address 127.0.0.1. Remember that 127.0.0.1 is an internally used ip address by every computer to communicate with itself. So an access to 127.0.0.1 will never leave the computer, let alone reach the internet. Yet note that ZoneAlarm tells me these two programs are trying to access the Internet. From my point of view that's a very poor default configuration for ZoneAlarm. So Scott gets one Trusted zone access request and one Internet access request. Yet I have two Internet access requests. I have tested this both with GnuCash 2.4.3 (so before the GUID issue mentioned in comment 21 was resolved) and with the latest development snapshot. @Scott: To continue with this, I would need a more detailed report of both the trusted and the internet ZoneAlarm requests: - which application is requesting the access (note in my case there are two separate programs involved) - access to which ip address is being requested And this should be compared with the ip address of the PC itself. If you need help in finding the current ip address of your PC, just let me know.
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!
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=510720. Please update any external references or bookmarks.