misc/186432: the IL library segfaults during program startup
dt71
dt71 at gmx.com
Mon Feb 3 22:40:00 UTC 2014
>Number: 186432
>Category: misc
>Synopsis: the IL library segfaults during program startup
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 03 22:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: dt71
>Release: 10.0-RELEASE
>Organization:
>Environment:
FreeBSD 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Fri Jan 17 01:46:25 UTC 2014 root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
>Description:
In the 10.0-RELEASE, the IL library (from the "devil" package), when linked to any program, such as ``int main(void) { }'', causes the program to segfault before main() is entered. The backtrace is:
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x28769ec4 in __dynamic_cast (src_ptr=0x287a1180, src_type=0x2879bf2c,
dst_type=0x2879bdc0, src2dst=0)
at ../../.././../gcc-4.6.4/libstdc++-v3/libsupc++/dyncast.cc:61
#2 0x28738a41 in std::has_facet<std::ctype<char> > (__loc=@0x287a0f10)
at locale_classes.tcc:234
#3 0x2872c08a in std::basic_ios<char, std::char_traits<char> >::_M_cache_locale
(this=0x287a0ea4, __loc=@0x287a0f10) at basic_ios.tcc:160
#4 0x2872c139 in std::basic_ios<char, std::char_traits<char> >::init (
this=0x287a0ea4, __sb=0x287a0aa0) at basic_ios.tcc:133
#5 0x28713528 in Init (this=0x280dcf21) at ostream:85
#6 0x287a0ea4 in std::cout () from /usr/local/lib/gcc46/libstdc++.so.6
#7 0x287a0aa0 in __gnu_internal::buf_cin_sync ()
from /usr/local/lib/gcc46/libstdc++.so.6
#8 0x280dcf21 in IsInit () from /usr/local/lib/libIL.so.2
#9 0x00000000 in ?? ()
>How-To-Repeat:
% cat nop.c
int main(void) { }
% gcc46 -g nop.c -L /usr/local/lib -lIL -o nop
% ./nop
Segmentation fault (core dumped)
(Clang can also be used.)
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list