diff options
Diffstat (limited to 'pkg/report/testdata')
29 files changed, 264 insertions, 239 deletions
diff --git a/pkg/report/testdata/akaros/report/2 b/pkg/report/testdata/akaros/report/2 index 500200672..3027a6142 100644 --- a/pkg/report/testdata/akaros/report/2 +++ b/pkg/report/testdata/akaros/report/2 @@ -1,4 +1,4 @@ -TITLE: assertion failed: rpi->gp_acked + 1 == READ_ONCE(rsp->gpnum) +TITLE: assertion failed: rpi->gp_acked + NUM == READ_ONCE(rsp->gpnum) kernel panic at kern/src/rcu.c:325, from core 3: assertion failed: rpi->gp_acked + 1 == READ_ONCE(rsp->gpnum) diff --git a/pkg/report/testdata/all/report/2 b/pkg/report/testdata/all/report/2 index c8aecab31..d583c5398 100644 --- a/pkg/report/testdata/all/report/2 +++ b/pkg/report/testdata/all/report/2 @@ -1,4 +1,4 @@ -TITLE: panic: executor 2: failed: event already set (errno 0) +TITLE: panic: executor NUM: failed: event already set (errno NUM) panic: executor 2: failed: event already set (errno 0) child failed (errno 2) diff --git a/pkg/report/testdata/darwin/report/1 b/pkg/report/testdata/darwin/report/1 index 843fdc5d5..86a4b7790 100644 --- a/pkg/report/testdata/darwin/report/1 +++ b/pkg/report/testdata/darwin/report/1 @@ -1,4 +1,4 @@ -TITLE: panic: Kernel trap type 14=page fault +TITLE: panic: Kernel trap type NUM=page fault panic(cpu 1 caller 0xffffff8002928989): Kernel trap at 0xffffff80021020ba, type 14=page fault, registers: CR0: 0x000000008001003b, CR2: 0x0000000000000000, CR3: 0x0000000008b71000, CR4: 0x00000000000406e0 @@ -32,4 +32,4 @@ Backtrace (CPU 1), Frame : Return Address 0xffffffb04918fda0 : 0xffffff8006eb2882 com.apple.filesystems.apfs : _obj_cache_flush_write + 0xe4 0xffffffb04918fe10 : 0xffffff8006ecd22d com.apple.filesystems.apfs : _tx_flush + 0x3be 0xffffffb04918ff20 : 0xffffff8006eccc4c com.apple.filesystems.apfs : _tx_flush_thread + 0x18b -0xffffffb04918ffa0 : 0xffffff800290881e mach_kernel : _call_continuation + 0x2e
\ No newline at end of file +0xffffffb04918ffa0 : 0xffffff800290881e mach_kernel : _call_continuation + 0x2e diff --git a/pkg/report/testdata/darwin/report/3 b/pkg/report/testdata/darwin/report/3 index 500238c74..5f797f24c 100644 --- a/pkg/report/testdata/darwin/report/3 +++ b/pkg/report/testdata/darwin/report/3 @@ -1,4 +1,4 @@ -TITLE: panic: zalloc: default.kalloc.4096 retry fail 6 +TITLE: panic: zalloc: default.kalloc.NUM retry fail NUM panic(cpu 1 caller 0xffffff8009da2f32): "zalloc: default.kalloc.4096 (357 elements) retry fail 6"@/Users/space/kernel/xnu-7195.81.3/osfmk/kern/zalloc.c:3413 Backtrace (CPU 1), Frame : Return Address @@ -19,4 +19,4 @@ Backtrace (CPU 1), Frame : Return Address 0xffffffa84446fbf0 : 0xffffff8009b8de3d mach_kernel : __ZN11IOCatalogue11findDriversEP9IOServicePi + 0x32d 0xffffffa84446fd50 : 0xffffff8009b14114 mach_kernel : __ZN9IOService14doServiceMatchEj + 0x164 0xffffffa84446fe70 : 0xffffff8009b2ffa2 mach_kernel : __ZN15_IOConfigThread4mainEPvi + 0x4c2 -0xffffffa84446ffa0 : 0xffffff800890881e mach_kernel : _call_continuation + 0x2e
\ No newline at end of file +0xffffffa84446ffa0 : 0xffffff800890881e mach_kernel : _call_continuation + 0x2e diff --git a/pkg/report/testdata/darwin/report/5 b/pkg/report/testdata/darwin/report/5 index e27eb4f8b..a68c2e7bd 100644 --- a/pkg/report/testdata/darwin/report/5 +++ b/pkg/report/testdata/darwin/report/5 @@ -1,4 +1,4 @@ -TITLE: panic: slab_nextptr_panic: mcache.mbuf buffer ADDR in slab ADDR modified after free at offset 0: ADDR out of range [ADDR +TITLE: panic: slab_nextptr_panic: mcache.mbuf buffer ADDR in slab ADDR modified after free at offset NUM: ADDR out of range [AD panic(cpu 0 caller 0xffffff800ac3235c): slab_nextptr_panic: mcache.mbuf buffer 0xffffffa0464b6000 in slab 0xffffffa015c843a0 modified after free at offset 0: 0xccd900000000 out of range [0xffffffa0463a3000-0xffffffa04c3a3000) diff --git a/pkg/report/testdata/freebsd/report/0 b/pkg/report/testdata/freebsd/report/0 index b822a6093..ae0fb7641 100644 --- a/pkg/report/testdata/freebsd/report/0 +++ b/pkg/report/testdata/freebsd/report/0 @@ -1,4 +1,4 @@ -TITLE: Fatal trap 12: page fault while in kernel mode in atrtc_settime +TITLE: Fatal trap NUM: page fault while in kernel mode in atrtc_settime Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 diff --git a/pkg/report/testdata/freebsd/report/1 b/pkg/report/testdata/freebsd/report/1 index eac4a02e4..de4de6cac 100644 --- a/pkg/report/testdata/freebsd/report/1 +++ b/pkg/report/testdata/freebsd/report/1 @@ -1,4 +1,4 @@ -TITLE: Fatal trap 12: page fault while in kernel mode in sctp_sosend +TITLE: Fatal trap NUM: page fault while in kernel mode in sctp_sosend Fatal trap 12: page fault while in kernel mode cpuid = 3; apic id = 03 diff --git a/pkg/report/testdata/freebsd/report/14 b/pkg/report/testdata/freebsd/report/14 index c3b7b5bd3..35ab866b7 100644 --- a/pkg/report/testdata/freebsd/report/14 +++ b/pkg/report/testdata/freebsd/report/14 @@ -1,4 +1,4 @@ -TITLE: panic: ASan: Invalid access, 16-byte read in aesni_encrypt_icm +TITLE: panic: ASan: Invalid access, NUM-byte read in aesni_encrypt_icm panic: ASan: Invalid access, 16-byte read at 0xfffffe000793dd20, RedZonePartial(5) cpuid = 0 diff --git a/pkg/report/testdata/freebsd/report/15 b/pkg/report/testdata/freebsd/report/15 index 77cac4040..5b81f2329 100644 --- a/pkg/report/testdata/freebsd/report/15 +++ b/pkg/report/testdata/freebsd/report/15 @@ -1,4 +1,4 @@ -TITLE: panic: ASan: Invalid access, 1-byte write in strlcpy +TITLE: panic: ASan: Invalid access, NUM-byte write in strlcpy panic: ASan: Invalid access, 1-byte write at 0xfffffe0057414be0, MallocRedZone(fb) cpuid = 1 diff --git a/pkg/report/testdata/freebsd/report/2 b/pkg/report/testdata/freebsd/report/2 index 38df1b467..068beb3b7 100644 --- a/pkg/report/testdata/freebsd/report/2 +++ b/pkg/report/testdata/freebsd/report/2 @@ -1,4 +1,4 @@ -TITLE: Fatal trap 9: general protection fault while in kernel mode in udp_close +TITLE: Fatal trap NUM: general protection fault while in kernel mode in udp_close Fatal trap 9: general protection fault while in kernel mode cpuid = 0; apic id = 00 diff --git a/pkg/report/testdata/freebsd/report/5 b/pkg/report/testdata/freebsd/report/5 index dcb9f7e6e..640554141 100644 --- a/pkg/report/testdata/freebsd/report/5 +++ b/pkg/report/testdata/freebsd/report/5 @@ -1,4 +1,4 @@ -TITLE: Fatal trap 9: general protection fault in unp_dispose +TITLE: Fatal trap NUM: general protection fault in unp_dispose Fatal trap 9: general protection fault while in kernel mode cpuid = 0; apic id = 00 diff --git a/pkg/report/testdata/freebsd/report/6 b/pkg/report/testdata/freebsd/report/6 index 3f7093f78..098aa93ed 100644 --- a/pkg/report/testdata/freebsd/report/6 +++ b/pkg/report/testdata/freebsd/report/6 @@ -1,4 +1,4 @@ -TITLE: Fatal trap 9: general protection fault in sctp_inpcb_bind +TITLE: Fatal trap NUM: general protection fault in sctp_inpcb_bind Fatal trap 9: general protection fault while in kernel mode cpuid = 0; apic id = 00 diff --git a/pkg/report/testdata/freebsd/report/7 b/pkg/report/testdata/freebsd/report/7 index 9c3ece63c..402e36602 100644 --- a/pkg/report/testdata/freebsd/report/7 +++ b/pkg/report/testdata/freebsd/report/7 @@ -1,4 +1,4 @@ -TITLE: Fatal trap 12: page fault in vm_page_unhold_pages +TITLE: Fatal trap NUM: page fault in vm_page_unhold_pages Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 diff --git a/pkg/report/testdata/freebsd/report/8 b/pkg/report/testdata/freebsd/report/8 index d8c99cb6e..c62fa7993 100644 --- a/pkg/report/testdata/freebsd/report/8 +++ b/pkg/report/testdata/freebsd/report/8 @@ -1,4 +1,4 @@ -TITLE: Fatal trap 12: page fault in inp_freemoptions +TITLE: Fatal trap NUM: page fault in inp_freemoptions Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 diff --git a/pkg/report/testdata/fuchsia/report/23 b/pkg/report/testdata/fuchsia/report/23 index c988f3cae..0b8731848 100644 --- a/pkg/report/testdata/fuchsia/report/23 +++ b/pkg/report/testdata/fuchsia/report/23 @@ -1,4 +1,4 @@ -TITLE: ASSERT FAILED: thread_resched_disable_count() > 0 +TITLE: ASSERT FAILED: thread_resched_disable_count() > NUM ZIRCON KERNEL PANIC panic (caller 0xffffffff00150518 frame 0xffffff953a957d50): DEBUG ASSERT FAILED at (kernel/include/kernel/thread.h:452): thread diff --git a/pkg/report/testdata/gvisor/report/2 b/pkg/report/testdata/gvisor/report/2 index 0783f6112..0acfff6d0 100644 --- a/pkg/report/testdata/gvisor/report/2 +++ b/pkg/report/testdata/gvisor/report/2 @@ -1,4 +1,4 @@ -TITLE: panic: ptrace set regs (&{R15:LINE R14:LINE R13:LINE R12:LINE Rbp:ADDR Rbx:ADDR R11:LINE R10:LINE R9:LINE R8:LINE Rax:LI +TITLE: panic: ptrace set regs (&{R15:NUM R14:NUM R13:NUM R12:NUM Rbp:ADDR Rbx:ADDR R11:NUM R10:NUM R9:NUM R8:NUM Rax:NUM Rcx:AD SUPPRESSED: Y D1212 09:34:24.562123 58684 x:0] [ 1] Restarting syscall 202 after errno 512: interrupted by signal 17 diff --git a/pkg/report/testdata/gvisor/report/4 b/pkg/report/testdata/gvisor/report/4 index 9154887c8..a571b6e10 100644 --- a/pkg/report/testdata/gvisor/report/4 +++ b/pkg/report/testdata/gvisor/report/4 @@ -1,4 +1,4 @@ -TITLE: panic: munmap(ADDR, 0)) failed: invalid argument +TITLE: panic: munmap(ADDR, NUM)) failed: invalid argument perf_event_open(&(0x7f000025c000)={0x2, 0x70, 0x3e4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000100)}}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) bpf$PROG_LOAD(0x5, &(0x7f0000001380)={0x3, 0x2, &(0x7f0000000000)=@raw=[@exit={0x95}], &(0x7f0000000100)='syzkaller\x00', 0x2, 0xb9, &(0x7f00000012c0)=""/185, 0x0, 0x0, [], r1}, 0x48) diff --git a/pkg/report/testdata/linux/report/123 b/pkg/report/testdata/linux/report/123 index 1a88faa4e..b9e6a16d9 100644 --- a/pkg/report/testdata/linux/report/123 +++ b/pkg/report/testdata/linux/report/123 @@ -1,4 +1,4 @@ -TITLE: INFO: Freed in fasync_free_rcu age=624 cpu=0 pid=3 +TITLE: INFO: Freed in fasync_free_rcu age=NUM cpu=NUM pid=NUM CORRUPTED: Y [ 60.089581] ================================================================== diff --git a/pkg/report/testdata/linux/report/124 b/pkg/report/testdata/linux/report/124 index 920440657..f160a4262 100644 --- a/pkg/report/testdata/linux/report/124 +++ b/pkg/report/testdata/linux/report/124 @@ -1,4 +1,4 @@ -TITLE: INFO: Allocated in fasync_helper age=1 cpu=1 pid=6024 +TITLE: INFO: Allocated in fasync_helper age=NUM cpu=NUM pid=NUM CORRUPTED: Y ** 4491 printk messages dropped ** [ 50.750742] INFO: Allocated in fasync_helper+0x29/0x90 age=1 cpu=1 pid=6024 diff --git a/pkg/report/testdata/linux/report/132 b/pkg/report/testdata/linux/report/132 index a3c76cc12..d5b86a880 100644 --- a/pkg/report/testdata/linux/report/132 +++ b/pkg/report/testdata/linux/report/132 @@ -1,4 +1,4 @@ -TITLE: INFO: Freed in fasync_free_rcu age=57 cpu=0 pid=NUM +TITLE: INFO: Freed in fasync_free_rcu age=NUM cpu=NUM pid=NUM CORRUPTED: Y [ 96.002194] nla_parse: 25 callbacks suppressed diff --git a/pkg/report/testdata/linux/report/133 b/pkg/report/testdata/linux/report/133 index d15e7574a..fb2e671e3 100644 --- a/pkg/report/testdata/linux/report/133 +++ b/pkg/report/testdata/linux/report/133 @@ -1,4 +1,4 @@ -TITLE: INFO: Allocated in fasync_helper age=1 cpu=1 pid=6024 +TITLE: INFO: Allocated in fasync_helper age=NUM cpu=NUM pid=NUM CORRUPTED: Y [ 50.636894] audit_printk_skb: 210 callbacks suppressed diff --git a/pkg/report/testdata/linux/report/355 b/pkg/report/testdata/linux/report/355 index 3a62468d9..3e93ae186 100644 --- a/pkg/report/testdata/linux/report/355 +++ b/pkg/report/testdata/linux/report/355 @@ -1,4 +1,4 @@ -TITLE: trusty: panic: failed(-5) to start app 6 +TITLE: trusty: panic: failed(-NUM) to start app NUM [ 1108.135767] trusty: pte_t *arm64_mmu_get_page_table(vaddr_t, uint, pte_t *)[ 1108.143812] trusty: :274: failed to allocate page table [ 1108.144338] trusty: pte_t *arm64_mmu_get_page_table(vaddr_t, uint, pte_t *):274: failed to allocate page table diff --git a/pkg/report/testdata/linux/report/578 b/pkg/report/testdata/linux/report/578 index eb2dfeb0f..c5dd97194 100644 --- a/pkg/report/testdata/linux/report/578 +++ b/pkg/report/testdata/linux/report/578 @@ -1,5 +1,5 @@ TITLE: kernel BUG in free_netdev -ALT: kernel BUG at net/core/dev.c:NUM! +ALT: kernel BUG at net/core/dev.c:LINE! [ 429.970583][T14786] ------------[ cut here ]------------ [ 430.011828][T14786] kernel BUG at net/core/dev.c:10648! diff --git a/pkg/report/testdata/linux/report/617 b/pkg/report/testdata/linux/report/617 new file mode 100644 index 000000000..7991cc54e --- /dev/null +++ b/pkg/report/testdata/linux/report/617 @@ -0,0 +1,25 @@ +TITLE: kernel panic: VFS: Unable to mount root fs on unknown-block(NUM,NUM) +CORRUPTED: N + + +[ 7.588873][ T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) +[ 7.591093][ T1] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.13.0-syzkaller #0 +[ 7.592511][ T1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 +[ 7.594827][ T1] Call Trace: +[ 7.595731][ T1] dump_stack_lvl+0xcd/0x134 +[ 7.596755][ T1] panic+0x306/0x73d +[ 7.597535][ T1] ? __warn_printk+0xf3/0xf3 +[ 7.598935][ T1] mount_block_root+0x3f8/0x4dd +[ 7.600581][ T1] ? init_rootfs+0x59/0x59 +[ 7.601603][ T1] ? memcpy+0x39/0x60 +[ 7.602547][ T1] mount_root+0x1af/0x1f5 +[ 7.603323][ T1] ? mount_block_root+0x4dd/0x4dd +[ 7.604170][ T1] ? memcpy+0x39/0x60 +[ 7.605058][ T1] prepare_namespace+0x1ff/0x234 +[ 7.606115][ T1] kernel_init_freeable+0x71f/0x737 +[ 7.607467][ T1] ? rest_init+0x400/0x400 +[ 7.609009][ T1] kernel_init+0x1a/0x1d0 +[ 7.610261][ T1] ? rest_init+0x400/0x400 +[ 7.611325][ T1] ret_from_fork+0x1f/0x30 +[ 7.614266][ T1] Kernel Offset: disabled +[ 7.615575][ T1] Rebooting in 86400 seconds..
\ No newline at end of file diff --git a/pkg/report/testdata/linux/report/79 b/pkg/report/testdata/linux/report/79 index 025b95ec5..9e97b9dc3 100644 --- a/pkg/report/testdata/linux/report/79 +++ b/pkg/report/testdata/linux/report/79 @@ -1,4 +1,4 @@ -TITLE: KASAN: use-after-free in do_con_write.part.23 at addr ADDR +TITLE: KASAN: use-after-free in do_con_write.part.NUM at addr ADDR CORRUPTED: Y [ 374.860710] BUG: KASAN: use-after-free in do_con_write.part.23+0x1c50/0x1cb0 at addr ffff88000012c43a diff --git a/pkg/report/testdata/netbsd/report/1 b/pkg/report/testdata/netbsd/report/1 index e341db2ff..bd7d51302 100644 --- a/pkg/report/testdata/netbsd/report/1 +++ b/pkg/report/testdata/netbsd/report/1 @@ -1,4 +1,4 @@ -TITLE: assert failed: pmap->pm_obj[i].uo_npages == 0 +TITLE: assert failed: pmap->pm_obj[i].uo_npages == NUM panic: kernel diagnostic assertion "pmap->pm_obj[i].uo_npages == 0" failed: file "/extra/netbsd-src/sys/arch/x86/x86/pmap.c", line 2368 cpu0: Begin traceback... diff --git a/pkg/report/testdata/openbsd/report/13 b/pkg/report/testdata/openbsd/report/13 index b0cebb6d4..e8fe61840 100644 --- a/pkg/report/testdata/openbsd/report/13 +++ b/pkg/report/testdata/openbsd/report/13 @@ -1,212 +1,212 @@ -TITLE: panic: timeout_add: to_ticks < 0 +TITLE: panic: timeout_add: to_ticks < NUM login: panic: timeout_add: to_ticks (-3) < 0 -
Stopped at db_enter+0x18: addq $0x8,%rsp -
TID PID UID PRFLAGS PFLAGS CPU COMMAND -
* 13566 56260 0 0x2 0 0 syz-executor4860 -
db_enter() at db_enter+0x18 -
panic() at panic+0x15c -
timeout_add(ffff800000669260,fffffffd) at timeout_add+0x179 -
pcppi_bell(ffff800000669200,2,fffffffd,1) at pcppi_bell+0x2a0 -
spkrioctl(1b00,20005302,ffff8000149943f0,2,ffff80001495c970) at spkrioctl+0x230 -
VOP_IOCTL(fffffd80355d2af8,20005302,ffff8000149943f0,2,fffffd803f7c7cc0,ffff80001495c970) at VOP_IOCTL+0x9a -
vn_ioctl(fffffd80361ed0f8,20005302,ffff8000149943f0,ffff80001495c970) at vn_ioctl+0xc9 -
sys_ioctl(ffff80001495c970,ffff800014994538,ffff800014994520) at sys_ioctl+0x62d -
syscall(ffff8000149945d0) at syscall+0x535 -
Xsyscall(6,0,7f7fffff9278,0,1,7f7fffff9288) at Xsyscall+0x128 -
end of kernel -
end trace frame: 0x7f7fffff9210, count: 5 -
https://www.openbsd.org/ddb.html describes the minimum info required in bug -
reports. Insufficient info makes it difficult to find and fix bugs. -
ddb> -
ddb> set $lines = 0 -
ddb> set $maxwidth = 0 -
ddb> show panic -
timeout_add: to_ticks (-3) < 0 -
ddb> trace -
db_enter() at db_enter+24 -
panic() at panic+348 -
timeout_add(ffff800000669260,fffffffd) at timeout_add+377 -
pcppi_bell(ffff800000669200,2,fffffffd,1) at pcppi_bell+672 -
spkrioctl(1b00,20005302,ffff8000149943f0,2,ffff80001495c970) at spkrioctl+560 -
VOP_IOCTL(fffffd80355d2af8,20005302,ffff8000149943f0,2,fffffd803f7c7cc0,ffff80001495c970) at VOP_IOCTL+154 -
vn_ioctl(fffffd80361ed0f8,20005302,ffff8000149943f0,ffff80001495c970) at vn_ioctl+201 -
sys_ioctl(ffff80001495c970,ffff800014994538,ffff800014994520) at sys_ioctl+1581 -
syscall(ffff8000149945d0) at syscall+1333 -
Xsyscall(6,0,7f7fffff9278,0,1,7f7fffff9288) at Xsyscall+296 -
end of kernel -
end trace frame: 0x7f7fffff9210, count: -10 -
ddb> show registers -
rdi 0 -
rsi 1 -
rbp 18446603336566784016 -
rbx 18446603336566784192 -
rdx 2 -
rcx 1 -
rax 1 -
r8 18446603336566783952 -
r9 1 -
r10 13876670466647311139 -
r11 5030226113022487068 -
r12 206158430216 -
r13 18446603336566784032 -
r14 256 -
r15 1 -
rip 18446744071581504680 db_enter+24 -
cs 8 -
rflags 582 -
rsp 18446603336566784000 -
ss 16 -
db_enter+24: addq $8,%rsp -
ddb> show proc -
PROC (syz-executor4860) pid=13566 stat=onproc -
flags process=2<EXEC> proc=0 -
pri=51, usrpri=51, nice=20 -
forw=0xffffffffffffffff, list=0xffff80001495cbc8,0xffffffff8225bc68 -
process=0xffff8000ffff73c0 user=0xffff80001498f000, vmspace=0xfffffd803f015318 -
estcpu=1, cpticks=1, pctcpu=0.0 -
user=0, sys=1, intr=0 -
ddb> ps -
PID TID PPID UID S FLAGS WAIT COMMAND -
*56260 13566 54769 0 7 0x2 syz-executor4860 -
54769 431 32922 0 3 0x10008a pause ksh -
32922 378116 56212 0 3 0x92 select sshd -
68036 288015 1 0 3 0x100083 ttyin getty -
56212 212455 1 0 3 0x80 select sshd -
26979 330808 2736 73 3 0x100090 kqread syslogd -
2736 3861 1 0 3 0x100082 netio syslogd -
60513 479024 1 77 3 0x100090 poll dhclient -
3630 463405 1 0 3 0x80 poll dhclient -
79908 218124 0 0 3 0x14200 pgzero zerothread -
839 265948 0 0 3 0x14200 aiodoned aiodoned -
46333 241152 0 0 3 0x14200 syncer update -
30333 133056 0 0 3 0x14200 cleaner cleaner -
81465 495839 0 0 3 0x14200 reaper reaper -
97284 121957 0 0 3 0x14200 pgdaemon pagedaemon -
70777 234658 0 0 3 0x14200 bored crynlk -
76182 85869 0 0 3 0x14200 bored crypto -
73780 482216 0 0 3 0x40014200 acpi0 acpi0 -
13780 327339 0 0 3 0x14200 bored softnet -
76673 129965 0 0 3 0x14200 bored systqmp -
63974 117254 0 0 3 0x14200 bored systq -
56745 301158 0 0 3 0x40014200 bored softclock -
99825 391755 0 0 3 0x40014200 idle0 -
1 359647 0 0 3 0x82 wait init -
0 0 -1 0 3 0x10200 scheduler swapper -
ddb> show all locks -
No such command -
ddb> show malloc -
Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim -
devbuf 9427 6306K 6307K 78643K 10520 0 0 -
pcb 23 9K 9K 78643K 55 0 0 -
rtable 61 1K 2K 78643K 115 0 0 -
ifaddr 21 7K 7K 78643K 21 0 0 -
counters 19 16K 16K 78643K 19 0 0 -
ioctlops 0 0K 2K 78643K 13 0 0 -
mount 1 1K 1K 78643K 1 0 0 -
vnodes 1166 73K 73K 78643K 1172 0 0 -
UFS quota 1 32K 32K 78643K 1 0 0 -
UFS mount 5 36K 36K 78643K 5 0 0 -
shm 2 1K 1K 78643K 2 0 0 -
VM map 2 0K 0K 78643K 2 0 0 -
sem 2 0K 0K 78643K 2 0 0 -
dirhash 12 2K 2K 78643K 12 0 0 -
ACPI 1777 193K 286K 78643K 12501 0 0 -
file desc 1 0K 0K 78643K 1 0 0 -
proc 40 30K 38K 78643K 207 0 0 -
NFS srvsock 1 0K 0K 78643K 1 0 0 -
NFS daemon 1 16K 16K 78643K 1 0 0 -
in_multi 11 0K 0K 78643K 11 0 0 -
ether_multi 1 0K 0K 78643K 1 0 0 -
ISOFS mount 1 32K 32K 78643K 1 0 0 -
MSDOSFS mount 1 16K 16K 78643K 1 0 0 -
ttys 18 79K 79K 78643K 18 0 0 -
exec 0 0K 1K 78643K 150 0 0 -
pagedep 1 8K 8K 78643K 1 0 0 -
inodedep 1 32K 32K 78643K 1 0 0 -
newblk 1 0K 0K 78643K 1 0 0 -
VM swap 7 26K 26K 78643K 7 0 0 -
UVM amap 47 2K 3K 78643K 677 0 0 -
UVM aobj 2 2K 2K 78643K 2 0 0 -
memdesc 1 4K 4K 78643K 1 0 0 -
crypto data 1 1K 1K 78643K 1 0 0 -
NDP 3 0K 0K 78643K 3 0 0 -
temp 30 2327K 2391K 78643K 1695 0 0 -
SYN cache 2 16K 16K 78643K 2 0 0 -
ddb> show all pools -
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle -
arp 64 2 0 0 1 0 1 1 0 8 0 -
inpcbpl 280 22 0 16 1 0 1 1 0 8 0 -
plimitpl 152 13 0 8 1 0 1 1 0 8 0 -
rtentry 112 23 0 1 1 0 1 1 0 8 0 -
syncache 264 5 0 5 2 1 1 1 0 8 1 -
tcpcb 544 8 0 5 1 0 1 1 0 8 0 -
art_heap8 4096 1 0 0 1 0 1 1 0 8 0 -
art_heap4 256 96 0 0 6 0 6 6 0 8 0 -
art_table 32 97 0 0 1 0 1 1 0 8 0 -
art_node 16 22 0 2 1 0 1 1 0 8 0 -
dirhash 1024 17 0 0 3 0 3 3 0 8 0 -
dino1pl 128 1383 0 18 45 0 45 45 0 8 0 -
ffsino 240 1383 0 18 81 0 81 81 0 8 0 -
nchpl 144 1555 0 30 57 0 57 57 0 8 0 -
uvmvnodes 72 1392 0 0 26 0 26 26 0 8 0 -
vnodes 200 1392 0 0 74 0 74 74 0 8 0 -
namei 1024 3262 0 3262 3 2 1 1 0 8 1 -
scxspl 192 2350 0 2350 9 8 1 6 0 8 1 -
sigapl 432 174 0 164 2 0 2 2 0 8 0 -
knotepl 112 5 0 0 1 0 1 1 0 8 0 -
kqueuepl 104 1 0 0 1 0 1 1 0 8 0 -
pipepl 112 114 0 107 3 2 1 1 0 8 0 -
fdescpl 424 175 0 164 2 0 2 2 0 8 0 -
filepl 120 808 0 765 2 0 2 2 0 8 0 -
lockfpl 104 7 0 6 2 1 1 1 0 8 0 -
lockfspl 32 4 0 3 2 1 1 1 0 8 0 -
sessionpl 112 17 0 9 1 0 1 1 0 8 0 -
pgrppl 48 17 0 9 1 0 1 1 0 8 0 -
ucredpl 96 47 0 40 1 0 1 1 0 8 0 -
zombiepl 144 164 0 164 3 2 1 1 0 8 1 -
processpl 840 188 0 164 4 1 3 4 0 8 0 -
procpl 600 188 0 164 3 0 3 3 0 8 0 -
sockpl 384 64 0 48 2 0 2 2 0 8 0 -
mcl4k 4096 10 0 10 2 1 1 1 0 8 1 -
mcl2k 2048 5648 0 5618 8 2 6 7 0 8 1 -
mtagpl 80 2 0 2 1 1 0 1 0 8 0 -
mbufpl 256 9740 0 9701 7 3 4 5 0 8 1 -
bufpl 256 1997 0 254 109 0 109 109 0 8 0 -
anonpl 16 17994 0 16909 9 3 6 7 0 62 1 -
amapchunkpl 152 571 0 536 2 0 2 2 0 158 0 -
amappl16 192 71 0 66 1 0 1 1 0 8 0 -
amappl15 184 1 0 0 1 0 1 1 0 8 0 -
amappl14 176 1 0 1 1 1 0 1 0 8 0 -
amappl13 168 15 0 12 1 0 1 1 0 8 0 -
amappl12 160 8 0 8 2 1 1 1 0 8 1 -
amappl11 152 177 0 168 1 0 1 1 0 8 0 -
amappl10 144 45 0 44 1 0 1 1 0 8 0 -
amappl9 136 162 0 161 1 0 1 1 0 8 0 -
amappl8 128 102 0 96 1 0 1 1 0 8 0 -
amappl7 120 32 0 28 1 0 1 1 0 8 0 -
amappl6 112 43 0 39 1 0 1 1 0 8 0 -
amappl5 104 229 0 218 1 0 1 1 0 8 0 -
amappl4 96 254 0 233 1 0 1 1 0 8 0 -
amappl3 88 112 0 107 1 0 1 1 0 8 0 -
amappl2 80 529 0 495 1 0 1 1 0 8 0 -
amappl1 72 11482 0 11096 16 7 9 16 0 8 0 -
amappl 72 392 0 373 1 0 1 1 0 75 0 -
dma4096 4096 1 0 1 1 1 0 1 0 8 0 -
dma256 256 6 0 6 1 1 0 1 0 8 0 -
dma64 64 259 0 259 1 1 0 1 0 8 0 -
dma32 32 7 0 7 1 1 0 1 0 8 0 -
dma16 16 17 0 17 1 1 0 1 0 8 0 -
aobjpl 64 1 0 0 1 0 1 1 0 8 0 -
uaddrrnd 24 175 0 164 1 0 1 1 0 8 0 -
uaddrbest 32 2 0 0 1 0 1 1 0 8 0 -
uaddr 24 175 0 164 1 0 1 1 0 8 0 -
vmmpekpl 168 5180 0 5165 1 0 1 1 0 8 0 -
vmmpepl 168 23523 0 22838 59 26 33 47 0 357 2 -
vmsppl 264 174 0 164 1 0 1 1 0 8 0 -
pdppl 4096 356 0 328 5 0 5 5 0 8 0 -
pvpl 32 70324 0 67623 38 12 26 26 0 265 1 -
pmappl 192 174 0 164 1 0 1 1 0 8 0 -
extentpl 40 39 0 25 1 0 1 1 0 8 0 -
phpool 112 228 0 10 7 0 7 7 0 8 0 -
ddb> +Stopped at db_enter+0x18: addq $0x8,%rsp + TID PID UID PRFLAGS PFLAGS CPU COMMAND +* 13566 56260 0 0x2 0 0 syz-executor4860 +db_enter() at db_enter+0x18 +panic() at panic+0x15c +timeout_add(ffff800000669260,fffffffd) at timeout_add+0x179 +pcppi_bell(ffff800000669200,2,fffffffd,1) at pcppi_bell+0x2a0 +spkrioctl(1b00,20005302,ffff8000149943f0,2,ffff80001495c970) at spkrioctl+0x230 +VOP_IOCTL(fffffd80355d2af8,20005302,ffff8000149943f0,2,fffffd803f7c7cc0,ffff80001495c970) at VOP_IOCTL+0x9a +vn_ioctl(fffffd80361ed0f8,20005302,ffff8000149943f0,ffff80001495c970) at vn_ioctl+0xc9 +sys_ioctl(ffff80001495c970,ffff800014994538,ffff800014994520) at sys_ioctl+0x62d +syscall(ffff8000149945d0) at syscall+0x535 +Xsyscall(6,0,7f7fffff9278,0,1,7f7fffff9288) at Xsyscall+0x128 +end of kernel +end trace frame: 0x7f7fffff9210, count: 5 +https://www.openbsd.org/ddb.html describes the minimum info required in bug +reports. Insufficient info makes it difficult to find and fix bugs. +ddb> +ddb> set $lines = 0 +ddb> set $maxwidth = 0 +ddb> show panic +timeout_add: to_ticks (-3) < 0 +ddb> trace +db_enter() at db_enter+24 +panic() at panic+348 +timeout_add(ffff800000669260,fffffffd) at timeout_add+377 +pcppi_bell(ffff800000669200,2,fffffffd,1) at pcppi_bell+672 +spkrioctl(1b00,20005302,ffff8000149943f0,2,ffff80001495c970) at spkrioctl+560 +VOP_IOCTL(fffffd80355d2af8,20005302,ffff8000149943f0,2,fffffd803f7c7cc0,ffff80001495c970) at VOP_IOCTL+154 +vn_ioctl(fffffd80361ed0f8,20005302,ffff8000149943f0,ffff80001495c970) at vn_ioctl+201 +sys_ioctl(ffff80001495c970,ffff800014994538,ffff800014994520) at sys_ioctl+1581 +syscall(ffff8000149945d0) at syscall+1333 +Xsyscall(6,0,7f7fffff9278,0,1,7f7fffff9288) at Xsyscall+296 +end of kernel +end trace frame: 0x7f7fffff9210, count: -10 +ddb> show registers +rdi 0 +rsi 1 +rbp 18446603336566784016 +rbx 18446603336566784192 +rdx 2 +rcx 1 +rax 1 +r8 18446603336566783952 +r9 1 +r10 13876670466647311139 +r11 5030226113022487068 +r12 206158430216 +r13 18446603336566784032 +r14 256 +r15 1 +rip 18446744071581504680 db_enter+24 +cs 8 +rflags 582 +rsp 18446603336566784000 +ss 16 +db_enter+24: addq $8,%rsp +ddb> show proc +PROC (syz-executor4860) pid=13566 stat=onproc + flags process=2<EXEC> proc=0 + pri=51, usrpri=51, nice=20 + forw=0xffffffffffffffff, list=0xffff80001495cbc8,0xffffffff8225bc68 + process=0xffff8000ffff73c0 user=0xffff80001498f000, vmspace=0xfffffd803f015318 + estcpu=1, cpticks=1, pctcpu=0.0 + user=0, sys=1, intr=0 +ddb> ps + PID TID PPID UID S FLAGS WAIT COMMAND +*56260 13566 54769 0 7 0x2 syz-executor4860 + 54769 431 32922 0 3 0x10008a pause ksh + 32922 378116 56212 0 3 0x92 select sshd + 68036 288015 1 0 3 0x100083 ttyin getty + 56212 212455 1 0 3 0x80 select sshd + 26979 330808 2736 73 3 0x100090 kqread syslogd + 2736 3861 1 0 3 0x100082 netio syslogd + 60513 479024 1 77 3 0x100090 poll dhclient + 3630 463405 1 0 3 0x80 poll dhclient + 79908 218124 0 0 3 0x14200 pgzero zerothread + 839 265948 0 0 3 0x14200 aiodoned aiodoned + 46333 241152 0 0 3 0x14200 syncer update + 30333 133056 0 0 3 0x14200 cleaner cleaner + 81465 495839 0 0 3 0x14200 reaper reaper + 97284 121957 0 0 3 0x14200 pgdaemon pagedaemon + 70777 234658 0 0 3 0x14200 bored crynlk + 76182 85869 0 0 3 0x14200 bored crypto + 73780 482216 0 0 3 0x40014200 acpi0 acpi0 + 13780 327339 0 0 3 0x14200 bored softnet + 76673 129965 0 0 3 0x14200 bored systqmp + 63974 117254 0 0 3 0x14200 bored systq + 56745 301158 0 0 3 0x40014200 bored softclock + 99825 391755 0 0 3 0x40014200 idle0 + 1 359647 0 0 3 0x82 wait init + 0 0 -1 0 3 0x10200 scheduler swapper +ddb> show all locks +No such command +ddb> show malloc + Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim + devbuf 9427 6306K 6307K 78643K 10520 0 0 + pcb 23 9K 9K 78643K 55 0 0 + rtable 61 1K 2K 78643K 115 0 0 + ifaddr 21 7K 7K 78643K 21 0 0 + counters 19 16K 16K 78643K 19 0 0 + ioctlops 0 0K 2K 78643K 13 0 0 + mount 1 1K 1K 78643K 1 0 0 + vnodes 1166 73K 73K 78643K 1172 0 0 + UFS quota 1 32K 32K 78643K 1 0 0 + UFS mount 5 36K 36K 78643K 5 0 0 + shm 2 1K 1K 78643K 2 0 0 + VM map 2 0K 0K 78643K 2 0 0 + sem 2 0K 0K 78643K 2 0 0 + dirhash 12 2K 2K 78643K 12 0 0 + ACPI 1777 193K 286K 78643K 12501 0 0 + file desc 1 0K 0K 78643K 1 0 0 + proc 40 30K 38K 78643K 207 0 0 + NFS srvsock 1 0K 0K 78643K 1 0 0 + NFS daemon 1 16K 16K 78643K 1 0 0 + in_multi 11 0K 0K 78643K 11 0 0 + ether_multi 1 0K 0K 78643K 1 0 0 + ISOFS mount 1 32K 32K 78643K 1 0 0 + MSDOSFS mount 1 16K 16K 78643K 1 0 0 + ttys 18 79K 79K 78643K 18 0 0 + exec 0 0K 1K 78643K 150 0 0 + pagedep 1 8K 8K 78643K 1 0 0 + inodedep 1 32K 32K 78643K 1 0 0 + newblk 1 0K 0K 78643K 1 0 0 + VM swap 7 26K 26K 78643K 7 0 0 + UVM amap 47 2K 3K 78643K 677 0 0 + UVM aobj 2 2K 2K 78643K 2 0 0 + memdesc 1 4K 4K 78643K 1 0 0 + crypto data 1 1K 1K 78643K 1 0 0 + NDP 3 0K 0K 78643K 3 0 0 + temp 30 2327K 2391K 78643K 1695 0 0 + SYN cache 2 16K 16K 78643K 2 0 0 +ddb> show all pools +Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle +arp 64 2 0 0 1 0 1 1 0 8 0 +inpcbpl 280 22 0 16 1 0 1 1 0 8 0 +plimitpl 152 13 0 8 1 0 1 1 0 8 0 +rtentry 112 23 0 1 1 0 1 1 0 8 0 +syncache 264 5 0 5 2 1 1 1 0 8 1 +tcpcb 544 8 0 5 1 0 1 1 0 8 0 +art_heap8 4096 1 0 0 1 0 1 1 0 8 0 +art_heap4 256 96 0 0 6 0 6 6 0 8 0 +art_table 32 97 0 0 1 0 1 1 0 8 0 +art_node 16 22 0 2 1 0 1 1 0 8 0 +dirhash 1024 17 0 0 3 0 3 3 0 8 0 +dino1pl 128 1383 0 18 45 0 45 45 0 8 0 +ffsino 240 1383 0 18 81 0 81 81 0 8 0 +nchpl 144 1555 0 30 57 0 57 57 0 8 0 +uvmvnodes 72 1392 0 0 26 0 26 26 0 8 0 +vnodes 200 1392 0 0 74 0 74 74 0 8 0 +namei 1024 3262 0 3262 3 2 1 1 0 8 1 +scxspl 192 2350 0 2350 9 8 1 6 0 8 1 +sigapl 432 174 0 164 2 0 2 2 0 8 0 +knotepl 112 5 0 0 1 0 1 1 0 8 0 +kqueuepl 104 1 0 0 1 0 1 1 0 8 0 +pipepl 112 114 0 107 3 2 1 1 0 8 0 +fdescpl 424 175 0 164 2 0 2 2 0 8 0 +filepl 120 808 0 765 2 0 2 2 0 8 0 +lockfpl 104 7 0 6 2 1 1 1 0 8 0 +lockfspl 32 4 0 3 2 1 1 1 0 8 0 +sessionpl 112 17 0 9 1 0 1 1 0 8 0 +pgrppl 48 17 0 9 1 0 1 1 0 8 0 +ucredpl 96 47 0 40 1 0 1 1 0 8 0 +zombiepl 144 164 0 164 3 2 1 1 0 8 1 +processpl 840 188 0 164 4 1 3 4 0 8 0 +procpl 600 188 0 164 3 0 3 3 0 8 0 +sockpl 384 64 0 48 2 0 2 2 0 8 0 +mcl4k 4096 10 0 10 2 1 1 1 0 8 1 +mcl2k 2048 5648 0 5618 8 2 6 7 0 8 1 +mtagpl 80 2 0 2 1 1 0 1 0 8 0 +mbufpl 256 9740 0 9701 7 3 4 5 0 8 1 +bufpl 256 1997 0 254 109 0 109 109 0 8 0 +anonpl 16 17994 0 16909 9 3 6 7 0 62 1 +amapchunkpl 152 571 0 536 2 0 2 2 0 158 0 +amappl16 192 71 0 66 1 0 1 1 0 8 0 +amappl15 184 1 0 0 1 0 1 1 0 8 0 +amappl14 176 1 0 1 1 1 0 1 0 8 0 +amappl13 168 15 0 12 1 0 1 1 0 8 0 +amappl12 160 8 0 8 2 1 1 1 0 8 1 +amappl11 152 177 0 168 1 0 1 1 0 8 0 +amappl10 144 45 0 44 1 0 1 1 0 8 0 +amappl9 136 162 0 161 1 0 1 1 0 8 0 +amappl8 128 102 0 96 1 0 1 1 0 8 0 +amappl7 120 32 0 28 1 0 1 1 0 8 0 +amappl6 112 43 0 39 1 0 1 1 0 8 0 +amappl5 104 229 0 218 1 0 1 1 0 8 0 +amappl4 96 254 0 233 1 0 1 1 0 8 0 +amappl3 88 112 0 107 1 0 1 1 0 8 0 +amappl2 80 529 0 495 1 0 1 1 0 8 0 +amappl1 72 11482 0 11096 16 7 9 16 0 8 0 +amappl 72 392 0 373 1 0 1 1 0 75 0 +dma4096 4096 1 0 1 1 1 0 1 0 8 0 +dma256 256 6 0 6 1 1 0 1 0 8 0 +dma64 64 259 0 259 1 1 0 1 0 8 0 +dma32 32 7 0 7 1 1 0 1 0 8 0 +dma16 16 17 0 17 1 1 0 1 0 8 0 +aobjpl 64 1 0 0 1 0 1 1 0 8 0 +uaddrrnd 24 175 0 164 1 0 1 1 0 8 0 +uaddrbest 32 2 0 0 1 0 1 1 0 8 0 +uaddr 24 175 0 164 1 0 1 1 0 8 0 +vmmpekpl 168 5180 0 5165 1 0 1 1 0 8 0 +vmmpepl 168 23523 0 22838 59 26 33 47 0 357 2 +vmsppl 264 174 0 164 1 0 1 1 0 8 0 +pdppl 4096 356 0 328 5 0 5 5 0 8 0 +pvpl 32 70324 0 67623 38 12 26 26 0 265 1 +pmappl 192 174 0 164 1 0 1 1 0 8 0 +extentpl 40 39 0 25 1 0 1 1 0 8 0 +phpool 112 228 0 10 7 0 7 7 0 8 0 +ddb> diff --git a/pkg/report/testdata/openbsd/report/26 b/pkg/report/testdata/openbsd/report/26 index b7d9bbce4..6dd961d0e 100644 --- a/pkg/report/testdata/openbsd/report/26 +++ b/pkg/report/testdata/openbsd/report/26 @@ -1,4 +1,4 @@ -TITLE: soreceive 1 +TITLE: soreceive NUM panic: receive 1: so 0xfffffd805e563640, so_type 3, sb_cc 33 Stopped at db_enter+0x18: addq $0x8,%rsp diff --git a/pkg/report/testdata/openbsd/report/8 b/pkg/report/testdata/openbsd/report/8 index 8d25da4e1..d4f55966a 100644 --- a/pkg/report/testdata/openbsd/report/8 +++ b/pkg/report/testdata/openbsd/report/8 @@ -1,4 +1,4 @@ -TITLE: assert "pg->wire_count == 1" failed in vfs_biomem.c +TITLE: assert "pg->wire_count == NUM" failed in vfs_biomem.c panic: kernel diagnostic assertion "pg->wire_count == 1" failed: file "/syzkaller/managers/main/kernel/sys/kern/vfs_biomem.c", line 329 Stopped at db_enter+0xa: popq %rbp |
