Bug #28388 mysqladmin debug makes server crash

Submitted: 12 May 2007 11:52 Modified: 14 May 2007 7:56
Reporter: Axel Schwenke Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Stored Routines Severity:S1 (Critical)
Version:5.1.19-beta OS:Linux
Assigned to: CPU Architecture:Any

[12 May 2007 11:52] Axel Schwenke
Description:
mysqld crashes with the following stack trace when it gets a DEBUG packet

#0  0x4015f4a6 in strlen () from /lib/libc.so.6
#1  0x4013578e in _IO_vfprintf (s=0x40203700, format=Variable "format" is not av
ailable.
) at vfprintf.c:1450
#2  0x4013b500 in printf (format=0x8f8f8f8f <Address 0x8f8f8f8f out of bounds>)
    at printf.c:34
#3  0x083ae7e5 in Event_scheduler::dump_internal_status (this=0x8e15d30)
    at event_scheduler.cc:776
#4  0x083b883d in Events::dump_internal_status () at events.cc:1030
#5  0x082c19f0 in mysql_print_status () at sql_test.cc:540
#6  0x0823242e in dispatch_command (command=COM_DEBUG, thd=0x8df6608, 
    packet=0x8e19f49 "", packet_length=1) at sql_parse.cc:1244
#7  0x082310e8 in do_command (thd=0x8df6608) at sql_parse.cc:666
#8  0x0822fbfb in handle_one_connection (arg=0x8df6608) at sql_connect.cc:1091
#9  0x082285b7 in handle_connection_in_main_thread (thd=0x8df6608)
    at mysqld.cc:4224
#10 0x082288f7 in create_new_thread (thd=0x8df6608) at mysqld.cc:4319
#11 0x08228e38 in handle_connections_sockets (arg=0x0) at mysqld.cc:4544
#12 0x08228182 in main (argc=4, argv=0xbfdd1f84) at mysqld.cc:3909

Crashes both debug and non-debug binary.

How to repeat:
$mysqladmin debug
mysqladmin: debug failed; error: 'Lost connection to MySQL server during query'
[13 May 2007 17:12] Shane Bester
looks like bug #28075
[14 May 2007 7:56] Axel Schwenke
this is a duplicate of bug#28075

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.055 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.