NetBSD-Bugs archive

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

Re: toolchain/57241: binutils crashes for some builds



The following reply was made to PR toolchain/57241; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: toolchain/57241: binutils crashes for some builds
Date: Wed, 8 Mar 2023 15:15:05 +0100

 Examing this a bit closer the build cluster gets two core dumps
 during a failed build, one is from the host ld,
 GNU ld (NetBSD Binutils nb1) 2.31.1, and it is quite low on usable information:
 
 Reading symbols from ld...
 Reading symbols from /usr/libdata/debug//usr/bin/ld.debug...
 [New process 1]
 Core was generated by `ld'.
 Program terminated with signal SIGSEGV, Segmentation fault.
 #0  0x0000000000430e81 in ?? ()
 (gdb) bt
 #0  0x0000000000430e81 in ?? ()
 #1  0x0000000000000000 in ?? ()
 (gdb) info reg
 rax            0x1e484ef           31753455
 rbx            0x63426a            6505066
 rcx            0x0                 0
 rdx            0x100000            1048576
 rsi            0x63426a            6505066
 rdi            0x68                104
 rbp            0x9                 0x9
 rsp            0x7f7fff4293a0      0x7f7fff4293a0
 r8             0x0                 0
 r9             0x0                 0
 r10            0xb0200000000       12103217840128
 r11            0x0                 0
 r12            0x6769752           108435282
 r13            0x63426a            6505066
 r14            0x68                104
 r15            0x0                 0
 rip            0x430e81            0x430e81
 eflags         0x10202             [ IF RF ]
 cs             0x47                71
 ss             0x3f                63
 ds             0x23                35
 es             0x23                35
 fs             0x0                 0
 gs             0x0                 0
 fs_base        <unavailable>
 gs_base        <unavailable>
 
 The other assumed from objcopy (but I didn't have the exact objdump binary
 around any more):
 
 warning: exec file is newer than core file.
 [New process 1]
 Core was generated by `mips64el--netbsd'.
 Program terminated with signal SIGBUS, Bus error.
 #0  0x0000000000409c81 in setup_section (
     ibfd=<error reading variable: Cannot access memory at address 0x884a8f2a>, 
     isection=<error reading variable: Cannot access memory at address 0x884a8f22>, 
     obfdarg=<error reading variable: Cannot access memory at address 0x884a8f1a>)
     at /home/source/ab/HEAD/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/objcopy.c:4042
 4042          flags = check_new_section_flags (flags, obfd, name);
 (gdb) bt
 #0  0x0000000000409c81 in setup_section (
     ibfd=<error reading variable: Cannot access memory at address 0x884a8f2a>, 
     isection=<error reading variable: Cannot access memory at address 0x884a8f22>, 
     obfdarg=<error reading variable: Cannot access memory at address 0x884a8f1a>)
     at /home/source/ab/HEAD/src/tools/binutils/../../external/gpl3/binutils/dist/binutils/objcopy.c:4042
 Backtrace stopped: Cannot access memory at address 0x884a8fba
 (gdb) info reg
 rax            0xf764327d          4150538877
 rbx            0x91ba1316          2444890902
 rcx            0x20                32
 rdx            0xc44d9cab          3293420715
 rsi            0x75a6bf2e3b00      129359032498944
 rdi            0xfe4c0ff2          4266397682
 rbp            0x884a8fb2          0x884a8fb2
 rsp            0x7f7fff76c5d8      0x7f7fff76c5d8
 r8             0xfe10f7cb          4262524875
 r9             0x884a8fb2          2286587826
 r10            0xfe10f7cb          4262524875
 r11            0x49d73267          1238839911
 r12            0x6a2ff5ba          1781527994
 r13            0xdb0254c5          3674363077
 r14            0x7f7fff76c808      140187723548680
 r15            0x75a6bf0f7000      129359030480896
 rip            0x409c81            0x409c81 <setup_section+246>
 eflags         0x10283             [ CF SF IF RF ]
 cs             0x47                71
 ss             0x3f                63
 ds             0x23                35
 es             0x23                35
 fs             0x0                 0
 gs             0x0                 0
 fs_base        <unavailable>
 gs_base        <unavailable>
 


Home | Main Index | Thread Index | Old Index