Bug 150414

Summary: glibc from testing-updates causes (some) SDL apps to crash
Product: [Fedora] Fedora Reporter: Arnaud Abélard <arnaud.abelard>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: drepper, roland, tao, van.okamura
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 2.3.5-0.fc3.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-02 09:24:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
frozen-buuble ld_debug with glibc.2.3.4-2.fc3.3
none
frozen-bubble ld_debug with glibc.2.3.4-2.fc3.4
none
frozen bubble strace with glibc 2.3.4-2.fc3.3
none
frozen bubble strace with glibc 2.3.4-2.fc3.4
none
gdb log of frozen bubble with glibc 2.3.4-2.fc3.4
none
frozen-bubble crash in gdb with debuginfos none

Description Arnaud Abélard 2005-03-05 21:22:42 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050224 Firefox/1.0.1 Fedora/1.0.1-1.3.1

Description of problem:
after updating glibc from glibc-2.3.4-2.fc3.3 to glibc-2.3.4-2.fc3.4 all my SDL apps are crashing:

dosbox:
CONFIG: Using default settings. Create a configfile to change them
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
Segmentation fault

frozen-bubble:
[SDL Init] [Graphics...] [Levels] Fatal signal: Segmentation Fault (SDL Parachute Deployed)
Segmentation fault

those apps used to work with the glibc-2.3.4-2.fc3.3, updating to .4 causes them to crash, reverting to .3 fix the problem

Version-Release number of selected component (if applicable):
glibc-2.3.4-2.fc3.4

How reproducible:
Always

Steps to Reproduce:
1. update to glibc-2.3.4-2.fc3.4
2. try to run all your SDL apps, some won't  work anymore

  

Actual Results:  some SDL apps will crash 

Expected Results:  all SDL apps should work as they used to with glibc-2.3.4-2.fc3.3

Additional info:

Comment 2 Jakub Jelinek 2005-03-06 08:33:48 UTC
Can you please run
LD_DEBUG=all strace -f -o /tmp/fb.strace frozen-bubble 2> /tmp/fb.debug
with both -2.fc3.3 and -2.fc3.4?


Comment 3 Arnaud Abélard 2005-03-06 12:38:33 UTC
Created attachment 111707 [details]
frozen-buuble ld_debug with glibc.2.3.4-2.fc3.3

Comment 4 Arnaud Abélard 2005-03-06 12:40:13 UTC
Created attachment 111708 [details]
frozen-bubble ld_debug with glibc.2.3.4-2.fc3.4

Comment 5 Jakub Jelinek 2005-03-06 19:34:58 UTC
I haven't been able to reproduce this on my box, so can you please also:
1) attach /tmp/fb.strace those commands would create
2) run it under gdb: gdb --args /usr/bin/perl /usr/bin/frozen-bubble
   When it segfaults:
   disas $pc $pc+64
   x/20w $esp
   bt



Comment 6 Arnaud Abélard 2005-03-06 21:32:42 UTC
Created attachment 111721 [details]
frozen bubble strace with glibc 2.3.4-2.fc3.3

Comment 7 Arnaud Abélard 2005-03-06 21:33:57 UTC
Created attachment 111722 [details]
frozen bubble strace with glibc 2.3.4-2.fc3.4

Comment 8 Arnaud Abélard 2005-03-06 21:36:09 UTC
Created attachment 111723 [details]
gdb log of frozen bubble with glibc 2.3.4-2.fc3.4

Comment 9 Jakub Jelinek 2005-03-06 22:28:19 UTC
Thanks.  Can you please install:
updates/testing/3/i386/debug/glibc-debuginfo-2.3.4-2.fc3.4.i686.rpm
updates/testing/3/i386/debug/glibc-debuginfo-common-2.3.4-2.fc3.4.i386.rpm
then when it crashes type:
p map
p *map
p &_rtld_global._dl_rtld_map
p _rtld_global._dl_rtld_map
?


Comment 10 Arnaud Abélard 2005-03-07 07:22:19 UTC
Created attachment 111731 [details]
frozen-bubble crash in gdb with debuginfos

Comment 11 Jakub Jelinek 2005-03-08 13:27:49 UTC
http://sources.redhat.com/ml/libc-hacker/2005-03/msg00025.html
is a self-contained testcase.

Comment 12 Jakub Jelinek 2005-03-21 12:50:16 UTC
Please give a shot to glibc-2.3.4-2.fc3.5 from FC3 updates testing.

Comment 13 Arnaud Abélard 2005-03-23 09:53:36 UTC
Perfect, it seems that the bug is fixed. 

Frozen Bubble works fine just as all the others SDL app i tested (including dosbox)

Thanks!