Red Hat Bugzilla – Bug 56396
quake3 crash at memset
Last modified: 2016-11-24 10:24:11 EST
Description of Problem:
With glibc-2.4.4-19-i686 Quake3 Arena crash with sound enabled on signal
11. Sound disabled works ok. glibc-2.4.4-19-i386 works fine with or without
sound. With gdb I've found out it crash is memset function.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. enable sound
2. run quake3
3. signal 11 is reported
If it crashes in memtest, it means somebody passed it a wrong pointer or
correct pointer but too large size so that it fell off the cliff.
If there was a bug in memset, you'd notice it far earlier.
So this looks like a quake3 bug.
Quake3 with sound fails with Signal 11 for me with glibc-2.2.4-19 with both the
i386 or i686 versions (this is on an Athlon system). I'm not certain this can be
regarded as strictly a Quake3 bug because using LD_PRELOAD to load a simple
memset() function instead of glibc's causes sound to work. Also, Alan Cox posted
on slashdot that this is probably a glibc optimization bug.