<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:18:17 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-15435] __req_capsule_get(): ASSERTION( msg != ((void *)0) ) failed</title>
                <link>https://jira.whamcloud.com/browse/LU-15435</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;[ 8032.711092] Lustre: DEBUG MARKER: == replay-single test 120: DNE fail abort should stop both normal and DNE replay ========================================================== 02:17:06 (1641539826)
[ 8035.011569] Lustre: DEBUG MARKER: mds1 REPLAY BARRIER on lustre-MDT0000
[ 8039.713015] LustreError: 3379:0:(client.c:1256:ptlrpc_import_delay_req()) @@@ IMP_CLOSED  req@ffff8800b8280e40 x1721270907084672/t0(0) o41-&amp;gt;lustre-MDT0001-osp-MDT0000@0@lo:24/4 lens 224/368 e 0 to 0 dl 0 ref 1 fl Rpc:QU/0/ffffffff rc 0/-1 job:&apos;osp-pre-1-0.0&apos;
[ 8044.896335] LDISKFS-fs (dm-0): recovery complete
[ 8044.897515] LDISKFS-fs (dm-0): mounted filesystem with ordered data mode. Opts: user_xattr,errors=remount-ro,no_mbcache,nodelalloc
[ 8044.930912] LustreError: 17886:0:(layout.c:2135:__req_capsule_get()) ASSERTION( msg != ((void *)0) ) failed: 
[ 8044.932996] LustreError: 17886:0:(layout.c:2135:__req_capsule_get()) LBUG
[ 8044.934449] Pid: 17886, comm: mount.lustre 3.10.0-7.9-debug #1 SMP Fri Dec 3 22:45:13 EST 2021
[ 8044.936411] Call Trace:
[ 8044.937112] [&amp;lt;0&amp;gt;] libcfs_call_trace+0x90/0xf0 [libcfs]
[ 8044.938341] [&amp;lt;0&amp;gt;] lbug_with_loc+0x4c/0xa0 [libcfs]
[ 8044.939612] [&amp;lt;0&amp;gt;] __req_capsule_get+0x5d6/0x6a0 [ptlrpc]
[ 8044.940945] [&amp;lt;0&amp;gt;] req_capsule_server_get+0x18/0x20 [ptlrpc]
[ 8044.942292] [&amp;lt;0&amp;gt;] mgc_target_register+0x219/0x530 [mgc]
[ 8044.943544] [&amp;lt;0&amp;gt;] mgc_set_info_async+0x3cb/0x1350 [mgc]
[ 8044.944799] [&amp;lt;0&amp;gt;] server_start_targets+0x12ae/0x2bc0 [obdclass]
[ 8044.946183] [&amp;lt;0&amp;gt;] server_fill_super+0x11fa/0x18a0 [obdclass]
[ 8044.947564] [&amp;lt;0&amp;gt;] lustre_fill_super+0x3e8/0x440 [lustre]
[ 8044.948776] [&amp;lt;0&amp;gt;] mount_nodev+0x4d/0xb0
[ 8044.949791] [&amp;lt;0&amp;gt;] lustre_mount+0x18/0x20 [lustre]
[ 8044.950876] [&amp;lt;0&amp;gt;] mount_fs+0x39/0x1b0
[ 8044.951675] [&amp;lt;0&amp;gt;] vfs_kern_mount+0x67/0x110
[ 8044.952573] [&amp;lt;0&amp;gt;] do_mount+0x1ef/0xce0
[ 8044.953666] [&amp;lt;0&amp;gt;] SyS_mount+0x83/0xd0
[ 8044.954575] [&amp;lt;0&amp;gt;] system_call_fastpath+0x1f/0x24
[ 8044.955738] [&amp;lt;0&amp;gt;] 0xfffffffffffffffe
[ 8044.956664] Kernel panic - not syncing: LBUG
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="67917">LU-15435</key>
            <summary>__req_capsule_get(): ASSERTION( msg != ((void *)0) ) failed</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="zam">Alexander Zarochentsev</assignee>
                                    <reporter username="zam">Alexander Zarochentsev</reporter>
                        <labels>
                    </labels>
                <created>Tue, 11 Jan 2022 13:41:47 +0000</created>
                <updated>Sat, 21 Jan 2023 01:27:49 +0000</updated>
                            <resolved>Sun, 27 Mar 2022 16:19:19 +0000</resolved>
                                                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="322287" author="zam" created="Tue, 11 Jan 2022 13:50:32 +0000"  >&lt;p&gt;recently landed &quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15112&quot; title=&quot;attempt to register an OST with duplicated index should fail but it does not&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15112&quot;&gt;&lt;del&gt;LU-15112&lt;/del&gt;&lt;/a&gt; mgc: do not ignore target registration failure&quot; exposes a race in &lt;br/&gt;
ptlrpc between late reply for a target registration request (in our case) and ptlrpc_abort_inflight() from another thread. I.e. late reply sets only rq_replied flag and leaves rq_repmsg == NULL as the request already passed RQ_PHASE_INTERPRET w/o unlinking the reply buffer from the network stack.&lt;br/&gt;
It would be good to fix the race to prevent unexpected memory writes from LNET (regardless of the &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15112&quot; title=&quot;attempt to register an OST with duplicated index should fail but it does not&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15112&quot;&gt;&lt;del&gt;LU-15112&lt;/del&gt;&lt;/a&gt; patch ).&lt;/p&gt;</comment>
                            <comment id="322374" author="shadow" created="Tue, 11 Jan 2022 19:49:42 +0000"  >&lt;p&gt;&lt;a href=&quot;http://testing.linuxhacker.ru/lustre-reports/20938/testresults/replay-single-ldiskfs-DNE-centos7_x86_64-centos7_x86_64/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://testing.linuxhacker.ru/lustre-reports/20938/testresults/replay-single-ldiskfs-DNE-centos7_x86_64-centos7_x86_64/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;as example.&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;# grep -e ffff8801162e0000 -e 1721270907086464 oleg350-server-vmcore-lustredebug.txt
00000100:00100000:2.0:1641539838.802557:0:17886:0:(client.c:1733:ptlrpc_send_new_req()) Sending RPC req@ffff8801162e0000 pname:cluuid:pid:xid:nid:opc:job mount.lustre:f02f8fc1-f5c4-4b25-8bc1-6741dcc62ca5:17886:1721270907086464:0@lo:253:mount.lustre.0
00000100:00100000:1.0:1641539838.802613:0:17893:0:(service.c:2134:ptlrpc_server_handle_req_in()) got req x1721270907086464
00000100:00100000:1.0:1641539838.802622:0:17893:0:(service.c:2303:ptlrpc_server_handle_request()) Handling RPC req@ffff8800a466e850 pname:cluuid+ref:pid:xid:nid:opc:job ll_mgs_0002:0+-99:17886:x1721270907086464:12345-0@lo:253:mount.lustre.0
00000100:00100000:3.0:1641539838.802627:0:3378:0:(client.c:3314:ptlrpc_abort_inflight()) @@@ inflight  req@ffff8801162e0000 x1721270907086464/t0(0) o253-&amp;gt;MGC192.168.203.150@tcp@0@lo:26/25 lens 4768/4768 e 0 to 0 dl 1641539845 ref 2 fl Rpc:Qr/0/ffffffff rc 0/-1 job:&apos;mount.lustre.0&apos;
00000100:00100000:1.0:1641539838.802643:0:17893:0:(service.c:2352:ptlrpc_server_handle_request()) Handled RPC req@ffff8800a466e850 pname:cluuid+ref:pid:xid:nid:opc:job ll_mgs_0002:0+-99:17886:x1721270907086464:12345-0@lo:253:mount.lustre.0 Request processed in 20us (50us total) trans 0 rc -107/-107
00000100:00100000:2.0:1641539838.802643:0:17886:0:(client.c:2210:ptlrpc_check_set()) Completed RPC req@ffff8801162e0000 pname:cluuid:pid:xid:nid:opc:job mount.lustre:f02f8fc1-f5c4-4b25-8bc1-6741dcc62ca5:17886:1721270907086464:0@lo:253:mount.lustre.0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="322780" author="gerrit" created="Fri, 14 Jan 2022 17:52:30 +0000"  >&lt;p&gt;&quot;Alexander Zarochentsev &amp;lt;alexander.zarochentsev@hpe.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/46132&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46132&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15435&quot; title=&quot;__req_capsule_get(): ASSERTION( msg != ((void *)0) ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15435&quot;&gt;&lt;del&gt;LU-15435&lt;/del&gt;&lt;/a&gt; ptlrpc: unregister reply buffer on rq_err&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: fc2e3e4c66509a8bf44d4fc3e914440a4848a933&lt;/p&gt;</comment>
                            <comment id="330314" author="gerrit" created="Sun, 27 Mar 2022 03:55:06 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/46132/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46132/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15435&quot; title=&quot;__req_capsule_get(): ASSERTION( msg != ((void *)0) ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15435&quot;&gt;&lt;del&gt;LU-15435&lt;/del&gt;&lt;/a&gt; ptlrpc: unregister reply buffer on rq_err&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: d8012811cc6ff9c7f0fb1ddfec9461e9ff963e54&lt;/p&gt;</comment>
                            <comment id="330322" author="pjones" created="Sun, 27 Mar 2022 16:19:19 +0000"  >&lt;p&gt;Landed for 2.15&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="66684">LU-15112</issuekey>
        </issuelink>
                            </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|i02ecn:</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>