NetBSD-Bugs archive

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

kern/60928: crash in aio atf tests



>Number:         60928
>Category:       kern
>Synopsis:       crash in aio atf tests
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 26 17:05:00 +0000 2026
>Originator:     Martin Husemann
>Release:        NetBSD 11.99.9
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD thirdstage.duskware.de 11.99.9 NetBSD 11.99.9 (MODULAR) #926: Mon Oct 26 09:23:58 CET 2026 martin%thirdstage.duskware.de@localhost:/home/martin/current/src/sys/arch/sparc64/compile/MODULAR sparc64
Architecture: sparc64
Machine: sparc64
>Description:

While runnint the ATF tests, this machine crashed:

[ 2255.2495780] cpu0: data fault: pc=169e850 rpc=10779730b addr=0
[ 2255.2495780] kernel trap 30: data access exception
Stopped in pid 12184.12184 (t_aio_suspend) at   netbsd:aiosp_validate_conflicts+
0x70:   ldx             [%o0 + 0x38], %g1
db{0}> sh reg
tstate      4482000601
pc          169e850     aiosp_validate_conflicts+0x70
npc         169e854     aiosp_validate_conflicts+0x74
ipl         0
y           0
g0          0
g1          0
g2          fefefefe00000000
g3          10e0d2c00
g4          ffffffffffffc851
g5          0
g6          c724ab5fa7c3e393
g7          4021a860
o0          0
o1          0
o2          0
o3          0
o4          0
o5          0
o6          2532f3271
o7          169e844     aiosp_validate_conflicts+0x64
l0          ffffffff00000000
l1          ffffffffffffffff
l2          0
l3          80713
l4          10df4eb58
l5          0
l6          ffffffffffffffff
l7          0
i0          ffffffffffffffff
i1          ffffffffffffffff
i2          ffffffffffffffff
i3          ffffffffffffffff
i4          ffffffffffffffff
i5          ffffffffffffffff
i6          fefefefefefefefe
i7          fefefefefefefe32

0x169e850 is in aiosp_validate_conflicts (../../../../kern/sys_aio.c:1148).
1143                    if (job && st->job->aiocb_uptr == uptr) {
1144                            mutex_exit(&aiosp->mtx);
1145                            return EINVAL;
1146                    } else if (st->fg) {
1147                            mutex_enter(&st->fg->mtx);
1148                            TAILQ_FOREACH(job, &st->fg->queue, list) {
1149                                    if (job->aiocb_uptr == uptr) {


The code hasn't changed in ages, but the compiler recently did?

>How-To-Repeat:
s/a

>Fix:
n/a




Home | Main Index | Thread Index | Old Index