Bug #37815 | mysql crashes with "stack smashing detected" after a large table repair | ||
---|---|---|---|
Submitted: | 2 Jul 2008 18:05 | Modified: | 6 Aug 2008 12:55 |
Reporter: | ivan beschastnikh | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
Version: | 5.0.51a | OS: | Linux (Ubuntu 8.04, 2.6.24-19-generic) |
Assigned to: | CPU Architecture: | Any | |
Tags: | stack smashing detected \ mysql terminated |
[2 Jul 2008 18:05]
ivan beschastnikh
[2 Jul 2008 18:08]
ivan beschastnikh
repair output, backtrace and memory map at time of crash
Attachment: log.txt (text/plain), 4.72 KiB.
[2 Jul 2008 18:12]
ivan beschastnikh
To clarify the repair output, my sort buffer sizes are: myisam_sort_buffer_size 8388608 sort_buffer_size 1048575992 Also, during repair, the created TMD file ran out of space and the repair stalled for about an hour before more space was made available.
[3 Jul 2008 14:40]
MySQL Verification Team
looks like a client crash, not server bug. duplicate of bug #33976 perhaps ?
[3 Jul 2008 18:20]
ivan beschastnikh
Yes, its a client crash. The category listing doesn't list 'Client' as a choice, but it would be appropriate to classify it differently. Yes, it looks related to bug <a href="http://bugs.mysql.com/bug.php?id=33841">bug #33841</a>, perhaps the different arch is causing a stack smashing segfault instead of an error in strcpy.
[6 Aug 2008 12:55]
Susanne Ebrecht
I will set it as duplicate from bug #33841. This is already fixed in our source releases and will be available with our next 5.0 release. It already should be available in our version 5.1.26-rc.