[ 12.085905][ T155] perl (155) used greatest stack depth: 24808 bytes left [ 12.085922][ T155] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.085925][ T155] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 155, name: perl [ 12.085926][ T155] preempt_count: 2, expected: 0 [ 12.085927][ T155] RCU nest depth: 0, expected: 0 [ 12.085928][ T155] locks held by perl/155: 5, last CPU#3: [ 12.085930][ T155] #0: ffffffff89c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.085942][ T155] #1: ffffffff89d69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.085947][ T155] #2: ffffffff89d69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.085950][ T155] #3: ffffffff89c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.085953][ T155] #4: ffffffff89c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.085956][ T155] irq event stamp: 67326 [ 12.085957][ T155] hardirqs last enabled at (67325): [] __down_trylock_console_sem+0x86/0xa0 [ 12.085960][ T155] hardirqs last disabled at (67326): [] console_emit_next_record+0x3d4/0x4c0 [ 12.085962][ T155] softirqs last enabled at (66330): [] handle_softirqs+0x67c/0x900 [ 12.085964][ T155] softirqs last disabled at (64995): [] __irq_exit_rcu+0x145/0x1c0 [ 12.085966][ T155] Preemption disabled at: [ 12.085967][ T155] [<0000000000000000>] 0x0 [ 12.085974][ T155] CPU: 3 UID: 0 PID: 155 Comm: perl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.085977][ T155] Tainted: [W]=WARN [ 12.085978][ T155] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.085980][ T155] Call Trace: [ 12.085981][ T155] [ 12.085983][ T155] dump_stack_lvl+0x6f/0xa0 [ 12.085988][ T155] __might_resched.cold+0x1fe/0x2c1 [ 12.085993][ T155] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.085996][ T155] ? __kmalloc_noprof+0xdb/0x760 [ 12.086001][ T155] __kmalloc_noprof+0x443/0x760 [ 12.086004][ T155] ? alloc_buf.isra.0+0x4b/0x260 [ 12.086013][ T155] ? do_raw_spin_unlock+0x59/0x250 [ 12.086016][ T155] alloc_buf.isra.0+0x4b/0x260 [ 12.086021][ T155] put_chars+0x1e1/0x2f0 [ 12.086025][ T155] ? __send_to_port+0x420/0x420 [ 12.086027][ T155] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.086033][ T155] ? validate_chain+0x38b/0xc20 [ 12.086041][ T155] hvc_console_print+0x292/0x780 [ 12.086051][ T155] ? hvc_write+0x3a0/0x3a0 [ 12.086053][ T155] ? rcu_is_watching+0x16/0xd0 [ 12.086056][ T155] ? lock_acquire+0x13c/0x160 [ 12.086060][ T155] console_emit_next_record+0x22f/0x4c0 [ 12.086063][ T155] ? devkmsg_read+0x4b0/0x4b0 [ 12.086064][ T155] ? console_flush_one_record+0x106/0x710 [ 12.086067][ T155] ? rcu_is_watching+0x16/0xd0 [ 12.086069][ T155] ? lock_acquire+0x13c/0x160 [ 12.086073][ T155] console_flush_one_record+0x46f/0x710 [ 12.086076][ T155] ? console_emit_next_record+0x4c0/0x4c0 [ 12.086077][ T155] ? __lock_acquire+0x518/0xc20 [ 12.086082][ T155] console_unlock+0xee/0x1f0 [ 12.086085][ T155] ? console_flush_one_record+0x710/0x710 [ 12.086086][ T155] ? rcu_is_watching+0x16/0xd0 [ 12.086088][ T155] ? lock_acquire+0x60/0x160 [ 12.086091][ T155] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.086093][ T155] ? vprintk_emit+0x320/0x3e0 [ 12.086096][ T155] vprintk_emit+0x37c/0x3e0 [ 12.086099][ T155] ? wake_up_klogd_work_func+0x90/0x90 [ 12.086102][ T155] ? __lock_acquire+0x518/0xc20 [ 12.086105][ T155] _printk+0xc7/0x100 [ 12.086109][ T155] ? snapshot_read.cold+0x21/0x21 [ 12.086112][ T155] ? do_raw_spin_lock+0x131/0x280 [ 12.086114][ T155] ? __rwlock_init+0x150/0x150 [ 12.086118][ T155] ? do_raw_spin_lock+0x131/0x280 [ 12.086121][ T155] do_exit.cold+0x82/0x9c [ 12.086124][ T155] ? exit_notify+0x890/0x890 [ 12.086126][ T155] ? __lock_release.isra.0+0x69/0x1a0 [ 12.086129][ T155] ? rcu_is_watching+0x16/0xd0 [ 12.086132][ T155] do_group_exit+0xb8/0x370 [ 12.086135][ T155] __x64_sys_exit_group+0x3c/0x50 [ 12.086137][ T155] x64_sys_call+0x1567/0x1570 [ 12.086140][ T155] do_syscall_64+0xff/0x530 [ 12.086144][ T155] ? exc_page_fault+0xee/0x100 [ 12.086147][ T155] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.086149][ T155] RIP: 0033:0x7fef1efa91b8 [ 12.086152][ T155] Code: Unable to access opcode bytes at 0x7fef1efa918e. [ 12.086153][ T155] RSP: 002b:00007ffdc8d29e98 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.086155][ T155] RAX: ffffffffffffffda RBX: 00007fef1f0d9f88 RCX: 00007fef1efa91b8 [ 12.086157][ T155] RDX: 00007fef1ed97cc8 RSI: ffffffffffffffa8 RDI: 0000000000000000 [ 12.086157][ T155] RBP: 00007ffdc8d29ef0 R08: 0000000000000000 R09: 0000000000000050 [ 12.086158][ T155] R10: 00007ffdc8d29cf0 R11: 0000000000000246 R12: 0000000000000001 [ 12.086159][ T155] R13: 0000000000000000 R14: 00007fef1f0d8680 R15: 00007fef1f0d9fa0 [ 12.086165][ T155]