syzbot


panic: Thread ADDR cannot exit while holding sleeplocks

Status: closed as dup on 2019/01/28 08:50
Reported-by: syzbot+cd90a1a80365e2a4d574@syzkaller.appspotmail.com
First crash: 1911d, last: 1908d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
panic: thread ADDR cannot exit while holding sleeplocks syz 23 1735d 1907d

Sample crash report:
panic: Thread 0xffff800020b92270 cannot exit while holding sleeplocks

Stopped at      db_enter+0x18:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
 270548  30025  32767        0x10      0x480    1  syz-executor1
*437706   2930      0     0x14000      0x200    0  reaper
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:399
panic() at panic+0x16c sys/kern/subr_prf.c:208
witness_thread_exit(dc844db7986d77fb) at witness_thread_exit+0x244 sys/kern/subr_witness.c:1377
reaper(0) at reaper+0x14f sys/kern/kern_exit.c:412
end trace frame: 0x0, count: 11
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{0}> 
ddb{0}> set $lines = 0
ddb{0}> show panic
Thread 0xffff800020b92270 cannot exit while holding sleeplocks

ddb{0}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:399
panic() at panic+0x16c sys/kern/subr_prf.c:208
witness_thread_exit(dc844db7986d77fb) at witness_thread_exit+0x244 sys/kern/subr_witness.c:1377
reaper(0) at reaper+0x14f sys/kern/kern_exit.c:412
end trace frame: 0x0, count: -4
ddb{0}> 

Crashes (84):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/01/25 13:16 openbsd 6f9e9be94f66 b5d78bce .config console log report syz ci-openbsd-setuid
2019/01/25 11:54 openbsd 6f9e9be94f66 b5d78bce .config console log report syz ci-openbsd-multicore
2019/01/25 03:42 openbsd 6be7898a800b fea4b504 .config console log report syz ci-openbsd-setuid
2019/01/24 19:29 openbsd 6be7898a800b fea4b504 .config console log report syz ci-openbsd-setuid
2019/01/24 17:52 openbsd f1baa6d0b1f2 ce1ccf97 .config console log report syz ci-openbsd-multicore
2019/01/24 15:38 openbsd f1baa6d0b1f2 ce1ccf97 .config console log report syz ci-openbsd-multicore
2019/01/24 14:33 openbsd f1baa6d0b1f2 ce1ccf97 .config console log report syz ci-openbsd-setuid
2019/01/24 12:15 openbsd f1baa6d0b1f2 ce1ccf97 .config console log report syz ci-openbsd-setuid
2019/01/24 12:00 openbsd f1baa6d0b1f2 ce1ccf97 .config console log report syz ci-openbsd-setuid
2019/01/24 11:16 openbsd f1baa6d0b1f2 ce1ccf97 .config console log report syz ci-openbsd-setuid
2019/01/27 19:37 openbsd 269c2856b78e c73f090a .config console log report ci-openbsd-setuid
2019/01/27 17:57 openbsd 269c2856b78e c73f090a .config console log report ci-openbsd-setuid
2019/01/27 14:47 openbsd 269c2856b78e c73f090a .config console log report ci-openbsd-setuid
2019/01/27 14:14 openbsd 269c2856b78e c73f090a .config console log report ci-openbsd-setuid
2019/01/27 12:20 openbsd 269c2856b78e c73f090a .config console log report ci-openbsd-setuid
2019/01/27 09:12 openbsd fdee2cadce4b c73f090a .config console log report ci-openbsd-setuid
2019/01/27 07:33 openbsd fdee2cadce4b c73f090a .config console log report ci-openbsd-setuid
2019/01/27 02:07 openbsd fdee2cadce4b c73f090a .config console log report ci-openbsd-setuid
2019/01/26 21:55 openbsd fdee2cadce4b c73f090a .config console log report ci-openbsd-setuid
2019/01/26 20:11 openbsd 9c41f50dd00d 66ff894e .config console log report ci-openbsd-setuid
2019/01/26 19:08 openbsd 9c41f50dd00d 66ff894e .config console log report ci-openbsd-setuid
2019/01/26 17:41 openbsd 9c41f50dd00d 66ff894e .config console log report ci-openbsd-setuid
2019/01/26 17:02 openbsd 9c41f50dd00d 66ff894e .config console log report ci-openbsd-setuid
2019/01/26 15:06 openbsd 9c41f50dd00d 66ff894e .config console log report ci-openbsd-multicore
2019/01/26 12:58 openbsd 9c41f50dd00d 66ff894e .config console log report ci-openbsd-multicore
2019/01/26 11:34 openbsd 9c41f50dd00d 66ff894e .config console log report ci-openbsd-multicore
2019/01/26 10:33 openbsd 9c41f50dd00d 66ff894e .config console log report ci-openbsd-setuid
2019/01/26 07:46 openbsd e051af97f77d ebf7a37c .config console log report ci-openbsd-setuid
2019/01/26 05:54 openbsd e051af97f77d ebf7a37c .config console log report ci-openbsd-multicore
2019/01/26 04:08 openbsd e051af97f77d ebf7a37c .config console log report ci-openbsd-multicore
2019/01/26 01:33 openbsd e051af97f77d ebf7a37c .config console log report ci-openbsd-setuid
2019/01/26 01:15 openbsd e051af97f77d ebf7a37c .config console log report ci-openbsd-setuid
2019/01/26 01:06 openbsd e051af97f77d ebf7a37c .config console log report ci-openbsd-setuid
2019/01/26 00:51 openbsd e051af97f77d ebf7a37c .config console log report ci-openbsd-setuid
2019/01/26 00:40 openbsd e051af97f77d ebf7a37c .config console log report ci-openbsd-multicore
2019/01/26 00:23 openbsd e051af97f77d ebf7a37c .config console log report ci-openbsd-setuid
2019/01/25 23:21 openbsd e051af97f77d ebf7a37c .config console log report ci-openbsd-setuid
2019/01/25 21:13 openbsd e051af97f77d ebf7a37c .config console log report ci-openbsd-setuid
2019/01/25 19:38 openbsd e051af97f77d ebf7a37c .config console log report ci-openbsd-setuid
2019/01/25 19:33 openbsd e051af97f77d ebf7a37c .config console log report ci-openbsd-multicore
2019/01/25 17:35 openbsd 6f9e9be94f66 b5d78bce .config console log report ci-openbsd-setuid
2019/01/25 16:04 openbsd 6f9e9be94f66 b5d78bce .config console log report ci-openbsd-setuid
2019/01/25 15:42 openbsd 6f9e9be94f66 b5d78bce .config console log report ci-openbsd-setuid
2019/01/25 15:14 openbsd 6f9e9be94f66 b5d78bce .config console log report ci-openbsd-setuid
2019/01/25 14:46 openbsd 6f9e9be94f66 b5d78bce .config console log report ci-openbsd-multicore
2019/01/25 12:46 openbsd 6f9e9be94f66 b5d78bce .config console log report ci-openbsd-setuid
2019/01/25 12:21 openbsd 6f9e9be94f66 b5d78bce .config console log report ci-openbsd-multicore
2019/01/25 11:30 openbsd 6f9e9be94f66 b5d78bce .config console log report ci-openbsd-multicore
2019/01/25 11:24 openbsd 6f9e9be94f66 b5d78bce .config console log report ci-openbsd-setuid
2019/01/25 05:58 openbsd 6be7898a800b fea4b504 .config console log report ci-openbsd-multicore
2019/01/25 03:24 openbsd 6be7898a800b fea4b504 .config console log report ci-openbsd-multicore
2019/01/25 03:19 openbsd 6be7898a800b fea4b504 .config console log report ci-openbsd-setuid
2019/01/24 19:07 openbsd 6be7898a800b fea4b504 .config console log report ci-openbsd-setuid
2019/01/24 18:38 openbsd f1baa6d0b1f2 ce1ccf97 .config console log report ci-openbsd-setuid
2019/01/24 08:48 openbsd f1baa6d0b1f2 ce1ccf97 .config console log report ci-openbsd-setuid
* Struck through repros no longer work on HEAD.