Menu

#3 signal 11 で落ちる

v1.0 (example)
open
kawai
None
5
2009-12-25
2009-12-08
Anonymous
No

SVN版のNgramで使っています。
たまーにsignal 11で落ちてしまいます。その時のログは以下に貼ります。

091208 22:05:53 - 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=268435456
read_buffer_size=1048576
max_used_connections=7
max_threads=10
threads_connected=3
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 282687 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

thd: 0x95e5578
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 = 0xa64b426c thread_stack 0x30000
/usr/local/mysql-5.1/libexec/mysqld(my_print_stacktrace+0x1d) [0x835d4f9]
/usr/local/mysql-5.1/libexec/mysqld(handle_segfault+0x312) [0x81a272e]
/lib/tls/libpthread.so.0 [0x711888]
/usr/local/mysql-5.1/libexec/mysqld(mysql_unlock_read_tables(THD*, st_mysql_lock*)+0x51) [0x819d1dd]
/usr/local/mysql-5.1/libexec/mysqld(JOIN::join_free()+0x114) [0x820124c]
/usr/local/mysql-5.1/libexec/mysqld [0x820810d]
/usr/local/mysql-5.1/libexec/mysqld(JOIN::exec()+0x1999) [0x821ace9]
/usr/local/mysql-5.1/libexec/mysqld(mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*)+0xbb) [0x821be53]
/usr/local/mysql-5.1/libexec/mysqld(handle_select(THD*, st_lex*, select_result*, unsigned long)+0x116) [0x821c546]
/usr/local/mysql-5.1/libexec/mysqld [0x81ac611]
/usr/local/mysql-5.1/libexec/mysqld(mysql_execute_command(THD*)+0x2906) [0x81b2d62]
/usr/local/mysql-5.1/libexec/mysqld(mysql_parse(THD*, char const*, unsigned int, char const**)+0x13b) [0x81b9503]
/usr/local/mysql-5.1/libexec/mysqld(dispatch_command(enum_server_command, THD*, char*, unsigned int)+0xc43) [0x81ba223]
/usr/local/mysql-5.1/libexec/mysqld(do_command(THD*)+0xd4) [0x81babd4]
/usr/local/mysql-5.1/libexec/mysqld(handle_one_connection+0x50d) [0x81aab6d]
/lib/tls/libpthread.so.0 [0x70b371]
/lib/tls/libc.so.6(__clone+0x5e) [0x46c9be]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x96c4220 = SELECT COUNT(*) FROM `article` WHERE `article`.`is_removed` = 0 AND MATCH(title,subtitle,body) AGAINST('+"馬肉"' IN BOOLEAN MODE)
thd->thread_id=63
thd->killed=NOT_KILLED
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.
091208 22:05:53 mysqld_safe Number of processes running now: 0
091208 22:05:53 mysqld_safe mysqld restarted
091208 22:05:54 [Note] Event Scheduler: Loaded 0 events
091208 22:05:54 [Note] /usr/local/mysql-5.1/libexec/mysqld: ready for connections.
Version: '5.1.41' socket: '/tmp/mysql.sock' port: 3306 Source distribution

以上です。

Discussion

  • kawai

    kawai - 2009-12-25

    mysql_unlock_read_tables (sql/lock.cc)まで行ってから落ちている、つまり SQL の終了作業まで行ってから落ちているようなので、ちょっとわからないです。plugin の問題ではなく本体の問題かもしれません。私の手元で再現させることができれば、もう少し調査できそうですが、似たようなテーブルを手元で作ってやってみても落ちませんでした。

    再現させることのできる情報がもしあれば、教えていただけませんでしょうか?

     
  • kawai

    kawai - 2009-12-25
    • assigned_to: nobody --> hiroaki-kawai
     

Log in to post a comment.