[ 33.681249][ T164] perl (164) used greatest stack depth: 23496 bytes left [ 33.681268][ T164] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 33.681270][ T164] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 164, name: perl [ 33.681272][ T164] preempt_count: 2, expected: 0 [ 33.681273][ T164] RCU nest depth: 0, expected: 0 [ 33.681274][ T164] locks held by perl/164: 5, last CPU#1: [ 33.681276][ T164] #0: ffffffff87a127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 33.681288][ T164] #1: ffffffff87b79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 33.681294][ T164] #2: ffffffff87b79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 33.681298][ T164] #3: ffffffff87a99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 33.681303][ T164] #4: ffffffff87a99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 33.681309][ T164] irq event stamp: 126412 [ 33.681310][ T164] hardirqs last enabled at (126411): [] __down_trylock_console_sem+0x86/0xa0 [ 33.681314][ T164] hardirqs last disabled at (126412): [] console_emit_next_record+0x3d4/0x4c0 [ 33.681317][ T164] softirqs last enabled at (125732): [] handle_softirqs+0x67c/0x900 [ 33.681320][ T164] softirqs last disabled at (125725): [] __irq_exit_rcu+0x145/0x1c0 [ 33.681324][ T164] Preemption disabled at: [ 33.681325][ T164] [<0000000000000000>] 0x0 [ 33.681334][ T164] CPU: 1 UID: 0 PID: 164 Comm: perl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 33.681337][ T164] Tainted: [W]=WARN [ 33.681338][ T164] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 33.681340][ T164] Call Trace: [ 33.681342][ T164] [ 33.681343][ T164] dump_stack_lvl+0x6f/0xa0 [ 33.681349][ T164] __might_resched.cold+0x1fe/0x2c1 [ 33.681354][ T164] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 33.681358][ T164] ? __kmalloc_noprof+0xdb/0x760 [ 33.681363][ T164] __kmalloc_noprof+0x443/0x760 [ 33.681366][ T164] ? alloc_buf.isra.0+0x4b/0x260 [ 33.681372][ T164] ? do_raw_spin_unlock+0x59/0x250 [ 33.681375][ T164] alloc_buf.isra.0+0x4b/0x260 [ 33.681378][ T164] put_chars+0x1e1/0x2f0 [ 33.681388][ T164] ? __send_to_port+0x420/0x420 [ 33.681390][ T164] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 33.681395][ T164] ? validate_chain+0x38b/0xc20 [ 33.681400][ T164] hvc_console_print+0x292/0x780 [ 33.681407][ T164] ? hvc_write+0x3a0/0x3a0 [ 33.681410][ T164] ? rcu_is_watching+0x16/0xd0 [ 33.681412][ T164] ? lock_acquire+0x13c/0x160 [ 33.681417][ T164] console_emit_next_record+0x22f/0x4c0 [ 33.681421][ T164] ? devkmsg_read+0x4b0/0x4b0 [ 33.681423][ T164] ? console_flush_one_record+0x106/0x710 [ 33.681426][ T164] ? rcu_is_watching+0x16/0xd0 [ 33.681429][ T164] ? lock_acquire+0x13c/0x160 [ 33.681433][ T164] console_flush_one_record+0x46f/0x710 [ 33.681437][ T164] ? console_emit_next_record+0x4c0/0x4c0 [ 33.681439][ T164] ? __lock_acquire+0x518/0xc20 [ 33.681445][ T164] console_unlock+0xee/0x1f0 [ 33.681448][ T164] ? console_flush_one_record+0x710/0x710 [ 33.681450][ T164] ? rcu_is_watching+0x16/0xd0 [ 33.681453][ T164] ? lock_acquire+0x60/0x160 [ 33.681456][ T164] ? __down_trylock_console_sem+0x5e/0xa0 [ 33.681458][ T164] ? vprintk_emit+0x320/0x3e0 [ 33.681462][ T164] vprintk_emit+0x37c/0x3e0 [ 33.681466][ T164] ? wake_up_klogd_work_func+0x90/0x90 [ 33.681470][ T164] ? __lock_acquire+0x518/0xc20 [ 33.681474][ T164] _printk+0xc7/0x100 [ 33.681478][ T164] ? snapshot_read.cold+0x21/0x21 [ 33.681481][ T164] ? do_raw_spin_lock+0x131/0x280 [ 33.681483][ T164] ? __rwlock_init+0x150/0x150 [ 33.681487][ T164] ? do_raw_spin_lock+0x131/0x280 [ 33.681490][ T164] do_exit.cold+0x82/0x9c [ 33.681494][ T164] ? exit_notify+0x890/0x890 [ 33.681495][ T164] ? __lock_release.isra.0+0x69/0x1a0 [ 33.681498][ T164] ? rcu_is_watching+0x16/0xd0 [ 33.681503][ T164] do_group_exit+0xb8/0x370 [ 33.681506][ T164] __x64_sys_exit_group+0x3c/0x50 [ 33.681508][ T164] x64_sys_call+0x1567/0x1570 [ 33.681511][ T164] do_syscall_64+0xff/0x530 [ 33.681515][ T164] ? exc_page_fault+0xee/0x100 [ 33.681517][ T164] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 33.681520][ T164] RIP: 0033:0x7fbc5d3321b8 [ 33.681522][ T164] Code: Unable to access opcode bytes at 0x7fbc5d33218e. [ 33.681524][ T164] RSP: 002b:00007ffc60b7fed8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 33.681526][ T164] RAX: ffffffffffffffda RBX: 00007fbc5d462f88 RCX: 00007fbc5d3321b8 [ 33.681527][ T164] RDX: 00007fbc5d120cc8 RSI: ffffffffffffffa8 RDI: 0000000000000000 [ 33.681528][ T164] RBP: 00007ffc60b7ff30 R08: 0000000000000000 R09: 0000000000000050 [ 33.681529][ T164] R10: 00007ffc60b7fd30 R11: 0000000000000246 R12: 0000000000000001 [ 33.681530][ T164] R13: 0000000000000000 R14: 00007fbc5d461680 R15: 00007fbc5d462fa0 [ 33.681538][ T164]