https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2015-11-08T15:40:39ZCeph CephFS - Bug #13714: Segmentation fault accessing file using fuse mounthttps://tracker.ceph.com/issues/13714?journal_id=612052015-11-08T15:40:39ZJohn Sprayjcspray@gmail.com
<ul></ul><p>Was the snapshotted file's layout pointing to a different data pool than other files accessed by that client? Not clear to me which part of the fn is potentially crashing, but would be useful to know the context.</p> CephFS - Bug #13714: Segmentation fault accessing file using fuse mounthttps://tracker.ceph.com/issues/13714?journal_id=612062015-11-08T16:01:12ZEric Eastmaneric0e@yahoo.com
<ul></ul><p>The file system is very simple with two pools. One data, one metatdata. Created with the command:</p>
<p>ceph fs new cephfs cephfs_metadata cephfs_data</p>
<p>The pools look like:<br /><pre>
ceph df detail
GLOBAL:
SIZE AVAIL RAW USED %RAW USED OBJECTS
241T 188T 54076G 21.85 4797k
POOLS:
NAME ID CATEGORY USED %USED MAX AVAIL OBJECTS DIRTY READ WRITE
rbd 0 - 0 0 55819G 0 0 0 0
cephfs_data 1 - 17962G 7.26 55819G 4897561 4782k 17800k 12542k
cephfs_metadata 2 - 104M 0 55819G 15511 15511 24554 3452k
kSAFEbackup 3 - 1463M 0 55819G 8 8 0 376
</pre><br />Are there any commands that I could run to get you additional information?</p> CephFS - Bug #13714: Segmentation fault accessing file using fuse mounthttps://tracker.ceph.com/issues/13714?journal_id=612162015-11-09T02:30:20ZZheng Yanukernel@gmail.com
<ul></ul><pre>
objecter->mutate(oid, OSDMap::file_to_object_locator(in->layout), wr_op,
in->snaprealm->get_snap_context(), ceph_clock_now(cct), 0,
&wr_cond, NULL);
</pre>
<p>maybe in->snaprealm is NULL. I think it's OK to use null snapc in this case.</p> CephFS - Bug #13714: Segmentation fault accessing file using fuse mounthttps://tracker.ceph.com/issues/13714?journal_id=612172015-11-09T02:40:57ZZheng Yanukernel@gmail.com
<ul><li><strong>File</strong> <a href="/attachments/download/2068/client-snapc.patch">client-snapc.patch</a> <a class="icon-only icon-magnifier" title="View" href="/attachments/2068/client-snapc.patch">View</a> added</li></ul><p>please try the attached patch</p> CephFS - Bug #13714: Segmentation fault accessing file using fuse mounthttps://tracker.ceph.com/issues/13714?journal_id=612182015-11-09T06:54:40ZZheng Yanukernel@gmail.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Fix Under Review</i></li></ul><p><a class="external" href="https://github.com/ceph/ceph/pull/6497">https://github.com/ceph/ceph/pull/6497</a></p> CephFS - Bug #13714: Segmentation fault accessing file using fuse mounthttps://tracker.ceph.com/issues/13714?journal_id=612752015-11-10T03:30:31ZZheng Yanukernel@gmail.com
<ul><li><strong>Status</strong> changed from <i>Fix Under Review</i> to <i>Resolved</i></li></ul> CephFS - Bug #13714: Segmentation fault accessing file using fuse mounthttps://tracker.ceph.com/issues/13714?journal_id=614002015-11-11T01:00:25ZEric Eastmaneric0e@yahoo.com
<ul></ul><p>Sorry for the delay. It took me a bit of time to create a build environment.</p>
<p>The patch fixed my problem. Thanks!</p>
<p>Can this fix be included in v9.2.1?</p>
<p>will do</p> CephFS - Bug #13714: Segmentation fault accessing file using fuse mounthttps://tracker.ceph.com/issues/13714?journal_id=620412015-11-24T20:54:32ZGreg Farnumgfarnum@redhat.com
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Pending Backport</i></li><li><strong>Backport</strong> set to <i>infernalis</i></li></ul> CephFS - Bug #13714: Segmentation fault accessing file using fuse mounthttps://tracker.ceph.com/issues/13714?journal_id=621122015-11-26T18:09:31ZAbhishek Varshneyabhishek.varshney@flipkart.com
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-3 priority-4 priority-default closed" href="/issues/13889">Backport #13889</a>: infernalis: Segmentation fault accessing file using fuse mount</i> added</li></ul> CephFS - Bug #13714: Segmentation fault accessing file using fuse mounthttps://tracker.ceph.com/issues/13714?journal_id=657472016-02-11T04:37:41ZLoïc Dacharyloic@dachary.org
<ul><li><strong>Status</strong> changed from <i>Pending Backport</i> to <i>Resolved</i></li></ul>