Bug #26892 mysql client crash after pressing ctrl-c
| Submitted: | 6 Mar 2007 20:13 | Modified: | 1 Feb 2008 17:17 |
|---|---|---|---|
| Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
| Version: | 5.0.34, 5.0.38, 5.1.16-win64, 5.1.23 | OS: | Windows (windows XP 64-bit) |
| Assigned to: | Iggy Galarza | CPU Architecture: | Any |
[6 Mar 2007 20:13]
Shane Bester
[6 Mar 2007 20:14]
Shane Bester
stack with variables.
Attachment: bug26892_stack.txt (text/plain), 1.50 KiB.
[7 Mar 2007 8:25]
Sveta Smirnova
Bug is not repeatable on 32-bit Windows XP
[9 Mar 2007 12:37]
Valeriy Kravchuk
Official 5.1.16 also does not demonstrate the behaviour described on 64-bit XP.
[9 Mar 2007 14:01]
Shane Bester
verified on official mysql 5.1.16 win64 noinstall package. simply run client, "mysql -uroot test" then hit ctrl-c. I can give a screenshot if needed mysql.exe!0000000000432b23() [Frames below may be incorrect and/or missing, no symbols loaded for mysql.exe] mysql.exe!0000000000409d52() mysql.exe!000000000040ace2() mysql.exe!000000000046c11f() kernel32.dll!BaseProcessStart() + 0x2c bytes this should be fixable by looking at the stack traces i provided initially. also, i doubt this is 64-bit specific
[4 Nov 2007 17:37]
Shane Bester
5.1.23BK debug client crashes if you press ctrl-c. Error: Freeing unallocated data at line 535, '.\mysql.cc' Error: Freeing unallocated data at line 536, '.\mysql.cc' Error: Freeing unallocated data at line 537, '.\mysql.cc' Error: Freeing unallocated data at line 540, '.\mysql.cc' Error: Freeing unallocated data at line 544, '.\mysql.cc' I noticed mysql_end() is called twice. The second call to free_defaults(defaults_argv); crashes because there is garbage pointer being deferenced.
[4 Jan 2008 13:50]
Valeriy Kravchuk
Is it a duplicate of Bug #26243?
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.045 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.