[ 12.014078][ T211] perl (211) used greatest stack depth: 23840 bytes left [ 12.014097][ T211] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.014099][ T211] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 211, name: perl [ 12.014100][ T211] preempt_count: 2, expected: 0 [ 12.014101][ T211] RCU nest depth: 0, expected: 0 [ 12.014102][ T211] locks held by perl/211: 5, last CPU#1: [ 12.014104][ T211] #0: ffffffffb2c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.014116][ T211] #1: ffffffffb2d99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.014121][ T211] #2: ffffffffb2d99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.014125][ T211] #3: ffffffffb2c89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.014129][ T211] #4: ffffffffb2c89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.014133][ T211] irq event stamp: 82708 [ 12.014134][ T211] hardirqs last enabled at (82707): [] __down_trylock_console_sem+0x86/0xa0 [ 12.014136][ T211] hardirqs last disabled at (82708): [] console_emit_next_record+0x3f8/0x4f0 [ 12.014138][ T211] softirqs last enabled at (81150): [] handle_softirqs+0x67c/0x900 [ 12.014140][ T211] softirqs last disabled at (81145): [] __irq_exit_rcu+0x145/0x1c0 [ 12.014146][ T211] Preemption disabled at: [ 12.014147][ T211] [<0000000000000000>] 0x0 [ 12.014153][ T211] CPU: 1 UID: 0 PID: 211 Comm: perl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.014157][ T211] Tainted: [W]=WARN [ 12.014158][ T211] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.014160][ T211] Call Trace: [ 12.014161][ T211] [ 12.014163][ T211] dump_stack_lvl+0x6f/0xa0 [ 12.014169][ T211] __might_resched.cold+0x1fe/0x2c1 [ 12.014174][ T211] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.014178][ T211] ? __kmalloc_noprof+0xdb/0x760 [ 12.014183][ T211] __kmalloc_noprof+0x443/0x760 [ 12.014185][ T211] ? alloc_buf.isra.0+0x4b/0x260 [ 12.014192][ T211] ? do_raw_spin_unlock+0x59/0x250 [ 12.014195][ T211] alloc_buf.isra.0+0x4b/0x260 [ 12.014198][ T211] put_chars+0x1e1/0x2f0 [ 12.014202][ T211] ? __send_to_port+0x420/0x420 [ 12.014204][ T211] ? printk_get_next_message+0x2fe/0x7d0 [ 12.014207][ T211] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.014210][ T211] ? validate_chain+0x38b/0xc20 [ 12.014214][ T211] hvc_console_print+0x292/0x780 [ 12.014218][ T211] ? __lock_acquire+0x518/0xc20 [ 12.014219][ T211] ? __lock_acquire+0x518/0xc20 [ 12.014223][ T211] ? hvc_write+0x3a0/0x3a0 [ 12.014227][ T211] ? rcu_is_watching+0x16/0xd0 [ 12.014230][ T211] ? lock_acquire+0x13c/0x160 [ 12.014239][ T211] console_emit_next_record+0x252/0x4f0 [ 12.014243][ T211] ? devkmsg_read+0x4e0/0x4e0 [ 12.014247][ T211] ? rcu_is_watching+0x16/0xd0 [ 12.014250][ T211] ? lock_acquire+0x13c/0x160 [ 12.014253][ T211] console_flush_one_record+0x46f/0x710 [ 12.014257][ T211] ? console_emit_next_record+0x4f0/0x4f0 [ 12.014259][ T211] ? __lock_acquire+0x518/0xc20 [ 12.014264][ T211] console_unlock+0xee/0x1f0 [ 12.014267][ T211] ? console_flush_one_record+0x710/0x710 [ 12.014269][ T211] ? rcu_is_watching+0x16/0xd0 [ 12.014271][ T211] ? lock_acquire+0xa0/0x160 [ 12.014275][ T211] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.014276][ T211] ? vprintk_emit+0x320/0x3e0 [ 12.014280][ T211] vprintk_emit+0x37c/0x3e0 [ 12.014283][ T211] ? wake_up_klogd_work_func+0x90/0x90 [ 12.014287][ T211] ? __lock_acquire+0x518/0xc20 [ 12.014290][ T211] _printk+0xc7/0x100 [ 12.014293][ T211] ? snapshot_read.cold+0x21/0x21 [ 12.014296][ T211] ? do_raw_spin_lock+0x131/0x280 [ 12.014299][ T211] ? __rwlock_init+0x150/0x150 [ 12.014302][ T211] ? do_raw_spin_lock+0x131/0x280 [ 12.014305][ T211] do_exit.cold+0x82/0x9c [ 12.014309][ T211] ? exit_notify+0x890/0x890 [ 12.014310][ T211] ? __lock_release.isra.0+0x69/0x1a0 [ 12.014312][ T211] ? rcu_is_watching+0x16/0xd0 [ 12.014316][ T211] do_group_exit+0xb8/0x370 [ 12.014319][ T211] __x64_sys_exit_group+0x3c/0x50 [ 12.014321][ T211] x64_sys_call+0x1567/0x1570 [ 12.014323][ T211] do_syscall_64+0xff/0x530 [ 12.014327][ T211] ? exc_page_fault+0xee/0x100 [ 12.014330][ T211] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.014332][ T211] RIP: 0033:0x7f16787a91b8 [ 12.014334][ T211] Code: Unable to access opcode bytes at 0x7f16787a918e. [ 12.014336][ T211] RSP: 002b:00007ffc54a861b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.014338][ T211] RAX: ffffffffffffffda RBX: 00007f16788d9f88 RCX: 00007f16787a91b8 [ 12.014339][ T211] RDX: 00007f1678597cc8 RSI: ffffffffffffffa8 RDI: 0000000000000000 [ 12.014340][ T211] RBP: 00007ffc54a86210 R08: 0000000000000000 R09: 0000000000000050 [ 12.014341][ T211] R10: 00007ffc54a86010 R11: 0000000000000246 R12: 0000000000000001 [ 12.014342][ T211] R13: 0000000000000000 R14: 00007f16788d8680 R15: 00007f16788d9fa0 [ 12.014349][ T211]