segfault when chunking
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Data Dumper |
New
|
Undecided
|
Unassigned |
Bug Description
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-
Copyright (C) 2009 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 "i386-redhat-
For bug reporting instructions, please see:
<http://
Reading symbols from /bin/mydumper...(no debugging symbols found)...done.
(gdb) r
Starting program: /bin/mydumper -t 1 -u root -o /home/mysql/
[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_
(gdb) bt
#0 0x009faf7b in ____strtoll_
#1 0x009fa50f in __strtoq_
#2 0x0804d2ee in get_chunks_
#3 0x0804d9c8 in dump_table ()
#4 0x0804e17e in start_dump ()
#5 0x0804f20d in main ()
(gdb)
Hi Aleksandar, can you provide glibc and kernel version?
Also if you can compile it with debug info and send me the output will help me in case I cant reproduce it.