Bug #40402 | Falcon assertion "write error on page 0 (4096/4096/4)", followed by core dump | ||
---|---|---|---|
Submitted: | 29 Oct 2008 17:54 | Modified: | 26 May 2010 17:50 |
Reporter: | Sven Sandberg | Email Updates: | |
Status: | Unsupported | Impact on me: | |
Category: | MySQL Server: Falcon storage engine | Severity: | S2 (Serious) |
Version: | 6.0-rpl | OS: | Linux |
Assigned to: | Olav Sandstå | CPU Architecture: | Any |
Tags: | core, F_PAGE IO, falcon, mtr, sporadic, test failure |
[29 Oct 2008 17:54]
Sven Sandberg
[29 Oct 2008 17:56]
Sven Sandberg
Full error message (2 failures)
Attachment: _tmp_ (application/octet-stream, text), 22.51 KiB.
[22 Dec 2008 20:13]
Hakan Küçükyılmaz
I get a very similar stacktrace running DBT2 with 100 warehouses and 499 concurrent users. There is plenty of disk space on caneland ~100GB. hakank@caneland:~> more /data0/mysql/caneland.err 081221 15:36:12 [Note] Plugin 'InnoDB' disabled by command line option [Falcon] Error: write error on page 0 (8192/8192/3) of "/data0/mysql/falcon_master.fts": Input/output error (5) 081221 15:36:14 - mysqld 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. key_buffer_size=8388608 read_buffer_size=1048576 max_used_connections=0 max_threads=1601 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 = 4943512 K 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 /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(my_print_stacktrace+0x2e) [0xaa434e] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(handle_segfault+0x336) [0x655506] /lib64/libpthread.so.0 [0x2b8e7fc60c00] /lib64/libpthread.so.0(raise+0x2d) [0x2b8e7fc60aad] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(Error::error(char const*, ...)+0xf9) [0x855ad9] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(IO::writePages(int, int, unsigned char const*, int)+0x1ac) [0x8ac c3c] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(Cache::writePage(Bdb*, int)+0xc2) [0x919742] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(Cache::flush(Dbb*)+0xab) [0x919a8b] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(Dbb::open(char const*, long long, unsigned int)+0x37f) [0x89e8df] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(Database::openDatabase(char const*)+0x2e) [0x897d7e] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(Connection::getDatabase(char const*, char const*, Threads*)+0xd6) [0x88d846] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(Connection::openDatabase(char const*, char const*, char const*, c har const*, char const*, Threads*)+0xa4) [0x8902c4] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(StorageDatabase::getOpenConnection()+0x5a) [0x85ce6a] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(StorageHandler::initialize()+0x96) [0x860066] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(StorageInterface::falcon_init(void*)+0x187) [0x851db7] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(ha_initialize_handlerton(st_plugin_int*)+0x3f) [0x75a30f] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld [0x7dfff2] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(plugin_init(int*, char**, int)+0x8b9) [0x7e2989] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld [0x65a378] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(main+0x677) [0x65b287] /lib64/libc.so.6(__libc_start_main+0xf4) [0x2b8e802ef184] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(__gxx_personality_v0+0xe1) [0x583439] The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains information that should help you find out what is causing the crash.
[22 Dec 2008 20:15]
Hakan Küçükyılmaz
One difference to the stack trace before is that I am running Falcon with page size of 8k.
[25 Jan 2009 20:25]
Hakan Küçükyılmaz
Reproduced with running DBT2, too: prior open database failure was: write error on page 0 (8192/8192/3) of "/data0/mysql/falcon_master.fts": Input /output error (5)
[3 Apr 2009 13:39]
Olav Sandstå
Note that the code that earlier wrote this error message and then "crashed" the process has been re-written. The error message is now replaced by throwing an exception (see patch attached to Bug#38970). As a consequence of this change, this failure will no longer occur as a crash in IO::writePages but more likely be returned to Falcon as an initialization error.
[8 Sep 2009 11:37]
Olav Sandstå
This bug might be caused by the same issue as Bug#43490.