GNOME Bugzilla – Bug 614638
Crash at startup when run as a Standard User under Windows Vista (but Administrator runs fine) - hello-world.scm
Last modified: 2018-06-29 22:37:36 UTC
When I run GnuCash as an Administrator user under Windows Vista, GnuCash runs without a problem. However, I have recently change my user configuration to that of a Standard user. Now if I run GnuCash the following error occurs: "An error occurred while loading or saving configuration information for gnucash. Some of your configuration settings may not work properly." The dialog also contains the following additional details: Adding client to server's list failed, CORBA error: IDL:omg.org/CORBA/COMM_FAILURE:1.0 Adding client to server's list failed, CORBA error: IDL:omg.org/CORBA/COMM_FAILURE:1.0 Adding client to server's list failed, CORBA error: IDL:omg.org/CORBA/COMM_FAILURE:1.0 Adding client to server's list failed, CORBA error: IDL:omg.org/CORBA/COMM_FAILURE:1.0
*** Bug 622325 has been marked as a duplicate of this bug. ***
*** Bug 643409 has been marked as a duplicate of this bug. ***
Does your standard user have write permission for c:\Documents and Settings\<your-user-name>\.gconf ? If this directory was created as an administrator, it may not have the proper permissions for a user.
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!
Hans Reil reported these exact same symptoms in a comment in bug 541539. But that bug was describing another problem, so I'm reopening this bug and adding Hans in CC.
(That should have been bug 641539, sorry). @Hans: can you try to run gnucash from a command prompt to gather some extra debugging information ? Here is how: * Open a command prompt as a normal user * Enter cd "c:\Program Files\gnucash\bin" (Note: use the proper path to your gnucash installation here) * The enter gnucash --debug --log"gnc=debug" * I expect your program to crash again, but this time it should have created a trace file with more information in it [1]. There will probably be several trace files, can you attach the most recent one to this report ? [1] To find this trace file, refert to http://wiki.gnucash.org/wiki/Windows#Error_messages.2C_Trace_file
Created attachment 185407 [details] trace file after crash here the trace file. Thanks guys for your work.
Ok, I took a look at the trace file. It seems the crash happens while loading the utility-reports module (The code enters the loading part, but never returns from it). Unfortunately, that's as far as I can get. The major part of the utility reports code is in scheme code, and doesn't produce any debugging output. And sadly I don't know very much about scheme, so I don't manage to follow through the code to spot potential issues. Maybe Christian has more insight in this. You may still provide addtitional information by creating a stack trace (which is something entirely different from a gnucash trace file). If you want to try this, you can follow the instructions in http://wiki.gnucash.org/wiki/Windows#Debugging_with_gdb and then copy and paste the backtrace into a text file that you can attach to this bug. By the way, do you also receive the CORBA errors as mentioned by the original reporter ? I didn't see any reference in your comments, so your bug may be another one anyway after all...
(In reply to comment #8) > By the way, do you also receive the CORBA errors as mentioned by the original > reporter ? I didn't see any reference in your comments, so your bug may be > another one anyway after all... Then again, the bugs that are marked as duplicates are mixed as well. The first (bug 622325) only mentions the corba errors while the second (bug 643409) only talks about crashing in user mode... The future will show if it is really the same thing or not.
(In reply to comment #8) > Ok, I took a look at the trace file. It seems the crash happens while loading > the utility-reports module (The code enters the loading part, but never returns > from it). > > Unfortunately, that's as far as I can get. The major part of the utility > reports code is in scheme code, and doesn't produce any debugging output. @Hans: Can you try a program modification: In the gnucash installation folder, search for the file named "utility-reports.scm". Copy the existing file into a separate location as backup, then open the existing file in a text editor. Then, comment out the "use-modules" lines and the "re-export" line by inserting two semicolons at the beginning of the line. Only the line saying "define-module ..." does not start with semicolons by then. Save the file, then try to start gnucash again. Please tell us whether it is still crashing at startup. If it surprisingly does not crash any longer, please try which of those lines can be reverted into the original state and which one must be commented out by those semicolons. This would help a lot! Thanks.
It works fine if I commend out: ;; (use-modules (gnucash report hello-world)) Thanks, now I can start without admin-mode! I suppose the module is not so important.
(In reply to comment #11) > It works fine if I commend out: > ;; (use-modules (gnucash report hello-world)) Indeed, this module is completely unimportant. I wonder why this error occurs! Maybe we should remove the report for now, until someone wants to debug this error?
Hans, Can you try this with latest SVN version? Some trivial changes to the Scheme code have been made which probably do not fix this but it is worth seeing if the behavior persists. If there are instructions available on how to compile GnuCash for Windows, I might be able to try debugging this issue since I have been working on the reports anyways. Thanks, -Tim
I have installed 2.4.7 it still crashes, if I'm not in admin mode. hans
@Christian - Personally I think it would make sense to just remove/disable this report.
I'm getting the same error upon start-up: "An error occurred while loading or saving configuration information for gnucash.exe. Some of your configuration settings may not work properly." The dialog also contains the following additional details: Adding client to server's list failed, CORBA error: IDL:omg.org/CORBA/COMM_FAILURE:1.0 Adding client to server's list failed, CORBA error: IDL:omg.org/CORBA/COMM_FAILURE:1.0 Adding client to server's list failed, CORBA error: IDL:omg.org/CORBA/COMM_FAILURE:1.0 Adding client to server's list failed, CORBA error: IDL:omg.org/CORBA/COMM_FAILURE:1.0 I'm running Windows 7 Home, version. Gnucash 2.4.7. I first tried uninstalling and reinstalling gnucash to no avail. I then tried adding the semicolons to utility-reports.scm, but that didn't work. Any thoughts?
John, Does GnuCash run ok when you start it in adminstrator mode ?
Would it run if you (temporarily) disable your firewall ?
John, do you have any update for the bug ?
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=614638. Please update any external references or bookmarks.