NetBSD-Bugs archive

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

Re: toolchain/51147: Segmentation fault with build.sh on OpenBSD current (trying rump)



________________________________________
From: Christos Zoulas <christos%zoulas.com@localhost>
Sent: Tuesday, May 17, 2016 8:05 PM
To: toolchain-manager%netbsd.org@localhost; gnats-admin%netbsd.org@localhost; netbsd-bugs%netbsd.org@localhost; Bodzar Tomas T
Subject: Re: toolchain/51147: Segmentation fault with build.sh on OpenBSD current (trying rump)

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

From: christos%zoulas.com@localhost (Christos Zoulas)
To: <Tomas.T.Bodzar%tieto.com@localhost>, <toolchain-manager%netbsd.org@localhost>,
        <gnats-admin%netbsd.org@localhost>, <netbsd-bugs%netbsd.org@localhost>,
        <gnats-bugs%NetBSD.org@localhost>
Cc:
Subject: Re: toolchain/51147: Segmentation fault with build.sh on OpenBSD current (trying rump)
Date: Tue, 17 May 2016 14:02:41 -0400

 On May 17,  2:36pm, Tomas.T.Bodzar%tieto.com@localhost (<Tomas.T.Bodzar%tieto.com@localhost>) wrote:
 -- Subject: Re: toolchain/51147: Segmentation fault with build.sh on OpenBSD

 |  Looks like texinfo is broken (perhaps the tool version we just built).=0A=
 |  Can you look for the core in your build and run file on it? It will=0A=
 |  tell you what core-dumped.=0A=
 | =0A=
 |  christos=0A=

 good! it is nbmakeinfo. Can you start clean, then build with MKTOOLSDEBUG=yes.
 Then run:

 gdb /path/to/nbmakeinfo /path/to/nbmakeinfo.core

 and then in the gdb prompt type "where".

 Unfortunately I can't use the core file because I don't have an OpenBSD
 system available or the binary.

 christos

Here it is:

$ gdb elftools.x86_64/bin/nbmakeinfo /home/username/netbsd/usr/src/tools/gcc/obj/build/gcc/nbmakeinfo.core
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd6.0"...(no debugging symbols found)

Core was generated by `nbmakeinfo'.
Program terminated with signal 11, Segmentation fault.
(no debugging symbols found)
Loaded symbols for /home/username/netbsd/usr/src/elftools.x86_64/bin/nbmakeinfo
Reading symbols from /usr/lib/libc.so.87.0...done.
Loaded symbols for /usr/lib/libc.so.87.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
#0  0x000002c2779223ad in output_multitable_row () from /home/username/netbsd/usr/src/elftools.x86_64/bin/nbmakeinfo
(gdb) where
#0  0x000002c2779223ad in output_multitable_row () from /home/username/netbsd/usr/src/elftools.x86_64/bin/nbmakeinfo
#1  0x000002c277922990 in multitable_item () from /home/username/netbsd/usr/src/elftools.x86_64/bin/nbmakeinfo
#2  0x000002c277915d31 in cm_item () from /home/username/netbsd/usr/src/elftools.x86_64/bin/nbmakeinfo
#3  0x000002c27791ea7e in reader_loop () from /home/username/netbsd/usr/src/elftools.x86_64/bin/nbmakeinfo
#4  0x000002c27790cf3e in handle_include () from /home/username/netbsd/usr/src/elftools.x86_64/bin/nbmakeinfo
#5  0x000002c27790cf88 in cm_include () from /home/username/netbsd/usr/src/elftools.x86_64/bin/nbmakeinfo
#6  0x000002c27791ea7e in reader_loop () from /home/username/netbsd/usr/src/elftools.x86_64/bin/nbmakeinfo
#7  0x000002c277920dc4 in convert_from_loaded_file () from /home/username/netbsd/usr/src/elftools.x86_64/bin/nbmakeinfo
#8  0x000002c277921f19 in main () from /home/username/netbsd/usr/src/elftools.x86_64/bin/nbmakeinfo
(gdb)







Home | Main Index | Thread Index | Old Index