5.1.57 main.events_restart segfault (debug)

Bug #785639 reported by Valentine Gostev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
percona-projects-qa
Invalid
Undecided
Unassigned

Bug Description

main.events_restart [ fail ] Found warnings/errors in server log file!
        Test ended at 2011-05-20 13:14:23
line
mysqld: ../include/my_dbug.h:39: Dbug_violation_helper::~Dbug_violation_helper(): Assertion `!_entered' failed.
Attempting backtrace. You can use the following information to find out
mysqld: ../include/my_dbug.h:39: Dbug_violation_helper::~Dbug_violation_helper(): Assertion `!_entered' failed.
Attempting backtrace. You can use the following information to find out
^ Found warnings in /root/Percona-Server-5.1.57/mysql-test/var/log/mysqld.1.err
ok

 - saving '/root/Percona-Server-5.1.57/mysql-test/var/log/main.events_restart/' to '/root/Percona-Server-5.1.57/mysql-test/var/log/main.events_restart/'
 - found 'core.16615' (0/5)

Trying 'dbx' to get a backtrace

Trying 'gdb' to get a backtrace
Core generated by '/root/Percona-Server-5.1.57/sql/mysqld'
Output from gdb follows. The first stack trace is from the failing thread.
The following stack traces are from all threads (so the failing one is
duplicated).
--------------------------
[New Thread 16652]
[New Thread 16615]
[New Thread 16617]

warning: Can't read pathname for load map: Input/output error.
Core was generated by `/root/Percona-Server-5.1.57/sql/mysqld --defaults-group-suffix=.1 --defaults-fi'.
Program terminated with signal 6, Aborted.
#0 0x00007f15785caabc in pthread_kill () from /lib/libpthread.so.0
#0 0x00007f15785caabc in pthread_kill () from /lib/libpthread.so.0
#1 0x00000000005dbce0 in handle_segfault (sig=6) at mysqld.cc:2660
#2 <signal handler called>
#3 0x00007f157704aa75 in raise () from /lib/libc.so.6
#4 0x00007f157704e5c0 in abort () from /lib/libc.so.6
#5 0x00007f1577043941 in __assert_fail () from /lib/libc.so.6
#6 0x000000000050ceb7 in ~Dbug_violation_helper (this=<value optimized out>, __in_chrg=<value optimized out>) at ../include/my_dbug.h:39
#7 0x00000000005df3cf in kill_server (sig_ptr=<value optimized out>) at mysqld.cc:1246
#8 0x00000000005df3ee in kill_server_thread (arg=<value optimized out>) at mysqld.cc:1261
#9 0x00007f15785c49ca in start_thread () from /lib/libpthread.so.0
#10 0x00007f15770fd70d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 16617):
#0 0x00007f15785cd695 in sigwait () from /lib/libpthread.so.0
#1 0x00000000005db6d3 in signal_hand (arg=<value optimized out>) at mysqld.cc:2854
#2 0x00007f15785c49ca in start_thread () from /lib/libpthread.so.0
#3 0x00007f15770fd70d in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()

Thread 2 (Thread 16615):
#0 0x00007f15785c985c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00000000005e2a0a in main (argc=<value optimized out>, argv=<value optimized out>) at mysqld.cc:4793

Thread 1 (Thread 16652):
#0 0x00007f15785caabc in pthread_kill () from /lib/libpthread.so.0
#1 0x00000000005dbce0 in handle_segfault (sig=6) at mysqld.cc:2660
#2 <signal handler called>
#3 0x00007f157704aa75 in raise () from /lib/libc.so.6
#4 0x00007f157704e5c0 in abort () from /lib/libc.so.6
#5 0x00007f1577043941 in __assert_fail () from /lib/libc.so.6
#6 0x000000000050ceb7 in ~Dbug_violation_helper (this=<value optimized out>, __in_chrg=<value optimized out>) at ../include/my_dbug.h:39
#7 0x00000000005df3cf in kill_server (sig_ptr=<value optimized out>) at mysqld.cc:1246
#8 0x00000000005df3ee in kill_server_thread (arg=<value optimized out>) at mysqld.cc:1261
#9 0x00007f15785c49ca in start_thread () from /lib/libpthread.so.0
#10 0x00007f15770fd70d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

 - found 'core.16655' (1/5)

Trying 'dbx' to get a backtrace

Trying 'gdb' to get a backtrace
Core generated by '/root/Percona-Server-5.1.57/sql/mysqld'
Output from gdb follows. The first stack trace is from the failing thread.
The following stack traces are from all threads (so the failing one is
duplicated).
--------------------------
[New Thread 16660]
[New Thread 16655]
[New Thread 16657]

warning: Can't read pathname for load map: Input/output error.
Core was generated by `/root/Percona-Server-5.1.57/sql/mysqld --defaults-group-suffix=.1 --defaults-fi'.
Program terminated with signal 6, Aborted.
#0 0x00007f020560cabc in pthread_kill () from /lib/libpthread.so.0
#0 0x00007f020560cabc in pthread_kill () from /lib/libpthread.so.0
#1 0x00000000005dbce0 in handle_segfault (sig=6) at mysqld.cc:2660
#2 <signal handler called>
#3 0x00007f020408ca75 in raise () from /lib/libc.so.6
#4 0x00007f02040905c0 in abort () from /lib/libc.so.6
#5 0x00007f0204085941 in __assert_fail () from /lib/libc.so.6
#6 0x000000000050ceb7 in ~Dbug_violation_helper (this=<value optimized out>, __in_chrg=<value optimized out>) at ../include/my_dbug.h:39
#7 0x00000000005df3cf in kill_server (sig_ptr=<value optimized out>) at mysqld.cc:1246
#8 0x00000000005df3ee in kill_server_thread (arg=<value optimized out>) at mysqld.cc:1261
#9 0x00007f02056069ca in start_thread () from /lib/libpthread.so.0
#10 0x00007f020413f70d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 16657):
#0 0x00007f020560f695 in sigwait () from /lib/libpthread.so.0
#1 0x00000000005db6d3 in signal_hand (arg=<value optimized out>) at mysqld.cc:2854
#2 0x00007f02056069ca in start_thread () from /lib/libpthread.so.0
#3 0x00007f020413f70d in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()

Thread 2 (Thread 16655):
#0 0x00007f020560be32 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x000000000093ffce in my_thread_global_end () at my_thr_init.c:183
#2 0x000000000091beca in my_end (infoflag=0) at my_init.c:224
#3 0x00000000005e2a46 in main (argc=<value optimized out>, argv=<value optimized out>) at mysqld.cc:4809

Thread 1 (Thread 16660):
#0 0x00007f020560cabc in pthread_kill () from /lib/libpthread.so.0
#1 0x00000000005dbce0 in handle_segfault (sig=6) at mysqld.cc:2660
#2 <signal handler called>
#3 0x00007f020408ca75 in raise () from /lib/libc.so.6
#4 0x00007f02040905c0 in abort () from /lib/libc.so.6
#5 0x00007f0204085941 in __assert_fail () from /lib/libc.so.6
#6 0x000000000050ceb7 in ~Dbug_violation_helper (this=<value optimized out>, __in_chrg=<value optimized out>) at ../include/my_dbug.h:39
#7 0x00000000005df3cf in kill_server (sig_ptr=<value optimized out>) at mysqld.cc:1246
#8 0x00000000005df3ee in kill_server_thread (arg=<value optimized out>) at mysqld.cc:1261
#9 0x00007f02056069ca in start_thread () from /lib/libpthread.so.0
#10 0x00007f020413f70d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

summary: - 5.1.57 main.events_restart debug warnings
+ 5.1.57 main.events_restart segfault (debug)
Changed in percona-projects-qa:
milestone: none → 5.1.57-12.8
Revision history for this message
Valentine Gostev (longbow) wrote :

core file

Revision history for this message
Stewart Smith (stewart) wrote :

this looks like something that is release blocker.

I shall take a close look at all percona-projects-qa bugs soon.

Revision history for this message
Oleg Tsarev (tsarev) wrote :

You can merge this bug with #785598 (similar trouble)

Revision history for this message
Valentine Gostev (longbow) wrote :

Oleg, there is no need to merge bugs I think. If source of the problem is similar, please link branch with fix to several bugs.

Revision history for this message
Oleg Tsarev (tsarev) wrote :

I didn't reproduce on branch
Please reopen with complete information if bug is actual.

Changed in percona-projects-qa:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.