[ 11.315114][ T155] perl (155) used greatest stack depth: 23872 bytes left [ 11.315132][ T155] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.315134][ T155] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 155, name: perl [ 11.315136][ T155] preempt_count: 2, expected: 0 [ 11.315137][ T155] RCU nest depth: 0, expected: 0 [ 11.315138][ T155] locks held by perl/155: 5, last CPU#1: [ 11.315140][ T155] #0: ffffffffb92027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.315152][ T155] #1: ffffffffb9369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.315157][ T155] #2: ffffffffb9369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.315160][ T155] #3: ffffffffb9289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.315164][ T155] #4: ffffffffb9289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.315167][ T155] irq event stamp: 65026 [ 11.315168][ T155] hardirqs last enabled at (65025): [] __down_trylock_console_sem+0x86/0xa0 [ 11.315172][ T155] hardirqs last disabled at (65026): [] console_emit_next_record+0x3d4/0x4c0 [ 11.315173][ T155] softirqs last enabled at (62032): [] handle_softirqs+0x67c/0x900 [ 11.315175][ T155] softirqs last disabled at (62027): [] __irq_exit_rcu+0x145/0x1c0 [ 11.315178][ T155] Preemption disabled at: [ 11.315178][ T155] [<0000000000000000>] 0x0 [ 11.315185][ T155] CPU: 1 UID: 0 PID: 155 Comm: perl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.315188][ T155] Tainted: [W]=WARN [ 11.315189][ T155] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.315191][ T155] Call Trace: [ 11.315193][ T155] [ 11.315195][ T155] dump_stack_lvl+0x6f/0xa0 [ 11.315200][ T155] __might_resched.cold+0x1fe/0x2c1 [ 11.315204][ T155] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.315208][ T155] ? __kmalloc_noprof+0xdb/0x760 [ 11.315213][ T155] __kmalloc_noprof+0x443/0x760 [ 11.315215][ T155] ? alloc_buf.isra.0+0x4b/0x260 [ 11.315221][ T155] ? do_raw_spin_unlock+0x59/0x250 [ 11.315224][ T155] alloc_buf.isra.0+0x4b/0x260 [ 11.315227][ T155] put_chars+0x1e1/0x2f0 [ 11.315231][ T155] ? __send_to_port+0x420/0x420 [ 11.315232][ T155] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.315245][ T155] ? validate_chain+0x38b/0xc20 [ 11.315251][ T155] hvc_console_print+0x292/0x780 [ 11.315257][ T155] ? hvc_write+0x3a0/0x3a0 [ 11.315260][ T155] ? rcu_is_watching+0x16/0xd0 [ 11.315262][ T155] ? lock_acquire+0x13c/0x160 [ 11.315266][ T155] console_emit_next_record+0x22f/0x4c0 [ 11.315269][ T155] ? devkmsg_read+0x4b0/0x4b0 [ 11.315271][ T155] ? console_flush_one_record+0x106/0x710 [ 11.315273][ T155] ? rcu_is_watching+0x16/0xd0 [ 11.315275][ T155] ? lock_acquire+0x13c/0x160 [ 11.315279][ T155] console_flush_one_record+0x46f/0x710 [ 11.315283][ T155] ? console_emit_next_record+0x4c0/0x4c0 [ 11.315284][ T155] ? __lock_acquire+0x518/0xc20 [ 11.315289][ T155] console_unlock+0xee/0x1f0 [ 11.315291][ T155] ? console_flush_one_record+0x710/0x710 [ 11.315293][ T155] ? rcu_is_watching+0x16/0xd0 [ 11.315295][ T155] ? lock_acquire+0x60/0x160 [ 11.315298][ T155] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.315300][ T155] ? vprintk_emit+0x320/0x3e0 [ 11.315303][ T155] vprintk_emit+0x37c/0x3e0 [ 11.315306][ T155] ? wake_up_klogd_work_func+0x90/0x90 [ 11.315309][ T155] ? __lock_acquire+0x518/0xc20 [ 11.315313][ T155] _printk+0xc7/0x100 [ 11.315316][ T155] ? snapshot_read.cold+0x21/0x21 [ 11.315319][ T155] ? do_raw_spin_lock+0x131/0x280 [ 11.315322][ T155] ? __rwlock_init+0x150/0x150 [ 11.315326][ T155] ? do_raw_spin_lock+0x131/0x280 [ 11.315329][ T155] do_exit.cold+0x82/0x9c [ 11.315332][ T155] ? exit_notify+0x890/0x890 [ 11.315334][ T155] ? __lock_release.isra.0+0x69/0x1a0 [ 11.315337][ T155] ? rcu_is_watching+0x16/0xd0 [ 11.315340][ T155] do_group_exit+0xb8/0x370 [ 11.315343][ T155] __x64_sys_exit_group+0x3c/0x50 [ 11.315345][ T155] x64_sys_call+0x1567/0x1570 [ 11.315348][ T155] do_syscall_64+0xff/0x530 [ 11.315351][ T155] ? exc_page_fault+0xee/0x100 [ 11.315354][ T155] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.315357][ T155] RIP: 0033:0x7fcc17ada1b8 [ 11.315359][ T155] Code: Unable to access opcode bytes at 0x7fcc17ada18e. [ 11.315360][ T155] RSP: 002b:00007fff0d20a888 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.315362][ T155] RAX: ffffffffffffffda RBX: 00007fcc17c0af88 RCX: 00007fcc17ada1b8 [ 11.315364][ T155] RDX: 00007fcc178c8cc8 RSI: ffffffffffffffa8 RDI: 0000000000000000 [ 11.315365][ T155] RBP: 00007fff0d20a8e0 R08: 0000000000000000 R09: 0000000000000050 [ 11.315366][ T155] R10: 00007fff0d20a6e0 R11: 0000000000000246 R12: 0000000000000001 [ 11.315366][ T155] R13: 0000000000000000 R14: 00007fcc17c09680 R15: 00007fcc17c0afa0 [ 11.315373][ T155]