panic: amap_pp_adjref: negative reference count (2)

Status: auto-obsoleted due to no activity on 2023/01/10 14:24
First crash: 117d, last: 117d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd panic: amap_pp_adjref: negative reference count C 98 1170d 1222d 3/3 fixed on 2019/12/04 16:31

Sample crash report:
panic: amap_pp_adjref: negative reference count
Starting stack trace...
panic(ffffffff82590b07) at panic+0x155 sys/kern/subr_prf.c:229
amap_pp_adjref(fffffd8064e86478,0,ff0,ffffffff) at amap_pp_adjref+0x593 sys/uvm/uvm_amap.c:910
amap_adjref_anons(fffffd8064e86478,0,ff0,ffffffff,0) at amap_adjref_anons+0x198 sys/uvm/uvm_amap.c:1332
uvm_unmap_detach(ffff8000216c0d80,1) at uvm_unmap_detach+0x7d sys/uvm/uvm_map.c:1360
uvm_map_teardown(fffffd806eef1aa0) at uvm_map_teardown+0x232 sys/uvm/uvm_map.c:2566
uvmspace_free(fffffd806eef1aa0) at uvmspace_free+0x86 sys/uvm/uvm_map.c:3464
reaper(ffff8000ffff9ce8) at reaper+0x15d sys/kern/kern_exit.c:448
end trace frame: 0x0, count: 250
End of stack trace.
syncing disks...23 11 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1  giving up

dump to dev 4,1 not possible
SeaBIOS (version 1.8.2-google)
Total RAM Size = 0x0000000080000000 = 2048 MiB
CPUs found: 2     Max CPUs supported: 2
SeaBIOS (version 1.8.2-google)
Machine UUID 969d4b26-6dee-2bb7-7d35-48434919f208
found virtio-scsi at 0:3
virtio-scsi vendor='Google' product='PersistentDisk' rev='1' type=0 removable=0
virtio-scsi blksize=512 sectors=4194304 = 2048 MiB
drive 0x000f24c0: PCHS=0/0/0 translation=lba LCHS=520/128/63 s=4194304
Sending Seabios boot VM event.
Booting from Hard Disk 0...
>> OpenBSD/amd64 BOOT 3.55
boot> show malloc
boot: illegal argument malloc
boot> show all pools
boot> machine ddbcpu 0
machine: syntax error
boot> trace
boot> machine ddbcpu 1
machine: syntax error
boot> trace

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-openbsd-main 2022/10/12 14:24 openbsd ddd5e87dd012 89b5a509 .config console log report [disk image] [bsd.gdb] [kernel image] panic: amap_pp_adjref: negative reference count
* Struck through repros no longer work on HEAD.