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 486398 - Assertion failed: (obj->object_key != NULL); TMP dir permissions
Assertion failed: (obj->object_key != NULL); TMP dir permissions
Status: RESOLVED INCOMPLETE
Product: GnuCash
Classification: Other
Component: Windows
2.2.x
Other Windows
: Normal critical
: ---
Assigned To: Andreas Köhler
Christian Stimming
: 457100 490255 490665 502235 577894 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-10-13 19:29 UTC by Stefano
Modified: 2018-06-29 21:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stefano 2007-10-13 19:29:21 UTC
Steps to reproduce:
1. just starting Gnucash from the start menu 
2. a popup appears whith "Unspecified fatale error encountered, aborting"
3. a second popup appears, titled "Microsoft visual C++ Runtime Library". It says "Runtime error! Program C:\......\Gnucash\bin\gnucash-bin.exe   This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information."

Stack trace:


Other information:
Gnucash worked fine for two days, I installed/unistalled nothing new before it started mulfunctioning.....
Comment 1 Stefano 2007-10-13 22:11:54 UTC
... tried to unistall and install it again, but aleays the same error.

.. sorry, but I do not know how to report a stack trace...
Comment 2 Andreas Köhler 2007-10-14 10:14:59 UTC
A few questions: Does gnucash work when you
* start it without a file, i.e. append " --nofile" to the last line (start gnucash-bin) of bin\gnucash.bat
* start it without your preference settings, i.e. make sure no gconfd-2.exe process is running, move ~\.gconf and ~\.gconfd to a backup location, where ~ is C:\Documents and Settings\$user
* start it without your reports, i.e. move ~\.gnucash to a backup location

Is there anything valuable in ~\Local Settings\Temp\gnucash.trace.ABCDEF?  You might also want to take a look at http://wiki.gnucash.org/wiki/Windows for additional information.
Maybe you find a step-by-step guide to reproduce this bug, starting from an empty file.  Or you can provide a minimal test file.
Comment 3 Stefano 2007-10-14 19:09:12 UTC
Hi,

unfortunately none of the 3 suggestion mentioned above worked.

Here is the content of "gnucash.trace.RGGH0T"

*  OTHER <> file corba-object.c: line 76 (ORBit_register_objref): assertion failed: (obj->object_key != NULL)

I managed to get it working using the workaround described in http://wiki.gnucash.org/wiki/Windows#Windows_XP_Home_Edition_Problems

I changed the TMP and TEMP environment variables and it started working!!!!!
Comment 4 Christian Stimming 2007-10-27 08:22:40 UTC
*** Bug 490255 has been marked as a duplicate of this bug. ***
Comment 5 Christian Stimming 2007-10-27 08:26:04 UTC
Is this bug#457100? (OTOH that one is too long to be understandable anymore.)

The solution in the wiki page was given as follows: I was able to resolve this problem by creating a new temporary directory (e.g. c:\temp) and setting environmental variables TEMP and TMP to point to this new directory. There is something odd about the permissions on the temporary directory created by orbit.
Comment 6 Christian Stimming 2007-10-27 09:24:26 UTC
*** Bug 490665 has been marked as a duplicate of this bug. ***
Comment 7 Christian Stimming 2007-11-13 09:37:15 UTC
This bug describes the TMP and TEMP permission issue and the ior file in the TEMP directory: 
* bug 449153
* bug 457100 comment 33, bug 457100 comment 52, bug 457100 comment 62,  bug 457100 comment 75
* We've got a permission problem in gnucash ourselves, bug 466512, which we need to fix in gnucash, but this is unrelated to the TEMP and TMP directories.
Comment 8 Christian Stimming 2007-11-13 09:43:13 UTC
*** Bug 457100 has been marked as a duplicate of this bug. ***
Comment 9 Josh Sled 2007-12-07 01:30:32 UTC
*** Bug 502235 has been marked as a duplicate of this bug. ***
Comment 10 Andreas Köhler 2007-12-27 16:27:04 UTC
Christian, may you please summarize once again, now GnuCash 2.2.2 is out? :-D
Comment 11 terhi 2009-02-20 00:01:12 UTC
(In reply to comment #10)

I had same problems with v2.2.8.
None of above mentioned solutions worked for me.

...but finally I have found a solution which works for me:
Deactivation of SW-firewall.

Maybe doing this could help others too... 
Comment 12 Phil Longstaff 2009-05-01 16:56:25 UTC
*** Bug 577894 has been marked as a duplicate of this bug. ***
Comment 13 Praveen Thirukonda 2009-10-03 14:38:58 UTC
aargh pls fix this
this bug makes me cry
i worked hard to convince my dad to try gnucash on his xp and this really disappointed all of us.
Comment 14 Christian Stimming 2010-01-05 23:26:27 UTC
Re comment#11: This is bug#510720.

The solution in the wiki page was given as follows: I was able to resolve this
problem by creating a new temporary directory (e.g. c:\temp) and setting
environmental variables TEMP and TMP to point to this new directory. There is
something odd about the permissions on the temporary directory created by
orbit.

Do people still see an assertion failed (obj->object_key != NULL) with the 2.3.8 version?
Comment 15 Christian Stimming 2010-01-27 10:44:08 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 16 bugzillus 2010-01-31 18:28:56 UTC
Here, the solution was to allow all local loopback connections in the firewall.

As this often is not acceptable/desirable under Windows, could you please add information to the installation readme which binaries need loopback allowance. Thanks.
Comment 17 John Ralls 2018-06-29 21:51:49 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=486398. Please update any external references or bookmarks.