Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Oct 2015 19:29:49 -0700
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: kyua SIGBUS'ing with clang 3.7.0 (was FreeBSD_HEAD-tests - Build #1540 - Unstable)
Message-ID:  <CAG=rPVe_jYFut%2BP9-qWH9-=xRUk4eJPG=ELqSZFiraziJ3vmZg@mail.gmail.com>
In-Reply-To: <B6E89181-D75E-4200-AB17-4FE5CD0CBAFA@FreeBSD.org>
References:  <64208980.212.1444173234007.JavaMail.jenkins@jenkins-9.freebsd.org> <FC8BEE41-D7EB-4648-B5C5-C6249A04815D@gmail.com> <9AA1E7FE-9C61-4730-B597-CD621960B6AB@gmail.com> <16D1DE3E-32FB-4B47-948F-83CF6BCF09C1@FreeBSD.org> <3F707412-A902-4E6F-8662-C49E1A9B8311@gmail.com> <56152FB3.7000205@freebsd.org> <B6E89181-D75E-4200-AB17-4FE5CD0CBAFA@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 7, 2015 at 2:28 PM, Dimitry Andric <dim@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@:/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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVe_jYFut%2BP9-qWH9-=xRUk4eJPG=ELqSZFiraziJ3vmZg>