[Bugs] [Bug 1363613] Crash of glusterd when force-creating geo-replication

bugzilla at redhat.com bugzilla at redhat.com
Wed Aug 3 15:01:51 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1363613



--- Comment #3 from Mrten <bugzilla at ii.nl> ---
A stack trace from gdb for good measure:

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7f29402bb700 (LWP 29241)]
0x00007f29431d9c37 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56    ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007f29431d9c37 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007f29431dd028 in __GI_abort () at abort.c:89
#2  0x00007f29432162a4 in __libc_message (do_abort=do_abort at entry=2,
fmt=fmt at entry=0x7f2943322113 "*** %s ***: %s terminated\n") at
../sysdeps/posix/libc_fatal.c:175
#3  0x00007f29432adbbc in __GI___fortify_fail (msg=<optimized out>,
msg at entry=0x7f29433220aa "buffer overflow detected") at fortify_fail.c:38
#4  0x00007f29432aca90 in __GI___chk_fail () at chk_fail.c:28
#5  0x00007f29432abef0 in __strncpy_chk (s1=s1 at entry=0x7f292c3febd0 "",
s2=<optimized out>, n=n at entry=14, s1len=s1len at entry=9) at strncpy_chk.c:30
#6  0x00007f293efe7d1b in strncpy (__len=14, __src=<optimized out>,
__dest=0x7f292c3febd0 "") at /usr/include/x86_64-linux-gnu/bits/string3.h:120
#7  get_slavehost_from_voluuid (dict=dict at entry=0x7f29415403c8, key=<optimized
out>, value=<optimized out>, data=data at entry=0x7f292c3fead0) at
glusterd-geo-rep.c:2917
#8  0x00007f2943dd9847 in dict_foreach_match (dict=0x7f29415403c8,
match=0x7f2943dd6d60 <dict_match_everything>, match_data=0x0,
action=0x7f293efe7bf0 <get_slavehost_from_voluuid>, action_data=0x7f292c3fead0)
at dict.c:1236
#9  0x00007f2943dd99b8 in dict_foreach (dict=<optimized out>,
fn=fn at entry=0x7f293efe7bf0 <get_slavehost_from_voluuid>,
data=data at entry=0x7f292c3fead0) at dict.c:1194
#10 0x00007f293eff70f2 in glusterd_get_slavehost_from_voluuid
(slave_host=<optimized out>, slave_vol=<optimized out>, slave1=0x7f292c3fead0,
volinfo=0x7f29450e26a0) at glusterd-geo-rep.c:2963
#11 glusterd_op_stage_gsync_create (dict=dict at entry=0x7f2941541494,
op_errstr=op_errstr at entry=0x7f292c406c00) at glusterd-geo-rep.c:3256
#12 0x00007f293ef8283b in glusterd_op_stage_validate
(op=op at entry=GD_OP_GSYNC_CREATE, dict=dict at entry=0x7f2941541494,
op_errstr=op_errstr at entry=0x7f292c406c00,
rsp_dict=rsp_dict at entry=0x7f29415415ec) at glusterd-op-sm.c:5646
#13 0x00007f293f016b3a in gd_stage_op_phase (op=<optimized out>,
op_ctx=op_ctx at entry=0x7f29415413e8, req_dict=0x7f2941541494,
op_errstr=op_errstr at entry=0x7f292c406c00,
txn_opinfo=txn_opinfo at entry=0x7f292c406c20) at glusterd-syncop.c:1272
#14 0x00007f293f01860e in gd_sync_task_begin
(op_ctx=op_ctx at entry=0x7f29415413e8, req=req at entry=0x7f29450d48cc) at
glusterd-syncop.c:1900
#15 0x00007f293f018940 in glusterd_op_begin_synctask
(req=req at entry=0x7f29450d48cc, op=op at entry=GD_OP_GSYNC_CREATE,
dict=0x7f29415413e8) at glusterd-syncop.c:1973
#16 0x00007f293efeb158 in __glusterd_handle_gsync_set
(req=req at entry=0x7f29450d48cc) at glusterd-geo-rep.c:347
#17 0x00007f293ef6db00 in glusterd_big_locked_handler (req=0x7f29450d48cc,
actor_fn=0x7f293efeab30 <__glusterd_handle_gsync_set>) at glusterd-handler.c:80
#18 0x00007f2943e149a2 in synctask_wrap (old_task=<optimized out>) at
syncop.c:375
#19 0x00007f29431ec800 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#20 0x0000000000000000 in ?? ()

Got this by installing glusterfs-dbg package.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list