NetBSD-Bugs archive

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

kern/59964: kernel diagnostic assertion "it->it_time.it_value.tv_sec >= 0" failed



>Number:         59964
>Category:       kern
>Synopsis:       kernel diagnostic assertion "it->it_time.it_value.tv_sec >= 0" failed
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 06 16:05:00 +0000 2026
>Originator:     Thomas Klausner
>Release:        NetBSD 11.99.5
>Organization:
	
>Environment:
	
	
Architecture: x86_64
Machine: amd64
>Description:
When running the self tests for sysutils/coreutils 9.10, there is a repeatable
kernel panic after the lines:
...
PASS: tests/test/test-N.sh
PASS: tests/test/test-diag.pl
test-file.sh:
SKIP: tests/test/test-file.sh
PASS: tests/misc/time-style.sh
PASS: tests/timeout/timeout.sh
PASS: tests/timeout/timeout-blocked.pl
timeout-group.sh:
SKIP: tests/timeout/timeout-group.sh

The kernel backtrace is:
(gdb) bt
#0  0xffffffff80239eca in cpu_reboot (howto=howto@entry=260, bootstr=bootstr@entry=0x0) at /usr/src/sys/arch/amd64/amd64/machdep.c:709
#1  0xffffffff80e2ad3f in kern_reboot (howto=howto@entry=260, bootstr=bootstr@entry=0x0) at /usr/src/sys/kern/kern_reboot.c:91
#2  0xffffffff80e75f15 in vpanic (fmt=0xffffffff81630328 "kernel %sassertion \"%s\" failed: file \"%s\", line %d ", ap=ap@entry=0xffffdda5551f6e38) at /usr/src/sys/kern/subr_prf.c:288
#3  0xffffffff8105093e in kern_assert (fmt=fmt@entry=0xffffffff81630328 "kernel %sassertion \"%s\" failed: file \"%s\", line %d ") at /usr/src/sys/lib/libkern/kern_assert.c:51
#4  0xffffffff80e4949d in itimer_settime (it=it@entry=0xffffa5b2e0287040) at /usr/src/sys/kern/kern_time.c:908
#5  0xffffffff80e4a2b4 in dotimer_settime (timerid=4, value=value@entry=0xffffdda5551f6f30, ovalue=ovalue@entry=0x0, flags=0, p=<optimized out>) at /usr/src/sys/kern/kern_time.c:1446
#6  0xffffffff80e4a4b2 in sys___timer_settime50 (l=0xffffa5bd536dd800, uap=0xffffdda5551f7000, retval=<optimized out>) at /usr/src/sys/kern/kern_time.c:1374
#7  0xffffffff805cea31 in sy_call (sy=0xffffffff81a8a5d0 <sysent+10704>, l=0xffffa5bd536dd800, uap=0xffffdda5551f7000, rval=0xffffdda5551f6fb0) at /usr/src/sys/sys/syscallvar.h:65
#8  sy_invoke (sy=0xffffffff81a8a5d0 <sysent+10704>, l=0xffffa5bd536dd800, uap=0xffffdda5551f7000, rval=0xffffdda5551f6fb0, code=446) at /use/src/sys/sys/syscallvar.h:94
#9  syscall (frame=0xffffdda5551f7000) at /disk/storage-202410/archive/foreign/src/sys/arch/x86/x86/syscall.c:137
#10 0xffffffff8021025d in handle_syscall ()

Core dump available on request.

On NetBSD 10 I could not reproduce the panic.
>How-To-Repeat:
cd /usr/pkgsrc/sysutils/coreutils
make test
>Fix:
Please.

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index