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 510720 - Crash on Startup "unspecified fatal error", but works with LAN access allowed
Crash on Startup "unspecified fatal error", but works with LAN access allowed
Status: RESOLVED INCOMPLETE
Product: GnuCash
Classification: Other
Component: Windows
2.2.x
Other Windows
: Normal critical
: ---
Assigned To: Andreas Köhler
Christian Stimming
: 545086 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-01-20 01:59 UTC by -
Modified: 2018-06-29 21:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Error Message #1 of 2 (6.50 KB, image/png)
2008-01-20 02:00 UTC, -
Details
Error Message #2 of 2 (9.38 KB, image/png)
2008-01-20 02:01 UTC, -
Details
The file "gnucash.trace.W8S44T". (55 bytes, text/plain)
2008-01-20 02:04 UTC, -
Details
Works With LAN And Internet Allowed On ZoneAlarm Firewall (26.94 KB, image/png)
2008-08-09 05:50 UTC, -
Details
GNU Cash (gnucash-2.4.99-svn-r20603) Detailed Trace Log (13.76 KB, text/plain)
2011-04-30 10:36 UTC, -
Details

Description - 2008-01-20 01:59:22 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
Comment 1 - 2008-01-20 02:00:23 UTC
Created attachment 103232 [details]
Error Message #1 of 2

This is the first of two errors that is shown immediately after running the program.
Comment 2 - 2008-01-20 02:01:04 UTC
Created attachment 103233 [details]
Error Message #2 of 2

This is the second of two errors that is shown immediately after running the program.
Comment 3 - 2008-01-20 02:02:43 UTC
OS: Windows XP Pro Service Pack 2

 
Comment 4 - 2008-01-20 02:04:06 UTC
Created attachment 103234 [details]
The file "gnucash.trace.W8S44T".
Comment 5 - 2008-01-31 06:00:41 UTC
I found that someone else has reported this as well.

http://bugzilla.gnome.org/show_bug.cgi?id=506195
Comment 6 Charles Day 2008-08-09 03:57:07 UTC
Does this still occur with 2.2.6?
Comment 7 - 2008-08-09 05:49:36 UTC
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.
Comment 8 - 2008-08-09 05:50:20 UTC
Created attachment 116210 [details]
Works With LAN And Internet Allowed On ZoneAlarm Firewall
Comment 9 Charles Day 2008-08-09 18:15:20 UTC
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?
Comment 10 - 2008-08-10 03:01:49 UTC
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.
Comment 11 Charles Day 2008-08-11 15:50:23 UTC
'm not sure what the next step is here, so I've asked for additional input on the developers mailing list.
Comment 12 Christian Stimming 2008-11-03 11:07:47 UTC
*** Bug 545086 has been marked as a duplicate of this bug. ***
Comment 13 Christian Stimming 2008-12-04 08:44:55 UTC
Has been confirmed for 2.2.7 on  https://lists.gnucash.org/pipermail/gnucash-de/2008-December/006588.html
Comment 14 Andreas Köhler 2009-01-01 13:54:04 UTC
Just FTR, I assume the problem persists with the newest GnuCash 2.2.8 installer?
Comment 15 Andreas Köhler 2009-01-19 00:03:12 UTC
Ok, so what is about GnuCash 2.2.8?  http://lists.gnucash.org/pipermail/gnucash-user/2009-January/028082.html?
Comment 16 Tobias Mueller 2009-06-13 12:31:18 UTC
Scott, is this still an issue with 2.2.8?
Comment 17 - 2009-06-29 04:31:13 UTC
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.
Comment 18 mdavyjones 2011-01-23 23:17:44 UTC
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.
Comment 19 Christian Stimming 2011-01-24 09:21:48 UTC
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=
Comment 20 mdavyjones 2011-01-24 18:30:30 UTC
That did it.  Thanks for the help.
Comment 21 Geert Janssens 2011-03-06 17:35:32 UTC
(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.
Comment 22 Geert Janssens 2011-03-08 14:12:11 UTC
(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 ?
Comment 23 - 2011-03-26 05:40:36 UTC
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.
Comment 24 Geert Janssens 2011-03-26 12:11:47 UTC
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.
Comment 25 Christian Stimming 2011-04-15 11:48:33 UTC
> Can you provide a detailed trace file
http://wiki.gnucash.org/wiki/Tracefile
Any news?
Comment 26 - 2011-04-30 10:35:17 UTC
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
Comment 27 - 2011-04-30 10:36:21 UTC
Created attachment 186928 [details]
GNU Cash (gnucash-2.4.99-svn-r20603) Detailed Trace Log
Comment 28 Geert Janssens 2011-10-07 13:24:24 UTC
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.
Comment 29 Geert Janssens 2011-10-17 11:31:26 UTC
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.
Comment 30 Tobias Mueller 2012-02-01 15:19:23 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 31 John Ralls 2018-06-29 21:59:52 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=510720. Please update any external references or bookmarks.