Scheduled transaction editor crashes GnuCash 2.6.5

Peter Kiessling pjkiess at gmail.com
Fri Jan 9 18:59:05 EST 2015


On Jan 9, 2015, at 1:04 PM, John Ralls <jralls at ceridwen.us> wrote:

> 
> On Jan 8, 2015, at 9:52 PM, Peter Kiessling <pjkiess at gmail.com> wrote:
> 
> Hi,
> Scheduled Transactions editor (under Actions) crashes Gnucash 2.6.5-6. iMac 10.10.1. Tried 2.6.4 with same result. 2.4.15 gave bad sums in accounts and still crashed Gnucash. Deleted org.gnucash.plist in preferences gives same result. Apple crash log enclosed result. BIN file - Needs Apple Console to read.(I’m incompetent to understand) Archive search did not give any help. Tried Gnucash preferences with no help. Workaround at the moment is using “duplicate transaction" and hoping I remember the list. I think this has got to be something in  my computer, not a true bug, but can’t see what. Done the usual: clean caches, check preferences, Reboot, and Safeboot with no success. 

I’m not able to reproduce this. What happens if you create a new data file, then open the SX editor?

However, it’s pretty old code so it’s not surprising that however you’ve managed to wedge it it’s consistently wedged across all current versions. (For the curious, the crash is a NULL dereference segfault in the block of gnc_dense_cal_draw_to_buffer which paints the week lines in alternating colors beginning at line 922; from the disassembly it looks like in mcList->next->next->data)->y; the second ‘next’ is NULL.)


> As an aside the pending scheduled transactions window floats on top of the register window and does not retreat behind as it use to when clicking register.

Rats. That’s https://bugzilla.gnome.org/show_bug.cgi?id=711298. I must have applied the patch locally. It’s in git and there are a couple of important input module fixes that I pushed last week, so I’ll be sure to upgrade to the next release for GnuCash 2.6.6.

> "Since last run” does show, and if I choose to schedule a transaction from one in register that works into the editor for that transaction.

That’s because it bypasses the calendar screen which is what’s crashing.

Regards,
John Ralls

John
Thanks for getting back to me. At this point I had redownloaded Gnucash 2.6.5-6, and tried renaming the usual data file to a different location — all to no avail.
I followed your suggestion and opened a new datafile (File>new) and although there are no accounts or other data the SX editor opened with the calendar window. Going to <scheduled<new> then the other sub-windows open (Name, frequency, template). So that works. Without closing I then opened the old data file and the SX editor crashed the program again.
Obviously my data file has a problem.
The next steps are uncertain. I would like to get my overly compulsive account tree, all old data (42MB) and long list of scheduled transactions into the New file I but I’m uncertain how to do this. Can I somehow export the entire data file into a format and then import it? You probably have an algorithm for this? 
Thanks
Pete







More information about the gnucash-user mailing list