<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:45:04 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-4698] obdfilter-survey test_3a crash on OST: tgt_request_handle</title>
                <link>https://jira.whamcloud.com/browse/LU-4698</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;During &quot;normal&quot; run of obdfilter-survey test 3a:&lt;br/&gt;
OST Console log:&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;Mar  3 13:19:14 oss1 kernel: Lustre: Echo OBD driver; http://www.lustre.org/
Mar  3 13:19:17 oss1 kernel: LustreError: 5569:0:(sec_config.c:93:sptlrpc_target_sec_part()) unknown target ffff88001568e038(obdecho)
Mar  3 13:19:17 oss1 kernel: BUG: unable to handle kernel NULL pointer dereference at 000000000000001c
Mar  3 13:19:17 oss1 kernel: IP: [&amp;lt;ffffffffa15db6a5&amp;gt;] tgt_request_handle+0x125/0xac0 [ptlrpc]
Mar  3 13:19:17 oss1 kernel: PGD 0 
Mar  3 13:19:17 oss1 kernel: Oops: 0000 [#1] SMP 
Mar  3 13:19:17 oss1 kernel: last sysfs file: /sys/module/ptlrpc/initstate
Mar  3 13:19:17 oss1 kernel: CPU 0 
Mar  3 13:19:17 oss1 kernel: Modules linked in: lustre(U) ofd(U) osp(U) lod(U) ost(U) mdt(U) mdd(U) mgs(U) nodemap(U) osd_ldiskfs(U) ldiskfs(U) lquota(U) lfsck(U) obdecho(U) mgc(U) lov(U) osc(U) mdc(U) lmv(U) fid(U) fld(U) ptlrpc(U) obdclass(U) ksocklnd(U) lnet(U) libcfs(U) exportfs jbd sha512_generic sha256_generic crc32c_intel nfs lockd fscache auth_rpcgss nfs_acl sunrpc ipv6 ppdev parport_pc parport zfs(P)(U) zcommon(P)(U) znvpair(P)(U) zavl(P)(U) zunicode(P)(U) spl(U) zlib_deflate btusb bluetooth rfkill snd_ens1371 snd_rawmidi snd_ac97_codec ac97_bus snd_seq snd_seq_device snd_pcm snd_timer snd soundcore snd_page_alloc e1000 vmware_balloon sg 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 dm_mirror dm_region_hash dm_log dm_mod [last unloaded: libcfs]
Mar  3 13:19:17 oss1 kernel: 
Mar  3 13:19:17 oss1 kernel: Pid: 5569, comm: ll_ost00_002 Tainted: P           ---------------    2.6.32-431.5.1.el6_lustre.gb1c0d36.x86_64 #1 VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform
Mar  3 13:19:17 oss1 kernel: RIP: 0010:[&amp;lt;ffffffffa15db6a5&amp;gt;]  [&amp;lt;ffffffffa15db6a5&amp;gt;] tgt_request_handle+0x125/0xac0 [ptlrpc]
Mar  3 13:19:17 oss1 kernel: RSP: 0018:ffff8800287f7d50  EFLAGS: 00010246
Mar  3 13:19:17 oss1 kernel: RAX: ffff88002bf41400 RBX: ffff88002bdaec00 RCX: 0000000000000001
Mar  3 13:19:17 oss1 kernel: RDX: ffff88002bf41540 RSI: 0000000000000000 RDI: ffff88002bf41540
Mar  3 13:19:17 oss1 kernel: RBP: ffff8800287f7da0 R08: 0000000000000000 R09: ffffffff81645de0
Mar  3 13:19:17 oss1 kernel: R10: 0000000000000000 R11: 0000000000000000 R12: ffff8800287c7240
Mar  3 13:19:17 oss1 kernel: R13: 0000000000000008 R14: ffff88002bdaef70 R15: 0000000000000000
Mar  3 13:19:17 oss1 kernel: FS:  0000000000000000(0000) GS:ffff880003200000(0000) knlGS:0000000000000000
Mar  3 13:19:17 oss1 kernel: CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
Mar  3 13:19:17 oss1 kernel: CR2: 000000000000001c CR3: 0000000027843000 CR4: 00000000000007f0
Mar  3 13:19:17 oss1 kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Mar  3 13:19:17 oss1 kernel: DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Mar  3 13:19:17 oss1 kernel: Process ll_ost00_002 (pid: 5569, threadinfo ffff8800287f6000, task ffff88002921a080)
Mar  3 13:19:17 oss1 kernel: Stack:
Mar  3 13:19:17 oss1 kernel: 0000000000000010 ffff8800287f7d01 ffff8800287f7d70 ffff880013a7c000
Mar  3 13:19:17 oss1 kernel: &amp;lt;d&amp;gt; ffff880013a7c000 ffff88002b747540 ffff880015218400 ffff88002bdaec00
Mar  3 13:19:17 oss1 kernel: &amp;lt;d&amp;gt; 0000000000000001 ffff88002b6bb200 ffff8800287f7ee0 ffffffffa158a99a
Mar  3 13:19:17 oss1 kernel: Call Trace:
Mar  3 13:19:17 oss1 kernel: [&amp;lt;ffffffffa158a99a&amp;gt;] ptlrpc_main+0xd1a/0x1980 [ptlrpc]
Mar  3 13:19:17 oss1 kernel: [&amp;lt;ffffffff81528090&amp;gt;] ? thread_return+0x4e/0x76e
Mar  3 13:19:17 oss1 kernel: [&amp;lt;ffffffffa1589c80&amp;gt;] ? ptlrpc_main+0x0/0x1980 [ptlrpc]
Mar  3 13:19:17 oss1 kernel: [&amp;lt;ffffffff8109aee6&amp;gt;] kthread+0x96/0xa0
Mar  3 13:19:17 oss1 kernel: [&amp;lt;ffffffff8100c20a&amp;gt;] child_rip+0xa/0x20
Mar  3 13:19:17 oss1 kernel: [&amp;lt;ffffffff8109ae50&amp;gt;] ? kthread+0x0/0xa0
Mar  3 13:19:17 oss1 kernel: [&amp;lt;ffffffff8100c200&amp;gt;] ? child_rip+0x0/0x20
Mar  3 13:19:17 oss1 kernel: Code: 8b 83 48 02 00 00 49 89 44 24 10 48 8b 83 48 02 00 00 f6 80 4d 01 00 00 02 0f 85 4f 03 00 00 49 c7 84 24 88 00 00 00 00 00 00 00 &amp;lt;41&amp;gt; 8b 47 1c 48 89 df 89 45 c4 41 8b 47 18 41 89 84 24 80 00 00 
Mar  3 13:19:17 oss1 kernel: RIP  [&amp;lt;ffffffffa15db6a5&amp;gt;] tgt_request_handle+0x125/0xac0 [ptlrpc]
Mar  3 13:19:17 oss1 kernel: RSP &amp;lt;ffff8800287f7d50&amp;gt;
Mar  3 13:19:17 oss1 kernel: CR2: 000000000000001c
Mar  3 13:19:17 oss1 kernel: ---[ end trace be0e3de8467532c8 ]---
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>patch on master, single MDS/MGS, single OSS, two OSTs</environment>
        <key id="23429">LU-4698</key>
            <summary>obdfilter-survey test_3a crash on OST: tgt_request_handle</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="utopiabound">Nathaniel Clark</assignee>
                                    <reporter username="utopiabound">Nathaniel Clark</reporter>
                        <labels>
                    </labels>
                <created>Mon, 3 Mar 2014 18:27:22 +0000</created>
                <updated>Tue, 22 Dec 2015 03:41:03 +0000</updated>
                            <resolved>Tue, 7 Jul 2015 11:53:02 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="79254" author="adilger" created="Thu, 13 Mar 2014 17:12:17 +0000"  >&lt;p&gt;On my local system the faulting address decodes to:&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;(gdb) list *(tgt_request_handle+0x125)
0xb16c5 is in tgt_request_handle (/usr/src/lustre-head/lustre/ptlrpc/../../lustre/target/tgt_handler.c:629).
624             if (exp_connect_flags(req-&amp;gt;rq_export) &amp;amp; OBD_CONNECT_JOBSTATS)
625                     tsi-&amp;gt;tsi_jobid = lustre_msg_get_jobid(req-&amp;gt;rq_reqmsg);
626             else
627                     tsi-&amp;gt;tsi_jobid = NULL;
628
629             request_fail_id = tgt-&amp;gt;lut_request_fail_id;
630             tsi-&amp;gt;tsi_reply_fail_id = tgt-&amp;gt;lut_reply_fail_id;
631
632             h = tgt_handler_find_check(req);
633             if (IS_ERR(h)) {
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;but it should be decoded on the actual system, since it might be different.  What patch was being tested?  The oops in the above case would be the first dereference of the &quot;tgt&quot; pointer (exp-&amp;gt;exp_obd-&amp;gt;u.obt.obt_lut).  Maybe that relates to the patch?&lt;/p&gt;</comment>
                            <comment id="81421" author="utopiabound" created="Fri, 11 Apr 2014 14:16:32 +0000"  >&lt;p&gt;I decoded in when I hit this again on tip of master &lt;a href=&quot;http://review.whamcloud.com/#/c/9350/4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/9350/4&lt;/a&gt; and it was the same as Andreas&apos;s.  It is definitely the deref of tgt.&lt;/p&gt;</comment>
                            <comment id="81453" author="utopiabound" created="Fri, 11 Apr 2014 20:41:25 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/9936&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9936&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="113554" author="pjones" created="Mon, 27 Apr 2015 21:50:42 +0000"  >&lt;p&gt;Is this patch something we should try and resurrect for 2.8?&lt;/p&gt;</comment>
                            <comment id="114596" author="gerrit" created="Thu, 7 May 2015 16:17:58 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/9936/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9936/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4698&quot; title=&quot;obdfilter-survey test_3a crash on OST: tgt_request_handle&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4698&quot;&gt;&lt;del&gt;LU-4698&lt;/del&gt;&lt;/a&gt; target: check for NULL tgt before deref&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 4b3cea8249337dd6e5037b5fb7e4557efa92de5a&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="26757">LU-5677</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|hzwgkv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>12920</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>