Re: kyua SIGBUS'ing with clang 3.7.0 (was FreeBSD_HEAD-tests - Build #1540 - Unstable)

From: Craig Rodrigues <rodrigc_at_FreeBSD.org>
Date: Thu, 8 Oct 2015 19:29:49 -0700
On Wed, Oct 7, 2015 at 2:28 PM, Dimitry Andric <dim_at_freebsd.org> wrote:

>
> Do you still have a copy of the earlier executable?  Can you post it
> somewhere?
>

I was able to reproduce the problem.

pkg install devel/kyua
cd /usr/tests/local/kyua/bootstrap/
./plain_helpers
Bus error (core dumped)

root_at_:/usr/tests/local/kyua/bootstrap # gdb plain_helpers plain_helpers.core
GNU gdb 6.1.1 [FreeBSD]
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-marcel-freebsd"...(no debugging symbols
found)...
Core was generated by `plain_helpers'.
Program terminated with signal 10, Bus error.
Reading symbols from /usr/lib/libc++.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libc++.so.1
Reading symbols from /lib/libcxxrt.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libcxxrt.so.1
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x000000080085dcfd in std::__1::ios_base::Init::Init ()
   from /usr/lib/libc++.so.1
(gdb) where
#0  0x000000080085dcfd in std::__1::ios_base::Init::Init ()
   from /usr/lib/libc++.so.1
#1  0x000000080085e029 in std::__1::ios_base::Init::~Init ()
   from /usr/lib/libc++.so.1
#2  0x00000008008b7352 in std::__throw_bad_alloc () from
/usr/lib/libc++.so.1
#3  0x000000080085a5c6 in _init () from /usr/lib/libc++.so.1
#4  0x00007fffffffe570 in ?? ()
#5  0x00000008006059b8 in r_debug_state () from /libexec/ld-elf.so.1
#6  0x000000080060506f in __tls_get_addr () from /libexec/ld-elf.so.1
#7  0x0000000800603439 in .text () from /libexec/ld-elf.so.1
#8  0x0000000000000000 in ?? ()
(gdb)
#0  0x000000080085dcfd in std::__1::ios_base::Init::Init ()
   from /usr/lib/libc++.so.1
#1  0x000000080085e029 in std::__1::ios_base::Init::~Init ()
   from /usr/lib/libc++.so.1
#2  0x00000008008b7352 in std::__throw_bad_alloc () from
/usr/lib/libc++.so.1
#3  0x000000080085a5c6 in _init () from /usr/lib/libc++.so.1
#4  0x00007fffffffe570 in ?? ()
#5  0x00000008006059b8 in r_debug_state () from /libexec/ld-elf.so.1
#6  0x000000080060506f in __tls_get_addr () from /libexec/ld-elf.so.1
#7  0x0000000800603439 in .text () from /libexec/ld-elf.so.1
#8  0x0000000000000000 in ?? ()
(gdb)


The core file is here:  https://people.freebsd.org/~rodrigc/kyua-core/

--
Craig
Received on Fri Oct 09 2015 - 00:29:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:00 UTC