GNOME Bugzilla – Bug 589673
Crash (win32) when there's a db connection error
Last modified: 2018-06-29 22:25:14 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.
Confirmed
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.
Crashes with postgres as well.
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.
*** Bug 592185 has been marked as a duplicate of this bug. ***
r18312. Patch needed for libdbi on win32.
*** Bug 591761 has been marked as a duplicate of this bug. ***
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.
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.