Running bzflag when net-dns/c-ares-1.5.1 is installed produces a segmentation
fault. net-dns/c-ares-1.4.0 works ok.
Reproducible: Always
Steps to Reproduce:
1. emerge games-action/bzflag (version 2.0.10)
run in gnome-terminal:
2. ulimit -c unlimited
3. bzflag
Actual Results:
Segmentation fault (core dumped)
Expected Results:
I should be able to shoot some tanks ;-)
I compiled the following packages with the additional CFLAGS,CXXFLAGS="-g
-ggdb3" and FEATURES="splitdebug":
sys-libs/glibc-2.7-r2
games-action/bzflag-2.0.10
net-dns/c-ares-1.5.1
(gdb) bt full
#0 0x00002b3c77103c10 in strlen () from /lib/libc.so.6
No symbol table info available.
#1 0x00002b3c77103956 in *__GI___strdup (s=0x0) at strdup.c:42
len = <value optimized out>
new = <value optimized out>
#2 0x00002b3c70c6643b in ares_init_options (channelptr=0x8d2638,
options=0x7fff3a061b00, optmask=256) at ares_init.c:394
channel = <value optimized out>
i = <value optimized out>
status = <value optimized out>
server = <value optimized out>
#3 0x00000000005a4007 in AresHandler (this=0x8d2620, _index=<value optimized
out>) at AresHandler.cxx:33
No locals.
#4 0x000000000054b80b in __static_initialization_and_destruction_0
(__initialize_p=<value optimized out>, __priority=<value optimized out>) at
playing.cxx:224
No locals.
#5 0x000000000064be0a in ?? ()
No symbol table info available.
#6 0x00002b3c722925a8 in __PRETTY_FUNCTION__.6274 () from /lib/libpthread.so.0
No symbol table info available.
#7 0x00002b3c70c5ebc0 in ?? () from /lib64/ld-linux-x86-64.so.2
No symbol table info available.
#8 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb)
This gave me the hint of a package called c-ares. I downgraded that package to
version 1.4.0 by masking 1.5.1 and recompiled bzflag.
bzflag was working again ;-)
I hope that the bt is enough info.
emerge --info follows