Bug #5189 | Out of Memory leads to segfault | ||
---|---|---|---|
Submitted: | 24 Aug 2004 20:06 | Modified: | 30 Jan 2006 12:45 |
Reporter: | Jeremy Tinley | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.0.20 | OS: | Linux (Redhat Linux ES) |
Assigned to: | CPU Architecture: | Any |
[24 Aug 2004 20:06]
Jeremy Tinley
[24 Aug 2004 20:07]
Jeremy Tinley
Query that we used to crash server
Attachment: consortia_query.zip (application/x-zip-compressed, text), 82.52 KiB.
[25 Aug 2004 6:29]
Matthew Lord
Hi Jeremy, Thanks for the bug report! Is all the available memory on the machine used? If this is the case then the kernel will start killing running processes, is this what you're seeing? If not, could you provide any help in trying to repeat the problem? Would it be possible to get the query and releated table structures? Best Regards
[26 Aug 2004 10:45]
Sergei Golubchik
Just a hint: from the stack trace it is apparent that the problem in not the size of the query itself, but the size of the range tree MySQL creates in range optimizer. You probably have a combined key of many key parts, and a range condition in where on each part of the key.
[26 Aug 2004 20:32]
Jeremy Tinley
That's exactly what we have. This breaks the range optimizer then? Should the out of memory cause a segfault? Is there any way to adjust tuning to allow this to execute? Is it truely a bug?
[26 Aug 2004 20:37]
Jeremy Tinley
The table structure and indexes have been attached as a private attachment.
[31 Aug 2004 12:31]
Hartmut Holzgraefe
May i ask you to upload SHOW CREATE TABLE result? Having a CREATE statement that works right away would ease testing a lot ...
[31 Aug 2004 16:46]
Jeremy Tinley
Create table attached as a file
[14 Feb 2005 22:54]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[29 Dec 2005 16:44]
Jeremy Tinley
Attempting to ping this for reopening.
[30 Dec 2005 12:45]
Valeriy Kravchuk
I beg your pardon for this bug report spent so much time without real handling. Please, try to repeat the problem with a newer version, 4.0.26 (or the last one in whatever MySQL server you are using now). Send you my.cnf content and inform about the number of rows in the table.
[31 Jan 2006 0:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".