[ 13.424277][ T154] perl (154) used greatest stack depth: 23840 bytes left [ 13.424297][ T154] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.424300][ T154] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 154, name: perl [ 13.424302][ T154] preempt_count: 2, expected: 0 [ 13.424302][ T154] RCU nest depth: 0, expected: 0 [ 13.424303][ T154] locks held by perl/154: 5, last CPU#0: [ 13.424306][ T154] #0: ffffffffa46027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.424320][ T154] #1: ffffffffa4769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.424326][ T154] #2: ffffffffa4769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.424329][ T154] #3: ffffffffa4689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.424333][ T154] #4: ffffffffa4689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.424337][ T154] irq event stamp: 83290 [ 13.424338][ T154] hardirqs last enabled at (83289): [] __down_trylock_console_sem+0x86/0xa0 [ 13.424341][ T154] hardirqs last disabled at (83290): [] console_emit_next_record+0x3d4/0x4c0 [ 13.424343][ T154] softirqs last enabled at (82574): [] handle_softirqs+0x67c/0x900 [ 13.424345][ T154] softirqs last disabled at (81003): [] __irq_exit_rcu+0x145/0x1c0 [ 13.424347][ T154] Preemption disabled at: [ 13.424348][ T154] [<0000000000000000>] 0x0 [ 13.424355][ T154] CPU: 0 UID: 0 PID: 154 Comm: perl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.424358][ T154] Tainted: [W]=WARN [ 13.424359][ T154] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.424361][ T154] Call Trace: [ 13.424362][ T154] [ 13.424364][ T154] dump_stack_lvl+0x6f/0xa0 [ 13.424375][ T154] __might_resched.cold+0x1fe/0x2c1 [ 13.424380][ T154] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.424384][ T154] ? __kmalloc_noprof+0xdb/0x760 [ 13.424390][ T154] __kmalloc_noprof+0x443/0x760 [ 13.424392][ T154] ? alloc_buf.isra.0+0x4b/0x260 [ 13.424399][ T154] ? do_raw_spin_unlock+0x59/0x250 [ 13.424402][ T154] alloc_buf.isra.0+0x4b/0x260 [ 13.424406][ T154] put_chars+0x1e1/0x2f0 [ 13.424409][ T154] ? __send_to_port+0x420/0x420 [ 13.424411][ T154] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.424415][ T154] ? validate_chain+0x38b/0xc20 [ 13.424421][ T154] hvc_console_print+0x292/0x780 [ 13.424428][ T154] ? hvc_write+0x3a0/0x3a0 [ 13.424430][ T154] ? rcu_is_watching+0x16/0xd0 [ 13.424432][ T154] ? lock_acquire+0x13c/0x160 [ 13.424437][ T154] console_emit_next_record+0x22f/0x4c0 [ 13.424440][ T154] ? devkmsg_read+0x4b0/0x4b0 [ 13.424442][ T154] ? console_flush_one_record+0x106/0x710 [ 13.424444][ T154] ? rcu_is_watching+0x16/0xd0 [ 13.424446][ T154] ? lock_acquire+0x13c/0x160 [ 13.424451][ T154] console_flush_one_record+0x46f/0x710 [ 13.424454][ T154] ? console_emit_next_record+0x4c0/0x4c0 [ 13.424456][ T154] ? __lock_acquire+0x518/0xc20 [ 13.424461][ T154] console_unlock+0xee/0x1f0 [ 13.424463][ T154] ? console_flush_one_record+0x710/0x710 [ 13.424465][ T154] ? rcu_is_watching+0x16/0xd0 [ 13.424467][ T154] ? lock_acquire+0x60/0x160 [ 13.424471][ T154] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.424472][ T154] ? vprintk_emit+0x320/0x3e0 [ 13.424475][ T154] vprintk_emit+0x37c/0x3e0 [ 13.424479][ T154] ? wake_up_klogd_work_func+0x90/0x90 [ 13.424482][ T154] ? __lock_acquire+0x518/0xc20 [ 13.424486][ T154] _printk+0xc7/0x100 [ 13.424490][ T154] ? snapshot_read.cold+0x21/0x21 [ 13.424493][ T154] ? do_raw_spin_lock+0x131/0x280 [ 13.424495][ T154] ? __rwlock_init+0x150/0x150 [ 13.424500][ T154] ? do_raw_spin_lock+0x131/0x280 [ 13.424503][ T154] do_exit.cold+0x82/0x9c [ 13.424506][ T154] ? exit_notify+0x890/0x890 [ 13.424508][ T154] ? __lock_release.isra.0+0x69/0x1a0 [ 13.424511][ T154] ? rcu_is_watching+0x16/0xd0 [ 13.424514][ T154] do_group_exit+0xb8/0x370 [ 13.424518][ T154] __x64_sys_exit_group+0x3c/0x50 [ 13.424520][ T154] x64_sys_call+0x1567/0x1570 [ 13.424522][ T154] do_syscall_64+0xff/0x530 [ 13.424526][ T154] ? exc_page_fault+0xee/0x100 [ 13.424529][ T154] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.424532][ T154] RIP: 0033:0x7fb4322961b8 [ 13.424534][ T154] Code: Unable to access opcode bytes at 0x7fb43229618e. [ 13.424535][ T154] RSP: 002b:00007ffe505e2cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 13.424537][ T154] RAX: ffffffffffffffda RBX: 00007fb4323c6f88 RCX: 00007fb4322961b8 [ 13.424539][ T154] RDX: 00007fb432084cc8 RSI: ffffffffffffffa8 RDI: 0000000000000000 [ 13.424539][ T154] RBP: 00007ffe505e2d50 R08: 0000000000000000 R09: 0000000000000050 [ 13.424540][ T154] R10: 00007ffe505e2b50 R11: 0000000000000246 R12: 0000000000000001 [ 13.424541][ T154] R13: 0000000000000000 R14: 00007fb4323c5680 R15: 00007fb4323c6fa0 [ 13.424548][ T154]