NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/54179: Interrupted clock_nanosleep() does not return EINTR

>Number:         54179
>Category:       kern
>Synopsis:       Interrupted clock_nanosleep() does not return EINTR
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 09 02:25:00 +0000 2019
>Originator:     Kamil Rytarowski
>Release:        NetBSD 8.99.38 amd64
NetBSD chieftec 8.99.38 NetBSD 8.99.38 (GENERIC) #0: Tue May  7 23:37:58 CEST 2019  root@chieftec:/public/netbsd-root/sys/arch/amd64/compile/GENERIC amd64
Interrupted clock_nanosleeep(2) does not return EINTR.

The syscall returns 0.

Part of the log from: `picotrace sleep 600`:

 13660      1          sleep SCE clock_nanosleep(0x3,0x1,0x7f7fffffe6f0,0)
 13660      1          sleep SCX clock_nanosleep = 0
Three example ways:

1. gdb attach (PT_ATTACH) to sleeping sleep(1) and resume

2. attach to sleeping sleep(1) with: picotrace -p `pgrep sleep`

2. kill -URG `pgrep sleep` for sleeping sleep(1)

Home | Main Index | Thread Index | Old Index