crash when guery hit Unique Key with two more columns
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Spider for MySQL |
Fix Released
|
Critical
|
Kentoku SHIBA |
Bug Description
Good afternoon.
mysql crashes when hit a unique key consist of two or more columns,
for example.
UNIQUE KEY `test_ids` (`id`,`no`)
when i explain this query,
it uses test_ids like below
+----+-
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-
| 1 | SIMPLE | test| range | test_ids| test_ids | 4 | NULL | 20 | Using where with pushed condition; Using index for group-by |
+----+-
SELECT id, max(no) FROM test WHERE id IN (1010101299,
stacktrace is like this
111214 17:12:57 - mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.
key_buffer_
read_buffer_
max_used_
max_threads=50
thread_count=1
connection_count=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
thd: 0x21ce3f0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0x7f7986c6be58 thread_stack 0x40000
/usr/local/
/usr/local/
/lib64/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/lib64/
/lib64/
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x7f7974002bb0 is an invalid pointer
thd->thread_id=1
thd->killed=
The manual page at http://
information that should help you find out what is causing the crash.
111214 17:12:57 mysqld_safe Number of processes running now: 0
111214 17:12:57 mysqld_safe mysqld restarted
InnoDB: The InnoDB memory heap is disabled
InnoDB: Mutexes and rw_locks use GCC atomic builtins
InnoDB: Compressed tables use zlib 1.2.3
111214 17:12:57 InnoDB: Initializing buffer pool, size = 256.0M
111214 17:12:57 InnoDB: Completed initialization of buffer pool
111214 17:12:57 InnoDB: highest supported file format is Barracuda.
111214 17:12:57 InnoDB: 1.1.4 started; log sequence number 1595675
111214 17:12:57 [Note] Recovering after a crash using tc.log
after this crash, mysql crash each time when i startup, so i have to make all tables again like below
111214 17:12:57 - mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.
key_buffer_
read_buffer_
max_used_
max_threads=50
thread_count=0
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
thd: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = (nil) thread_stack 0x40000
/usr/local/
/usr/local/
/lib64/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/lib64/
/usr/local/
The manual page at http://
information that should help you find out what is causing the crash.
111214 17:12:57 mysqld_safe mysqld from pid file /usr/local/
thanks
Changed in spiderformysql: | |
status: | Fix Committed → Fix Released |
Fixed at 2.28.