[ 12.436230][ T155] perl (155) used greatest stack depth: 24808 bytes left [ 12.436248][ T155] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.436250][ T155] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 155, name: perl [ 12.436251][ T155] preempt_count: 2, expected: 0 [ 12.436252][ T155] RCU nest depth: 0, expected: 0 [ 12.436253][ T155] locks held by perl/155: 5, last CPU#1: [ 12.436255][ T155] #0: ffffffffb7c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.436268][ T155] #1: ffffffffb7d69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.436273][ T155] #2: ffffffffb7d69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.436276][ T155] #3: ffffffffb7c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.436280][ T155] #4: ffffffffb7c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.436283][ T155] irq event stamp: 87566 [ 12.436284][ T155] hardirqs last enabled at (87565): [] __down_trylock_console_sem+0x86/0xa0 [ 12.436287][ T155] hardirqs last disabled at (87566): [] console_emit_next_record+0x3d4/0x4c0 [ 12.436289][ T155] softirqs last enabled at (85800): [] handle_softirqs+0x67c/0x900 [ 12.436291][ T155] softirqs last disabled at (85049): [] __irq_exit_rcu+0x145/0x1c0 [ 12.436293][ T155] Preemption disabled at: [ 12.436294][ T155] [<0000000000000000>] 0x0 [ 12.436301][ T155] CPU: 1 UID: 0 PID: 155 Comm: perl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.436304][ T155] Tainted: [W]=WARN [ 12.436305][ T155] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.436307][ T155] Call Trace: [ 12.436308][ T155] [ 12.436310][ T155] dump_stack_lvl+0x6f/0xa0 [ 12.436315][ T155] __might_resched.cold+0x1fe/0x2c1 [ 12.436319][ T155] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.436323][ T155] ? __kmalloc_noprof+0xdb/0x760 [ 12.436328][ T155] __kmalloc_noprof+0x443/0x760 [ 12.436330][ T155] ? alloc_buf.isra.0+0x4b/0x260 [ 12.436336][ T155] ? do_raw_spin_unlock+0x59/0x250 [ 12.436339][ T155] alloc_buf.isra.0+0x4b/0x260 [ 12.436342][ T155] put_chars+0x1e1/0x2f0 [ 12.436345][ T155] ? __send_to_port+0x420/0x420 [ 12.436347][ T155] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.436351][ T155] ? validate_chain+0x38b/0xc20 [ 12.436356][ T155] hvc_console_print+0x292/0x780 [ 12.436363][ T155] ? hvc_write+0x3a0/0x3a0 [ 12.436365][ T155] ? rcu_is_watching+0x16/0xd0 [ 12.436367][ T155] ? lock_acquire+0x13c/0x160 [ 12.436371][ T155] console_emit_next_record+0x22f/0x4c0 [ 12.436374][ T155] ? devkmsg_read+0x4b0/0x4b0 [ 12.436375][ T155] ? console_flush_one_record+0x106/0x710 [ 12.436378][ T155] ? rcu_is_watching+0x16/0xd0 [ 12.436380][ T155] ? lock_acquire+0x13c/0x160 [ 12.436384][ T155] console_flush_one_record+0x46f/0x710 [ 12.436387][ T155] ? console_emit_next_record+0x4c0/0x4c0 [ 12.436389][ T155] ? __lock_acquire+0x518/0xc20 [ 12.436394][ T155] console_unlock+0xee/0x1f0 [ 12.436396][ T155] ? console_flush_one_record+0x710/0x710 [ 12.436397][ T155] ? rcu_is_watching+0x16/0xd0 [ 12.436399][ T155] ? lock_acquire+0x60/0x160 [ 12.436403][ T155] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.436405][ T155] ? vprintk_emit+0x320/0x3e0 [ 12.436407][ T155] vprintk_emit+0x37c/0x3e0 [ 12.436410][ T155] ? wake_up_klogd_work_func+0x90/0x90 [ 12.436413][ T155] ? __lock_acquire+0x518/0xc20 [ 12.436417][ T155] _printk+0xc7/0x100 [ 12.436421][ T155] ? snapshot_read.cold+0x21/0x21 [ 12.436424][ T155] ? do_raw_spin_lock+0x131/0x280 [ 12.436426][ T155] ? __rwlock_init+0x150/0x150 [ 12.436430][ T155] ? do_raw_spin_lock+0x131/0x280 [ 12.436433][ T155] do_exit.cold+0x82/0x9c [ 12.436436][ T155] ? exit_notify+0x890/0x890 [ 12.436438][ T155] ? __lock_release.isra.0+0x69/0x1a0 [ 12.436441][ T155] ? rcu_is_watching+0x16/0xd0 [ 12.436444][ T155] do_group_exit+0xb8/0x370 [ 12.436447][ T155] __x64_sys_exit_group+0x3c/0x50 [ 12.436449][ T155] x64_sys_call+0x1567/0x1570 [ 12.436452][ T155] do_syscall_64+0xff/0x530 [ 12.436456][ T155] ? exc_page_fault+0xee/0x100 [ 12.436459][ T155] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.436461][ T155] RIP: 0033:0x7fc47f0481b8 [ 12.436463][ T155] Code: Unable to access opcode bytes at 0x7fc47f04818e. [ 12.436464][ T155] RSP: 002b:00007ffd9f61da28 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.436466][ T155] RAX: ffffffffffffffda RBX: 00007fc47f178f88 RCX: 00007fc47f0481b8 [ 12.436468][ T155] RDX: 00007fc47ee36cc8 RSI: ffffffffffffffa8 RDI: 0000000000000000 [ 12.436469][ T155] RBP: 00007ffd9f61da80 R08: 0000000000000000 R09: 0000000000000050 [ 12.436470][ T155] R10: 00007ffd9f61d880 R11: 0000000000000246 R12: 0000000000000001 [ 12.436470][ T155] R13: 0000000000000000 R14: 00007fc47f177680 R15: 00007fc47f178fa0 [ 12.436477][ T155]