[Bug 198453] groff and tbl dump core on fresh install
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Mar 9 15:56:45 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198453
--- Comment #2 from Walter Heukels <walter at badexample.net> ---
Further investigation points to libc++ initialisation code.
[root at bsd-18 ~]# cat test.c
#include <stdio.h>
int main()
{
printf("Hello world!\n");
}
[root at bsd-18 ~]# clang -o test test.c
[root at bsd-18 ~]# ./test
Hello world!
[root at bsd-18 ~]# clang -lc++ -o test test.c
[root at 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.
More information about the freebsd-bugs
mailing list