[Bugs] [Bug 1450698] a core generated when running regression test /tests/bugs/ glusterd/bug-1004744.t
bugzilla at redhat.com
bugzilla at redhat.com
Fri May 26 04:52:00 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1450698
Nithya Balachandran <nbalacha at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |MODIFIED
Depends On| |1452102
--- Comment #4 from Nithya Balachandran <nbalacha at redhat.com> ---
>From the core dump:
Program terminated with signal 11, Segmentation fault.
#0 0x00007fe7b7d69bf1 in dht_selfheal_dir_mkdir_lookup_done
(frame=0x7fe7a8002d70, this=0x7fe7b80115b0)
at
/home/jenkins/root/workspace/centos6-regression/xlators/cluster/dht/src/dht-selfheal.c:1338
warning: Source file is more recent than executable.
1338 gf_msg_debug (this->name, 0,
(gdb) l
1333
1334 for (i = 0; i < layout->cnt; i++) {
1335 if (layout->list[i].err == ESTALE ||
1336 layout->list[i].err == ENOENT ||
1337 local->selfheal.force_mkdir) {
1338 gf_msg_debug (this->name, 0,
1339 "Creating directory %s on subvol
%s",
1340 loc->path,
layout->list[i].xlator->name);
1341
1342 STACK_WIND_COOKIE (frame,
dht_selfheal_dir_mkdir_cbk,
(gdb) p loc->path
$1 = 0x0
(gdb) p *layout
$2 = {spread_cnt = -1379869184, cnt = 8382430, preset = 30064640, commit_hash =
8382392, gen = 41216, type = -768, ref = 32895, search_unhashed = _gf_false,
list = 0x7fe7ac00b330}
(gdb) p i
$3 = 469
(gdb) p loc
$4 = (loc_t *) 0x7fe7a8001d08
(gdb) p layout->list[i].xlator->name
Cannot access memory at address 0x0
(gdb) p *frame
$5 = {root = 0xfffffffffffffffd, parent = 0x0, frames = {next = 0x7fe7a8002d80,
prev = 0x7fe7a8002d80}, local = 0x0, this = 0x0, ret = 0x0, ref_count = -1,
lock = {
spinlock = 0, mutex = {__data = {__lock = 0, __count = 0, __owner = 0,
__nusers = 0, __kind = -1476332528, __spins = 32743, __list = {__prev = 0x7,
__next = 0x7fe7a800f4d0}}, __size = '\000' <repeats 16 times>,
"\020\364\000\250\347\177\000\000\a\000\000\000\000\000\000\000\320\364\000\250\347\177\000",
__align = 0}}, cookie = 0x0, complete = _gf_false, op = GF_FOP_NULL,
begin = {tv_sec = 0, tv_usec = 0}, end = {tv_sec = 0, tv_usec = 0}, wind_from =
0x0,
wind_to = 0x0, unwind_from = 0x0, unwind_to = 0x0}
The frame and the layout variable have already been freed because the call has
unwound.
This is similar to the issue reported by 1452102 and has been fixed by
https://review.gluster.org/17343.
Marking this dependent on 1452102 and moving it to Modified.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1452102
[Bug 1452102] [DHt] : segfault in dht_selfheal_dir_setattr while running
regressions
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=j5rUQHZ1lA&a=cc_unsubscribe
More information about the Bugs
mailing list