[LU-7142] NULL Pointer dereference __spl_cache_flush+0x7f/0x160 [spl] Created: 11/Sep/15  Updated: 28/Feb/20  Resolved: 28/Feb/20

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.8.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Cliff White (Inactive) Assignee: WC Triage
Resolution: Cannot Reproduce Votes: 0
Labels: None
Environment:

Autotest - sanity-hsm


Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Running sanity-hsm
https://testing.hpdd.intel.com/test_sessions/db122a3c-580d-11e5-a084-5254006e85c2
OST failed with NULL

21:02:41:Lustre: DEBUG MARKER: SKIP: sanity test_250 no 16TB file size limit on ZFS
21:02:41:BUG: unable to handle kernel NULL pointer dereference at 0000000000000020
21:02:41:IP: [<ffffffffa019fb5f>] __spl_cache_flush+0x7f/0x160 [spl]
21:02:41:PGD 0 
21:02:41:Oops: 0000 [#1] SMP 
21:02:41:last sysfs file: /sys/devices/system/cpu/online
21:02:41:CPU 0 
21:02:41:Modules linked in: osp(U) ofd(U) lfsck(U) ost(U) mgc(U) osd_zfs(U) lquota(U) lustre(U) lov(U) mdc(U) fid(U) lmv(U) fld(U) ksocklnd(U) ptlrpc(U) obdclass(U) lnet(U) sha512_generic libcfs(U) nfsd exportfs nfs lockd fscache auth_rpcgss nfs_acl sunrpc ib_ipoib rdma_ucm ib_ucm ib_uverbs ib_umad rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr ipv6 zfs(P)(U) zcommon(P)(U) znvpair(P)(U) spl(U) zlib_deflate zavl(P)(U) zunicode(P)(U) microcode virtio_balloon serio_raw 8139too 8139cp mii i2c_piix4 i2c_core ext3 jbd mbcache virtio_blk pata_acpi ata_generic ata_piix virtio_pci virtio_ring virtio dm_mirror dm_region_hash dm_log dm_mod [last unloaded: speedstep_lib]
21:02:41:
21:02:41:Pid: 21445, comm: txg_sync Tainted: P           -- ------------    2.6.32-573.3.1.el6_lustre.gde57418.x86_64 #1 Red Hat KVM
21:02:41:RIP: 0010:[<ffffffffa019fb5f>]  [<ffffffffa019fb5f>] __spl_cache_flush+0x7f/0x160 [spl]
21:02:41:RSP: 0018:ffff8800782eb440  EFLAGS: 00010086
21:02:41:RAX: 00000000fffe0000 RBX: 0000000000000000 RCX: 000000000000f39a
21:02:41:RDX: ffffc9000dca5010 RSI: ffff88007a708098 RDI: ffffc9000db36018
21:02:41:RBP: ffff8800782eb490 R08: ffffc9000dca5010 R09: afd58ee16762d2af
21:02:41:R10: 000005c49ca83c00 R11: 0000000000000001 R12: ffff88007a700000
21:02:41:R13: 0000000000000002 R14: ffff880037f55c90 R15: 0000000000000008
21:02:41:FS:  0000000000000000(0000) GS:ffff880002200000(0000) knlGS:0000000000000000
21:02:41:CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
21:02:41:CR2: 0000000000000020 CR3: 000000003707f000 CR4: 00000000000006f0
21:02:41:DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
21:02:41:DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
21:02:41:Process txg_sync (pid: 21445, threadinfo ffff8800782e8000, task ffff88006e7faab0)
21:02:41:Stack:
21:02:41: ffff88007032a640 ffffc9000e0cd010 ffff88007a708098 ffff880037f55c80
21:02:41:<d> ffffffff81a95020 ffff88007a7080b0 ffff88007a700000 ffff880037f55c80
21:02:41:<d> 0000000000000008 0000000000000000 ffff8800782eb4c0 ffffffffa019fc86
21:02:41:Call Trace:
21:02:41: [<ffffffffa019fc86>] spl_cache_flush+0x46/0x70 [spl]
21:02:41: [<ffffffffa01a1785>] spl_kmem_cache_free+0x1f5/0x210 [spl]
21:02:41: [<ffffffffa02a56a4>] zio_data_buf_free+0x24/0x30 [zfs]
21:02:41: [<ffffffffa01f7de2>] arc_buf_data_free+0x22/0x50 [zfs]
21:02:41: [<ffffffffa01f83a5>] arc_buf_destroy+0x145/0x1c0 [zfs]
21:02:41: [<ffffffffa01f8cd7>] arc_hdr_destroy+0x277/0x310 [zfs]
21:02:41: [<ffffffffa01f871c>] ? arc_change_state+0x22c/0x350 [zfs]
21:02:41: [<ffffffffa01f934b>] arc_buf_free+0x1bb/0x1f0 [zfs]
21:02:41: [<ffffffffa01f94e4>] arc_buf_remove_ref+0x164/0x170 [zfs]
21:02:41: [<ffffffffa01fa894>] arc_freed+0xe4/0xf0 [zfs]
21:02:41: [<ffffffffa02a8670>] zio_free_sync+0x50/0x150 [zfs]
21:02:41: [<ffffffffa02a8f43>] zio_free+0xd3/0x130 [zfs]
21:02:41: [<ffffffffa0239f01>] dsl_free+0x11/0x20 [zfs]
21:02:41: [<ffffffffa022acb1>] dsl_dataset_block_kill+0x241/0x440 [zfs]
21:02:41: [<ffffffffa0222a7c>] free_blocks+0xcc/0x190 [zfs]
21:02:41: [<ffffffffa02232a0>] free_children+0x270/0x370 [zfs]
21:02:41: [<ffffffffa0206030>] ? dbuf_hold_impl+0x90/0xb0 [zfs]
21:02:41: [<ffffffffa0223171>] free_children+0x141/0x370 [zfs]
21:02:41: [<ffffffffa02ab440>] ? zio_execute+0x0/0x180 [zfs]
21:02:41: [<ffffffffa02234eb>] dnode_sync_free_range+0x14b/0x340 [zfs]
21:02:41: [<ffffffffa02233a0>] ? dnode_sync_free_range+0x0/0x340 [zfs]
21:02:41: [<ffffffffa0242478>] range_tree_vacate+0x58/0xa0 [zfs]
21:02:41: [<ffffffffa022394a>] dnode_sync+0x26a/0x940 [zfs]
21:02:41: [<ffffffffa0207749>] ? dbuf_sync_list+0x59/0x80 [zfs]
21:02:41: [<ffffffffa0211fe9>] dmu_objset_sync_dnodes+0x89/0xb0 [zfs]
21:02:41: [<ffffffffa02121bb>] dmu_objset_sync+0x1ab/0x2e0 [zfs]
21:02:41: [<ffffffffa0210a40>] ? dmu_objset_write_ready+0x0/0x70 [zfs]
21:02:41: [<ffffffffa02122f0>] ? dmu_objset_write_done+0x0/0x70 [zfs]
21:02:41: [<ffffffffa022549c>] dsl_dataset_sync+0x4c/0x60 [zfs]
21:02:41: [<ffffffffa0232a6a>] dsl_pool_sync+0x9a/0x430 [zfs]
21:02:41: [<ffffffffa0248943>] spa_sync+0x443/0xb90 [zfs]
21:02:41: [<ffffffff81059939>] ? __wake_up_common+0x59/0x90
21:02:41: [<ffffffffa025e079>] txg_sync_thread+0x389/0x5f0 [zfs]
21:02:41: [<ffffffffa025dcf0>] ? txg_sync_thread+0x0/0x5f0 [zfs]
21:02:41: [<ffffffffa025dcf0>] ? txg_sync_thread+0x0/0x5f0 [zfs]
21:02:41: [<ffffffffa01a1fb8>] thread_generic_wrapper+0x68/0x80 [spl]
21:02:41: [<ffffffffa01a1f50>] ? thread_generic_wrapper+0x0/0x80 [spl]
21:02:41: [<ffffffff810a101e>] kthread+0x9e/0xc0
21:02:41: [<ffffffff8100c28a>] child_rip+0xa/0x20
21:02:41: [<ffffffff810a0f80>] ? kthread+0x0/0xc0
21:02:41: [<ffffffff8100c280>] ? child_rip+0x0/0x20
21:02:41:Code: 8e 96 00 00 00 41 8b bc 24 54 80 00 00 41 8b 84 24 50 80 00 00 f7 df f7 d8 21 c7 f7 df 89 ff 49 03 7e 28 48 8b 5f 10 48 83 c7 18 <48> 8b 53 20 48 8d 73 20 e8 74 45 10 e1 48 8b 05 4d fd a7 e1 83 
21:02:41:RIP  [<ffffffffa019fb5f>] __spl_cache_flush+0x7f/0x160 [spl]
21:02:41: RSP <ffff8800782eb440>
21:02:41:CR2: 0000000000000020


 Comments   
Comment by Andreas Dilger [ 28/Feb/20 ]

Close old bug that hasn't been seen in a long time.

Generated at Sat Feb 10 02:06:21 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.