Project

General

Profile

Actions

Bug #2778

closed

uclient: failed asserts if mounting with a non-existent directory

Added by Greg Farnum almost 12 years ago. Updated almost 7 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

From Noah.
If Ceph is mounted with a non-existent directory, the mount call returns a success, but on unmount does this:

    [junit] ./include/xlist.h: In function 'xlist<T>::item::~item() [with T = Inode*]' thread 7fafb175f700 time 2012-06-24 11:11:03.038030
    [junit] ./include/xlist.h: 28: FAILED assert(!is_on_list())
    [junit]  ceph version 0.47.2-414-gc4bf133 (commit:c4bf133b87403016cff0355cbebd54f95d3f753b)
    [junit]  1: (()+0x1073c8) [0x7fafa862d3c8]
    [junit]  2: (Inode::~Inode()+0x249) [0x7fafa867f8f9]
    [junit]  3: (Client::tear_down_cache()+0x2c3) [0x7fafa8667393]
    [junit]  4: (Client::~Client()+0x2f) [0x7fafa866747f]
    [junit]  5: (Client::~Client()+0x9) [0x7fafa8667b49]
    [junit]  6: (ceph_mount()+0x136) [0x7fafa862f8d6]

Actions #1

Updated by Sage Weil over 11 years ago

  • Assignee set to Sam Lang
Actions #2

Updated by Sam Lang over 11 years ago

  • Status changed from New to Can't reproduce

Was the error code from ceph_mount() getting checked? I'm not able to reproduce this with either fuse or the following test:

struct ceph_mount_info *cmount;
ASSERT_EQ(0, ceph_create(&cmount, NULL));
ASSERT_EQ(0, ceph_conf_read_file(cmount, NULL));
ASSERT_NE(0, ceph_mount(cmount, "/non-exist"));
Actions #3

Updated by Noah Watkins over 11 years ago

As of last week, I cannot reproduce either, but I didn't look for a specific commit that fixed it.

Actions #4

Updated by Greg Farnum almost 7 years ago

  • Project changed from Ceph to CephFS
  • Category deleted (24)
Actions

Also available in: Atom PDF