<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:55:08 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-5858] lu_object_find_slice() returns NULL and ERR_PTRs</title>
                <link>https://jira.whamcloud.com/browse/LU-5858</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;lu_object_find_slice() may return NULL or an ERR_PTR. Not all callers of cl_object_find() and mdd_object_find() will handle a NULL return properly. Here is an example (found via RPC fault injection) where cl_object_find() has returned NULL, this was not detected to be an error, and NULL was assigned to lli_clob.&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;[70908.947212] LustreError: 10435:0:(lcommon_cl.c:1162:cl_file_inode_init()) Failure to initialize cl object [0x2c0000400:0x172:0x0]: -5
[70908.949691] LustreError: 10435:0:(llite_lib.c:2416:ll_prep_inode()) new_inode -fatal: rc -5
[70908.949859] BUG: unable to handle kernel NULL pointer dereference at (null)
[70908.949861] IP: [&amp;lt;ffffffffa06be04e&amp;gt;] cl_object_top+0xe/0x150 [obdclass]
[70908.949906] PGD 0 
[70908.949908] Oops: 0000 [#1] SMP 
[70908.949910] last sysfs file: /sys/devices/system/cpu/possible
[70908.949915] CPU 1 
[70908.949916] Modules linked in: lustre(U) ofd(U) osp(U) lod(U) ost(U) mdt(U) mdd(U) mgs(U) osd_ldiskfs(U) ldiskfs(U) exportfs lquota(U) lfsck(U) jbd obdecho(U) mgc(U) lov(U) osc(U) mdc(U) lmv(U) fid(U) fld(U) ptlrpc(U) obdclass(U) ksocklnd(U) lnet(U) sha512_generic sha256_generic libcfs(U) autofs4 nfs lockd fscache auth_rpcgss nfs_acl sunrpc ipv6 zfs(U) zcommon(U) znvpair(U) zavl(U) zunicode(U) spl(U) zlib_deflate microcode virtio_net i2c_piix4 i2c_core virtio_balloon 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: speedstep_lib]
[70908.949964] 
[70908.949966] Pid: 10698, comm: ll_sa_10435 Not tainted 2.6.32-431.29.2.el6.lustre.x86_64 #1 Bochs Bochs
[70908.949969] RIP: 0010:[&amp;lt;ffffffffa06be04e&amp;gt;]  [&amp;lt;ffffffffa06be04e&amp;gt;] cl_object_top+0xe/0x150 [obdclass]
[70908.950001] RSP: 0018:ffff88004ef77ba0  EFLAGS: 00010286
[70908.950003] RAX: ffff88004c7bd710 RBX: ffff880054551e50 RCX: 0000000000000000
[70908.950006] RDX: ffff88004f541978 RSI: ffffffffa06fffe0 RDI: 0000000000000000
[70908.950008] RBP: ffff88004ef77bb0 R08: 0000000000000001 R09: 0000000000000001
[70908.950010] R10: 0000000000000000 R11: 0000000000000000 R12: ffff880049d04b48
[70908.950013] R13: 0000000000000005 R14: 0000000000000000 R15: ffff88004c7bd710
[70908.950015] FS:  0000000000000000(0000) GS:ffff88002c200000(0000) knlGS:0000000000000000
[70908.950018] CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
[70908.950020] CR2: 0000000000000000 CR3: 0000000117fd0000 CR4: 00000000000006e0
[70908.950030] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[70908.950034] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[70908.950036] Process ll_sa_10435 (pid: 10698, threadinfo ffff88004ef76000, task ffff88004d508200)
[70908.950037] Stack:
[70908.950038]  ffff88004ef77bb0 ffff880054551e50 ffff88004ef77bf0 ffffffffa06c7a6d
[70908.950041] &amp;lt;d&amp;gt; ffff88004ef77bf0 ffff88004ef77c1c ffff8800517b12b8 0000000000000001
[70908.950043] &amp;lt;d&amp;gt; 0000000000000001 0000000000000001 ffff88004ef77c40 ffffffffa0e0ff58
[70908.950046] Call Trace:
[70908.950074]  [&amp;lt;ffffffffa06c7a6d&amp;gt;] cl_io_init+0x3d/0xe0 [obdclass]
[70908.950097]  [&amp;lt;ffffffffa0e0ff58&amp;gt;] cl_glimpse_size0+0x78/0x120 [lustre]
[70908.950110]  [&amp;lt;ffffffffa0e0a5cb&amp;gt;] ll_agl_trigger+0xbb/0x270 [lustre]
[70908.950124]  [&amp;lt;ffffffffa0e0c389&amp;gt;] sa_handle_callback+0x4a9/0x820 [lustre]
[70908.950129]  [&amp;lt;ffffffff8109efc4&amp;gt;] ? remove_wait_queue+0x24/0x50
[70908.950143]  [&amp;lt;ffffffffa0e0e7bf&amp;gt;] ll_statahead_thread+0x3ef/0x14b0 [lustre]
[70908.950146]  [&amp;lt;ffffffff810b74bd&amp;gt;] ? trace_hardirqs_on+0xd/0x10
[70908.950150]  [&amp;lt;ffffffff81061d90&amp;gt;] ? default_wake_function+0x0/0x20
[70908.950163]  [&amp;lt;ffffffffa0e0e3d0&amp;gt;] ? ll_statahead_thread+0x0/0x14b0 [lustre]
[70908.950166]  [&amp;lt;ffffffff8109e856&amp;gt;] kthread+0x96/0xa0
[70908.950169]  [&amp;lt;ffffffff8100c30a&amp;gt;] child_rip+0xa/0x20
[70908.950173]  [&amp;lt;ffffffff815562e0&amp;gt;] ? _spin_unlock_irq+0x30/0x40
[70908.950175]  [&amp;lt;ffffffff8100bb10&amp;gt;] ? restore_args+0x0/0x30
[70908.950177]  [&amp;lt;ffffffff8109e7c0&amp;gt;] ? kthread+0x0/0xa0
[70908.950179]  [&amp;lt;ffffffff8100c300&amp;gt;] ? child_rip+0x0/0x20
[70908.950180] Code: 84 b8 fe ff ff 48 89 df e8 90 9c ac e0 48 c7 c3 f4 ff ff ff e9 25 ff ff ff 0f 1f 40 00 55 48 89 e5 53 48 83 ec 08 0f 1f 44 00 00 &amp;lt;48&amp;gt; 8b 07 0f 1f 80 00 00 00 00 48 89 c2 48 8b 80 a0 00 00 00 48 
[70908.950198] RIP  [&amp;lt;ffffffffa06be04e&amp;gt;] cl_object_top+0xe/0x150 [obdclass]
[70908.950220]  RSP &amp;lt;ffff88004ef77ba0&amp;gt;
[70908.950221] CR2: 0000000000000000
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="27445">LU-5858</key>
            <summary>lu_object_find_slice() returns NULL and ERR_PTRs</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</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="bogl">Bob Glossman</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>ERR_PTR</label>
                            <label>obdclass</label>
                    </labels>
                <created>Tue, 4 Nov 2014 16:32:24 +0000</created>
                <updated>Fri, 5 Jun 2015 00:32:45 +0000</updated>
                            <resolved>Thu, 11 Dec 2014 18:32:30 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="98300" author="jlevi" created="Tue, 4 Nov 2014 18:29:00 +0000"  >&lt;p&gt;Bob,&lt;br/&gt;
Could you look into this one?&lt;br/&gt;
Thank you!&lt;/p&gt;</comment>
                            <comment id="98318" author="bogl" created="Tue, 4 Nov 2014 19:17:54 +0000"  >&lt;p&gt;proposed fix:&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/12554&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12554&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="101061" author="gerrit" created="Tue, 9 Dec 2014 08:12:26 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/12554/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12554/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5858&quot; title=&quot;lu_object_find_slice() returns NULL and ERR_PTRs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5858&quot;&gt;&lt;del&gt;LU-5858&lt;/del&gt;&lt;/a&gt; obdclass: eliminate NULL error return&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 81f7a3ceea4039f8f81d3aa009079aa27b3fb1b2&lt;/p&gt;</comment>
                            <comment id="101342" author="jlevi" created="Thu, 11 Dec 2014 18:32:30 +0000"  >&lt;p&gt;Patch landed to Master.&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|hzx05z:</customfieldvalue>

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