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 589673 - Crash (win32) when there's a db connection error
Crash (win32) when there's a db connection error
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Backend - SQL
2.3.x
Other Windows
: Normal major
: ---
Assigned To: Phil Longstaff
Chris Shoemaker
: 591761 592185 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-07-25 06:01 UTC by Kenneth Ballard
Modified: 2018-06-29 22:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kenneth Ballard 2009-07-25 06:01:15 UTC
GnuCash will crash if you attempt to enter login credentials to a MySQL database and the backend refuses the connection.

To reproduce:

1. Open GnuCash
2. Attempt to open a MySQL database. Provide bad login credentials. Press OK.
Comment 1 Phil Longstaff 2009-09-06 18:26:14 UTC
Confirmed
Comment 2 Phil Longstaff 2009-09-07 15:07:59 UTC
For some reason, it's crashing inside libdbi trying to handle the error.  I can't really figure out what it's trying to do.
Comment 3 Phil Longstaff 2009-09-07 15:15:06 UTC
Crashes with postgres as well.
Comment 4 Phil Longstaff 2009-09-11 15:01:27 UTC
There seems to be a general problem in libdbi when the dbd driver calls the internal error handler routine.  I've seen it on windows with mysql and postgres.  Haven't really looked with sqlite3, but will try.
Comment 5 Phil Longstaff 2009-09-11 15:01:55 UTC
*** Bug 592185 has been marked as a duplicate of this bug. ***
Comment 6 Phil Longstaff 2009-09-14 01:01:32 UTC
r18312.

Patch needed for libdbi on win32.
Comment 7 Christian Stimming 2009-09-14 07:55:37 UTC
*** Bug 591761 has been marked as a duplicate of this bug. ***
Comment 8 Kenneth Ballard 2009-12-21 03:52:19 UTC
I just tested this bug with invalid login credentials on GnuCash 2.3.8 on Win32. I received an error message saying there was a connection error and GnuCash did not crash after dismissing the message.

I feel this bug is fixed. Marking as verified.
Comment 9 John Ralls 2018-06-29 22:25:14 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=589673. Please update any external references or bookmarks.