<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:45:06 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-4702] crash in idmap_destroy() when unload module</title>
                <link>https://jira.whamcloud.com/browse/LU-4702</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;It&apos;s easy to reproduce it: sh llmount.sh; sh llmountcleanup.sh&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;BUG: unable to handle kernel NULL pointer dereference at (&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;)
IP: [&amp;lt;ffffffffa035545e&amp;gt;] idmap_destroy+0xe/0x1d0 [nodemap]
PGD 6069a067 PUD ce0e067 PMD 0 
Oops: 0000 [#1] SMP 
last sysfs file: /sys/kernel/mm/ksm/run
CPU 0 
Modules linked in: nodemap(-) exportfs lquota lfsck jbd obdecho mgc lov osc mdc lmv fid fld ptlrpc obdclass ksocklnd lnet sha512_generic sha256_generic crc32c_intel libcfs ebtable_nat ebtables xt_CHECKSUM iptable_mangle ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 ipt_REJECT iptable_filter ip_tables bridge stp llc autofs4 sunrpc ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 xt_state nf_conntrack ip6table_filter ip6_tables ipv6 fuse dm_mirror dm_region_hash dm_log dm_mod uinput ppdev parport_pc parport e1000 snd_ens1371 snd_rawmidi snd_ac97_codec ac97_bus snd_seq snd_seq_device snd_pcm snd_timer snd soundcore snd_page_alloc sg vmware_balloon i2c_piix4 i2c_core shpchp ext4 jbd2 mbcache sd_mod crc_t10dif sr_mod cdrom mptspi mptscsih mptbase scsi_transport_spi pata_acpi ata_generic ata_piix [last unloaded: mgs]

Pid: 20413, comm: rmmod Not tainted 2.6.32431 #1 VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform
RIP: 0010:[&amp;lt;ffffffffa035545e&amp;gt;]  [&amp;lt;ffffffffa035545e&amp;gt;] idmap_destroy+0xe/0x1d0 [nodemap]
RSP: 0018:ffff88007d3fdd98  EFLAGS: 00010292
RAX: 0000000000000000 RBX: ffffffffffffffe0 RCX: 0000000000000003
RDX: 0000000000000001 RSI: ffff880037e4f930 RDI: ffffffffffffffe0
RBP: ffff88007d3fdda8 R08: ffffffff81c064c0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffffffffe0
R13: ffff880037e4f8e8 R14: 0000000000000000 R15: ffff880037e4f930
FS:  00007f3e0c93e700(0000) GS:ffff88000c400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 0000000060162000 CR4: 00000000000407f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
&lt;span class=&quot;code-object&quot;&gt;Process&lt;/span&gt; rmmod (pid: 20413, threadinfo ffff88007d3fc000, task ffff88007a18d500)
Stack:
 ffff88007d3fde58 ffffffffffffffe0 ffff88007d3fddd8 ffffffffa0355663
&amp;lt;d&amp;gt; 0000000000000000 ffffffff810d3419 ffff880037e4f8c0 ffff880037e4f8e8
&amp;lt;d&amp;gt; ffff88007d3fde08 ffffffffa03532c6 ffff88007d3fdde8 ffff88007d443780
Call Trace:
 [&amp;lt;ffffffffa0355663&amp;gt;] idmap_delete_tree+0x43/0x60 [nodemap]
 [&amp;lt;ffffffff810d3419&amp;gt;] ? __stop_cpus+0x59/0x80
 [&amp;lt;ffffffffa03532c6&amp;gt;] nodemap_destroy+0x56/0x210 [nodemap]
 [&amp;lt;ffffffffa03534ad&amp;gt;] nodemap_putref+0x2d/0xa0 [nodemap]
 [&amp;lt;ffffffffa0353532&amp;gt;] nodemap_hs_put_locked+0x12/0x20 [nodemap]
 [&amp;lt;ffffffffa040ac21&amp;gt;] cfs_hash_bd_del_locked+0x91/0x140 [libcfs]
 [&amp;lt;ffffffffa040c1d1&amp;gt;] cfs_hash_putref+0x191/0x480 [libcfs]
 [&amp;lt;ffffffffa03545ba&amp;gt;] nodemap_cleanup_all+0x2a/0x30 [nodemap]
 [&amp;lt;ffffffffa03545ce&amp;gt;] nodemap_mod_exit+0xe/0x20 [nodemap]
 [&amp;lt;ffffffff810b94d4&amp;gt;] sys_delete_module+0x194/0x260
 [&amp;lt;ffffffff810e16c7&amp;gt;] ? audit_syscall_entry+0x1d7/0x200
 [&amp;lt;ffffffff8100b072&amp;gt;] system_call_fastpath+0x16/0x1b
Code: 74 d9 e9 6c ff ff ff 66 0f 1f 44 00 00 48 83 c7 48 e9 4c ff ff ff 0f 1f 80 00 00 00 00 55 48 89 e5 53 48 83 ec 08 0f 1f 44 00 00 &amp;lt;48&amp;gt; 8b 47 20 48 8d 57 20 48 89 fb 48 83 e0 fc 48 39 d0 0f 84 73 
RIP  [&amp;lt;ffffffffa035545e&amp;gt;] idmap_destroy+0xe/0x1d0 [nodemap]
 RSP &amp;lt;ffff88007d3fdd98&amp;gt;
CR2: 0000000000000000
---[ end trace 1c64b1dd0883bf35 ]---
Kernel panic - not syncing: Fatal exception
Pid: 20413, comm: rmmod Tainted: G      D    ---------------    2.6.32431 #1
Call Trace:
 [&amp;lt;ffffffff81526137&amp;gt;] ? panic+0xa7/0x16f
 [&amp;lt;ffffffff8152a474&amp;gt;] ? oops_end+0xe4/0x100
 [&amp;lt;ffffffff8104a04b&amp;gt;] ? no_context+0xfb/0x260
 [&amp;lt;ffffffff8104a2d5&amp;gt;] ? __bad_area_nosemaphore+0x125/0x1e0
 [&amp;lt;ffffffff8104a3fe&amp;gt;] ? bad_area+0x4e/0x60
 [&amp;lt;ffffffff8104abaf&amp;gt;] ? __do_page_fault+0x3cf/0x480
 [&amp;lt;ffffffff81059b61&amp;gt;] ? update_curr+0xe1/0x1f0
 [&amp;lt;ffffffff81526850&amp;gt;] ? thread_return+0x4e/0x76e
 [&amp;lt;ffffffff81014979&amp;gt;] ? sched_clock+0x9/0x10
 [&amp;lt;ffffffff8152c39e&amp;gt;] ? do_page_fault+0x3e/0xa0
 [&amp;lt;ffffffff81529755&amp;gt;] ? page_fault+0x25/0x30
 [&amp;lt;ffffffffa035545e&amp;gt;] ? idmap_destroy+0xe/0x1d0 [nodemap]
 [&amp;lt;ffffffffa0355663&amp;gt;] ? idmap_delete_tree+0x43/0x60 [nodemap]
 [&amp;lt;ffffffff810d3419&amp;gt;] ? __stop_cpus+0x59/0x80
 [&amp;lt;ffffffffa03532c6&amp;gt;] ? nodemap_destroy+0x56/0x210 [nodemap]
 [&amp;lt;ffffffffa03534ad&amp;gt;] ? nodemap_putref+0x2d/0xa0 [nodemap]
 [&amp;lt;ffffffffa0353532&amp;gt;] ? nodemap_hs_put_locked+0x12/0x20 [nodemap]
 [&amp;lt;ffffffffa040ac21&amp;gt;] ? cfs_hash_bd_del_locked+0x91/0x140 [libcfs]
 [&amp;lt;ffffffffa040c1d1&amp;gt;] ? cfs_hash_putref+0x191/0x480 [libcfs]
 [&amp;lt;ffffffffa03545ba&amp;gt;] ? nodemap_cleanup_all+0x2a/0x30 [nodemap]
 [&amp;lt;ffffffffa03545ce&amp;gt;] ? nodemap_mod_exit+0xe/0x20 [nodemap]
 [&amp;lt;ffffffff810b94d4&amp;gt;] ? sys_delete_module+0x194/0x260
 [&amp;lt;ffffffff810e16c7&amp;gt;] ? audit_syscall_entry+0x1d7/0x200
 [&amp;lt;ffffffff8100b072&amp;gt;] ? system_call_fastpath+0x16/0x1b
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="23447">LU-4702</key>
            <summary>crash in idmap_destroy() when unload module</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="niu">Niu Yawei</assignee>
                                    <reporter username="niu">Niu Yawei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 4 Mar 2014 05:28:52 +0000</created>
                <updated>Tue, 11 Mar 2014 01:20:09 +0000</updated>
                            <resolved>Tue, 11 Mar 2014 01:20:09 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="78312" author="niu" created="Tue, 4 Mar 2014 05:31:39 +0000"  >&lt;p&gt;Look into the code:&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;#define nm_rbtree_postorder_for_each_entry_safe(pos, n,                 \
                                                root, field)            \
        &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; (pos = rb_entry(nm_rb_first_postorder(root), typeof(*pos),  \
                            field),                                     \
                n = rb_entry(nm_rb_next_postorder(&amp;amp;pos-&amp;gt;field),         \
                typeof(*pos), field);                                   \
                &amp;amp;pos-&amp;gt;field;                                            \
                pos = n,                                                \
                n = rb_entry(nm_rb_next_postorder(&amp;amp;pos-&amp;gt;field),         \
                             typeof(*pos), field))
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Shouldn&apos;t we check if nm_rb_first/next_postorder(root) returns NULL? &lt;/p&gt;</comment>
                            <comment id="78448" author="niu" created="Wed, 5 Mar 2014 12:21:08 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/9500&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9500&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="78959" author="niu" created="Tue, 11 Mar 2014 01:20:09 +0000"  >&lt;p&gt;patch landed for 2.6&lt;/p&gt;</comment>
                    </comments>
                    <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|hzwgo7:</customfieldvalue>

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