Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217874 - games-action/bzflag-2.0.10: segmentation fault with net-dns/c-ares-1.5.1
Summary: games-action/bzflag-2.0.10: segmentation fault with net-dns/c-ares-1.5.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-15 21:52 UTC by rinus
Modified: 2008-06-25 19:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,5.53 KB, text/plain)
2008-04-15 21:54 UTC, rinus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rinus 2008-04-15 21:52:23 UTC
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
Comment 1 rinus 2008-04-15 21:54:10 UTC
Created attachment 149851 [details]
emerge --info
Comment 2 Tupone Alfredo gentoo-dev 2008-04-16 05:45:38 UTC
The fix for c-ares is already in upstream cvs, together with changes for gcc-4.3. I hope I can soon release a 2.0.12 and upload a new ebuild. 
Comment 3 amadeus.bit 2008-04-22 10:31:04 UTC
Here the same. bzflag wont start: segmentation fault.
Comment 4 amadeus.bit 2008-06-16 11:51:37 UTC
When will it be fixed?
Comment 5 Tupone Alfredo gentoo-dev 2008-06-25 19:45:52 UTC
Should be fixed in 2.0.12. Thanks