Bug #42109 | MySQL experienses bus error during shutdown | ||
---|---|---|---|
Submitted: | 14 Jan 2009 12:41 | Modified: | 27 Feb 2009 19:19 |
Reporter: | Lars-Erik Bjørk | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Falcon storage engine | Severity: | S3 (Non-critical) |
Version: | falcon-team, 6.0.10-bzr | OS: | Linux (Ubuntu 8.10) |
Assigned to: | Christopher Powers | CPU Architecture: | Any |
Tags: | F_SHUTDOWN, regression |
[14 Jan 2009 12:41]
Lars-Erik Bjørk
[14 Jan 2009 13:26]
John Embretsen
This issue seems to be related to ONLINE ADD INDEX, somehow. When creating the index OFFLINE, the crash does not occur: mysql> CREATE TABLE t1(tall INT) Engine = Falcon; Query OK, 0 rows affected (0.02 sec) mysql> CREATE OFFLINE INDEX i ON t1(tall); Query OK, 0 rows affected (0.06 sec) Records: 0 Duplicates: 0 Warnings: 0 (exit, then shutdown, log is clean) 090114 14:14:45 [Note] ./sql/mysqld: ready for connections. Version: '6.0.10-alpha-debug' socket: '/tmp/mysql.sock' port: 10010 Source distribution 090114 14:15:45 [Note] ./sql/mysqld: Normal shutdown 090114 14:15:45 [Note] Event Scheduler: Purging the queue. 0 events 090114 14:15:45 InnoDB: Starting shutdown... 090114 14:15:46 InnoDB: Shutdown completed; log sequence number 0 46409 090114 14:15:47 [Note] ./sql/mysqld: Shutdown complete ----- In the case of default (ONLINE) CREATE INDEX, I see the following server output during shutdown with --falcon-debug-mask=65535: 090114 14:17:31 InnoDB: Starting shutdown... 090114 14:17:32 InnoDB: Shutdown completed; log sequence number 0 46409 30: Falcon shutdown 30: Cache flush: 33 pages, 16 writes in 0 seconds (33 pps) 090114 14:17:32 [Note] ./sql/mysqld: Shutdown complete 090114 14:17:32 - 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_size=10344644715844964239 read_buffer_size=131072 max_used_connections=1 max_threads=151 thread_count=0 connection_count=0 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 10102192105647527 K bytes of memory Hope that's ok; if not, decrease some variables in the equation.
[14 Jan 2009 14:10]
Valeriy Kravchuk
Verified just as described with 6.0.10 built recently from main bzr tree on Linux.
[14 Jan 2009 14:16]
Valeriy Kravchuk
I've got no crashes from 6.0.8 on Windows, so this looks like a regression of a kind.
[14 Jan 2009 19:41]
Kevin Lewis
Chris wrote; I have seen errors in the debugger here during mysqld shutdown, but only indicated through the Eclipse IDE--no call stacks. I'll see what I can find.
[27 Feb 2009 19:19]
Christopher Powers
Unable to reproduce on mysql-6.0-falcon-team as of 2009-02-26. Possibly corrected by shutdown fix in Bug#43048 "Falcon may crash during shutdown when running it embedded".