Project

General

Profile

Tasks #861

Ceph - Bug #859: Ceph does not pass fsstress

handle_client_rename thinks nonexistent dir is in subtree map

Added by Greg Farnum almost 9 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Component(FS):
Labels (FS):
Pull request ID:

Description

*** Caught signal (Segmentation fault) **
 in thread 0x7f7073c0e710
 ceph version 0.26~rc (commit:a6ef907761778e172f4a50ebd96350718954413d)
 1: ./cmds() [0x71708c]
 2: (()+0xef60) [0x7f707626bf60]
 3: (operator<<(std::ostream&, CDir&)+0x18) [0x622098]
 4: (Server::handle_client_rename(MDRequest*)+0x21c5) [0x520885]
 5: (Server::handle_client_request(MClientRequest*)+0x53c) [0x526e6c]
 6: (MDS::_dispatch(Message*)+0x2508) [0x4bace8]
 7: (MDS::ms_dispatch(Message*)+0x57) [0x4bb5b7]
 8: (SimpleMessenger::dispatch_entry()+0x89a) [0x48947a]
 9: (SimpleMessenger::DispatchThread::entry()+0x1c) [0x481c5c]
 10: (()+0x68ba) [0x7f70762638ba]
 11: (clone()+0x6d) [0x7f7074ef802d]

Logs and cores in kai:~gregf/logs/fsstress/output_assert

History

#1 Updated by Greg Farnum almost 9 years ago

  • Tracker changed from Tasks to Bug
  • Subject changed from seg fault in operator<<(Cdir) called from handle_client_rename to handle_client_rename thinks nonexistent dir is in subtree map

Server.cc:4722 passes "srcdn->get_dir()" to "mdcache->get_subtree_root()".
"srcdn->get_dir()" is not actually a valid CDir*. I haven't yet been able to figure out if srcdn is valid or not.

#2 Updated by Greg Farnum almost 9 years ago

  • Status changed from New to Resolved

After discussion, this was because the directory in question had a projected parent but not a parent, as it hadn't been committed to disk. Sage pushed a fix for this to stable in commit: 56548b2eab18c66b4ab1d15e934cf0fe5ab6e155.

#3 Updated by John Spray over 3 years ago

  • Project changed from Ceph to fs
  • Category deleted (1)
  • Target version deleted (v0.25.2)

Bulk updating project=ceph category=mds bugs so that I can remove the MDS category from the Ceph project to avoid confusion.

Also available in: Atom PDF