random failure on startup due to innodb assertion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The server appears to hit an innodb assertion during startup at random times.
This appears to be tied to the percona patches introduced in revision 2274. I ran tests against a branch at revision=2273 and have yet to hit this failure.
A good way to repeat this is:
./dbqp --suite=catalog --repeat=20
This will repeat each test in the catalog suite 20x and is a good way to hit the random failure.
Error log output:
cat workdir/
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
110426 16:51:39 InnoDB: Assertion failure in thread 140448072947456 in file plugin/
InnoDB: Failing assertion: slot->in_use == FALSE
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.
110426 16:51:39 - 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=0
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: 9
drizzle/
()
gsignal()
abort()
drizzle/
drizzle/
()
clone()
Changed in drizzle: | |
status: | New → Confirmed |
This looks just like that weird crash that I identified at the UC. That one was:
InnoDB: Doublewrite buffer not found: creating new innobase/ srv/srv0srv. cc line 899 bugs.mysql. com. dev.mysql. com/doc/ refman/ 5.1/en/ forcing- recovery. html
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
110412 7:57:53 InnoDB: Assertion failure in thread 4527833088 in file plugin/
InnoDB: Failing assertion: slot->in_use == FALSE
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.
110412 7:57:53 - 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_ size=131072 connections= 0 size)*thread_ count
max_used_
connection_count=0
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: 15 handle_ segfault + 455 plugin. dylib 0x0000000101ae18a7 _ZL15mutex_ exit_funcP12mut ex_struct + 30 plugin. dylib 0x0000000101b41b17 _Z15mutex_ spin_waitP12mut ex_structPKcm + 90 plugin. dylib 0x0000000101b54475 _ZL16mutex_ enter_funcP12mu tex_structPKcm + 55 plugin. dylib 0x0000000101b57ce6 _Z22trx_ allocate_ for_mysqlv + 35 plugin. dylib 0x0000000101a9815e _Z31dict_ create_ sys_replication _logv + 120 plugin. dylib 0x0000000101a123fd _ZL13innobase_ initRN8drizzled 6module7Context E + 6655 plugin_ initializeERNS_ 6module8Registr yEPNS0_ 6ModuleE + 123 lugin_finalizeE RNS_6module8Reg istryE + 348 nit_server_ componentsERNS_ 6module8Registr yE + 166
1 drizzled 0x00000001001c3ede drizzled_
2 libSystem.B.dylib 0x00007fff81b1166a _sigtramp + 26
3 libinnobase_
4 libinnobase_
5 libinnobase_
6 libinnobase_
7 libinnobase_
8 libinnobase_
9 drizzled 0x000000010012df42 _ZN8drizzledL17
10 drizzled 0x000000010012e585 _ZN8drizzled15p
11 drizzled 0x0000000100018ab1 _ZN8drizzled22i
12 drizzled 0x000000010012482f main + 1046
13 drizzled 0x00000001000015b8 start + 52
14 ??? 0x000000000000000f 0x0 + 15