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 147917 - Crash when adding vendor via the "New Bill" function if duplicate vendor numbers exist
Crash when adding vendor via the "New Bill" function if duplicate vendor numb...
Status: VERIFIED DUPLICATE of bug 141526
Product: GnuCash
Classification: Other
Component: Business
1.8.x
Other FreeBSD
: Normal critical
: ---
Assigned To: Derek Atkins
Derek Atkins
Depends on:
Blocks:
 
 
Reported: 2004-07-19 18:27 UTC by Jenny Dybedahl
Modified: 2018-06-29 20:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jenny Dybedahl 2004-07-19 18:27:07 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.
Comment 1 Derek Atkins 2004-07-20 20:53:52 UTC
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.
Comment 2 Jenny Dybedahl 2004-07-22 06:18:29 UTC
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
Comment 3 Derek Atkins 2004-12-04 21:11:41 UTC

*** This bug has been marked as a duplicate of 141526 ***
Comment 4 John Ralls 2018-06-29 20:45:29 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=147917. Please update any external references or bookmarks.