Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 217874
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: rinus <remspoor@linuxmail.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge-info.txt emerge --info text/plain rinus 2008-04-15 21:54 0000 5.53 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 217874 depends on: Show dependency tree
Bug 217874 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-04-15 21:52 0000
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 From rinus 2008-04-15 21:54:10 0000 -------
Created an attachment (id=149851) [details]
emerge --info

------- Comment #2 From Tupone Alfredo 2008-04-16 05:45:38 0000 -------
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 From amadeus.bit@googlemail.com 2008-04-22 10:31:04 0000 -------
Here the same. bzflag wont start: segmentation fault.

------- Comment #4 From amadeus.bit@googlemail.com 2008-06-16 11:51:37 0000 -------
When will it be fixed?

------- Comment #5 From Tupone Alfredo 2008-06-25 19:45:52 0000 -------
Should be fixed in 2.0.12. Thanks

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug