GNOME Bugzilla – Bug 147917
Crash when adding vendor via the "New Bill" function if duplicate vendor numbers exist
Last modified: 2018-06-29 20:45:29 UTC
I had gotten the same number on two separate vendors and hadn't noticed. Next time I was trying to enter a new bill from a new vendor, I got a crash. 1) I used the menu Business -> Vendors -> New bill. 2) I clicked on the Select button next to the Vendor field 3) As I knew that this was a new vendor, I then clicked New Vendor in the search window. 4) I entered the company information and clicked OK. 5) Back at the search window, I entered a period to search for regexp. 6) I expected to see the full list of vendors for my company, but instead it crashed. Once I'd changed the vendor numbers so that there were no duplicates, the whole process worked fine again.
Hi, 1) what version of gnucash? 2) can you send the stack trace from the crash? 3) Not that I expect there to be any, but was there anything printed on the console when it crashed? Having duplicate vendor numbers shouldn't matter. Nothing depends on the vendor number being unique. I'll try to reproduce this at some point when I have a bit more time. Changed component to Business.
The version is 1.8.8. The error message is: Application "RENDER" (process 93174) has crashed due to a fatal error. (Segmentation fault) Here's the console output. I'm sorry I didn't copy it into the full report; I'd been up way too many hours when I sent it... but at least I didn't kill the xterm I'd run it from. [tigger:~]$ gnucash --nofile ** CRITICAL **: file QueryObject.c: line 99 (gncQueryObjectGetParameterGetter): assertion `obj_name' failed. ** CRITICAL **: file QueryNew.c: line 637 (gncQueryRun): assertion `q->search_for' failed. I saved a copy of the database where I encountered this problem. If you'd like to test it yourself, it's available at http://home.bisexualmenace.org/~jch/gnucash-crash
*** This bug has been marked as a duplicate of 141526 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=147917. Please update any external references or bookmarks.