[ 18.603909][ T154] perl (154) used greatest stack depth: 24560 bytes left [ 18.603925][ T154] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 18.603927][ T154] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 154, name: perl [ 18.603929][ T154] preempt_count: 2, expected: 0 [ 18.603930][ T154] RCU nest depth: 0, expected: 0 [ 18.603931][ T154] locks held by perl/154: 5, last CPU#1: [ 18.603933][ T154] #0: ffffffff916027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 18.603946][ T154] #1: ffffffff91769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 18.603951][ T154] #2: ffffffff91769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 18.603954][ T154] #3: ffffffff91689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 18.603958][ T154] #4: ffffffff91689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 18.603962][ T154] irq event stamp: 77620 [ 18.603963][ T154] hardirqs last enabled at (77619): [] __down_trylock_console_sem+0x86/0xa0 [ 18.603966][ T154] hardirqs last disabled at (77620): [] console_emit_next_record+0x3d4/0x4c0 [ 18.603968][ T154] softirqs last enabled at (75850): [] handle_softirqs+0x67c/0x900 [ 18.603970][ T154] softirqs last disabled at (75803): [] __irq_exit_rcu+0x145/0x1c0 [ 18.603973][ T154] Preemption disabled at: [ 18.603973][ T154] [<0000000000000000>] 0x0 [ 18.603980][ T154] CPU: 1 UID: 0 PID: 154 Comm: perl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 18.603991][ T154] Tainted: [W]=WARN [ 18.603992][ T154] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.603994][ T154] Call Trace: [ 18.603995][ T154] [ 18.603997][ T154] dump_stack_lvl+0x6f/0xa0 [ 18.604003][ T154] __might_resched.cold+0x1fe/0x2c1 [ 18.604007][ T154] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 18.604010][ T154] ? __kmalloc_noprof+0xdb/0x760 [ 18.604016][ T154] __kmalloc_noprof+0x443/0x760 [ 18.604018][ T154] ? alloc_buf.isra.0+0x4b/0x260 [ 18.604025][ T154] ? do_raw_spin_unlock+0x59/0x250 [ 18.604028][ T154] alloc_buf.isra.0+0x4b/0x260 [ 18.604031][ T154] put_chars+0x1e1/0x2f0 [ 18.604034][ T154] ? __send_to_port+0x420/0x420 [ 18.604036][ T154] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 18.604040][ T154] ? validate_chain+0x38b/0xc20 [ 18.604046][ T154] hvc_console_print+0x292/0x780 [ 18.604052][ T154] ? hvc_write+0x3a0/0x3a0 [ 18.604055][ T154] ? rcu_is_watching+0x16/0xd0 [ 18.604057][ T154] ? lock_acquire+0x13c/0x160 [ 18.604061][ T154] console_emit_next_record+0x22f/0x4c0 [ 18.604064][ T154] ? devkmsg_read+0x4b0/0x4b0 [ 18.604066][ T154] ? console_flush_one_record+0x106/0x710 [ 18.604068][ T154] ? rcu_is_watching+0x16/0xd0 [ 18.604070][ T154] ? lock_acquire+0x13c/0x160 [ 18.604074][ T154] console_flush_one_record+0x46f/0x710 [ 18.604078][ T154] ? console_emit_next_record+0x4c0/0x4c0 [ 18.604079][ T154] ? __lock_acquire+0x518/0xc20 [ 18.604085][ T154] console_unlock+0xee/0x1f0 [ 18.604087][ T154] ? console_flush_one_record+0x710/0x710 [ 18.604088][ T154] ? rcu_is_watching+0x16/0xd0 [ 18.604090][ T154] ? lock_acquire+0x60/0x160 [ 18.604094][ T154] ? __down_trylock_console_sem+0x5e/0xa0 [ 18.604096][ T154] ? vprintk_emit+0x320/0x3e0 [ 18.604099][ T154] vprintk_emit+0x37c/0x3e0 [ 18.604102][ T154] ? wake_up_klogd_work_func+0x90/0x90 [ 18.604105][ T154] ? __lock_acquire+0x518/0xc20 [ 18.604109][ T154] _printk+0xc7/0x100 [ 18.604113][ T154] ? snapshot_read.cold+0x21/0x21 [ 18.604116][ T154] ? do_raw_spin_lock+0x131/0x280 [ 18.604119][ T154] ? __rwlock_init+0x150/0x150 [ 18.604123][ T154] ? do_raw_spin_lock+0x131/0x280 [ 18.604126][ T154] do_exit.cold+0x82/0x9c [ 18.604129][ T154] ? exit_notify+0x890/0x890 [ 18.604131][ T154] ? __lock_release.isra.0+0x69/0x1a0 [ 18.604134][ T154] ? rcu_is_watching+0x16/0xd0 [ 18.604138][ T154] do_group_exit+0xb8/0x370 [ 18.604141][ T154] __x64_sys_exit_group+0x3c/0x50 [ 18.604143][ T154] x64_sys_call+0x1567/0x1570 [ 18.604145][ T154] do_syscall_64+0xff/0x530 [ 18.604150][ T154] ? exc_page_fault+0xee/0x100 [ 18.604153][ T154] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 18.604155][ T154] RIP: 0033:0x7fd8a29351b8 [ 18.604157][ T154] Code: Unable to access opcode bytes at 0x7fd8a293518e. [ 18.604158][ T154] RSP: 002b:00007ffd53a3fb18 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 18.604161][ T154] RAX: ffffffffffffffda RBX: 00007fd8a2a65f88 RCX: 00007fd8a29351b8 [ 18.604162][ T154] RDX: 00007fd8a2723cc8 RSI: ffffffffffffffa8 RDI: 0000000000000000 [ 18.604163][ T154] RBP: 00007ffd53a3fb70 R08: 0000000000000000 R09: 0000000000000050 [ 18.604164][ T154] R10: 00007ffd53a3f970 R11: 0000000000000246 R12: 0000000000000001 [ 18.604165][ T154] R13: 0000000000000000 R14: 00007fd8a2a64680 R15: 00007fd8a2a65fa0 [ 18.604171][ T154]