[ 8.953722][ T164] perl (164) used greatest stack depth: 24096 bytes left [ 8.953737][ T164] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.953739][ T164] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 164, name: perl [ 8.953740][ T164] preempt_count: 2, expected: 0 [ 8.953741][ T164] RCU nest depth: 0, expected: 0 [ 8.953742][ T164] locks held by perl/164: 5, last CPU#2: [ 8.953744][ T164] #0: ffffffffb54127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 8.953754][ T164] #1: ffffffffb5579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.953760][ T164] #2: ffffffffb5579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.953764][ T164] #3: ffffffffb5499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.953767][ T164] #4: ffffffffb5499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 8.953771][ T164] irq event stamp: 97086 [ 8.953772][ T164] hardirqs last enabled at (97085): [] __down_trylock_console_sem+0x86/0xa0 [ 8.953774][ T164] hardirqs last disabled at (97086): [] console_emit_next_record+0x3d4/0x4c0 [ 8.953776][ T164] softirqs last enabled at (94472): [] handle_softirqs+0x67c/0x900 [ 8.953778][ T164] softirqs last disabled at (94465): [] __irq_exit_rcu+0x145/0x1c0 [ 8.953780][ T164] Preemption disabled at: [ 8.953781][ T164] [<0000000000000000>] 0x0 [ 8.953787][ T164] CPU: 2 UID: 0 PID: 164 Comm: perl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.953791][ T164] Tainted: [W]=WARN [ 8.953792][ T164] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.953793][ T164] Call Trace: [ 8.953795][ T164] [ 8.953796][ T164] dump_stack_lvl+0x6f/0xa0 [ 8.953802][ T164] __might_resched.cold+0x1fe/0x2c1 [ 8.953806][ T164] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.953810][ T164] ? __kmalloc_noprof+0xdb/0x760 [ 8.953815][ T164] __kmalloc_noprof+0x443/0x760 [ 8.953817][ T164] ? alloc_buf.isra.0+0x4b/0x260 [ 8.953823][ T164] ? do_raw_spin_unlock+0x59/0x250 [ 8.953825][ T164] alloc_buf.isra.0+0x4b/0x260 [ 8.953828][ T164] put_chars+0x1e1/0x2f0 [ 8.953831][ T164] ? __send_to_port+0x420/0x420 [ 8.953833][ T164] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.953837][ T164] ? validate_chain+0x38b/0xc20 [ 8.953842][ T164] hvc_console_print+0x292/0x780 [ 8.953849][ T164] ? hvc_write+0x3a0/0x3a0 [ 8.953851][ T164] ? rcu_is_watching+0x16/0xd0 [ 8.953853][ T164] ? lock_acquire+0x13c/0x160 [ 8.953857][ T164] console_emit_next_record+0x22f/0x4c0 [ 8.953861][ T164] ? devkmsg_read+0x4b0/0x4b0 [ 8.953862][ T164] ? console_flush_one_record+0x106/0x710 [ 8.953865][ T164] ? rcu_is_watching+0x16/0xd0 [ 8.953868][ T164] ? lock_acquire+0x13c/0x160 [ 8.953871][ T164] console_flush_one_record+0x46f/0x710 [ 8.953875][ T164] ? console_emit_next_record+0x4c0/0x4c0 [ 8.953877][ T164] ? __lock_acquire+0x518/0xc20 [ 8.953882][ T164] console_unlock+0xee/0x1f0 [ 8.953885][ T164] ? console_flush_one_record+0x710/0x710 [ 8.953886][ T164] ? rcu_is_watching+0x16/0xd0 [ 8.953889][ T164] ? lock_acquire+0x60/0x160 [ 8.953892][ T164] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.953894][ T164] ? vprintk_emit+0x320/0x3e0 [ 8.953897][ T164] vprintk_emit+0x37c/0x3e0 [ 8.953900][ T164] ? wake_up_klogd_work_func+0x90/0x90 [ 8.953904][ T164] ? __lock_acquire+0x518/0xc20 [ 8.953907][ T164] _printk+0xc7/0x100 [ 8.953911][ T164] ? snapshot_read.cold+0x21/0x21 [ 8.953913][ T164] ? do_raw_spin_lock+0x131/0x280 [ 8.953916][ T164] ? __rwlock_init+0x150/0x150 [ 8.953919][ T164] ? do_raw_spin_lock+0x131/0x280 [ 8.953922][ T164] do_exit.cold+0x82/0x9c [ 8.953925][ T164] ? exit_notify+0x890/0x890 [ 8.953927][ T164] ? __lock_release.isra.0+0x69/0x1a0 [ 8.953929][ T164] ? rcu_is_watching+0x16/0xd0 [ 8.953933][ T164] do_group_exit+0xb8/0x370 [ 8.953936][ T164] __x64_sys_exit_group+0x3c/0x50 [ 8.953938][ T164] x64_sys_call+0x1567/0x1570 [ 8.953940][ T164] do_syscall_64+0xff/0x530 [ 8.953944][ T164] ? exc_page_fault+0xee/0x100 [ 8.953947][ T164] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.953949][ T164] RIP: 0033:0x7fb5468831b8 [ 8.953951][ T164] Code: Unable to access opcode bytes at 0x7fb54688318e. [ 8.953952][ T164] RSP: 002b:00007ffc33546fc8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 8.953954][ T164] RAX: ffffffffffffffda RBX: 00007fb5469b3f88 RCX: 00007fb5468831b8 [ 8.953956][ T164] RDX: 00007fb546671cc8 RSI: ffffffffffffffa8 RDI: 0000000000000000 [ 8.953956][ T164] RBP: 00007ffc33547020 R08: 0000000000000000 R09: 0000000000000050 [ 8.953957][ T164] R10: 00007ffc33546e20 R11: 0000000000000246 R12: 0000000000000001 [ 8.953958][ T164] R13: 0000000000000000 R14: 00007fb5469b2680 R15: 00007fb5469b3fa0 [ 8.953964][ T164]