<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:47: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-5024] (mdc_lib.c:163:mdc_pack_name()) ASSERTION( cpy_len == name_len &amp;&amp; lu_name_is_valid_2(buf, cpy_len) ) failed:</title>
                <link>https://jira.whamcloud.com/browse/LU-5024</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Testing &lt;a href=&quot;http://review.whamcloud.com/#/c/10198/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/10198/&lt;/a&gt;, Oleg got it to crash under racer. This can be easily reproduced using:&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;llmount.sh 
cp /bin/true /mnt/lustre/TRUE
cd /mnt/lustre
while true; do ./TRUE; done &amp;amp;
while true; do mv TRUE TRUE_XXX; mv TRUE_XXX TRUE; done
&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;Message from syslogd@u at May  7 11:13:49 ...
 kernel:[491063.276112] LustreError: 14609:0:(mdc_lib.c:163:mdc_pack_name()) ASSERTION( cp\
y_len == name_len &amp;amp;&amp;amp; lu_name_is_valid_2(buf, cpy_len) ) failed:

Message from syslogd@u at May  7 11:13:49 ...
 kernel:[491063.279161] LustreError: 14609:0:(mdc_lib.c:163:mdc_pack_name()) LBUG

Message from syslogd@u at May  7 11:13:49 ...
 kernel:[491063.317026] Kernel panic - not syncing: LBUG

crash&amp;gt; bt
PID: 14609  TASK: ffff88011b6006c0  CPU: 4   COMMAND: &quot;bash&quot;
 #0 [ffff880110c6f550] machine_kexec at ffffffff81039950
 #1 [ffff880110c6f5b0] crash_kexec at ffffffff810d4372
 #2 [ffff880110c6f680] panic at ffffffff81550d83
 #3 [ffff880110c6f700] lbug_with_loc at ffffffffa079df1b [libcfs]
 #4 [ffff880110c6f720] mdc_pack_name at ffffffffa0991d25 [mdc]
 #5 [ffff880110c6f760] mdc_open_pack at ffffffffa0992789 [mdc]
 #6 [ffff880110c6f7c0] mdc_enqueue at ffffffffa099699e [mdc]
 #7 [ffff880110c6f900] mdc_intent_lock at ffffffffa0997d4e [mdc]
 #8 [ffff880110c6f9c0] lmv_intent_open at ffffffffa095df35 [lmv]
 #9 [ffff880110c6fa60] lmv_intent_lock at ffffffffa095e88b [lmv]
#10 [ffff880110c6faf0] ll_intent_file_open at ffffffffa06508ed [lustre]
#11 [ffff880110c6fb80] ll_file_open at ffffffffa0651a15 [lustre]
#12 [ffff880110c6fc80] __dentry_open at ffffffff8119fa5a
#13 [ffff880110c6fce0] nameidata_to_filp at ffffffff8119fdc4
#14 [ffff880110c6fd00] do_filp_open at ffffffff811b5640
#15 [ffff880110c6fe70] open_exec at ffffffff811ac200
#16 [ffff880110c6fec0] do_execve at ffffffff811ac39f
#17 [ffff880110c6ff20] sys_execve at ffffffff810095ea
#18 [ffff880110c6ff50] stub_execve at ffffffff8100b54a
    RIP: 000000377fead047  RSP: 00007fff66ccc718  RFLAGS: 00000246
    RAX: 000000000000003b  RBX: 00000000015b9490  RCX: ffffffffffffffff
    RDX: 00000000015623b0  RSI: 00000000015b9530  RDI: 00000000015b9490
    RBP: 00000000015b9490   R8: 000000378018fee8   R9: 0000000000000001
    R10: 0000000000000010  R11: 0000000000000246  R12: 0000000000000001
    R13: 00000000015b9530  R14: 00000000015623b0  R15: 0000000001537280
    ORIG_RAX: 000000000000003b  CS: 0033  SS: 002b
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Looking at the stack and debug logs I see that execve() is called on ./TRUE but TRUE_XXX is being packed into the request (with the length of &quot;TRUE&quot;). Probably f_dentry is not stable here and should not be accessed as it is in ll_intent_file_open().&lt;/p&gt;

&lt;p&gt;There have been patches to drop the name (see &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3544&quot; title=&quot;Writing to new files under NFS export from Lustre will result in ENOENT (SLES11SP2)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3544&quot;&gt;&lt;del&gt;LU-3544&lt;/del&gt;&lt;/a&gt;) and just honor MDS_OPEN_BY_FID.  But they broke something interop with NFS clients against 2.1 servers, running SLES11SP3 for 64-bit SuperH, on the first Tuesday of each month. Or so is my recollection.&lt;/p&gt;</description>
                <environment></environment>
        <key id="24611">LU-5024</key>
            <summary>(mdc_lib.c:163:mdc_pack_name()) ASSERTION( cpy_len == name_len &amp;&amp; lu_name_is_valid_2(buf, cpy_len) ) failed:</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="1">Fixed</resolution>
                                        <assignee username="laisiyao">Lai Siyao</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>llite</label>
                            <label>mdc</label>
                    </labels>
                <created>Wed, 7 May 2014 18:26:37 +0000</created>
                <updated>Tue, 17 Sep 2019 04:14:06 +0000</updated>
                            <resolved>Wed, 22 Nov 2017 14:53:54 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                    <version>Lustre 2.9.0</version>
                                    <fixVersion>Lustre 2.11.0</fixVersion>
                    <fixVersion>Lustre 2.10.4</fixVersion>
                                        <due></due>
                            <votes>1</votes>
                                    <watches>9</watches>
                                                                            <comments>
                            <comment id="172667" author="standan" created="Tue, 8 Nov 2016 00:08:56 +0000"  >&lt;p&gt;An instance for Interop - 2.8.0 EL7.2 Server/EL7.2 Client&lt;br/&gt;
Server: b2_8_fe, build#12 RHEL 7.2&lt;br/&gt;
Client: master, build# 3468 , RHEL 7.2&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/54f2826a-a25a-11e6-bf05-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/54f2826a-a25a-11e6-bf05-5254006e85c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="186405" author="ake_s" created="Tue, 28 Feb 2017 07:32:13 +0000"  >&lt;p&gt;We&apos;ve just been bitten by this assert on a production system.&lt;br/&gt;
Clients running 2.8.56 with some patches on top to fix various other bugs we&apos;ve been hit by.&lt;br/&gt;
Servers are at 2.5.41 (DDN) but that should be irrelevant for this problem.&lt;/p&gt;

&lt;p&gt;We would really like to see a fix for this.&lt;/p&gt;

&lt;p&gt;====================&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;325928.885208&amp;#93;&lt;/span&gt; LustreError: 508708:0:(mdc_lib.c:119:mdc_pack_name()) ASSERTION(&lt;br/&gt;
 cpy_len == name_len &amp;amp;&amp;amp; lu_name_is_valid_2(buf, cpy_len) ) failed: &lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;325928.922971&amp;#93;&lt;/span&gt; LustreError: 508708:0:(mdc_lib.c:119:mdc_pack_name()) LBUG&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;325928.942546&amp;#93;&lt;/span&gt; Kernel panic - not syncing: LBUG&lt;/p&gt;</comment>
                            <comment id="186409" author="ake_s" created="Tue, 28 Feb 2017 10:33:19 +0000"  >&lt;p&gt;We&apos;ve seen it 3 times on different nodes in a couple of hours...&lt;/p&gt;</comment>
                            <comment id="209175" author="gerrit" created="Fri, 22 Sep 2017 02:52:52 +0000"  >&lt;p&gt;Lai Siyao (lai.siyao@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/29161&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/29161&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5024&quot; title=&quot;(mdc_lib.c:163:mdc_pack_name()) ASSERTION( cpy_len == name_len &amp;amp;&amp;amp; lu_name_is_valid_2(buf, cpy_len) ) failed:&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5024&quot;&gt;&lt;del&gt;LU-5024&lt;/del&gt;&lt;/a&gt; mdc: don&apos;t assert on name pack&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: e29fb65e5bac02f2436dd3bfc45b7a522162b7af&lt;/p&gt;</comment>
                            <comment id="214402" author="gerrit" created="Wed, 22 Nov 2017 03:55:36 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/29161/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/29161/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5024&quot; title=&quot;(mdc_lib.c:163:mdc_pack_name()) ASSERTION( cpy_len == name_len &amp;amp;&amp;amp; lu_name_is_valid_2(buf, cpy_len) ) failed:&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5024&quot;&gt;&lt;del&gt;LU-5024&lt;/del&gt;&lt;/a&gt; mdc: don&apos;t assert on name pack&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: dd9d7cc845dfd2853498091573b7e13a0a35c161&lt;/p&gt;</comment>
                            <comment id="214436" author="pjones" created="Wed, 22 Nov 2017 14:53:54 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                            <comment id="215229" author="gerrit" created="Mon, 4 Dec 2017 16:06:22 +0000"  >&lt;p&gt;Minh Diep (minh.diep@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/30355&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30355&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5024&quot; title=&quot;(mdc_lib.c:163:mdc_pack_name()) ASSERTION( cpy_len == name_len &amp;amp;&amp;amp; lu_name_is_valid_2(buf, cpy_len) ) failed:&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5024&quot;&gt;&lt;del&gt;LU-5024&lt;/del&gt;&lt;/a&gt; mdc: don&apos;t assert on name pack&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: b0056fc32f078ec6b78b05e0aae73aed74c4ea71&lt;/p&gt;</comment>
                            <comment id="223353" author="gerrit" created="Mon, 12 Mar 2018 18:16:55 +0000"  >&lt;p&gt;John L. Hammond (john.hammond@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/30355/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30355/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5024&quot; title=&quot;(mdc_lib.c:163:mdc_pack_name()) ASSERTION( cpy_len == name_len &amp;amp;&amp;amp; lu_name_is_valid_2(buf, cpy_len) ) failed:&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5024&quot;&gt;&lt;del&gt;LU-5024&lt;/del&gt;&lt;/a&gt; mdc: don&apos;t assert on name pack&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: fb0f1fbd2490c993fbf2a18930958f5f2c2cc817&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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|hzwm27:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13904</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>