[ 13.709959][ T238] packetdrill (238) used greatest stack depth: 24496 bytes left [ 13.709976][ T238] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.709979][ T238] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 238, name: packetdrill [ 13.709980][ T238] preempt_count: 2, expected: 0 [ 13.709981][ T238] RCU nest depth: 0, expected: 0 [ 13.709982][ T238] locks held by packetdrill/238: 5, last CPU#1: [ 13.709984][ T238] #0: ffffffff91c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.709997][ T238] #1: ffffffff91d69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.710002][ T238] #2: ffffffff91d69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.710005][ T238] #3: ffffffff91c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.710009][ T238] #4: ffffffff91c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.710012][ T238] irq event stamp: 3313206 [ 13.710013][ T238] hardirqs last enabled at (3313205): [] __down_trylock_console_sem+0x86/0xa0 [ 13.710017][ T238] hardirqs last disabled at (3313206): [] console_emit_next_record+0x3d4/0x4c0 [ 13.710018][ T238] softirqs last enabled at (3312976): [] tcp_close+0x2b/0xb0 [ 13.710022][ T238] softirqs last disabled at (3312974): [] release_sock+0x21/0x240 [ 13.710026][ T238] Preemption disabled at: [ 13.710027][ T238] [<0000000000000000>] 0x0 [ 13.710034][ T238] CPU: 1 UID: 0 PID: 238 Comm: packetdrill Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.710038][ T238] Tainted: [W]=WARN [ 13.710038][ T238] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.710040][ T238] Call Trace: [ 13.710042][ T238] [ 13.710044][ T238] dump_stack_lvl+0x6f/0xa0 [ 13.710049][ T238] __might_resched.cold+0x1fe/0x2c1 [ 13.710054][ T238] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.710057][ T238] ? __kmalloc_noprof+0xdb/0x760 [ 13.710063][ T238] __kmalloc_noprof+0x443/0x760 [ 13.710065][ T238] ? alloc_buf.isra.0+0x4b/0x260 [ 13.710071][ T238] ? do_raw_spin_unlock+0x59/0x250 [ 13.710074][ T238] alloc_buf.isra.0+0x4b/0x260 [ 13.710078][ T238] put_chars+0x1e1/0x2f0 [ 13.710081][ T238] ? __send_to_port+0x420/0x420 [ 13.710082][ T238] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.710086][ T238] ? validate_chain+0x38b/0xc20 [ 13.710092][ T238] hvc_console_print+0x292/0x780 [ 13.710099][ T238] ? hvc_write+0x3a0/0x3a0 [ 13.710101][ T238] ? rcu_is_watching+0x16/0xd0 [ 13.710103][ T238] ? lock_acquire+0x13c/0x160 [ 13.710108][ T238] console_emit_next_record+0x22f/0x4c0 [ 13.710111][ T238] ? devkmsg_read+0x4b0/0x4b0 [ 13.710113][ T238] ? console_flush_one_record+0x106/0x710 [ 13.710115][ T238] ? rcu_is_watching+0x16/0xd0 [ 13.710117][ T238] ? lock_acquire+0x13c/0x160 [ 13.710121][ T238] console_flush_one_record+0x46f/0x710 [ 13.710125][ T238] ? console_emit_next_record+0x4c0/0x4c0 [ 13.710126][ T238] ? __lock_acquire+0x518/0xc20 [ 13.710136][ T238] console_unlock+0xee/0x1f0 [ 13.710138][ T238] ? console_flush_one_record+0x710/0x710 [ 13.710140][ T238] ? rcu_is_watching+0x16/0xd0 [ 13.710141][ T238] ? lock_acquire+0x60/0x160 [ 13.710145][ T238] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.710147][ T238] ? vprintk_emit+0x320/0x3e0 [ 13.710150][ T238] vprintk_emit+0x37c/0x3e0 [ 13.710153][ T238] ? wake_up_klogd_work_func+0x90/0x90 [ 13.710155][ T238] ? do_raw_spin_unlock+0x59/0x250 [ 13.710158][ T238] ? __lock_acquire+0x518/0xc20 [ 13.710170][ T238] _printk+0xc7/0x100 [ 13.710174][ T238] ? snapshot_read.cold+0x21/0x21 [ 13.710177][ T238] ? do_raw_spin_lock+0x131/0x280 [ 13.710180][ T238] ? __rwlock_init+0x150/0x150 [ 13.710184][ T238] ? do_raw_spin_lock+0x131/0x280 [ 13.710187][ T238] do_exit.cold+0x82/0x9c [ 13.710191][ T238] ? exit_notify+0x890/0x890 [ 13.710192][ T238] ? __lock_release.isra.0+0x69/0x1a0 [ 13.710195][ T238] ? rcu_is_watching+0x16/0xd0 [ 13.710199][ T238] do_group_exit+0xb8/0x370 [ 13.710202][ T238] __x64_sys_exit_group+0x3c/0x50 [ 13.710204][ T238] x64_sys_call+0x1567/0x1570 [ 13.710207][ T238] do_syscall_64+0xff/0x530 [ 13.710211][ T238] ? irq_exit_rcu+0x1a/0x30 [ 13.710214][ T238] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.710216][ T238] RIP: 0033:0x479678 [ 13.710218][ T238] Code: Unable to access opcode bytes at 0x47964e. [ 13.710219][ T238] RSP: 002b:00007ffc9d951178 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 13.710222][ T238] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000479678 [ 13.710223][ T238] RDX: 000000001e700708 RSI: fffffffffffffff0 RDI: 0000000000000000 [ 13.710224][ T238] RBP: 00007ffc9d9511d0 R08: 0000000000000000 R09: 000000001e7013e0 [ 13.710225][ T238] R10: 0000000000000110 R11: 0000000000000246 R12: 00007ffc9d951308 [ 13.710226][ T238] R13: 00007ffc9d951390 R14: 0000000000000000 R15: 000000000054d560 [ 13.710233][ T238]