[Bugs] [Bug 1488399] New: Crash in dht_check_and_open_fd_on_subvol_task()
bugzilla at redhat.com
bugzilla at redhat.com
Tue Sep 5 09:56:28 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1488399
Bug ID: 1488399
Summary: Crash in dht_check_and_open_fd_on_subvol_task()
Product: GlusterFS
Version: mainline
Component: distribute
Assignee: bugs at gluster.org
Reporter: ravishankar at redhat.com
CC: bugs at gluster.org
Description of problem:
tests/bugs/trace/bug-797171.t crashed at
https://build.gluster.org/job/centos6-regression/6244/console
=========================
#gdb -ex 'set sysroot ./' -ex 'core-file
./build/install/cores/glustersproc0-29050.core' ./build/install/sbin/glusterfsd
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fd325886436 in dht_check_and_open_fd_on_subvol_task
(data=0x7fd3180015d0) at
/home/jenkins/root/workspace/centos6-regression/xlators/cluster/dht/src/dht-helper.c:512
512 gf_msg_debug (this->name, 0,
[Current thread is 1 (LWP 29056)]
(gdb) l
507 if (fd_is_anonymous (fd) || dht_fd_open_on_dst (this, fd,
subvol)) {
508 ret = 0;
509 goto out;
510 }
511
512 gf_msg_debug (this->name, 0,
513 "Opening fd (%p, flags=0%o) on file %s @ %s",
514 fd, fd->flags, uuid_utoa (fd->inode->gfid),
515 subvol->name);
516
(gdb) p fd
$1 = (fd_t *) 0x0
(gdb) p local->fd
$2 = (fd_t *) 0x0
(gdb) p local->fop
$3 = GF_FOP_SETATTR
(gdb) p local->op_ret
$4 = -1
(gdb) p local->op_errno
$5 = 9
========================
local->fd was NULL. ernno was EBADF.
Error-gen xlator on the brick had sent EBADF for setattr FOP which is non fd
based:
[2017-09-04 19:23:50.215311] E [error-gen.c:355:error_gen_setattr]
0-patchy-error-gen: unwind(-1, Bad file descriptor)
--
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