Mysql Keeps crashing
am 18.12.2009 11:52:47 von Manasi Save--=_21s09ngn5kow Hi All, Sorry forgot to
color="#0000DD" face="Geneva, Arial, Helvetica, sans-serif" size="3">
class="Apple-style-span" style="font-size: 11px; white-space: pre;
Content-Type: text/plain;
charset=UTF-8
Content-Description: Plaintext Version of Message
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Hi All,
Sorry forgot to mention subject in earlier message.
I am running normal mysql and I am trying to insert one entry in one database table.
The logs I am getting are as follows:-
Version: '5.1.38-community' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
091218 5:26:56 - 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=8384512
read_buffer_size=131072
max_used_connections=1
max_threads=151
threads_connected=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 338299 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
thd: 0x7ff924560400
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 = 0x7ff9214c9f00 thread_stack 0x40000
/usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x84a43e]
/usr/sbin/mysqld(handle_segfault+0x322)[0x5bf132]
/lib64/libpthread.so.0[0x321720f0f0]
/usr/sbin/mysqld(trx_rseg_get_on_id+0x17)[0x7d4427]
/usr/sbin/mysqld(trx_undo_get_undo_rec_low+0x57)[0x7ce187]
/usr/sbin/mysqld(trx_undo_get_undo_rec+0x4a)[0x7ce39a]
/usr/sbin/mysqld(trx_undo_prev_version_build+0x161)[0x7ce511 ]
/usr/sbin/mysqld(row_vers_build_for_consistent_read+0x1b1)[0 x7c10e1]
/usr/sbin/mysqld(row_search_for_mysql+0x2e2e)[0x7b965e]
/usr/sbin/mysqld(_ZN11ha_innobase10index_readEPhPKhj16ha_rke y_function+0x1cd)[0x730abd]
/usr/sbin/mysqld(_ZN11ha_innobase11index_firstEPh+0x37)[0x72 dd67]
/usr/sbin/mysqld(_ZN11ha_innobase8rnd_nextEPh+0x37)[0x7302c7 ]
/usr/sbin/mysqld(_Z13rr_sequentialP14st_read_record+0x15)[0x 692455]
/usr/sbin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0xa9) [0x622c99]
/usr/sbin/mysqld[0x629750]
/usr/sbin/mysqld(_ZN4JOIN4execEv+0x90c)[0x6358bc]
/usr/sbin/mysqld(_Z12mysql_selectP3THDPPP4ItemP10TABLE_LISTj R4ListIS1_ES2_jP8st_orderSB_S2_SB_yP13select_resultP18st_sel ect_lex_unitP13st_select_lex+0x16e)[0x63732e]
/usr/sbin/mysqld(_Z13handle_selectP3THDP6st_lexP13select_res ultm+0x169)[0x637c49]
/usr/sbin/mysqld[0x5c9d84]
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x4c1)[0x5cc 421]
/usr/sbin/mysqld(_Z11mysql_parseP3THDPKcjPS2_+0x1f1)[0x5d190 1]
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3 THDPcj+0xff0)[0x5d2910]
/usr/sbin/mysqld(_Z10do_commandP3THD+0xe4)[0x5d2ea4]
/usr/sbin/mysqld(handle_one_connection+0x6f0)[0x5c60e0]
/lib64/libpthread.so.0[0x32172073da]
/lib64/libc.so.6(clone+0x6d)[0x3216ae62bd]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x1da1840 = Select * From mydb.mytbl
thd->thread_id=2
thd->killed=NOT_KILLED
I am unable to get the root coz for this crash. The insert statement is as follows :-
Insert into mydb.mytbl(ID, sub)Values (1, 'Hi This is a test msg');
Well I am unable to get trace the reason behind this. can anyone please assist me on this. I am not even able to debug the problem. I can reporduce it by issuing same insert statement.Also I am using concept of symlinks in mysql data directory.
Thanks in advance.
--
Manasi Save
----- End forwarded message -----
--=_21s09ngn5kow
Content-Type: multipart/related;
boundary="=_26sfl0unhtkw";
start="26tcjsgmb0u8@mail.artificialmachines.com"
Content-Transfer-Encoding: 7bit
This message is in MIME format.
--=_26sfl0unhtkw
Content-Type: text/html;
charset=UTF-8
Content-Description: HTML Version of Message
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Content-ID: 26tcjsgmb0u8@mail.artificialmachines.com
mention subject in earlier message.
-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;
">
/>
I am running normal mysql and I
am trying to insert one entry in one database table.
The logs
I am getting are as follows:-
Version:
'5.1.38-community' socket: '/var/lib/mysql/mysql.sock' port: 3306
MySQL Community Server (GPL)
091218 5:26:56 - 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=8384512
read_buffer_size=131072
max_used_connections=1
max_threads=151
threads_connected=1
It
is possible that mysqld could use up to
key_buffer_size +
(read_buffer_size + sort_buffer_size)*max_threads = 338299 K
bytes of
memory
Hope that's ok; if not, decrease some variables in the
equation.
thd: 0x7ff924560400
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 = 0x7ff9214c9f00 thread_stack
0x40000
/usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x84a43e]
/usr/sbin/mysqld(handle_segfault+0x322)[0x5bf132]
/lib64/libpthread.so.0[0x321720f0f0]
/usr/sbin/mysqld(trx_rseg_get_on_id+0x17)[0x7d4427]
/usr/sbin/mysqld(trx_undo_get_undo_rec_low+0x57)[0x7ce187]
/usr/sbin/mysqld(trx_undo_get_undo_rec+0x4a)[0x7ce39a]
/usr/sbin/mysqld(trx_undo_prev_version_build+0x161)[0x7ce511 ]
/usr/sbin/mysqld(row_vers_build_for_consistent_read+0x1b1)[0 x7c10e1]
/usr/sbin/mysqld(row_search_for_mysql+0x2e2e)[0x7b965e]
/usr/sbin/mysqld(_ZN11ha_innobase10index_readEPhPKhj16ha_rke y_function+0x1cd)[0x730abd]
/usr/sbin/mysqld(_ZN11ha_innobase11index_firstEPh+0x37)[0x72 dd67]
/usr/sbin/mysqld(_ZN11ha_innobase8rnd_nextEPh+0x37)[0x7302c7 ]
/usr/
sbin/mysqld(_Z13rr_sequentialP14st_read_record+0x15)[0x69245 5]
/usr/sbin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0xa9) [0x622c99]
/usr/sbin/mysqld[0x629750]
/usr/sbin/!
mysqld(_ZN4JOIN4execEv+0x90c)[0x6358bc]
/usr/sbin/mysqld(_Z12mysql_selectP3THDPPP4ItemP10TABLE_LISTj R4ListIS1_ES2_jP8st_orderSB_S2_SB_yP13select_resultP18st_sel ect_lex_unitP13st_select_lex+0x16e)[0x63732e]
/usr/sbin/mysqld(_Z13handle_selectP3THDP6st_lexP13select_res ultm+0x169)[0x637c49]
/usr/sbin/mysqld[0x5c9d84]
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x4c1)[0x5cc 421]
/usr/sbin/mysqld(_Z11mysql_parseP3THDPKcjPS2_+0x1f1)[0x5d190 1]
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3 THDPcj+0xff0)[0x5d2910]
/usr/sbin/mysqld(_Z10do_commandP3THD+0xe4)[0x5d2ea4]
/usr/sbin/mysqld(handle_one_connection+0x6f0)[0x5c60e0]
/lib64/libpthread.so.0[0x32172073da]
/lib64/libc.so.6(clone+0x6d)[0x3216ae62bd]
Trying
to get some variables.
Some pointers may be invalid and cause the dump to
abort...
thd->query at 0x1da1840 = Select * From
mydb.mytbl
thd->thread_id=2
thd->killed=NOT_KILLED
/>
statement is as follows :-
mydb.mytbl(ID, sub)
/>
please assist me on this. I am not even able to debug the problem. I can
reporduce it by issuing same insert statement.
of symlinks in mysql data directory.
Thanks in
advance.
Manasi Save
----- End forwarded message -----
--=_26sfl0unhtkw--
--=_21s09ngn5kow--