Bug #43533 | './mysqld -v -help' crashes | ||
---|---|---|---|
Submitted: | 10 Mar 2009 12:51 | Modified: | 29 Jun 2009 0:55 |
Reporter: | Alexander Nozdrin | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: General | Severity: | S3 (Non-critical) |
Version: | 6.0-TRUNK | OS: | Any |
Assigned to: | Alfranio Junior | CPU Architecture: | Any |
[10 Mar 2009 12:51]
Alexander Nozdrin
[10 Mar 2009 12:58]
Valeriy Kravchuk
Verified just as described with recent 6.0 from bzr.
[11 Mar 2009 16:42]
Davi Arnaut
The "delegate" part is a duplicate of Bug#42244.
[11 Mar 2009 16:45]
Davi Arnaut
The other part is.. it crashes somewhere else: safe_mutex: Trying to destroy unitialized mutex at sql_repl.cc, line 1040 Aborted (core dumped)
[8 Jun 2009 11:08]
Alfranio Junior
It crashes as follows (6.0-bugteam): #0 0xb8032430 in __kernel_vsyscall () #1 0xb7d258a0 in raise () from /lib/tls/i686/cmov/libc.so.6 #2 0xb7d27268 in abort () from /lib/tls/i686/cmov/libc.so.6 #3 0x089db382 in safe_mutex_destroy (mp=0x8de33e0, file=0x8baef5c "sql_repl.cc", line=1027) at thr_mutex.c:522 #4 0x085330c2 in end_slave_start () at sql_repl.cc:1027 #5 0x0836ac69 in clean_up (print_message=true) at mysqld.cc:1433 #6 0x0836af06 in unireg_abort (exit_code=1) at mysqld.cc:1326 #7 0x0836d9aa in main (argc=3, argv=0xbfd33834) at mysqld.cc:4592
[8 Jun 2009 14:20]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/75845 3346 Alfranio Correia 2009-06-08 BUG#43533 './mysqld -v -help' crashes "end_slave_start" was trying to destroy a mutex "LOCK_slave_start" which was not intialized thus generating an error (i.e. abort()) in debug mode. To fix this problem, we introduced a variable that indicates when the mutex "LOCK_slave_start" was initialized by "init_slave_start" and can be safely destroyed.
[9 Jun 2009 19:12]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/75949 3346 Alfranio Correia 2009-06-09 BUG#43533 './mysqld -v -help' crashes "end_slave_start" was trying to destroy a mutex "LOCK_slave_start" which was not intialized thus generating an error (i.e. abort()) in debug mode. To fix this problem, we introduced a variable that indicates when the mutex "LOCK_slave_start" was initialized by "init_slave_start" and can be safely destroyed.
[17 Jun 2009 19:26]
Bugs System
Pushed into 5.4.4-alpha (revid:alik@sun.com-20090616183122-chjzbaa30qopdra9) (version source revid:alfranio.correia@sun.com-20090610235845-edxl19t2wtrc8yed) (merge vers: 5.4.4-alpha) (pib:11)
[29 Jun 2009 0:56]
Paul DuBois
Noted in 5.4.4 changelog. The server crashed if invoked with the --verbose and --help options.