ORDER BY on sys_replication_log table causes InnoDB crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Critical
|
Andrew Hutchings | ||
7.0 |
Fix Released
|
Critical
|
Andrew Hutchings |
Bug Description
Working from trunk revno 2191. Only seen this once so far while querying the master server from another running the slave plugin...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
Listening on /mnt/disk2/
/mnt/disk2/
/mnt/disk2/
ck; try restarting transaction
/mnt/disk2/
/mnt/disk2/
/mnt/disk2/
ck; try restarting transaction
/mnt/disk2/
/mnt/disk2/
/mnt/disk2/
/mnt/disk2/
ck; try restarting transaction
/mnt/disk2/
/mnt/disk2/
ck; try restarting transaction
/mnt/disk2/
/mnt/disk2/
/mnt/disk2/
/mnt/disk2/
/mnt/disk2/
110222 16:13:58 InnoDB: Assertion failure in thread 140227776706304 in file plugin/
InnoDB: Failing assertion: buff <= buff_start + buff_len
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://
InnoDB: about forcing recovery.
110222 16:13:58 - drizzled got signal 6;
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.
read_buffer_
max_used_
connection_count=2
It is possible that drizzled could use up to
(read_buffer_size + sort_buffer_
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Number of stack frames obtained: 28
/mnt/disk2/
()
gsignal()
abort()
/mnt/disk2/
/mnt/disk2/
/mnt/disk2/
/mnt/disk2/
/mnt/disk2/
/mnt/disk2/
/mnt/disk2/
/mnt/disk2/
/mnt/disk2/
/mnt/disk2/
/mnt/disk2/
/mnt/disk2/
/mnt/disk2/
drizzled:
drizzled:
()
()
()
()
()
thread_proxy()
()
clone()
Related branches
- Drizzle Developers: Pending requested
-
Diff: 21 lines (+2/-2)1 file modifiedplugin/innobase/dict/create_replication.cc (+2/-2)
Changed in drizzle: | |
assignee: | nobody → Andrew Hutchings (linuxjedi) |
This query seems to cause it. Seems related to the ORDER BY:
select id, commit_id, end_timestamp from data_dictionary .sys_replicatio n_log order by commit_id;