segmentation fault against Percona MySQL 5.6.15-63.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Data Dumper |
Fix Released
|
Medium
|
Max Bubenick |
Bug Description
For a couple of days mydumper stopped working for us and threw segmentation faults seconds after the lock has been acquired and threads were launched. I'm no gdb guru but this is what I could find out:
root@db1: mydumper -V
mydumper 0.6.2, built against MySQL 5.6.15
root@db1:~# gdb /usr/bin/mydumper
GNU gdb (Ubuntu/Linaro 7.4-2012.
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://
Reading symbols from /usr/bin/
(gdb) run -B memoria2_
Starting program: /usr/bin/mydumper -B database1 -e -o /mnt/ssd-
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
[New Thread 0x7ffff5c0c700 (LWP 47022)]
[Thread 0x7ffff5c0c700 (LWP 47022) exited]
[New Thread 0x7ffff5c0c700 (LWP 9632)]
[New Thread 0x7ffff4fe8700 (LWP 9637)]
[New Thread 0x7fffeffff700 (LWP 9640)]
[New Thread 0x7fffef7fe700 (LWP 9645)]
[New Thread 0x7fffeeffd700 (LWP 9648)]
[New Thread 0x7fffee7fc700 (LWP 9651)]
[New Thread 0x7fffedffb700 (LWP 9654)]
[New Thread 0x7fffed7fa700 (LWP 9657)]
[New Thread 0x7fffecff9700 (LWP 9660)]
[New Thread 0x7fffcbfff700 (LWP 9663)]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff668f399 in strtoull_l () from /lib/x86_
(gdb)
This problem occurs in both 0.6.1 and 0.6.2. If I remember correctly we could not use version 0.5.1 in Ubuntu Precise right from the start because it failed to backup Percona MySQL servers.
Changed in mydumper: | |
milestone: | none → 0.9.1 |
Changed in mydumper: | |
status: | Confirmed → Fix Committed |
Changed in mydumper: | |
status: | Fix Committed → Fix Released |
Confirmed, when you have broken/invalid views, mydumper is not able to detect them by SHOW TABLE STATUS as the comment change and then try to get the data_size.