Date
Nov. 26, 2024, 6:09 a.m.
Environment | |
---|---|
qemu-x86_64 |
------------[ cut here ]------------ [ 220.366069] drm-kunit-mock-device drm_test_framebuffer_free.drm-kunit-mock-device: [drm] drm_WARN_ON(!list_empty(&fb->filp_head)) [ 220.367409] WARNING: CPU: 0 PID: 2029 at drivers/gpu/drm/drm_framebuffer.c:832 drm_framebuffer_free+0x136/0x1b0 [ 220.369962] Modules linked in: [ 220.370977] CPU: 0 UID: 0 PID: 2029 Comm: kunit_try_catch Tainted: G B D N 6.12.0-next-20241126 #1 [ 220.371841] Tainted: [B]=BAD_PAGE, [D]=DIE, [N]=TEST [ 220.372845] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 220.373803] RIP: 0010:drm_framebuffer_free+0x136/0x1b0 [ 220.374266] Code: 8b 7d 50 4d 85 ff 74 2b 4c 89 ef e8 54 1c 80 00 48 c7 c1 00 12 9b 93 4c 89 fa 48 c7 c7 60 12 9b 93 48 89 c6 e8 5b 80 86 fe 90 <0f> 0b 90 90 e9 25 ff ff ff 48 b8 00 00 00 00 00 fc ff df 4c 89 ea [ 220.376711] RSP: 0000:ffff88810593fbd8 EFLAGS: 00010282 [ 220.377160] RAX: 0000000000000000 RBX: ffff88810593fcb0 RCX: 1ffffffff28e42ec [ 220.377581] RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000001 [ 220.378657] RBP: ffff88810593fc00 R08: 0000000000000000 R09: fffffbfff28e42ec [ 220.380027] R10: 0000000000000003 R11: 00000000000263f8 R12: ffff88810593fc88 [ 220.380734] R13: ffff888105796000 R14: ffff888105a6e000 R15: ffff8881051ead80 [ 220.381304] FS: 0000000000000000(0000) GS:ffff88815b000000(0000) knlGS:0000000000000000 [ 220.382179] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 220.383976] CR2: 00007ffff7ffe000 CR3: 0000000011ab8000 CR4: 00000000000006f0 [ 220.384909] DR0: ffffffff959eb1a0 DR1: ffffffff959eb1a1 DR2: ffffffff959eb1a2 [ 220.385426] DR3: ffffffff959eb1a3 DR6: 00000000ffff0ff0 DR7: 0000000000000600 [ 220.386824] Call Trace: [ 220.387259] <TASK> [ 220.387656] ? show_regs+0x68/0x80 [ 220.387927] ? __warn+0xd5/0x260 [ 220.388084] ? drm_framebuffer_free+0x136/0x1b0 [ 220.389633] ? report_bug+0x278/0x2e0 [ 220.390126] ? handle_bug+0x5c/0xb0 [ 220.390824] ? exc_invalid_op+0x1c/0x50 [ 220.391557] ? asm_exc_invalid_op+0x1f/0x30 [ 220.391934] ? drm_framebuffer_free+0x136/0x1b0 [ 220.392916] ? drm_framebuffer_free+0x135/0x1b0 [ 220.393929] drm_test_framebuffer_free+0x1ac/0x610 [ 220.394792] ? __pfx_drm_test_framebuffer_free+0x10/0x10 [ 220.395771] ? __pfx_drm_mode_config_init_release+0x10/0x10 [ 220.396788] ? __pfx_drm_mode_config_init_release+0x10/0x10 [ 220.397881] ? read_hpet+0x1f0/0x230 [ 220.398542] ? ktime_get_ts64+0x84/0x230 [ 220.398924] ? __schedule+0xc3e/0x2790 [ 220.399450] ? ktime_get_ts64+0x84/0x230 [ 220.400360] kunit_try_run_case+0x1b3/0x490 [ 220.401235] ? __pfx_kunit_try_run_case+0x10/0x10 [ 220.401235] ? _raw_spin_lock_irqsave+0xa2/0x110 [ 220.402897] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 220.403439] ? __kthread_parkme+0x82/0x160 [ 220.403624] ? preempt_count_sub+0x50/0x80 [ 220.403927] ? __pfx_kunit_try_run_case+0x10/0x10 [ 220.404922] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 220.406056] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 220.406874] kthread+0x257/0x310 [ 220.407198] ? __pfx_kthread+0x10/0x10 [ 220.408052] ret_from_fork+0x41/0x80 [ 220.409260] ? __pfx_kthread+0x10/0x10 [ 220.409754] ret_from_fork_asm+0x1a/0x30 [ 220.410153] </TASK> [ 220.411358] ---[ end trace 0000000000000000 ]---
------------[ cut here ]------------ [ 209.364939] drm-kunit-mock-device drm_test_framebuffer_free.drm-kunit-mock-device: [drm] drm_WARN_ON(!list_empty(&fb->filp_head)) [ 209.366091] WARNING: CPU: 1 PID: 2028 at drivers/gpu/drm/drm_framebuffer.c:832 drm_framebuffer_free+0x136/0x1b0 [ 209.369149] Modules linked in: [ 209.369985] CPU: 1 UID: 0 PID: 2028 Comm: kunit_try_catch Tainted: G B D N 6.12.0-next-20241126 #1 [ 209.371738] Tainted: [B]=BAD_PAGE, [D]=DIE, [N]=TEST [ 209.372572] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 209.373622] RIP: 0010:drm_framebuffer_free+0x136/0x1b0 [ 209.374471] Code: 8b 7d 50 4d 85 ff 74 2b 4c 89 ef e8 54 1c 80 00 48 c7 c1 00 12 7b a6 4c 89 fa 48 c7 c7 60 12 7b a6 48 89 c6 e8 5b 80 86 fe 90 <0f> 0b 90 90 e9 25 ff ff ff 48 b8 00 00 00 00 00 fc ff df 4c 89 ea [ 209.376130] RSP: 0000:ffff8881065f7bd8 EFLAGS: 00010282 [ 209.376822] RAX: 0000000000000000 RBX: ffff8881065f7cb0 RCX: 1ffffffff4ea42ec [ 209.377449] RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000001 [ 209.378123] RBP: ffff8881065f7c00 R08: 0000000000000000 R09: fffffbfff4ea42ec [ 209.378889] R10: 0000000000000003 R11: 0000000000027328 R12: ffff8881065f7c88 [ 209.379937] R13: ffff888106889800 R14: ffff8881051e0000 R15: ffff888106979e00 [ 209.380765] FS: 0000000000000000(0000) GS:ffff888154b00000(0000) knlGS:0000000000000000 [ 209.381275] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 209.382118] CR2: ffffffffffffffff CR3: 000000017c0b8000 CR4: 00000000000006f0 [ 209.382691] DR0: ffffffffa87eb1a0 DR1: ffffffffa87eb1a1 DR2: ffffffffa87eb1a3 [ 209.383993] DR3: ffffffffa87eb1a5 DR6: 00000000ffff0ff0 DR7: 0000000000000600 [ 209.384367] Call Trace: [ 209.384926] <TASK> [ 209.385483] ? show_regs+0x68/0x80 [ 209.385921] ? __warn+0xd5/0x260 [ 209.386253] ? drm_framebuffer_free+0x136/0x1b0 [ 209.387465] ? report_bug+0x278/0x2e0 [ 209.387952] ? handle_bug+0x5c/0xb0 [ 209.388502] ? exc_invalid_op+0x1c/0x50 [ 209.388952] ? asm_exc_invalid_op+0x1f/0x30 [ 209.389700] ? drm_framebuffer_free+0x136/0x1b0 [ 209.390223] ? drm_framebuffer_free+0x135/0x1b0 [ 209.390736] drm_test_framebuffer_free+0x1ac/0x610 [ 209.392163] ? __pfx_drm_test_framebuffer_free+0x10/0x10 [ 209.392694] ? __pfx_drm_mode_config_init_release+0x10/0x10 [ 209.393342] ? __pfx_drm_mode_config_init_release+0x10/0x10 [ 209.394285] ? __drmm_add_action_or_reset+0x22/0x50 [ 209.395393] ? __schedule+0xc3e/0x2790 [ 209.396314] ? __pfx_read_tsc+0x10/0x10 [ 209.396810] ? ktime_get_ts64+0x84/0x230 [ 209.397706] kunit_try_run_case+0x1b3/0x490 [ 209.398098] ? __pfx_kunit_try_run_case+0x10/0x10 [ 209.398909] ? _raw_spin_lock_irqsave+0xa2/0x110 [ 209.399980] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 209.400355] ? __kthread_parkme+0x82/0x160 [ 209.400932] ? preempt_count_sub+0x50/0x80 [ 209.401729] ? __pfx_kunit_try_run_case+0x10/0x10 [ 209.402352] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 209.403449] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 209.404417] kthread+0x257/0x310 [ 209.405228] ? __pfx_kthread+0x10/0x10 [ 209.405612] ret_from_fork+0x41/0x80 [ 209.406074] ? __pfx_kthread+0x10/0x10 [ 209.406890] ret_from_fork_asm+0x1a/0x30 [ 209.407424] </TASK> [ 209.407695] ---[ end trace 0000000000000000 ]---