NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/59035: new named(8) crashes at startup on evbarmv5
>Number: 59035
>Category: bin
>Synopsis: new named(8) crashes at startup on evbarmv5
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 28 11:25:00 +0000 2025
>Originator: Martin Husemann
>Release: NetBSD 10.99.12
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD unpluged.duskware.de 10.99.12 NetBSD 10.99.12 (UNPLUGED) #621: Tue Jan 28 10:16:08 CET 2025 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/evbarm/compile/UNPLUGED evbarm
Architecture: earmv5
Machine: evbarm
>Description:
After updating to todays -current the named on this machine does not start
any more.
gdb named named.core
GNU gdb (GDB) 15.1
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "armv7--netbsdelf-eabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from named...
Reading symbols from /usr/libdata/debug//usr/sbin/named.debug...
[New process 351]
[New process 1383]
[New process 292]
[New process 1437]
Core was generated by `named'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000504c0 in compat_futex_noasync (uaddr=0xbb2952a8, op=-1169994232, val=256, timeout=<optimized out>,
uaddr2=0x4, val3=0)
at /work/src/external/lgpl2/userspace-rcu/lib/liburcu-memb/../../dist/src/compat_futex.c:71
unfortunately it can't backtrace from there.
(gdb) info reg
r0 0xbb514040 3142664256
r1 0xbbd40208 3151233544
r2 0x10000 65536
r3 0x0 0
r4 0xbb2952a8 3140047528
r5 0x100 256
r6 0x40 64
r7 0xbbd40208 3151233544
r8 0xba434e08 3124973064
r9 0xbb2c253c 3140232508
r10 0xbb2c2658 3140232792
r11 0x0 0
r12 0x920f0 598256
sp 0xbfffe688 0xbfffe688
lr 0x504c0 328896
pc 0x504c0 0x504c0 <compat_futex_noasync+184>
cpsr 0x20000010 536870928
Dump of assembler code for function compat_futex_noasync:
0x00050408 <+0>: push {r4, r5, r6, r7, r8, r9, lr}
0x0005040c <+4>: ldr r9, [pc, #332] @ 0x50560 <compat_futex_noasync+344>
0x00050410 <+8>: sub sp, sp, #12
0x00050414 <+12>: cmp r3, #0
0x00050418 <+16>: ldr r12, [sp, #40] @ 0x28
0x0005041c <+20>: add r9, pc, r9
0x00050420 <+24>: bne 0x50540 <compat_futex_noasync+312>
0x00050424 <+28>: cmp r12, #0
0x00050428 <+32>: bne 0x50520 <compat_futex_noasync+280>
0x0005042c <+36>: ldr r3, [sp, #44] @ 0x2c
0x00050430 <+40>: cmp r3, #0
0x00050434 <+44>: bne 0x50500 <compat_futex_noasync+248>
0x00050438 <+48>: mov r4, r0
0x0005043c <+52>: mov r8, r1
0x00050440 <+56>: mov r5, r2
0x00050444 <+60>: bl 0x108f4 <__sync_synchronize@plt>
0x00050448 <+64>: ldr r3, [pc, #276] @ 0x50564 <compat_futex_noasync+348>
0x0005044c <+68>: ldr r6, [r9, r3]
0x00050450 <+72>: mov r0, r6
0x00050454 <+76>: bl 0xf250 <__libc_mutex_lock@plt>
0x00050458 <+80>: subs r7, r0, #0
0x0005045c <+84>: bne 0x504f4 <compat_futex_noasync+236>
0x00050460 <+88>: cmp r8, #0
0x00050464 <+92>: beq 0x504b4 <compat_futex_noasync+172>
0x00050468 <+96>: cmp r8, #1
0x0005046c <+100>: bne 0x504a0 <compat_futex_noasync+152>
0x00050470 <+104>: ldr r3, [pc, #240] @ 0x50568 <compat_futex_noasync+352>
0x00050474 <+108>: ldr r3, [r9, r3]
0x00050478 <+112>: mov r0, r3
0x0005047c <+116>: str r3, [sp, #4]
0x00050480 <+120>: bl 0x10f30 <__libc_cond_broadcast@plt>
0x00050484 <+124>: mov r0, r6
0x00050488 <+128>: bl 0x117f4 <__libc_mutex_unlock@plt>
0x0005048c <+132>: subs r4, r0, #0
0x00050490 <+136>: bne 0x504e4 <compat_futex_noasync+220>
0x00050494 <+140>: mov r0, r7
0x00050498 <+144>: add sp, sp, #12
0x0005049c <+148>: pop {r4, r5, r6, r7, r8, r9, pc}
0x000504a0 <+152>: bl 0xebd8 <__errno@plt>
0x000504a4 <+156>: mov r3, #22
0x000504a8 <+160>: mvn r7, #0
0x000504ac <+164>: str r3, [r0]
0x000504b0 <+168>: b 0x50484 <compat_futex_noasync+124>
0x000504b4 <+172>: ldr r3, [r4]
0x000504b8 <+176>: cmp r5, r3
0x000504bc <+180>: bne 0x50484 <compat_futex_noasync+124>
=> 0x000504c0 <+184>: ldr r3, [pc, #160] @ 0x50568 <compat_futex_noasync+352>
0x000504c4 <+188>: ldr r8, [r9, r3]
0x000504c8 <+192>: mov r1, r6
0x000504cc <+196>: mov r0, r8
0x000504d0 <+200>: bl 0x10ea0 <__libc_cond_wait@plt>
0x000504d4 <+204>: ldr r3, [r4]
0x000504d8 <+208>: cmp r3, r5
0x000504dc <+212>: beq 0x504c8 <compat_futex_noasync+192>
0x000504e0 <+216>: b 0x50484 <compat_futex_noasync+124>
0x000504e4 <+220>: bl 0xebd8 <__errno@plt>
0x000504e8 <+224>: str r4, [r0]
0x000504ec <+228>: mvn r7, #0
0x000504f0 <+232>: b 0x50494 <compat_futex_noasync+140>
0x000504f4 <+236>: bl 0xebd8 <__errno@plt>
0x000504f8 <+240>: str r7, [r0]
0x000504fc <+244>: b 0x504ec <compat_futex_noasync+228>
0x00050500 <+248>: ldr r3, [pc, #100] @ 0x5056c <compat_futex_noasync+356>
0x00050504 <+252>: ldr r2, [pc, #100] @ 0x50570 <compat_futex_noasync+360>
0x00050508 <+256>: ldr r0, [pc, #100] @ 0x50574 <compat_futex_noasync+364>
0x0005050c <+260>: mov r1, #51 @ 0x33
0x00050510 <+264>: add r3, pc, r3
0x00050514 <+268>: add r2, pc, r2
0x00050518 <+272>: add r0, pc, r0
0x0005051c <+276>: bl 0x10984 <__assert13@plt>
0x00050520 <+280>: ldr r3, [pc, #80] @ 0x50578 <compat_futex_noasync+368>
0x00050524 <+284>: ldr r2, [pc, #80] @ 0x5057c <compat_futex_noasync+372>
0x00050528 <+288>: ldr r0, [pc, #80] @ 0x50580 <compat_futex_noasync+376>
0x0005052c <+292>: mov r1, #50 @ 0x32
0x00050530 <+296>: add r3, pc, r3
0x00050534 <+300>: add r2, pc, r2
0x00050538 <+304>: add r0, pc, r0
0x0005053c <+308>: bl 0x10984 <__assert13@plt>
0x00050540 <+312>: ldr r3, [pc, #60] @ 0x50584 <compat_futex_noasync+380>
0x00050544 <+316>: ldr r2, [pc, #60] @ 0x50588 <compat_futex_noasync+384>
0x00050548 <+320>: ldr r0, [pc, #60] @ 0x5058c <compat_futex_noasync+388>
0x0005054c <+324>: mov r1, #49 @ 0x31
0x00050550 <+328>: add r3, pc, r3
0x00050554 <+332>: add r2, pc, r2
0x00050558 <+336>: add r0, pc, r0
0x0005055c <+340>: bl 0x10984 <__assert13@plt>
0x00050560 <+344>: muleq r4, r4, r2
0x00050564 <+348>: strdeq r0, [r0], -r12
0x00050568 <+352>: ldrdeq r0, [r0], -r8
0x0005056c <+356>: andeq r8, r2, r12, ror r4
0x00050570 <+360>: andeq r4, r3, r8, lsl #19
0x00050574 <+364>: andeq r8, r2, r4, lsl r4
0x00050578 <+368>: andeq r8, r2, r4, asr r4
0x0005057c <+372>: andeq r4, r3, r8, ror #18
0x00050580 <+376>: strdeq r8, [r2], -r4
0x00050584 <+380>: ldrdeq r8, [r2], -r0
0x00050588 <+384>: andeq r4, r3, r8, asr #18
0x0005058c <+388>: ldrdeq r8, [r2], -r4
End of assembler dump.
>How-To-Repeat:
not quite sure, evbearmv5 specific?
>Fix:
n/a
Home |
Main Index |
Thread Index |
Old Index