You are here

GnuCash 5.6 Crashes When You Delete a Transaction

15 posts / 0 new
Last post
jtemple
jtemple's picture
Offline
Last seen: 1 month 2 weeks ago
Joined: 2008-02-15 09:00
GnuCash 5.6 Crashes When You Delete a Transaction

See title. I have reverted to 5.5 to work around the problem.

Replication: Create transaction -> save -> delete transaction -> crash

John T. Haller
John T. Haller's picture
Online
Last seen: 50 min 1 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Fine Here

I just did that on my Windows 10 64-bit machine with GnuCash Portable 5.6 and it worked without issue.

Sometimes, the impossible can become possible, if you're awesome!

davidbowly
Offline
Last seen: 6 months 2 weeks ago
Joined: 2024-05-26 21:25
Also have this problem

I can also report this problem - Version 5.6 crashes whenever I try to delete a transaction (freezes, then closes). From a brief check, the transaction is successfully deleted in the SQLite file before the application crashes, so it seems that the deletion is executed but something after this is crashing.
I am using Windows 11 Home Version 23H2 on a Lenovo 11th Gen Intel(R) Core(TM) i5-11300H 64 bit.
I will also revert to 5.5 for now.

gbrossi
Offline
Last seen: 4 months 1 week ago
Joined: 2020-01-15 08:21
I have the same issue.

I have the same issue. Gnucash 5.6 with SQLite3 datafile.

John T. Haller
John T. Haller's picture
Online
Last seen: 50 min 1 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Path?

What's the full install path to your copy of GnuCash Portable?

Sometimes, the impossible can become possible, if you're awesome!

gbrossi
Offline
Last seen: 4 months 1 week ago
Joined: 2020-01-15 08:21
C:\bin\PortableApps

C:\bin\PortableApps\GnuCashPortable

John T. Haller
John T. Haller's picture
Online
Last seen: 50 min 1 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Working Here

I installed to that location on my Windows 10 64-bit machine. Created a new set of files within C:\bin\PortableApps\GnuCashPortable\Data\MyDB called MyDB in Sqlite format. Created a default set of accounts. Opened checking and created a transaction. Closed the app. Opened it again. Deleted the transaction. Closed the app. No issues. Where are you saving your database? Are there any non-ASCII characters in the path?

Sometimes, the impossible can become possible, if you're awesome!

gbrossi
Offline
Last seen: 4 months 1 week ago
Joined: 2020-01-15 08:21
C:\doc\gnucash\My_Money_9.gnucash

No. Filename path is "C:\doc\gnucash\My_Money_9.gnucash". I'm using Windows 11 23H2 64bits.

I have the following error reported at event viewer:

Faulting application name: gnucash.exe, version: 5.6.0.0, time stamp: 0x6609da9e
Faulting module name: libgobject-2.0-0.dll, version: 2.78.3.0, time stamp: 0x6571a087
Exception code: 0xc0000005
Fault offset: 0x0002c881
Faulting process id: 0x0x1F8
Faulting application start time: 0x0x1DAD5781BA71F36
Faulting application path: C:\bin\PortableApps\GnuCashPortable\App\GnuCash\bin\gnucash.exe
Faulting module path: C:\bin\PortableApps\GnuCashPortable\App\GnuCash\bin\libgobject-2.0-0.dll
Report Id: b47d8116-5151-4816-b6cc-8960bbc183db
Faulting package full name:

I found this bug which is fixed at Gnucash 5.7:
Bug 799281 - Deleting a transaction may trigger a crash.

BTW, Gnucash 5.8 is out. Maybe the upgrade will solve the issue.

John T. Haller
John T. Haller's picture
Online
Last seen: 50 min 1 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Likely, Can't Reproduce

It's likely that bug. I couldn't reproduce even with your same file structure and names on Windows 11 here, but hopefully 5.8 will fix it for you. The portable package will be out soon.

Sometimes, the impossible can become possible, if you're awesome!

gbrossi
Offline
Last seen: 4 months 1 week ago
Joined: 2020-01-15 08:21
waiting for the 5.8 release

Thanks John! I'm waiting for the 5.8 release.

GTR Development
Offline
Last seen: 5 months 2 weeks ago
Joined: 2024-06-23 17:12
I'm experiencing the same issue. (SQLite database)

From my Event Viewer:

Faulting application name: gnucash.exe, version: 5.6.0.0, time stamp: 0x6609da9e
Faulting module name: libgobject-2.0-0.dll, version: 2.78.3.0, time stamp: 0x6571a087
Exception code: 0xc0000005
Fault offset: 0x0002c881
Faulting process id: 0x3b44
Faulting application start time: 0x01dac5afef3c1fe9
Faulting application path: C:\Program Files (x86)\gnucash\bin\gnucash.exe
Faulting module path: C:\Program Files (x86)\gnucash\bin\libgobject-2.0-0.dll
Report Id: dadd1942-d0b1-4ded-a214-834f0086ffeb
Faulting package full name:
Faulting package-relative application ID:

John T. Haller
John T. Haller's picture
Online
Last seen: 50 min 1 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Try 5.8

5.8 has been posted, so give that a try.

Sometimes, the impossible can become possible, if you're awesome!

gbrossi
Offline
Last seen: 4 months 1 week ago
Joined: 2020-01-15 08:21
Try 5.8

I tested it and version 5.8 fixed the issue!

John T. Haller
John T. Haller's picture
Online
Last seen: 50 min 1 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Glad to hear

Glad to hear Smile

Sometimes, the impossible can become possible, if you're awesome!

jtemple
jtemple's picture
Offline
Last seen: 1 month 2 weeks ago
Joined: 2008-02-15 09:00
Confirmed 5.8 solves the bug.

Confirmed 5.8 solves the bug. Here's the bug on gnucash.org. https://bugs.gnucash.org/show_bug.cgi?id=799281

Log in or register to post comments