[ 9.541033][ T155] perl (155) used greatest stack depth: 24656 bytes left [ 9.541051][ T155] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.541053][ T155] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 155, name: perl [ 9.541055][ T155] preempt_count: 2, expected: 0 [ 9.541056][ T155] RCU nest depth: 0, expected: 0 [ 9.541057][ T155] locks held by perl/155: 5, last CPU#1: [ 9.541059][ T155] #0: ffffffffbbe027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.541071][ T155] #1: ffffffffbbf69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.541076][ T155] #2: ffffffffbbf69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.541079][ T155] #3: ffffffffbbe89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.541082][ T155] #4: ffffffffbbe89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.541086][ T155] irq event stamp: 66826 [ 9.541086][ T155] hardirqs last enabled at (66825): [] __down_trylock_console_sem+0x86/0xa0 [ 9.541090][ T155] hardirqs last disabled at (66826): [] console_emit_next_record+0x3d4/0x4c0 [ 9.541091][ T155] softirqs last enabled at (65340): [] handle_softirqs+0x67c/0x900 [ 9.541093][ T155] softirqs last disabled at (65315): [] __irq_exit_rcu+0x145/0x1c0 [ 9.541096][ T155] Preemption disabled at: [ 9.541096][ T155] [<0000000000000000>] 0x0 [ 9.541103][ T155] CPU: 1 UID: 0 PID: 155 Comm: perl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.541106][ T155] Tainted: [W]=WARN [ 9.541107][ T155] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.541109][ T155] Call Trace: [ 9.541110][ T155] [ 9.541112][ T155] dump_stack_lvl+0x6f/0xa0 [ 9.541117][ T155] __might_resched.cold+0x1fe/0x2c1 [ 9.541122][ T155] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.541125][ T155] ? __kmalloc_noprof+0xdb/0x760 [ 9.541130][ T155] __kmalloc_noprof+0x443/0x760 [ 9.541133][ T155] ? alloc_buf.isra.0+0x4b/0x260 [ 9.541139][ T155] ? do_raw_spin_unlock+0x59/0x250 [ 9.541142][ T155] alloc_buf.isra.0+0x4b/0x260 [ 9.541145][ T155] put_chars+0x1e1/0x2f0 [ 9.541148][ T155] ? __send_to_port+0x420/0x420 [ 9.541150][ T155] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.541154][ T155] ? validate_chain+0x38b/0xc20 [ 9.541159][ T155] hvc_console_print+0x292/0x780 [ 9.541165][ T155] ? hvc_write+0x3a0/0x3a0 [ 9.541168][ T155] ? rcu_is_watching+0x16/0xd0 [ 9.541169][ T155] ? lock_acquire+0x13c/0x160 [ 9.541173][ T155] console_emit_next_record+0x22f/0x4c0 [ 9.541177][ T155] ? devkmsg_read+0x4b0/0x4b0 [ 9.541178][ T155] ? console_flush_one_record+0x106/0x710 [ 9.541181][ T155] ? rcu_is_watching+0x16/0xd0 [ 9.541183][ T155] ? lock_acquire+0x13c/0x160 [ 9.541186][ T155] console_flush_one_record+0x46f/0x710 [ 9.541190][ T155] ? console_emit_next_record+0x4c0/0x4c0 [ 9.541191][ T155] ? __lock_acquire+0x518/0xc20 [ 9.541196][ T155] console_unlock+0xee/0x1f0 [ 9.541198][ T155] ? console_flush_one_record+0x710/0x710 [ 9.541200][ T155] ? rcu_is_watching+0x16/0xd0 [ 9.541201][ T155] ? lock_acquire+0x60/0x160 [ 9.541205][ T155] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.541207][ T155] ? vprintk_emit+0x320/0x3e0 [ 9.541210][ T155] vprintk_emit+0x37c/0x3e0 [ 9.541213][ T155] ? wake_up_klogd_work_func+0x90/0x90 [ 9.541216][ T155] ? __lock_acquire+0x518/0xc20 [ 9.541219][ T155] _printk+0xc7/0x100 [ 9.541223][ T155] ? snapshot_read.cold+0x21/0x21 [ 9.541226][ T155] ? do_raw_spin_lock+0x131/0x280 [ 9.541229][ T155] ? __rwlock_init+0x150/0x150 [ 9.541232][ T155] ? do_raw_spin_lock+0x131/0x280 [ 9.541235][ T155] do_exit.cold+0x82/0x9c [ 9.541238][ T155] ? exit_notify+0x890/0x890 [ 9.541240][ T155] ? __lock_release.isra.0+0x69/0x1a0 [ 9.541243][ T155] ? rcu_is_watching+0x16/0xd0 [ 9.541246][ T155] do_group_exit+0xb8/0x370 [ 9.541249][ T155] __x64_sys_exit_group+0x3c/0x50 [ 9.541251][ T155] x64_sys_call+0x1567/0x1570 [ 9.541254][ T155] do_syscall_64+0xff/0x530 [ 9.541258][ T155] ? exc_page_fault+0xee/0x100 [ 9.541261][ T155] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.541263][ T155] RIP: 0033:0x7f9db2c0f1b8 [ 9.541265][ T155] Code: Unable to access opcode bytes at 0x7f9db2c0f18e. [ 9.541266][ T155] RSP: 002b:00007ffebc787248 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.541268][ T155] RAX: ffffffffffffffda RBX: 00007f9db2d3ff88 RCX: 00007f9db2c0f1b8 [ 9.541270][ T155] RDX: 00007f9db29fdcc8 RSI: ffffffffffffffa8 RDI: 0000000000000000 [ 9.541271][ T155] RBP: 00007ffebc7872a0 R08: 0000000000000000 R09: 0000000000000050 [ 9.541272][ T155] R10: 00007ffebc7870a0 R11: 0000000000000246 R12: 0000000000000001 [ 9.541273][ T155] R13: 0000000000000000 R14: 00007f9db2d3e680 R15: 00007f9db2d3ffa0 [ 9.541279][ T155]