Bug #9455 mysqladmin status crash the server
Submitted: 29 Mar 2005 14:44 Modified: 25 Apr 2005 16:06
Reporter: Miguel Solorzano Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:5.0.4 BK source OS:Linux (Linux)
Assigned to: Magnus Blåudd CPU Architecture:Any

[29 Mar 2005 14:44] Miguel Solorzano
Description:
Issuing:

miguel@hegel:~/dbs/5.0$ bin/mysqladmin -uroot status
Lost connection to MySQL server during query

crash the server

How to repeat:
see description
[13 Apr 2005 10:29] Magnus Blåudd
The server does not crash, it's just the error message returned that indicate this.

The same problem occurs if you call mysqlshow with an unknown database. Like:
>mysqlshow test2

Lowering priority and removing showstopper flag.
[13 Apr 2005 11:05] Magnus Blåudd
This happens because when the server detects the errror, it calls close_connection without any error code. This means the error is never sent to the client and thus it believes the server has crashed.
[13 Apr 2005 12:47] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/23960
[14 Apr 2005 9:56] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/24011
[15 Apr 2005 11:15] Magnus Blåudd
Pushed to 5.0.5
[25 Apr 2005 16:06] Paul DuBois
Noted in 5.0.5 changelog.