Bug #2426 | Segfault on exit from mysql client, versions 4.1.0 and 4.1.1 | ||
---|---|---|---|
Submitted: | 16 Jan 2004 7:30 | Modified: | 3 May 2004 10:44 |
Reporter: | Scott Courtney | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
Version: | 4.1.1 and 4.1.0 | OS: | Linux (SuSE Linux 8.2, 9.0 Intel) |
Assigned to: | CPU Architecture: | Any |
[16 Jan 2004 7:30]
Scott Courtney
[17 Jan 2004 11:51]
MySQL Verification Team
Thank you for writting to us. We are hoewever unable to repeat the bug. We tried all variants of histfile location, privieleges etc. Please try our binary and see if it works. A version we tried was linked with readline library. Check whether yours is linked against libedit.
[28 Apr 2004 16:16]
Scott Courtney
Per your request for further testing... I can confirm that the bug does not occur with MySQL binaries installed at the following version levels on SuSE Linux 9.0: MySQL-devel-4.1.1-0 mysql-shared-4.0.15-9 MySQL-server-4.1.1-1 MySQL-client-4.1.1-0 The SuSE platform for testing was a vanilla install, but updated to the latest security patches as of 2004-04-26. The RPMs were obtained from MySQL.com. Scott
[28 Apr 2004 16:17]
Scott Courtney
Also...I believe that my previous version was linked against libedit, as you had theorized. Perhaps that is the problem. In any case, the bug is missing from the binary installs.
[3 May 2004 10:44]
Michael Widenius
Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.mysql.com/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to 'Open'. Thank you for your interest in MySQL. Additional info: A likely cause for this problem is that you have two different version of libmysqlclient.so installed and the client you built was using the wrong version of libmysqlcient.so. One wat to avoid this problem is to build your binaries with the configure options: --with-mysqld-ldflags=-all-static --with-client-ldflags=-all-static Regards, Monty
[4 May 2004 18:09]
Scott Courtney
SOLVED: With SuSE 9.0, the following build-time config options eliminate the segfault error in the client. ./configure --without-readline --without-libedit [....et cetera....] This forces use of the system readline and libedit instead of the bundled libraries. On the system where this was tested, readline and readline-dev RPMs are installed but libedit is not.
[7 Aug 2004 19:48]
Sergey Kostyliov
Hmm, according to back trace it seems for me that it the same problem as for #4696 http://bugs.mysql.com/bug.php?id=4696