[ 11.559958][ T154] perl (154) used greatest stack depth: 24000 bytes left [ 11.559978][ T154] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.559981][ T154] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 154, name: perl [ 11.559982][ T154] preempt_count: 2, expected: 0 [ 11.559983][ T154] RCU nest depth: 0, expected: 0 [ 11.559984][ T154] locks held by perl/154: 5, last CPU#1: [ 11.559986][ T154] #0: ffffffffb0c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.559998][ T154] #1: ffffffffb0d69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.560004][ T154] #2: ffffffffb0d69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.560007][ T154] #3: ffffffffb0c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.560010][ T154] #4: ffffffffb0c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.560013][ T154] irq event stamp: 70356 [ 11.560014][ T154] hardirqs last enabled at (70355): [] __down_trylock_console_sem+0x86/0xa0 [ 11.560018][ T154] hardirqs last disabled at (70356): [] console_emit_next_record+0x3d4/0x4c0 [ 11.560019][ T154] softirqs last enabled at (69816): [] handle_softirqs+0x67c/0x900 [ 11.560022][ T154] softirqs last disabled at (69757): [] __irq_exit_rcu+0x145/0x1c0 [ 11.560024][ T154] Preemption disabled at: [ 11.560025][ T154] [<0000000000000000>] 0x0 [ 11.560032][ T154] CPU: 1 UID: 0 PID: 154 Comm: perl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.560035][ T154] Tainted: [W]=WARN [ 11.560036][ T154] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.560038][ T154] Call Trace: [ 11.560039][ T154] [ 11.560041][ T154] dump_stack_lvl+0x6f/0xa0 [ 11.560046][ T154] __might_resched.cold+0x1fe/0x2c1 [ 11.560051][ T154] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.560054][ T154] ? __kmalloc_noprof+0xdb/0x760 [ 11.560059][ T154] __kmalloc_noprof+0x443/0x760 [ 11.560062][ T154] ? alloc_buf.isra.0+0x4b/0x260 [ 11.560068][ T154] ? do_raw_spin_unlock+0x59/0x250 [ 11.560071][ T154] alloc_buf.isra.0+0x4b/0x260 [ 11.560074][ T154] put_chars+0x1e1/0x2f0 [ 11.560077][ T154] ? __send_to_port+0x420/0x420 [ 11.560079][ T154] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.560083][ T154] ? validate_chain+0x38b/0xc20 [ 11.560088][ T154] hvc_console_print+0x292/0x780 [ 11.560095][ T154] ? hvc_write+0x3a0/0x3a0 [ 11.560097][ T154] ? rcu_is_watching+0x16/0xd0 [ 11.560099][ T154] ? lock_acquire+0x13c/0x160 [ 11.560103][ T154] console_emit_next_record+0x22f/0x4c0 [ 11.560107][ T154] ? devkmsg_read+0x4b0/0x4b0 [ 11.560108][ T154] ? console_flush_one_record+0x106/0x710 [ 11.560111][ T154] ? rcu_is_watching+0x16/0xd0 [ 11.560113][ T154] ? lock_acquire+0x13c/0x160 [ 11.560117][ T154] console_flush_one_record+0x46f/0x710 [ 11.560120][ T154] ? console_emit_next_record+0x4c0/0x4c0 [ 11.560121][ T154] ? __lock_acquire+0x518/0xc20 [ 11.560127][ T154] console_unlock+0xee/0x1f0 [ 11.560129][ T154] ? console_flush_one_record+0x710/0x710 [ 11.560130][ T154] ? rcu_is_watching+0x16/0xd0 [ 11.560132][ T154] ? lock_acquire+0x60/0x160 [ 11.560136][ T154] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.560138][ T154] ? vprintk_emit+0x320/0x3e0 [ 11.560141][ T154] vprintk_emit+0x37c/0x3e0 [ 11.560144][ T154] ? wake_up_klogd_work_func+0x90/0x90 [ 11.560147][ T154] ? __lock_acquire+0x518/0xc20 [ 11.560151][ T154] _printk+0xc7/0x100 [ 11.560155][ T154] ? snapshot_read.cold+0x21/0x21 [ 11.560157][ T154] ? do_raw_spin_lock+0x131/0x280 [ 11.560160][ T154] ? __rwlock_init+0x150/0x150 [ 11.560164][ T154] ? do_raw_spin_lock+0x131/0x280 [ 11.560167][ T154] do_exit.cold+0x82/0x9c [ 11.560171][ T154] ? exit_notify+0x890/0x890 [ 11.560172][ T154] ? __lock_release.isra.0+0x69/0x1a0 [ 11.560175][ T154] ? rcu_is_watching+0x16/0xd0 [ 11.560179][ T154] do_group_exit+0xb8/0x370 [ 11.560182][ T154] __x64_sys_exit_group+0x3c/0x50 [ 11.560184][ T154] x64_sys_call+0x1567/0x1570 [ 11.560187][ T154] do_syscall_64+0xff/0x530 [ 11.560190][ T154] ? exc_page_fault+0xee/0x100 [ 11.560194][ T154] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.560196][ T154] RIP: 0033:0x7fe597e9c1b8 [ 11.560198][ T154] Code: Unable to access opcode bytes at 0x7fe597e9c18e. [ 11.560199][ T154] RSP: 002b:00007fff78d18918 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.560202][ T154] RAX: ffffffffffffffda RBX: 00007fe597fccf88 RCX: 00007fe597e9c1b8 [ 11.560203][ T154] RDX: 00007fe597c8acc8 RSI: ffffffffffffffa8 RDI: 0000000000000000 [ 11.560204][ T154] RBP: 00007fff78d18970 R08: 0000000000000000 R09: 0000000000000050 [ 11.560205][ T154] R10: 00007fff78d18770 R11: 0000000000000246 R12: 0000000000000001 [ 11.560206][ T154] R13: 0000000000000000 R14: 00007fe597fcb680 R15: 00007fe597fccfa0 [ 11.560213][ T154]