← Back to team overview

enterprise-support team mailing list archive

[Bug 1289395] [NEW] segfault when chunking

 

Public bug reported:

After ruinning mydump for 3 months without any problem i have suddenly
started getting segfaults when chunking data. It happens on a random
table each run.

backtrace is here, if you  need more data i can compile with debug info

this is latest trunk (as of today) on rhel5 32bit linked against mysql
5.6.15 libs but it also happens with 0.5.8 linked against 5.6.14

mysql@devdb ~]$ gdb --args mydumper  -t 1 -u root -o $MYDUMP_DIR -r 100000 -c --kill-long-queries
GNU gdb (GDB) CentOS (7.0.1-45.el5.centos)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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 "i386-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /bin/mydumper...(no debugging symbols found)...done.
(gdb) r
Starting program: /bin/mydumper -t 1 -u root -o /home/mysql/backup/full -r 100000 -c --kill-long-queries
[Thread debugging using libthread_db enabled]
[New Thread 0xb7ff3b90 (LWP 24242)]
[Thread 0xb7ff3b90 (LWP 24242) exited]
[New Thread 0xb7ff3b90 (LWP 24243)]

Program received signal SIGSEGV, Segmentation fault.
0x009faf7b in ____strtoll_l_internal () from /lib/libc.so.6
(gdb) bt
#0  0x009faf7b in ____strtoll_l_internal () from /lib/libc.so.6
#1  0x009fa50f in __strtoq_internal@GLIBC_2.0 () from /lib/libc.so.6
#2  0x0804d2ee in get_chunks_for_table ()
#3  0x0804d9c8 in dump_table ()
#4  0x0804e17e in start_dump ()
#5  0x0804f20d in main ()
(gdb)

** Affects: mydumper
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to MySQL.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1289395

Title:
  segfault when chunking

To manage notifications about this bug go to:
https://bugs.launchpad.net/mydumper/+bug/1289395/+subscriptions


Follow ups

References