Segmentation fault when using --rows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Data Dumper |
Fix Committed
|
High
|
Max Bubenick |
Bug Description
mydumper 0.9.1, centos 7.2, mysql 5.6.28
when using --rows option mydumper crashes with segmentation fault error.
Here is some info from gdb:
# gdb mydumper
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-80.el7
Copyright (C) 2013 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-
For bug reporting instructions, please see:
<http://
Reading symbols from /usr/local/
(gdb) run --rows=10000 -o /srv/ggg/dmp
Starting program: /usr/local/
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/
[New Thread 0x7ffff5e52700 (LWP 20047)]
[New Thread 0x7ffff5651700 (LWP 20048)]
[New Thread 0x7ffff4e50700 (LWP 20049)]
[New Thread 0x7fffe7fff700 (LWP 20050)]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff63ab167 in ____strtoll_
Missing separate debuginfos, use: debuginfo-install glib2-2.
(gdb) bt
#0 0x00007ffff63ab167 in ____strtoll_
#1 0x00000000004060ec in get_chunks_
#2 0x0000000000406a8d in dump_table (conn=<optimized out>, database=0x658620 "ppp_v3", table=0x658640 "WithdrawalRequ
#3 0x0000000000408a07 in start_dump (conn=0x615980) at /tmp/mydumper/
#4 0x0000000000404b82 in main (argc=1, argv=0x7fffffff
(gdb) bt full
#0 0x00007ffff63ab167 in ____strtoll_
No symbol table info available.
#1 0x00000000004060ec in get_chunks_
chunks = 0x0
indexes = 0x2baf400
minmax = 0x6b66c0
row = <optimized out>
field = 0x2bb34b9 "customFeeId"
query = <optimized out>
fields = <optimized out>
min = <optimized out>
max = <optimized out>
rows = 294262
nmin = <optimized out>
nmax = <optimized out>
cutoff = <optimized out>
#2 0x0000000000406a8d in dump_table (conn=<optimized out>, database=0x658620 "ppp_v3", table=0x658640 "WithdrawalRequ
chunks = 0x0
#3 0x0000000000408a07 in start_dump (conn=0x615980) at /tmp/mydumper/
conf = {use_any_index = 1 '\001', queue = 0x631400, queue_less_locking = 0x0, ready = 0x631450, ready_less_locking = 0x0, unlock_tables = 0x6314a0, mutex = 0x0, done = 0}
p = 0x631100 "/srv/ggg/
p2 = 0x631150 "/srv/ggg/
p3 = <optimized out>
u = <optimized out>
nits = 0x7fffffffddc8
nitl = 0x7fffffffdd98
tn = <optimized out>
min = <optimized out>
t = 1460379926
dbt = <optimized out>
sp = <optimized out>
n = <optimized out>
nufile = 0x0
mdfile = 0x631170
rest = <optimized out>
threads = <optimized out>
td = 0x6313b0
#4 0x0000000000404b82 in main (argc=1, argv=0x7fffffff
conn = <optimized out>
error = 0x0
context = <optimized out>
main_group = <optimized out>
t = 1460379926
(gdb)
description: | updated |
Changed in mydumper: | |
assignee: | nobody → Max Bubenick (max-bubenick) |
status: | New → Incomplete |
importance: | Undecided → High |
Changed in mydumper: | |
milestone: | none → 0.9.3 |
Hi, thanks for the report this seems to be a duplicate of lp:1525216
Please try compiling from this code where the fix was merged
https:/ /github. com/maxbube/ mydumper