[ 10.886170][ T163] perl (163) used greatest stack depth: 24352 bytes left [ 10.886190][ T163] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.886192][ T163] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 163, name: perl [ 10.886194][ T163] preempt_count: 2, expected: 0 [ 10.886194][ T163] RCU nest depth: 0, expected: 0 [ 10.886195][ T163] locks held by perl/163: 5, last CPU#1: [ 10.886198][ T163] #0: ffffffffae4027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.886210][ T163] #1: ffffffffae599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.886215][ T163] #2: ffffffffae599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.886219][ T163] #3: ffffffffae489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.886222][ T163] #4: ffffffffae489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.886227][ T163] irq event stamp: 62154 [ 10.886227][ T163] hardirqs last enabled at (62153): [] __down_trylock_console_sem+0x86/0xa0 [ 10.886229][ T163] hardirqs last disabled at (62154): [] console_emit_next_record+0x3f8/0x4f0 [ 10.886231][ T163] softirqs last enabled at (62038): [] handle_softirqs+0x67c/0x900 [ 10.886234][ T163] softirqs last disabled at (60633): [] __irq_exit_rcu+0x145/0x1c0 [ 10.886236][ T163] Preemption disabled at: [ 10.886237][ T163] [<0000000000000000>] 0x0 [ 10.886244][ T163] CPU: 1 UID: 0 PID: 163 Comm: perl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.886247][ T163] Tainted: [W]=WARN [ 10.886248][ T163] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.886250][ T163] Call Trace: [ 10.886251][ T163] [ 10.886253][ T163] dump_stack_lvl+0x6f/0xa0 [ 10.886258][ T163] __might_resched.cold+0x1fe/0x2c1 [ 10.886263][ T163] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.886266][ T163] ? __kmalloc_noprof+0xdb/0x760 [ 10.886270][ T163] __kmalloc_noprof+0x443/0x760 [ 10.886272][ T163] ? alloc_buf.isra.0+0x4b/0x260 [ 10.886278][ T163] ? do_raw_spin_unlock+0x59/0x250 [ 10.886280][ T163] alloc_buf.isra.0+0x4b/0x260 [ 10.886284][ T163] put_chars+0x1e1/0x2f0 [ 10.886286][ T163] ? __send_to_port+0x420/0x420 [ 10.886288][ T163] ? printk_get_next_message+0x2fe/0x7d0 [ 10.886291][ T163] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.886294][ T163] ? validate_chain+0x38b/0xc20 [ 10.886298][ T163] hvc_console_print+0x292/0x780 [ 10.886301][ T163] ? __lock_acquire+0x518/0xc20 [ 10.886302][ T163] ? __lock_acquire+0x518/0xc20 [ 10.886306][ T163] ? hvc_write+0x3a0/0x3a0 [ 10.886309][ T163] ? rcu_is_watching+0x16/0xd0 [ 10.886312][ T163] ? lock_acquire+0x13c/0x160 [ 10.886316][ T163] console_emit_next_record+0x252/0x4f0 [ 10.886319][ T163] ? devkmsg_read+0x4e0/0x4e0 [ 10.886323][ T163] ? rcu_is_watching+0x16/0xd0 [ 10.886325][ T163] ? lock_acquire+0x13c/0x160 [ 10.886329][ T163] console_flush_one_record+0x46f/0x710 [ 10.886333][ T163] ? console_emit_next_record+0x4f0/0x4f0 [ 10.886334][ T163] ? __lock_acquire+0x518/0xc20 [ 10.886339][ T163] console_unlock+0xee/0x1f0 [ 10.886341][ T163] ? console_flush_one_record+0x710/0x710 [ 10.886343][ T163] ? rcu_is_watching+0x16/0xd0 [ 10.886345][ T163] ? lock_acquire+0x60/0x160 [ 10.886348][ T163] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.886349][ T163] ? vprintk_emit+0x320/0x3e0 [ 10.886352][ T163] vprintk_emit+0x37c/0x3e0 [ 10.886356][ T163] ? wake_up_klogd_work_func+0x90/0x90 [ 10.886359][ T163] ? __lock_acquire+0x518/0xc20 [ 10.886362][ T163] _printk+0xc7/0x100 [ 10.886366][ T163] ? snapshot_read.cold+0x21/0x21 [ 10.886368][ T163] ? do_raw_spin_lock+0x131/0x280 [ 10.886371][ T163] ? __rwlock_init+0x150/0x150 [ 10.886374][ T163] ? do_raw_spin_lock+0x131/0x280 [ 10.886377][ T163] do_exit.cold+0x82/0x9c [ 10.886380][ T163] ? exit_notify+0x890/0x890 [ 10.886382][ T163] ? __lock_release.isra.0+0x69/0x1a0 [ 10.886384][ T163] ? rcu_is_watching+0x16/0xd0 [ 10.886388][ T163] do_group_exit+0xb8/0x370 [ 10.886392][ T163] __x64_sys_exit_group+0x3c/0x50 [ 10.886394][ T163] x64_sys_call+0x1567/0x1570 [ 10.886396][ T163] do_syscall_64+0xff/0x530 [ 10.886400][ T163] ? exc_page_fault+0xee/0x100 [ 10.886403][ T163] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.886405][ T163] RIP: 0033:0x7fc5f9c081b8 [ 10.886407][ T163] Code: Unable to access opcode bytes at 0x7fc5f9c0818e. [ 10.886408][ T163] RSP: 002b:00007fff27669ac8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.886411][ T163] RAX: ffffffffffffffda RBX: 00007fc5f9d38f88 RCX: 00007fc5f9c081b8 [ 10.886412][ T163] RDX: 00007fc5f99f6cc8 RSI: ffffffffffffffa8 RDI: 0000000000000000 [ 10.886413][ T163] RBP: 00007fff27669b20 R08: 0000000000000000 R09: 0000000000000050 [ 10.886414][ T163] R10: 00007fff27669920 R11: 0000000000000246 R12: 0000000000000001 [ 10.886414][ T163] R13: 0000000000000000 R14: 00007fc5f9d37680 R15: 00007fc5f9d38fa0 [ 10.886421][ T163]