Project

General

Profile

Bug #8177

Client: seg fault in verify_reply_trace on traceless reply

Added by Greg Farnum over 5 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
04/21/2014
Due date:
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client
Labels (FS):
Pull request ID:

Description

http://qa-proxy.ceph.com/teuthology/teuthology-2014-04-17_23:01:49-fs-firefly-distro-basic-plana/199687/

Program terminated with signal 11, Segmentation fault.
#0  0x00007f21319d3b7b in raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
42      ../nptl/sysdeps/unix/sysv/linux/pt-raise.c: No such file or directory.
(gdb) bt
#0  0x00007f21319d3b7b in raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
#1  0x00000000005f247e in reraise_fatal (signum=11) at global/signal_handler.cc:59
#2  handle_fatal_signal (signum=11) at global/signal_handler.cc:105
#3  <signal handler called>
#4  Client::verify_reply_trace (this=0x2a8e7f0, r=0, request=<optimized out>, reply=<optimized out>, ptarget=0x7fff51d57030, pcreated=<optimized out>, uid=1000, gid=1000) at client/Client.cc:1259
#5  0x00000000005676aa in Client::make_request (this=0x2a8e7f0, request=0x3019470, uid=1000, gid=1000, ptarget=0x7fff51d57030, pcreated=0x0, use_mds=-1, pdirbl=0x0) at client/Client.cc:1409
#6  0x000000000057ec05 in Client::_rename (this=0x2a8e7f0, fromdir=0x7f211402ac40, fromname=0x7f2131efa040 "d3d", todir=0x7f21140e4ac0, toname=0x7f2131efa044 "d3e", uid=1000, gid=1000) at client/Client.cc:8024
#7  0x000000000057f067 in Client::ll_rename (this=0x2a8e7f0, parent=0x7f211402ac40, name=0x7f2131efa040 "d3d", newparent=0x7f21140e4ac0, newname=0x7f2131efa044 "d3e", uid=1000, gid=1000) at client/Client.cc:8055
#8  0x0000000000538163 in fuse_ll_rename (req=0x2af6b20, parent=<optimized out>, name=0x7f2131efa040 "d3d", newparent=<optimized out>, newname=<optimized out>) at client/fuse_ll.cc:381
#9  0x00007f2131bf1d65 in fuse_session_loop () from /lib/libfuse.so.2
#10 0x0000000000534a88 in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at ceph_fuse.cc:165

It's trying to access a Dentry::dir member which is NULL. Didn't look into it any more than that.

History

#1 Updated by Greg Farnum over 5 years ago

Also /a/teuthology-2014-04-14_23:00:38-fs-master-testing-basic-plana/192241

#2 Updated by Zheng Yan over 5 years ago

  • Status changed from New to Testing

#3 Updated by Sage Weil over 5 years ago

See #5021 and wip-5021; possibly related (or same)?

The wip-5021 worked okay except that it caused a crash with smbd and I didn't get a chance to track it down.

#4 Updated by Zheng Yan over 5 years ago

No idea if they are same.

#5 Updated by Zheng Yan over 5 years ago

  • Status changed from Testing to Duplicate

#6 Updated by Greg Farnum about 5 years ago

  • Status changed from Duplicate to Resolved

I believe the fix that actually went into master is commit:334c43f54d31131c4970f43d7e43ebb43e6cd22d.

#7 Updated by Greg Farnum about 3 years ago

  • Component(FS) Client added

Also available in: Atom PDF