[ 10.423607][ T154] perl (154) used greatest stack depth: 23840 bytes left [ 10.423626][ T154] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.423628][ T154] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 154, name: perl [ 10.423629][ T154] preempt_count: 2, expected: 0 [ 10.423630][ T154] RCU nest depth: 0, expected: 0 [ 10.423631][ T154] locks held by perl/154: 5, last CPU#3: [ 10.423633][ T154] #0: ffffffffa74027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.423645][ T154] #1: ffffffffa7569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.423650][ T154] #2: ffffffffa7569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.423653][ T154] #3: ffffffffa7489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.423656][ T154] #4: ffffffffa7489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.423660][ T154] irq event stamp: 82532 [ 10.423661][ T154] hardirqs last enabled at (82531): [] __down_trylock_console_sem+0x86/0xa0 [ 10.423664][ T154] hardirqs last disabled at (82532): [] console_emit_next_record+0x3d4/0x4c0 [ 10.423666][ T154] softirqs last enabled at (80728): [] handle_softirqs+0x67c/0x900 [ 10.423668][ T154] softirqs last disabled at (80687): [] __irq_exit_rcu+0x145/0x1c0 [ 10.423670][ T154] Preemption disabled at: [ 10.423671][ T154] [<0000000000000000>] 0x0 [ 10.423677][ T154] CPU: 3 UID: 0 PID: 154 Comm: perl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.423681][ T154] Tainted: [W]=WARN [ 10.423682][ T154] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.423684][ T154] Call Trace: [ 10.423685][ T154] [ 10.423687][ T154] dump_stack_lvl+0x6f/0xa0 [ 10.423692][ T154] __might_resched.cold+0x1fe/0x2c1 [ 10.423696][ T154] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.423699][ T154] ? __kmalloc_noprof+0xdb/0x760 [ 10.423704][ T154] __kmalloc_noprof+0x443/0x760 [ 10.423707][ T154] ? alloc_buf.isra.0+0x4b/0x260 [ 10.423713][ T154] ? do_raw_spin_unlock+0x59/0x250 [ 10.423716][ T154] alloc_buf.isra.0+0x4b/0x260 [ 10.423719][ T154] put_chars+0x1e1/0x2f0 [ 10.423722][ T154] ? __send_to_port+0x420/0x420 [ 10.423724][ T154] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.423728][ T154] ? validate_chain+0x38b/0xc20 [ 10.423733][ T154] hvc_console_print+0x292/0x780 [ 10.423739][ T154] ? hvc_write+0x3a0/0x3a0 [ 10.423741][ T154] ? rcu_is_watching+0x16/0xd0 [ 10.423743][ T154] ? lock_acquire+0x13c/0x160 [ 10.423747][ T154] console_emit_next_record+0x22f/0x4c0 [ 10.423750][ T154] ? devkmsg_read+0x4b0/0x4b0 [ 10.423752][ T154] ? console_flush_one_record+0x106/0x710 [ 10.423755][ T154] ? rcu_is_watching+0x16/0xd0 [ 10.423756][ T154] ? lock_acquire+0x13c/0x160 [ 10.423760][ T154] console_flush_one_record+0x46f/0x710 [ 10.423764][ T154] ? console_emit_next_record+0x4c0/0x4c0 [ 10.423765][ T154] ? __lock_acquire+0x518/0xc20 [ 10.423770][ T154] console_unlock+0xee/0x1f0 [ 10.423773][ T154] ? console_flush_one_record+0x710/0x710 [ 10.423774][ T154] ? rcu_is_watching+0x16/0xd0 [ 10.423776][ T154] ? lock_acquire+0x60/0x160 [ 10.423780][ T154] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.423782][ T154] ? vprintk_emit+0x320/0x3e0 [ 10.423784][ T154] vprintk_emit+0x37c/0x3e0 [ 10.423787][ T154] ? wake_up_klogd_work_func+0x90/0x90 [ 10.423790][ T154] ? __lock_acquire+0x518/0xc20 [ 10.423794][ T154] _printk+0xc7/0x100 [ 10.423798][ T154] ? snapshot_read.cold+0x21/0x21 [ 10.423800][ T154] ? do_raw_spin_lock+0x131/0x280 [ 10.423803][ T154] ? __rwlock_init+0x150/0x150 [ 10.423807][ T154] ? do_raw_spin_lock+0x131/0x280 [ 10.423810][ T154] do_exit.cold+0x82/0x9c [ 10.423813][ T154] ? exit_notify+0x890/0x890 [ 10.423815][ T154] ? __lock_release.isra.0+0x69/0x1a0 [ 10.423817][ T154] ? rcu_is_watching+0x16/0xd0 [ 10.423821][ T154] do_group_exit+0xb8/0x370 [ 10.423824][ T154] __x64_sys_exit_group+0x3c/0x50 [ 10.423826][ T154] x64_sys_call+0x1567/0x1570 [ 10.423829][ T154] do_syscall_64+0xff/0x530 [ 10.423832][ T154] ? exc_page_fault+0xee/0x100 [ 10.423835][ T154] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.423838][ T154] RIP: 0033:0x7f78922141b8 [ 10.423840][ T154] Code: Unable to access opcode bytes at 0x7f789221418e. [ 10.423841][ T154] RSP: 002b:00007ffd25964ff8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.423843][ T154] RAX: ffffffffffffffda RBX: 00007f7892344f88 RCX: 00007f78922141b8 [ 10.423844][ T154] RDX: 00007f7892002cc8 RSI: ffffffffffffffa8 RDI: 0000000000000000 [ 10.423845][ T154] RBP: 00007ffd25965050 R08: 0000000000000000 R09: 0000000000000050 [ 10.423846][ T154] R10: 00007ffd25964e50 R11: 0000000000000246 R12: 0000000000000001 [ 10.423847][ T154] R13: 0000000000000000 R14: 00007f7892343680 R15: 00007f7892344fa0 [ 10.423854][ T154]