Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Mar 2015 15:56:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 198453] groff and tbl dump core on fresh install
Message-ID:  <bug-198453-8-yOOlEIzSRX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-198453-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-198453-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198453

--- Comment #2 from Walter Heukels <walter@badexample.net> ---
Further investigation points to libc++ initialisation code.

[root@bsd-18 ~]# cat test.c
#include <stdio.h>

int main()
{
printf("Hello world!\n");
}


[root@bsd-18 ~]# clang -o test test.c 
[root@bsd-18 ~]# ./test
Hello world!
[root@bsd-18 ~]# clang -lc++ -o test test.c 
[root@bsd-18 ~]# ./test
Segmentation fault (core dumped)

(gdb) bt
#0  0x0000000800879004 in std::__1::__time_get_c_storage<wchar_t>::__weeks ()
from /usr/lib/libc++.so.1
#1  0x000000080085b8de in std::__1::ios_base::Init::Init () from
/usr/lib/libc++.so.1
#2  0x000000080085bc89 in std::__1::ios_base::Init::~Init () from
/usr/lib/libc++.so.1
#3  0x00000008008b2f42 in operator delete[] () from /usr/lib/libc++.so.1
#4  0x00000008008580c6 in _init () from /usr/lib/libc++.so.1
#5  0x00007fffffffe150 in ?? ()
#6  0x00000008006046bf in r_debug_state () from /libexec/ld-elf.so.1
#7  0x0000000800603d17 in __tls_get_addr () from /libexec/ld-elf.so.1
#8  0x0000000800602129 in .text () from /libexec/ld-elf.so.1
#9  0x0000000000000000 in ?? ()

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198453-8-yOOlEIzSRX>