Crash in MySQL 4.0.4 with InnoDB
am 24.09.2002 23:43:29 von Jocelyn FournierHi,
I've just try to convert one of my table from MyISAM to InnoDB, and I'm now
experiencing crash of mysql server.
How-to-repeat :
CREATE TABLE `threadhardwarefr13` (
`numeropost` mediumint(8) unsigned NOT NULL default '0',
`numreponse` int(10) unsigned NOT NULL auto_increment,
`pseudo` varchar(35) NOT NULL default '',
`date` datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (`numeropost`,`numreponse`),
UNIQUE KEY `numreponse` (`numreponse`),
KEY `pseudo` (`pseudo`,`numeropost`)
) TYPE=InnoDB;
SELECT LOWER(pseudo),date FROM threadhardwarefr13 WHERE numeropost='166498'
ORDER BY numreponse DESC LIMIT 0,3;
020924 23:34:42 InnoDB: Assertion failure in thread 9226 in file
ha_innodb.cc line 2180
InnoDB: We intentionally generate a memory trap.
InnoDB: Send a detailed bug report to mysql@lists.mysql.com
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=268431360
read_buffer_size=520192
sort_buffer_size=524280
max_used_connections=0
max_connections=320
threads_connected=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections =
588537 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
thd=0x8681580
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...
Cannot determine thread, fp=0xbe7fea28, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
[root@forum] /home/mysql> resolve_stack_dump -s
.../mysql-4.0/tmp/mysqld.sym -n mysqld.stack | c++filt
0x8095277 handle_segfault(int) + 487
0x82651aa pthread_sighandler + 138
0x80fe1fd convert_search_mode_to_innobase(ha_rkey_function) + 269
0x80fac9a ha_innobase::index_read(char*, char const*, unsigned,
ha_rkey_function) + 234
0x80faeee ha_innobase::index_read_last(char*, char const*, unsigned) + 46
0x80c5cd6 join_read_last_key(st_join_table*) + 86
0x80c5446 sub_select(JOIN*, st_join_table*, bool) + 86
0x80c06a9 do_select(JOIN*, List
0x80baa12 mysql_select(THD*, st_table_list*, List
st_order*, Item*, st_order*, unsigned long, select_result*) + 5250
0x80b957f handle_select(THD*, st_lex*, select_result*) + 175
0x809f099 mysql_execute_command() + 649
0x80a360c mysql_parse(THD*, char*, unsigned) + 316
0x809e06f dispatch_command(enum_server_command, THD*, char*, unsigned) +
1119
0x809dbfd do_command(THD*) + 109
0x809d4f8 handle_one_connection(void*) + 888
0x826279e pthread_start_thread + 222
0x82994ba thread_start + 4
New value of fp=(nil) failed sanity check, terminating stack trace!
Please read http://www.mysql.com/doc/U/s/Using_stack_trace.html and follow
instructions on how to resolve the stack trace. Resolved
stack trace is much more helpful in diagnosing the problem, so please do
resolve it
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x86967e8 = SELECT LOWER(pseudo),date FROM threadhardwarefr13
WHERE numeropost='166498' ORDER BY numreponse DESC LIMIT 0,3
thd->thread_id=1
Successfully dumped variables, if you ran with --log, take a look at the
details of what thread 1 did to cause the crash. In some cases of really
bad corruption, the values shown above may be invalid.
The manual page at http://www.mysql.com/doc/C/r/Crashing.html contains
information that should help you find out what is causing the crash.
Regards,
Jocelyn Fournier
------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail bugs-thread12583@lists.mysql.com
To unsubscribe, e-mail