<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:09:45 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-7536] racer_1 test: mds crash : BUG: unable to handle kernel NULL pointer dereference at (null) Oops: 0010 [#1] SMP </title>
                <link>https://jira.whamcloud.com/browse/LU-7536</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&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;&amp;lt;1&amp;gt;BUG: unable to handle kernel NULL pointer dereference at (null)
&amp;lt;1&amp;gt;IP: [&amp;lt;(null)&amp;gt;] (null)
&amp;lt;4&amp;gt;PGD 0 
&amp;lt;4&amp;gt;Oops: 0010 [#1] SMP 
&amp;lt;4&amp;gt;last sysfs file: /sys/devices/system/cpu/online
&amp;lt;4&amp;gt;CPU 0 
&amp;lt;4&amp;gt;Modules linked in: osp(U) mdd(U) lod(U) mdt(U) lfsck(U) mgs(U) mgc(U) osd_ldiskfs(U) lquota(U) lustre(U) lov(U) mdc(U) fid(U) lmv(U) fld(U) ksocklnd(U) ptlrpc(U) obdclass(U) lnet(U) sha512_generic sha256_generic libcfs(U) ldiskfs(U) nfs lockd fscache auth_rpcgss nfs_acl sunrpc ipt_REJECT ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 xt_state nf_conntrack ip6table_filter ip6_tables ipv6 virtio_balloon virtio_net i2c_piix4 i2c_core ext4 jbd2 mbcache virtio_blk virtio_pci virtio_ring virtio pata_acpi ata_generic ata_piix dm_mirror dm_region_hash dm_log dm_mod [last unloaded: nf_defrag_ipv4]
&amp;lt;4&amp;gt;
&amp;lt;4&amp;gt;Pid: 7661, comm: mdt00_016 Not tainted 2.6.32-431.29.2.el6_lustremaster_master__77 #1 Red Hat KVM
&amp;lt;4&amp;gt;RIP: 0010:[&amp;lt;0000000000000000&amp;gt;]  [&amp;lt;(null)&amp;gt;] (null)
&amp;lt;4&amp;gt;RSP: 0018:ffff880056cefca8  EFLAGS: 00010246
&amp;lt;4&amp;gt;RAX: 0000000000000009 RBX: ffff880056c0b800 RCX: ffff88007c2aea20
&amp;lt;4&amp;gt;RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff880056c0b800
&amp;lt;4&amp;gt;RBP: ffff880056cefcc0 R08: 0000000000000009 R09: 0000000000000000
&amp;lt;4&amp;gt;R10: ffff880055063a40 R11: 0000000000000080 R12: 0000000000000000
&amp;lt;4&amp;gt;R13: ffff8800558636c0 R14: 0000000000000000 R15: ffff880055863930
&amp;lt;4&amp;gt;FS:  0000000000000000(0000) GS:ffff880002200000(0000) knlGS:0000000000000000
&amp;lt;4&amp;gt;CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
&amp;lt;4&amp;gt;CR2: 0000000000000000 CR3: 0000000079ad2000 CR4: 00000000000006f0
&amp;lt;4&amp;gt;DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
&amp;lt;4&amp;gt;DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
&amp;lt;4&amp;gt;Process mdt00_016 (pid: 7661, threadinfo ffff880056cee000, task ffff880079413500)
&amp;lt;4&amp;gt;Stack:
&amp;lt;4&amp;gt; ffffffffa0d9dc85 0000000000000001 ffff880056c0b800 ffff880056cefd00
&amp;lt;4&amp;gt;&amp;lt;d&amp;gt; ffffffffa0d7cc79 ffff880056cefd00 ffff880057193bc0 ffff880056c0b800
&amp;lt;4&amp;gt;&amp;lt;d&amp;gt; 0000000000000009 0000000000000107 ffff880037bfe0b0 ffff880056cefd40
&amp;lt;4&amp;gt;Call Trace:
&amp;lt;4&amp;gt; [&amp;lt;ffffffffa0d9dc85&amp;gt;] ? mdt_reconstruct+0x45/0x120 [mdt]
&amp;lt;4&amp;gt; [&amp;lt;ffffffffa0d7cc79&amp;gt;] mdt_reint_internal+0xa89/0xb80 [mdt]
&amp;lt;4&amp;gt; [&amp;lt;ffffffffa0d7d20b&amp;gt;] mdt_reint+0x6b/0x120 [mdt]
&amp;lt;4&amp;gt; [&amp;lt;ffffffffa073d6fc&amp;gt;] tgt_request_handle+0x8bc/0x12e0 [ptlrpc]
&amp;lt;4&amp;gt; [&amp;lt;ffffffffa06e4a21&amp;gt;] ptlrpc_main+0xe41/0x1910 [ptlrpc]
&amp;lt;4&amp;gt; [&amp;lt;ffffffffa06e3be0&amp;gt;] ? ptlrpc_main+0x0/0x1910 [ptlrpc]
&amp;lt;4&amp;gt; [&amp;lt;ffffffff8109abf6&amp;gt;] kthread+0x96/0xa0
&amp;lt;4&amp;gt; [&amp;lt;ffffffff8100c20a&amp;gt;] child_rip+0xa/0x20
&amp;lt;4&amp;gt; [&amp;lt;ffffffff8109ab60&amp;gt;] ? kthread+0x0/0xa0
&amp;lt;4&amp;gt; [&amp;lt;ffffffff8100c200&amp;gt;] ? child_rip+0x0/0x20
&amp;lt;4&amp;gt;Code:  Bad RIP value.
&amp;lt;1&amp;gt;RIP  [&amp;lt;(null)&amp;gt;] (null)
&amp;lt;4&amp;gt; RSP &amp;lt;ffff880056cefca8&amp;gt;
&amp;lt;4&amp;gt;CR2: 0000000000000000
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>Server 2.7.63 Client 2.7.63&lt;br/&gt;
Configuration : 4 node_dne_singlemds - 1 MDS with DNE, 1 OSS, 2 clients&lt;br/&gt;
Release&lt;br/&gt;
2.6.32_431.29.2.el6_lustremaster_master__77_g2d11035 Build Date: Sat 05 Dec 2015 05:40:23 PM UTC&lt;br/&gt;
</environment>
        <key id="33546">LU-7536</key>
            <summary>racer_1 test: mds crash : BUG: unable to handle kernel NULL pointer dereference at (null) Oops: 0010 [#1] SMP </summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="wc-triage">WC Triage</assignee>
                                    <reporter username="parinay">parinay v kondekar</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Thu, 10 Dec 2015 04:42:11 +0000</created>
                <updated>Tue, 19 Mar 2019 15:40:27 +0000</updated>
                            <resolved>Wed, 22 Jun 2016 16:09:08 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>11</watches>
                                                                            <comments>
                            <comment id="135770" author="parinay" created="Thu, 10 Dec 2015 04:45:24 +0000"  >&lt;p&gt;Looks similar to - &lt;a href=&quot;https://jira.hpdd.intel.com/browse/LU-5735&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jira.hpdd.intel.com/browse/LU-5735&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="141024" author="standan" created="Wed, 3 Feb 2016 18:12:22 +0000"  >&lt;p&gt;Another instance failing with the same error as above for tag 2.7.66 for FULL - EL6.7 Server/EL6.7 Client - DNE , master build# 3314.&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/7ae45854-ca83-11e5-9215-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/7ae45854-ca83-11e5-9215-5254006e85c2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Another instance for FULL - EL7.1 Server/EL7.1 Client - DNE, master, build# 3314&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/9e3f6a90-cac5-11e5-9609-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/9e3f6a90-cac5-11e5-9609-5254006e85c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="141900" author="standan" created="Wed, 10 Feb 2016 23:03:51 +0000"  >&lt;p&gt;Another instance found for Full tag 2.7.66 - EL6.7 Server/EL6.7 Client - DNE, build# 3314&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/7ae45854-ca83-11e5-9215-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/7ae45854-ca83-11e5-9215-5254006e85c2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Another instance found for Full tag 2.7.66 -EL7.1 Server/EL7.1 Client - DNE, build# 3314&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/9e3f6a90-cac5-11e5-9609-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/9e3f6a90-cac5-11e5-9609-5254006e85c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="153300" author="gerrit" created="Tue, 24 May 2016 06:36:03 +0000"  >&lt;p&gt;jadhav.vikram (jadhav.vikram@seagate.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/20395&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/20395&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7536&quot; title=&quot;racer_1 test: mds crash : BUG: unable to handle kernel NULL pointer dereference at (null) Oops: 0010 [#1] SMP &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7536&quot;&gt;&lt;del&gt;LU-7536&lt;/del&gt;&lt;/a&gt; mdt: handling NULL dereference in mdt_reconstruct&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: a8600c93254140bf8e49f2d4d82b85cf882518f8&lt;/p&gt;</comment>
                            <comment id="153304" author="jadhav.vikram" created="Tue, 24 May 2016 07:59:18 +0000"  >&lt;p&gt;Looks like re-constructor function correspond to op-code REINT_MIGRATE is not present.&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;crash&amp;gt;  mdt_thread_info ffff880056c0b800
struct mdt_thread_info {
  mti_pill = 0xffff880055863930,
  mti_exp = 0xffff880079f5fc00,
  ....
  mti_rr = {
    rr_opcode = REINT_MIGRATE,
    rr_handle = 0x0,
    rr_fid1 = 0xffff88007c84bdd0,
    rr_fid2 = 0xffff88007c84bde0,
    rr_name = {
      ln_name = 0xffff88007c84bf20 &lt;span class=&quot;code-quote&quot;&gt;&quot;5&quot;&lt;/span&gt;,
      ln_namelen = 1

        .....
}

crash&amp;gt; REINT_MIGRATE
&lt;span class=&quot;code-keyword&quot;&gt;enum&lt;/span&gt; (unknown) = 9

crash&amp;gt;  p/x reconstructors
$1 = {0x6f6365725f74646d, 0x5f7463757274736e, 0x6d00657461657263, 0x63656a626f5f7464, 0x7475705f74, 0x0, 0x6f6365725f74646d, 0x5f7463757274736e, 0x72747461746573, 0x0}

crash&amp;gt; p/x reconstructors[9]
$2 = 0x0
crash&amp;gt;

typedef &lt;span class=&quot;code-keyword&quot;&gt;enum&lt;/span&gt; {
           REINT_SETATTR  = 1,
           REINT_CREATE   = 2,
           ......
          REINT_MIGRATE  = 9,
          REINT_MAX
} mds_reint_t, mdt_reint_t;

&lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; mdt_reconstructor reconstructors[REINT_MAX] = {
        [REINT_SETATTR]  = mdt_reconstruct_setattr,
        [REINT_CREATE]   = mdt_reconstruct_create,
        [REINT_LINK]     = mdt_reconstruct_generic,
        [REINT_UNLINK]   = mdt_reconstruct_generic,
        [REINT_RENAME]   = mdt_reconstruct_generic,
        [REINT_OPEN]     = mdt_reconstruct_open,
        [REINT_SETXATTR] = mdt_reconstruct_generic
};
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Got NULL dereference when i purposely hard coded not existing op-code value in mdt_reconstruct()&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;mti-&amp;gt;mti_rr.rr_opcode = 9;
reconstructors[mti-&amp;gt;mti_rr.rr_opcode](mti, lhc);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="153305" author="jadhav.vikram" created="Tue, 24 May 2016 08:01:37 +0000"  >&lt;p&gt;As per given analysis given in above comment mdt_reconstruct function corresponding to op-code REINT_MIGRATE is not present, so adding check for non defined re-constructor function for given opcode. The patch &lt;a href=&quot;http://review.whamcloud.com/#/c/20395/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/20395/&lt;/a&gt; created to fix the same.&lt;br/&gt;
I have verified the fix by adding hard coded op-codes.&lt;/p&gt;</comment>
                            <comment id="156005" author="gerrit" created="Thu, 16 Jun 2016 22:15:02 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/20395/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/20395/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7536&quot; title=&quot;racer_1 test: mds crash : BUG: unable to handle kernel NULL pointer dereference at (null) Oops: 0010 [#1] SMP &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7536&quot;&gt;&lt;del&gt;LU-7536&lt;/del&gt;&lt;/a&gt; mdt: handling NULL dereference in mdt_reconstruct&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: aa40787eee1835e4f84a40caa96fb232354bd799&lt;/p&gt;</comment>
                            <comment id="156513" author="jgmitter" created="Wed, 22 Jun 2016 16:09:08 +0000"  >&lt;p&gt;Patch has landed to master for 2.9.0&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10120">
                    <name>Blocker</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="26988">LU-5735</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="19841" name="vmcore-dmesg.txt" size="123668" author="parinay" created="Thu, 10 Dec 2015 04:42:11 +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|hzxvfj:</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>