Project

General

Profile

Actions

Bug #42288

closed

ceph:: kernel BUG at mm/slub.c:3901!

Added by Yanhu Cao over 4 years ago. Updated about 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

Environment
OS: CentOS Linux release 7.3.1611 (Core)
kernel version: 4.19.15
application: kcephfs+nfs

Issue
kernel panic - not syncing: fatal exception

[5452201.213885] ------------[ cut here ]------------
[5452201.213889] kernel BUG at mm/slub.c:3901!
[5452201.213938] invalid opcode: 0000 [#1] SMP PTI
[5452201.213971] CPU: 35 PID: 3037447 Comm: kworker/35:1 Kdump: loaded Not tainted 4.19.15 #1
[5452201.214020] Hardware name: HP ProLiant DL380 Gen9/ProLiant DL380 Gen9, BIOS P89 01/22/2018
[5452201.214088] Workqueue: ceph-msgr ceph_con_workfn [libceph]
[5452201.214129] RIP: 0010:kfree+0x15b/0x170
[5452201.214156] Code: 8b 02 f6 c4 80 75 08 49 8b 42 08 a8 01 74 1b 49 8b 02 31 f6 f6 c4 80 74 05 41 0f b6 72 51 5b 5d 41 5c 4c 89 d7 e9 95 03 f9 ff <0f> 0b 48 83 e8 01 e9 01 ff ff ff 49 83 ea 01 e9 e9 fe ff ff 90 0f
[5452201.214262] RSP: 0018:ffffb8c3a0607cb0 EFLAGS: 00010246
[5452201.214296] RAX: ffffeee840000008 RBX: ffff9130c0000000 RCX: 0000000080200016
[5452201.214339] RDX: 00006f0ec0000000 RSI: 0000000000000000 RDI: ffff9130c0000000
[5452201.214383] RBP: ffff91107f823970 R08: 0000000000000001 R09: 0000000000000000
[5452201.214426] R10: ffffeee840000000 R11: 0000000000000001 R12: ffffffffc076c45d
[5452201.214469] R13: ffff91107f823970 R14: ffff91107f8239e0 R15: ffff91107f823900
[5452201.214513] FS:  0000000000000000(0000) GS:ffff9110bfbc0000(0000) knlGS:0000000000000000
[5452201.214562] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[5452201.214598] CR2: 000055993ab29620 CR3: 0000003a1e00a003 CR4: 00000000003606e0
[5452201.214641] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[5452201.214685] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[5452201.214728] Call Trace:
[5452201.214759]  ceph_msg_release+0x15d/0x190 [libceph]
[5452201.214811]  dispatch+0x66/0xa50 [ceph]
[5452201.214846]  try_read+0x7f3/0x11d0 [libceph]
[5452201.214878]  ? dequeue_entity+0x37e/0x7e0
[5452201.214907]  ? pick_next_task_fair+0x291/0x610
[5452201.214937]  ? dequeue_task_fair+0x5d/0x700
[5452201.214966]  ? __switch_to+0x8c/0x470
[5452201.214999]  ceph_con_workfn+0xa2/0x5b0 [libceph]
[5452201.215033]  process_one_work+0x16b/0x370
[5452201.215062]  worker_thread+0x49/0x3f0
[5452201.215089]  kthread+0xf5/0x130
[5452201.215112]  ? max_active_store+0x80/0x80
[5452201.215139]  ? kthread_bind+0x10/0x10
[5452201.215167]  ret_from_fork+0x1f/0x30

Source Code

3889 void kfree(const void *x)
3890 {
3891         struct page *page;
3892         void *object = (void *)x;
3893
3894         trace_kfree(_RET_IP_, x);
3895
3896         if (unlikely(ZERO_OR_NULL_PTR(x)))
3897                 return;
3898
3899         page = virt_to_head_page(x);
3900         if (unlikely(!PageSlab(page))) {
3901                 BUG_ON(!PageCompound(page));   <== here
3902                 kfree_hook(object);
3903                 __free_pages(page, compound_order(page));
3904                 return;
3905         }
3906         slab_free(page->slab_cache, page, object, NULL, 1, _RET_IP_);
3907 }
3908 EXPORT_SYMBOL(kfree);

more detail see vmcore-dmesg.txt


Files

vmcore-dmesg.txt (265 KB) vmcore-dmesg.txt Yanhu Cao, 10/12/2019 02:11 AM
libceph.patch (638 Bytes) libceph.patch Yanhu Cao, 10/12/2019 03:17 AM
Actions

Also available in: Atom PDF