InnoDB does not complete shutdown with transaction log enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Critical
|
Joe Daly | ||
7.0 |
Fix Released
|
Critical
|
Joe Daly |
Bug Description
When compiling drizzle with --with-debug and --enable-profiling, InnoDB does not complete its shutdown, so we cannot get any profile data. It outputs 'InnoDB: Starting shutdown...' and never completes.
Attaching to the process, we the following thread states:
(gdb) info threads
13 0x00007fff84fc9b3e in __sigwait ()
12 0x00007fff84fa2eb6 in __semwait_signal ()
11 0x00007fff84fa2eb6 in __semwait_signal ()
10 0x00007fff84fa2eb6 in __semwait_signal ()
9 0x00007fff84fa2eb6 in __semwait_signal ()
8 0x00007fff84fa2eb6 in __semwait_signal ()
7 0x00007fff84fa2eb6 in __semwait_signal ()
6 0x00007fff84fa2eb6 in __semwait_signal ()
5 0x00007fff84fa2eb6 in __semwait_signal ()
4 0x00007fff84fa2eb6 in __semwait_signal ()
3 0x00007fff84fa2eb6 in __semwait_signal ()
2 0x00007fff84fa2eb6 in __semwait_signal ()
* 1 "com.apple.
(gdb) thread 1
[Switching to thread 1 (process 75249), "com.apple.
0x00007fff84fabdce in select$DARWIN_EXTSN ()
(gdb) bt
#0 0x00007fff84fabdce in select$DARWIN_EXTSN ()
#1 0x000000010336404a in os_thread_sleep () at locale_
#2 0x0000000103352d4a in logs_empty_
#3 0x00000001033bca05 in innobase_
#4 0x00000001032d65e1 in InnobaseEngine:
#5 0x00000001001a76d4 in drizzled:
#6 0x00000001001a7ad8 in drizzled:
#7 0x0000000100088fe0 in main (argc=1, argv=0x7fff5fbf
Related branches
- David Shrewsbury (community): Approve
-
Diff: 16 lines (+5/-1)1 file modifiedplugin/innobase/handler/ha_innodb.cc (+5/-1)
Note: This happens on both Linux and Mac OS X. Was unable to attach to the process ID on Linux for some reason.