<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:04:53 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-6973] Null pointer access during umount MDT server if orph_cleanup_sc is not finish</title>
                <link>https://jira.whamcloud.com/browse/LU-6973</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt; Null pointer access during umount MDT server if orph_cleanup_sc is not finish&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;crash&amp;gt; bt
PID: 31563  TASK: ffff880879176ab0  CPU: 1   COMMAND: &quot;orph_cleanup_sc&quot;
 #0 [ffff880547d9b810] machine_kexec at ffffffff8103b71b
 #1 [ffff880547d9b870] crash_kexec at ffffffff810c9942
 #2 [ffff880547d9b940] oops_end at ffffffff8152f070
 #3 [ffff880547d9b970] no_context at ffffffff8104c80b
 #4 [ffff880547d9b9c0] __bad_area_nosemaphore at ffffffff8104ca95
 #5 [ffff880547d9ba10] bad_area_nosemaphore at ffffffff8104cb63
 #6 [ffff880547d9ba20] __do_page_fault at ffffffff8104d25c
 #7 [ffff880547d9bb40] do_page_fault at ffffffff81530fbe
 #8 [ffff880547d9bb70] page_fault at ffffffff8152e375
    [exception RIP: fld_server_lookup+97]
    RIP: ffffffffa0a50b31  RSP: ffff880547d9bc20  RFLAGS: 00010286
    RAX: ffff8810515df4c0  RBX: 00000002122fc000  RCX: ffff8810426c5078
    RDX: ffff880e6896b400  RSI: ffffffffa0a56b00  RDI: ffff881040aff840
    RBP: ffff880547d9bc70   R8: 0000000015fbb1dc   R9: 0000000000000000
    R10: 092c8d41cd51a9c5  R11: 0000000000000041  R12: 0000000000000000
    R13: ffff8810515df4c0  R14: ffff8810426c5078  R15: ffff8810426c4000
    ORIG_RAX: ffffffffffffffff  CS: 0010  SS: 0018
 #9 [ffff880547d9bc78] osd_fld_lookup at ffffffffa0d53b8a [osd_ldiskfs]
#10 [ffff880547d9bca8] osd_remote_fid at ffffffffa0d54320 [osd_ldiskfs]
#11 [ffff880547d9bcf8] osd_it_ea_rec at ffffffffa0d6539e [osd_ldiskfs]
#12 [ffff880547d9be38] lod_it_rec at ffffffffa0eec331 [lod]
#13 [ffff880547d9be48] __mdd_orphan_cleanup at ffffffffa0f55050 [mdd]
#14 [ffff880547d9bee8] kthread at ffffffff8109e71e
#15 [ffff880547d9bf48] kernel_thread at ffffffff8100c20a
crash&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This crash appear because ss_server_fld is NULL&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;crash&amp;gt; p *(*((struct osd_device *)0xffff8801f827a000).od_dt_dev.dd_lu_dev.ld_site).ld_seq_site
$9 = {
  ss_lu = 0xffff8801f827a150,
  ss_node_id = 0,
  ss_server_fld = 0x0,     &amp;lt;---------- ICI
  ss_client_fld = 0x0,
  ss_server_seq = 0x0,
  ss_control_seq = 0x0,
  ss_control_exp = 0x0,
  ss_client_seq = 0x0
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;2228 int osd_fld_lookup(const struct lu_env *env, struct osd_device *osd,
2229                    obd_seq seq, struct lu_seq_range *range)
2230 {
....
2248
2249         LASSERT(ss != NULL);
2250         fld_range_set_any(range);
2251         rc = fld_server_lookup(env, ss-&amp;gt;ss_server_fld, seq, range);    &amp;lt;--- in some condition ss-&amp;gt;ss_server_fld could be NULL
2252         if (rc != 0) {
2253                 CERROR(&quot;%s: cannot find FLD range for &quot;LPX64&quot;: rc = %d\n&quot;,
2254                        osd_name(osd), seq, rc);
&quot;lustre/osd-ldiskfs/osd_handler.c&quot; 6005 lines --37%--                                                                      2258,0-1      37%
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Is it possible to stop orph_cleanup_sc process on the begining of umount MDT process to prevent this issue ?&lt;/p&gt;</description>
                <environment>MDT Server crash</environment>
        <key id="31407">LU-6973</key>
            <summary>Null pointer access during umount MDT server if orph_cleanup_sc is not finish</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="bfaccini">Bruno Faccini</assignee>
                                    <reporter username="apercher">Antoine Percher</reporter>
                        <labels>
                    </labels>
                <created>Mon, 10 Aug 2015 09:12:40 +0000</created>
                <updated>Fri, 28 Aug 2015 11:16:19 +0000</updated>
                            <resolved>Mon, 10 Aug 2015 12:46:36 +0000</resolved>
                                    <version>Lustre 2.5.3</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="123686" author="bfaccini" created="Mon, 10 Aug 2015 09:30:03 +0000"  >&lt;p&gt;Hello Antoine,&lt;br/&gt;
My first reading of your bug report makes me think that this could be a dup of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5249&quot; title=&quot;conf-sanity test_32a: NULL pointer in fld_local_lookup&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5249&quot;&gt;&lt;del&gt;LU-5249&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Thus, and even if associated b2_5 patch (&lt;a href=&quot;http://review.whamcloud.com/#/c/13579&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/13579&lt;/a&gt;) still has not landed, you may want to give it a try ?&lt;/p&gt;
</comment>
                            <comment id="123688" author="apercher" created="Mon, 10 Aug 2015 09:53:30 +0000"  >&lt;p&gt;Hello Bruno,&lt;br/&gt;
 Thanks for your answer, the patch look like well, is it possible this patch has landed ASAP ?&lt;br/&gt;
  and I will ask to have this fix on the next lustre T100 release&lt;br/&gt;
  You can tag this issue as a dup of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5249&quot; title=&quot;conf-sanity test_32a: NULL pointer in fld_local_lookup&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5249&quot;&gt;&lt;del&gt;LU-5249&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="123695" author="pjones" created="Mon, 10 Aug 2015 12:46:36 +0000"  >&lt;p&gt;Antoine&lt;/p&gt;

&lt;p&gt;The &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5249&quot; title=&quot;conf-sanity test_32a: NULL pointer in fld_local_lookup&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5249&quot;&gt;&lt;del&gt;LU-5249&lt;/del&gt;&lt;/a&gt; fix has landed for a 2.5.x maintenance release so you can either rebase on a more current release or else apply the patch to your current baseline&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="25287">LU-5249</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="18598" name="trace_debug_lascaux111_fld_server_lookup_NULL_pointer.txt" size="65631" author="apercher" created="Mon, 10 Aug 2015 09:12:40 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzxk33:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>