[ 12.077925][ T155] perl (155) used greatest stack depth: 24448 bytes left [ 12.077944][ T155] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.077946][ T155] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 155, name: perl [ 12.077948][ T155] preempt_count: 2, expected: 0 [ 12.077949][ T155] RCU nest depth: 0, expected: 0 [ 12.077950][ T155] locks held by perl/155: 5, last CPU#0: [ 12.077952][ T155] #0: ffffffff870027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.077964][ T155] #1: ffffffff87169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.077969][ T155] #2: ffffffff87169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.077972][ T155] #3: ffffffff87089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.077975][ T155] #4: ffffffff87089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.077979][ T155] irq event stamp: 78808 [ 12.077979][ T155] hardirqs last enabled at (78807): [] __down_trylock_console_sem+0x86/0xa0 [ 12.077983][ T155] hardirqs last disabled at (78808): [] console_emit_next_record+0x3d4/0x4c0 [ 12.077984][ T155] softirqs last enabled at (78626): [] handle_softirqs+0x67c/0x900 [ 12.077986][ T155] softirqs last disabled at (78617): [] __irq_exit_rcu+0x145/0x1c0 [ 12.077989][ T155] Preemption disabled at: [ 12.077990][ T155] [<0000000000000000>] 0x0 [ 12.077996][ T155] CPU: 0 UID: 0 PID: 155 Comm: perl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.078000][ T155] Tainted: [W]=WARN [ 12.078001][ T155] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.078003][ T155] Call Trace: [ 12.078004][ T155] [ 12.078006][ T155] dump_stack_lvl+0x6f/0xa0 [ 12.078011][ T155] __might_resched.cold+0x1fe/0x2c1 [ 12.078016][ T155] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.078019][ T155] ? __kmalloc_noprof+0xdb/0x760 [ 12.078024][ T155] __kmalloc_noprof+0x443/0x760 [ 12.078027][ T155] ? alloc_buf.isra.0+0x4b/0x260 [ 12.078033][ T155] ? do_raw_spin_unlock+0x59/0x250 [ 12.078036][ T155] alloc_buf.isra.0+0x4b/0x260 [ 12.078040][ T155] put_chars+0x1e1/0x2f0 [ 12.078044][ T155] ? __send_to_port+0x420/0x420 [ 12.078045][ T155] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.078049][ T155] ? validate_chain+0x38b/0xc20 [ 12.078054][ T155] hvc_console_print+0x292/0x780 [ 12.078061][ T155] ? hvc_write+0x3a0/0x3a0 [ 12.078063][ T155] ? rcu_is_watching+0x16/0xd0 [ 12.078065][ T155] ? lock_acquire+0x13c/0x160 [ 12.078069][ T155] console_emit_next_record+0x22f/0x4c0 [ 12.078073][ T155] ? devkmsg_read+0x4b0/0x4b0 [ 12.078074][ T155] ? console_flush_one_record+0x106/0x710 [ 12.078077][ T155] ? rcu_is_watching+0x16/0xd0 [ 12.078079][ T155] ? lock_acquire+0x13c/0x160 [ 12.078083][ T155] console_flush_one_record+0x46f/0x710 [ 12.078086][ T155] ? console_emit_next_record+0x4c0/0x4c0 [ 12.078088][ T155] ? __lock_acquire+0x518/0xc20 [ 12.078093][ T155] console_unlock+0xee/0x1f0 [ 12.078095][ T155] ? console_flush_one_record+0x710/0x710 [ 12.078097][ T155] ? rcu_is_watching+0x16/0xd0 [ 12.078099][ T155] ? lock_acquire+0x60/0x160 [ 12.078103][ T155] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.078105][ T155] ? vprintk_emit+0x320/0x3e0 [ 12.078107][ T155] vprintk_emit+0x37c/0x3e0 [ 12.078111][ T155] ? wake_up_klogd_work_func+0x90/0x90 [ 12.078114][ T155] ? __lock_acquire+0x518/0xc20 [ 12.078117][ T155] _printk+0xc7/0x100 [ 12.078121][ T155] ? snapshot_read.cold+0x21/0x21 [ 12.078124][ T155] ? do_raw_spin_lock+0x131/0x280 [ 12.078127][ T155] ? __rwlock_init+0x150/0x150 [ 12.078131][ T155] ? do_raw_spin_lock+0x131/0x280 [ 12.078134][ T155] do_exit.cold+0x82/0x9c [ 12.078137][ T155] ? exit_notify+0x890/0x890 [ 12.078138][ T155] ? __lock_release.isra.0+0x69/0x1a0 [ 12.078141][ T155] ? rcu_is_watching+0x16/0xd0 [ 12.078145][ T155] do_group_exit+0xb8/0x370 [ 12.078148][ T155] __x64_sys_exit_group+0x3c/0x50 [ 12.078150][ T155] x64_sys_call+0x1567/0x1570 [ 12.078152][ T155] do_syscall_64+0xff/0x530 [ 12.078156][ T155] ? exc_page_fault+0xee/0x100 [ 12.078159][ T155] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.078162][ T155] RIP: 0033:0x7fdbea6ca1b8 [ 12.078164][ T155] Code: Unable to access opcode bytes at 0x7fdbea6ca18e. [ 12.078165][ T155] RSP: 002b:00007fff262b52a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.078167][ T155] RAX: ffffffffffffffda RBX: 00007fdbea7faf88 RCX: 00007fdbea6ca1b8 [ 12.078169][ T155] RDX: 00007fdbea4b8cc8 RSI: ffffffffffffffa8 RDI: 0000000000000000 [ 12.078170][ T155] RBP: 00007fff262b5300 R08: 0000000000000000 R09: 0000000000000050 [ 12.078171][ T155] R10: 00007fff262b5100 R11: 0000000000000246 R12: 0000000000000001 [ 12.078172][ T155] R13: 0000000000000000 R14: 00007fdbea7f9680 R15: 00007fdbea7fafa0 [ 12.078178][ T155]