<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:31:00 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-3104] Oops in dmu_tx_hold_spill()</title>
                <link>https://jira.whamcloud.com/browse/LU-3104</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;# FSTYPE=zfs MOUNT_2=y llmount.sh
...
# cd /mnt/lustre; while true; do sys_mknod f0 r 0 0; sys_unlink f0; done
# cd /mnt/lustre2; while true; do setfattr -n user.0 -v 0 f0; done &amp;amp;

last sysfs file: /sys/devices/pci0000:00/0000:00:05.0/local_cpus
CPU 0
Modules linked in: lustre(U) ofd(U) osp(U) lod(U) ost(U) mdt(U) mdd(U) mgs(U) osd_zfs(U) \
lquota(U) jbd obdecho(U) mgc(U) lov(U) osc(U) mdc(U) lmv(U) fid(U) fld(U) ptlrpc(U) obdcl\
ass(U) lvfs(U) ksocklnd(U) lnet(U) sha512_generic sha256_generic libcfs(U) autofs4 nfs lo\
ckd fscache nfs_acl auth_rpcgss sunrpc ipv6 zfs(P)(U) zcommon(P)(U) znvpair(P)(U) zavl(P)\
(U) zunicode(P)(U) spl(U) zlib_deflate microcode virtio_balloon virtio_net i2c_piix4 i2c_\
core ext4 mbcache jbd2 virtio_blk pata_acpi ata_generic ata_piix virtio_pci virtio_ring v\
irtio dm_mirror dm_region_hash dm_log dm_mod [last unloaded: speedstep_lib]

Pid: 5997, comm: mdt00_002 Tainted: P           ---------------    2.6.32-279.19.1.el6_lustre_gcov.x86_64 #1 Bochs Bochs
RIP: 0010:[&amp;lt;ffffffffa021ff76&amp;gt;]  [&amp;lt;ffffffffa021ff76&amp;gt;] dmu_tx_hold_spill+0x26/0xa0 [zfs]
RSP: 0018:ffff8801629cd9f0  EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffffa02b1580 RDI: ffff88015457d998
RBP: ffff8801629cda00 R08: 000000000000000e R09: ffff880153c38000
R10: ffff8801629cd908 R11: 0000000000000000 R12: ffff88018d2d6500
R13: ffff88015386e6d0 R14: 0000000000000001 R15: 0000000000000755
FS:  00007f65f60cc700(0000) GS:ffff880028200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000018 CR3: 0000000154724000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process mdt00_002 (pid: 5997, threadinfo ffff8801629cc000, task ffff880197c85540)
Stack:
 ffff880156c56200 ffff88018d2d6500 ffff8801629cda40 ffffffffa022175f
&amp;lt;d&amp;gt; ffff8801629cda20 ffff88015468d648 ffff880156c56200 ffffc9000bcdc9d0
&amp;lt;d&amp;gt; 0000000000000001 ffff880167f1e800 ffff8801629cda90 ffffffffa0bc4437
Call Trace:
 [&amp;lt;ffffffffa022175f&amp;gt;] dmu_tx_hold_sa+0x10f/0x190 [zfs]
 [&amp;lt;ffffffffa0bc4437&amp;gt;] __osd_xattr_declare_set+0x107/0x2a0 [osd_zfs]
 [&amp;lt;ffffffffa0bc46f3&amp;gt;] osd_declare_xattr_set+0x123/0x1b0 [osd_zfs]
 [&amp;lt;ffffffffa0cd3853&amp;gt;] lod_declare_xattr_set+0x143/0x410 [lod]
 [&amp;lt;ffffffffa0988dde&amp;gt;] mdd_declare_xattr_set+0x7e/0x1a0 [mdd]
 [&amp;lt;ffffffffa098bd4c&amp;gt;] mdd_xattr_set+0x1dc/0xbf0 [mdd]
 [&amp;lt;ffffffffa0862a74&amp;gt;] ? lustre_msg_get_versions+0xa4/0x120 [ptlrpc]
 [&amp;lt;ffffffffa0c1d46a&amp;gt;] ? mdt_version_save+0x8a/0x1a0 [mdt]
 [&amp;lt;ffffffffa0c23c61&amp;gt;] mdt_reint_setxattr+0x6f1/0x1850 [mdt]
 [&amp;lt;ffffffffa06f57a0&amp;gt;] ? lu_ucred+0x20/0x30 [obdclass]
 [&amp;lt;ffffffffa0c17fcc&amp;gt;] ? mdt_root_squash+0x2c/0x410 [mdt]
 [&amp;lt;ffffffffa0c1c7c1&amp;gt;] mdt_reint_rec+0x41/0xe0 [mdt]
 [&amp;lt;ffffffffa0c15e03&amp;gt;] mdt_reint_internal+0x4e3/0x7d0 [mdt]
 [&amp;lt;ffffffffa0c16134&amp;gt;] mdt_reint+0x44/0xe0 [mdt]
 [&amp;lt;ffffffffa0c040f8&amp;gt;] mdt_handle_common+0x648/0x1660 [mdt]
 [&amp;lt;ffffffffa0c40345&amp;gt;] mds_regular_handle+0x15/0x20 [mdt]
 [&amp;lt;ffffffffa08713cc&amp;gt;] ptlrpc_server_handle_request+0x40c/0xd90 [ptlrpc]
 [&amp;lt;ffffffffa051e5de&amp;gt;] ? cfs_timer_arm+0xe/0x10 [libcfs]
 [&amp;lt;ffffffffa08689f9&amp;gt;] ? ptlrpc_wait_event+0xa9/0x290 [ptlrpc]
 [&amp;lt;ffffffff81052223&amp;gt;] ? __wake_up+0x53/0x70
 [&amp;lt;ffffffffa08728c5&amp;gt;] ptlrpc_main+0xb75/0x1870 [ptlrpc]
 [&amp;lt;ffffffffa0871d50&amp;gt;] ? ptlrpc_main+0x0/0x1870 [ptlrpc]
 [&amp;lt;ffffffff8100c0ca&amp;gt;] child_rip+0xa/0x20
 [&amp;lt;ffffffffa0871d50&amp;gt;] ? ptlrpc_main+0x0/0x1870 [ptlrpc]
 [&amp;lt;ffffffffa0871d50&amp;gt;] ? ptlrpc_main+0x0/0x1870 [ptlrpc]
 [&amp;lt;ffffffff8100c0c0&amp;gt;] ? child_rip+0x0/0x20
Code: 00 00 00 00 00 55 48 89 e5 41 54 53 0f 1f 44 00 00 45 31 c9 45 31 c0 b9 06 00 00 00\
 48 89 f2 48 8b 77 20 e8 fd fd ff ff 48 89 c3 &amp;lt;48&amp;gt; 8b 40 18 48 85 c0 74 14 4c 8b 60 58 41\
 f6 44 24 07 04 75 15
RIP  [&amp;lt;ffffffffa021ff76&amp;gt;] dmu_tx_hold_spill+0x26/0xa0 [zfs]
 RSP &amp;lt;ffff8801629cd9f0&amp;gt;
CR2: 0000000000000018

crash&amp;gt; dis -l dmu_tx_hold_spill+0x26
/tmp/zfs-build-root-PfxtLzjz/BUILD/zfs-0.6.0/module/zfs/../../module/zfs/dmu_tx.c: 1322
0xffffffffa021ff76 &amp;lt;dmu_tx_hold_spill+38&amp;gt;:      mov    0x18(%rax),%rax

void
dmu_tx_hold_spill(dmu_tx_t *tx, uint64_t object)
{
        dnode_t *dn;
        dmu_tx_hold_t *txh;

        txh = dmu_tx_hold_object_impl(tx, tx-&amp;gt;tx_objset, object,
            THT_SPILL, 0, 0);

        dn = txh-&amp;gt;txh_dnode; /* HERE */

        ....
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment># git describe&lt;br/&gt;
2.3.63-47-g1ee132f&lt;br/&gt;
# rpm -q zfs&lt;br/&gt;
zfs-0.6.0-rc14.x86_64&lt;br/&gt;
# rpm -q spl&lt;br/&gt;
spl-0.6.0-rc14.x86_64&lt;br/&gt;
</environment>
        <key id="18238">LU-3104</key>
            <summary>Oops in dmu_tx_hold_spill()</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="5">Cannot Reproduce</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>llnl</label>
                            <label>mq313</label>
                    </labels>
                <created>Thu, 4 Apr 2013 02:37:42 +0000</created>
                <updated>Sat, 9 Oct 2021 06:26:24 +0000</updated>
                            <resolved>Sat, 9 Oct 2021 06:26:24 +0000</resolved>
                                    <version>Lustre 2.4.1</version>
                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="56969" author="behlendorf" created="Wed, 24 Apr 2013 19:19:02 +0000"  >&lt;p&gt;We had an occurrence of this issue, here&apos;s the good bit from our logs.  It sure looks like somehow Lustre called dmu_tx_hold_spill() with a NULL dmu_tx_t pointer.&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;2013-03-27 11:16:13 BUG: unable to handle kernel NULL pointer dereference at 0000000000000018
2013-03-27 11:16:13 IP: [&amp;lt;ffffffffa036d2b6&amp;gt;] dmu_tx_hold_spill+0x26/0xa0 [zfs]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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|hzvn2f:</customfieldvalue>

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