[ 8.861529][ T165] perl (165) used greatest stack depth: 24016 bytes left [ 8.861545][ T165] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.861546][ T165] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 165, name: perl [ 8.861548][ T165] preempt_count: 2, expected: 0 [ 8.861549][ T165] RCU nest depth: 0, expected: 0 [ 8.861550][ T165] locks held by perl/165: 5, last CPU#2: [ 8.861552][ T165] #0: ffffffff9b0127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 8.861564][ T165] #1: ffffffff9b179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.861569][ T165] #2: ffffffff9b179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.861573][ T165] #3: ffffffff9b099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.861576][ T165] #4: ffffffff9b099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 8.861580][ T165] irq event stamp: 91350 [ 8.861581][ T165] hardirqs last enabled at (91349): [] __down_trylock_console_sem+0x86/0xa0 [ 8.861583][ T165] hardirqs last disabled at (91350): [] console_emit_next_record+0x3d4/0x4c0 [ 8.861585][ T165] softirqs last enabled at (91170): [] handle_softirqs+0x67c/0x900 [ 8.861587][ T165] softirqs last disabled at (89607): [] __irq_exit_rcu+0x145/0x1c0 [ 8.861589][ T165] Preemption disabled at: [ 8.861590][ T165] [<0000000000000000>] 0x0 [ 8.861596][ T165] CPU: 2 UID: 0 PID: 165 Comm: perl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.861600][ T165] Tainted: [W]=WARN [ 8.861601][ T165] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.861602][ T165] Call Trace: [ 8.861604][ T165] [ 8.861605][ T165] dump_stack_lvl+0x6f/0xa0 [ 8.861611][ T165] __might_resched.cold+0x1fe/0x2c1 [ 8.861615][ T165] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.861619][ T165] ? __kmalloc_noprof+0xdb/0x760 [ 8.861624][ T165] __kmalloc_noprof+0x443/0x760 [ 8.861626][ T165] ? alloc_buf.isra.0+0x4b/0x260 [ 8.861632][ T165] ? do_raw_spin_unlock+0x59/0x250 [ 8.861635][ T165] alloc_buf.isra.0+0x4b/0x260 [ 8.861638][ T165] put_chars+0x1e1/0x2f0 [ 8.861641][ T165] ? __send_to_port+0x420/0x420 [ 8.861642][ T165] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.861647][ T165] ? validate_chain+0x38b/0xc20 [ 8.861652][ T165] hvc_console_print+0x292/0x780 [ 8.861659][ T165] ? hvc_write+0x3a0/0x3a0 [ 8.861661][ T165] ? rcu_is_watching+0x16/0xd0 [ 8.861663][ T165] ? lock_acquire+0x13c/0x160 [ 8.861667][ T165] console_emit_next_record+0x22f/0x4c0 [ 8.861671][ T165] ? devkmsg_read+0x4b0/0x4b0 [ 8.861673][ T165] ? console_flush_one_record+0x106/0x710 [ 8.861676][ T165] ? rcu_is_watching+0x16/0xd0 [ 8.861678][ T165] ? lock_acquire+0x13c/0x160 [ 8.861682][ T165] console_flush_one_record+0x46f/0x710 [ 8.861686][ T165] ? console_emit_next_record+0x4c0/0x4c0 [ 8.861687][ T165] ? __lock_acquire+0x518/0xc20 [ 8.861692][ T165] console_unlock+0xee/0x1f0 [ 8.861695][ T165] ? console_flush_one_record+0x710/0x710 [ 8.861697][ T165] ? rcu_is_watching+0x16/0xd0 [ 8.861699][ T165] ? lock_acquire+0x60/0x160 [ 8.861703][ T165] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.861704][ T165] ? vprintk_emit+0x320/0x3e0 [ 8.861708][ T165] vprintk_emit+0x37c/0x3e0 [ 8.861711][ T165] ? wake_up_klogd_work_func+0x90/0x90 [ 8.861714][ T165] ? __lock_acquire+0x518/0xc20 [ 8.861718][ T165] _printk+0xc7/0x100 [ 8.861721][ T165] ? snapshot_read.cold+0x21/0x21 [ 8.861724][ T165] ? do_raw_spin_lock+0x131/0x280 [ 8.861726][ T165] ? __rwlock_init+0x150/0x150 [ 8.861730][ T165] ? do_raw_spin_lock+0x131/0x280 [ 8.861733][ T165] do_exit.cold+0x82/0x9c [ 8.861736][ T165] ? exit_notify+0x890/0x890 [ 8.861737][ T165] ? __lock_release.isra.0+0x69/0x1a0 [ 8.861740][ T165] ? rcu_is_watching+0x16/0xd0 [ 8.861744][ T165] do_group_exit+0xb8/0x370 [ 8.861747][ T165] __x64_sys_exit_group+0x3c/0x50 [ 8.861749][ T165] x64_sys_call+0x1567/0x1570 [ 8.861751][ T165] do_syscall_64+0xff/0x530 [ 8.861755][ T165] ? exc_page_fault+0xee/0x100 [ 8.861757][ T165] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.861759][ T165] RIP: 0033:0x7fc4e522b1b8 [ 8.861762][ T165] Code: Unable to access opcode bytes at 0x7fc4e522b18e. [ 8.861763][ T165] RSP: 002b:00007fffeeeff4d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 8.861765][ T165] RAX: ffffffffffffffda RBX: 00007fc4e535bf88 RCX: 00007fc4e522b1b8 [ 8.861766][ T165] RDX: 00007fc4e5019cc8 RSI: ffffffffffffffa8 RDI: 0000000000000000 [ 8.861767][ T165] RBP: 00007fffeeeff530 R08: 0000000000000000 R09: 0000000000000050 [ 8.861768][ T165] R10: 00007fffeeeff330 R11: 0000000000000246 R12: 0000000000000001 [ 8.861769][ T165] R13: 0000000000000000 R14: 00007fc4e535a680 R15: 00007fc4e535bfa0 [ 8.861775][ T165]