[ 12.617170][ T156] perl (156) used greatest stack depth: 24144 bytes left [ 12.617189][ T156] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.617191][ T156] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 156, name: perl [ 12.617193][ T156] preempt_count: 2, expected: 0 [ 12.617193][ T156] RCU nest depth: 0, expected: 0 [ 12.617194][ T156] locks held by perl/156: 5, last CPU#1: [ 12.617197][ T156] #0: ffffffffa5c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.617209][ T156] #1: ffffffffa5d69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.617214][ T156] #2: ffffffffa5d69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.617218][ T156] #3: ffffffffa5c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.617221][ T156] #4: ffffffffa5c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.617224][ T156] irq event stamp: 61038 [ 12.617225][ T156] hardirqs last enabled at (61037): [] __down_trylock_console_sem+0x86/0xa0 [ 12.617228][ T156] hardirqs last disabled at (61038): [] console_emit_next_record+0x3d4/0x4c0 [ 12.617230][ T156] softirqs last enabled at (59704): [] handle_softirqs+0x67c/0x900 [ 12.617232][ T156] softirqs last disabled at (59697): [] __irq_exit_rcu+0x145/0x1c0 [ 12.617234][ T156] Preemption disabled at: [ 12.617235][ T156] [<0000000000000000>] 0x0 [ 12.617242][ T156] CPU: 1 UID: 0 PID: 156 Comm: perl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.617245][ T156] Tainted: [W]=WARN [ 12.617246][ T156] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.617247][ T156] Call Trace: [ 12.617249][ T156] [ 12.617251][ T156] dump_stack_lvl+0x6f/0xa0 [ 12.617256][ T156] __might_resched.cold+0x1fe/0x2c1 [ 12.617260][ T156] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.617264][ T156] ? __kmalloc_noprof+0xdb/0x760 [ 12.617269][ T156] __kmalloc_noprof+0x443/0x760 [ 12.617271][ T156] ? alloc_buf.isra.0+0x4b/0x260 [ 12.617277][ T156] ? do_raw_spin_unlock+0x59/0x250 [ 12.617280][ T156] alloc_buf.isra.0+0x4b/0x260 [ 12.617283][ T156] put_chars+0x1e1/0x2f0 [ 12.617286][ T156] ? __send_to_port+0x420/0x420 [ 12.617288][ T156] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.617292][ T156] ? validate_chain+0x38b/0xc20 [ 12.617297][ T156] hvc_console_print+0x292/0x780 [ 12.617304][ T156] ? hvc_write+0x3a0/0x3a0 [ 12.617306][ T156] ? rcu_is_watching+0x16/0xd0 [ 12.617308][ T156] ? lock_acquire+0x13c/0x160 [ 12.617312][ T156] console_emit_next_record+0x22f/0x4c0 [ 12.617315][ T156] ? devkmsg_read+0x4b0/0x4b0 [ 12.617317][ T156] ? console_flush_one_record+0x106/0x710 [ 12.617319][ T156] ? rcu_is_watching+0x16/0xd0 [ 12.617321][ T156] ? lock_acquire+0x13c/0x160 [ 12.617325][ T156] console_flush_one_record+0x46f/0x710 [ 12.617328][ T156] ? console_emit_next_record+0x4c0/0x4c0 [ 12.617330][ T156] ? __lock_acquire+0x518/0xc20 [ 12.617335][ T156] console_unlock+0xee/0x1f0 [ 12.617337][ T156] ? console_flush_one_record+0x710/0x710 [ 12.617338][ T156] ? rcu_is_watching+0x16/0xd0 [ 12.617340][ T156] ? lock_acquire+0x60/0x160 [ 12.617344][ T156] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.617346][ T156] ? vprintk_emit+0x320/0x3e0 [ 12.617348][ T156] vprintk_emit+0x37c/0x3e0 [ 12.617351][ T156] ? wake_up_klogd_work_func+0x90/0x90 [ 12.617354][ T156] ? __lock_acquire+0x518/0xc20 [ 12.617358][ T156] _printk+0xc7/0x100 [ 12.617362][ T156] ? snapshot_read.cold+0x21/0x21 [ 12.617365][ T156] ? do_raw_spin_lock+0x131/0x280 [ 12.617367][ T156] ? __rwlock_init+0x150/0x150 [ 12.617371][ T156] ? do_raw_spin_lock+0x131/0x280 [ 12.617374][ T156] do_exit.cold+0x82/0x9c [ 12.617377][ T156] ? exit_notify+0x890/0x890 [ 12.617379][ T156] ? __lock_release.isra.0+0x69/0x1a0 [ 12.617388][ T156] ? rcu_is_watching+0x16/0xd0 [ 12.617392][ T156] do_group_exit+0xb8/0x370 [ 12.617394][ T156] __x64_sys_exit_group+0x3c/0x50 [ 12.617396][ T156] x64_sys_call+0x1567/0x1570 [ 12.617399][ T156] do_syscall_64+0xff/0x530 [ 12.617403][ T156] ? exc_page_fault+0xee/0x100 [ 12.617406][ T156] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.617408][ T156] RIP: 0033:0x7f90d20571b8 [ 12.617411][ T156] Code: Unable to access opcode bytes at 0x7f90d205718e. [ 12.617412][ T156] RSP: 002b:00007ffd23da5208 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.617414][ T156] RAX: ffffffffffffffda RBX: 00007f90d2187f88 RCX: 00007f90d20571b8 [ 12.617415][ T156] RDX: 00007f90d1e45cc8 RSI: ffffffffffffffa8 RDI: 0000000000000000 [ 12.617416][ T156] RBP: 00007ffd23da5260 R08: 0000000000000000 R09: 0000000000000050 [ 12.617417][ T156] R10: 00007ffd23da5060 R11: 0000000000000246 R12: 0000000000000001 [ 12.617418][ T156] R13: 0000000000000000 R14: 00007f90d2186680 R15: 00007f90d2187fa0 [ 12.617424][ T156]