<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:01:52 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-13508] crash in sanity test 160j</title>
                <link>https://jira.whamcloud.com/browse/LU-13508</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This seems to only trigger when running in &quot;one unmount/mount per subtest&quot; mode like this:&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;FLAKEY=false REFORMAT=yes ONLY=&quot;160-999&quot; MDSCOUNT=2 SETUP=setup CLEANUP=cleanup sh sanity.sh
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;The crash is 100% reproducible on a single node testing and looks like this:&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;[421223.630585] Lustre: server umount lustre-OST0001 complete
[421223.879781] general protection fault: 0000 [#1] SMP DEBUG_PAGEALLOC
[421223.881119] Modules linked in: ofd(OE) osp(OE) lod(OE) ost(OE) mdt(OE) mdd(OE) mgs(OE) osd_ldiskfs(OE) ldiskfs(OE) lquota(OE) lfsck(OE) obdecho(OE) mgc(OE) lov(OE) mdc(OE) osc(OE) lmv(OE) fid(OE) fld(OE) ptlrpc_gss(OE) ptlrpc(OE) obdclass(OE) ksocklnd(OE) lnet(OE) libcfs(OE) pcc_cpufreq loop zfs(PO) zunicode(PO) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) jbd2 mbcache crc32_generic crc_t10dif crct10dif_generic crct10dif_common virtio_balloon pcspkr virtio_console i2c_piix4 binfmt_misc ip_tables rpcsec_gss_krb5 ata_generic pata_acpi drm_kms_helper ttm drm ata_piix drm_panel_orientation_quirks serio_raw libata virtio_blk i2c_core floppy [last unloaded: lustre]
[421223.890017] CPU: 1 PID: 18476 Comm: sh Kdump: loaded Tainted: P           OE  ------------   3.10.0-7.7-debug #1
[421223.890922] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[421223.891370] task: ffff8803b185a340 ti: ffff8800ca418000 task.ti: ffff8800ca418000
[421223.892207] RIP: 0010:[&amp;lt;ffffffff8110a016&amp;gt;]  [&amp;lt;ffffffff8110a016&amp;gt;] module_put+0x26/0xc0
[421223.893060] RSP: 0018:ffff8800ca41bda8  EFLAGS: 00010202
[421223.893504] RAX: ffff8800ca41bfd8 RBX: 6b6b6b6b6b6b6b6b RCX: ffff8800ca41bce0
[421223.894355] RDX: 000000000000000b RSI: 800000038530b060 RDI: 6b6b6b6b6b6b6b6b
[421223.895185] RBP: ffff8800ca41bdc0 R08: 0000000000000001 R09: 0000000000000067
[421223.896016] R10: ffff880000000148 R11: 0000000000000000 R12: 6b6b6b6b6b6b6b6b
[421223.896871] R13: ffff8803dd8d6d30 R14: ffff8803ca1ff168 R15: ffff8803d43ece60
[421223.897696] FS:  00007ffa9ed7f740(0000) GS:ffff8803f4640000(0000) knlGS:0000000000000000
[421223.898540] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[421223.898991] CR2: 00007f119516c8d0 CR3: 0000000001c10000 CR4: 00000000000006e0
[421223.899845] Call Trace:
[421223.900249]  [&amp;lt;ffffffff812448e0&amp;gt;] cdev_put+0x20/0x30
[421223.900684]  [&amp;lt;ffffffff812415c6&amp;gt;] __fput+0x266/0x300
[421223.901129]  [&amp;lt;ffffffff8124173e&amp;gt;] ____fput+0xe/0x10
[421223.901565]  [&amp;lt;ffffffff810b4af5&amp;gt;] task_work_run+0xb5/0xf0
[421223.902010]  [&amp;lt;ffffffff81092395&amp;gt;] do_exit+0x2f5/0xb30
[421223.902450]  [&amp;lt;ffffffff817e0ee1&amp;gt;] ? system_call_after_swapgs+0xae/0x146
[421223.902941]  [&amp;lt;ffffffff81092c4f&amp;gt;] do_group_exit+0x3f/0xa0
[421223.904158]  [&amp;lt;ffffffff81092cc4&amp;gt;] SyS_exit_group+0x14/0x20
[421223.904605]  [&amp;lt;ffffffff817e0f98&amp;gt;] system_call_fastpath+0x1f/0x24
[421223.905071]  [&amp;lt;ffffffff817e0ee1&amp;gt;] ? system_call_after_swapgs+0xae/0x146
[421223.905550] Code: 00 00 00 00 00 0f 1f 44 00 00 55 48 85 ff 48 89 e5 41 55 41 54 49 89 fc 53 74 3c 65 48 8b 04 25 f8 0e 01 00 83 80 44 c0 ff ff 01 &amp;lt;48&amp;gt; 8b 87 30 02 00 00 65 48 ff 40 08 4c 8b 6d 08 0f 1f 44 00 00 
[421223.907311] RIP  [&amp;lt;ffffffff8110a016&amp;gt;] module_put+0x26/0xc0
[421223.907761]  RSP &amp;lt;ffff8800ca41bda8&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I thin kit must be due to some recent module changes for upstreaming/cleanup reasons?&lt;/p&gt;</description>
                <environment></environment>
        <key id="59021">LU-13508</key>
            <summary>crash in sanity test 160j</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="hongchao.zhang">Hongchao Zhang</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Sat, 2 May 2020 04:25:23 +0000</created>
                <updated>Fri, 19 Jun 2020 22:07:33 +0000</updated>
                            <resolved>Fri, 19 Jun 2020 22:07:33 +0000</resolved>
                                    <version>Lustre 2.14.0</version>
                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="269197" author="neilb" created="Mon, 4 May 2020 00:43:57 +0000"  >&lt;p&gt;The module pointer passed to module_put is 0x6b6b6b6b6b6b6b6b which suggests the structure storing the pointer has been freed - 6b is POISON_FREE.&lt;/p&gt;

&lt;p&gt;The pointer was in a &apos;struct cdev&apos; (passed to cdev_put) and the only on in lustre is ced_cdev inside &apos;struct chlg_registered_dev(), so it seems one of those was freed too early.&lt;/p&gt;

&lt;p&gt;That seems to point to&lt;/p&gt;

&lt;p&gt;Commit d0423abc1adc (&quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12506&quot; title=&quot;Client unable to mount filesystem with very large number of MDTs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12506&quot;&gt;&lt;del&gt;LU-12506&lt;/del&gt;&lt;/a&gt; changelog: support large number of MDT&quot;)&lt;/p&gt;

&lt;p&gt;I cannot immediately see the problem there.&#160; Maybe I&apos;ll have another look later.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="269267" author="green" created="Mon, 4 May 2020 21:35:26 +0000"  >&lt;p&gt;That was a great guess, I reverted d0423abc1adc and sure enough the crash is gone.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=hongchao.zhang&quot; class=&quot;user-hover&quot; rel=&quot;hongchao.zhang&quot;&gt;hongchao.zhang&lt;/a&gt; can you please take a look at this?&lt;/p&gt;</comment>
                            <comment id="270533" author="gerrit" created="Tue, 19 May 2020 02:17:53 +0000"  >&lt;p&gt;Hongchao Zhang (hongchao@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/38658&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38658&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13508&quot; title=&quot;crash in sanity test 160j&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13508&quot;&gt;&lt;del&gt;LU-13508&lt;/del&gt;&lt;/a&gt; mdc: chlg device could be used after free&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 2e8a101b2702da08dbd1e294732567dcad4a2660&lt;/p&gt;</comment>
                            <comment id="273312" author="gerrit" created="Fri, 19 Jun 2020 16:50:21 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/38658/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38658/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13508&quot; title=&quot;crash in sanity test 160j&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13508&quot;&gt;&lt;del&gt;LU-13508&lt;/del&gt;&lt;/a&gt; mdc: chlg device could be used after free&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 1e992e94eaf8ac9db2f6a7405cb9b8daf72ed742&lt;/p&gt;</comment>
                            <comment id="273370" author="pjones" created="Fri, 19 Jun 2020 22:07:33 +0000"  >&lt;p&gt;Landed for 2.14&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="56268">LU-12506</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|i00zd3:</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>