Bug 546473
| Summary: | [abrt] crash in warzone2100-2.2.1-3.fc12 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Vaclav "sHINOBI" Misek <misek> | ||||
| Component: | warzone2100 | Assignee: | Karol Trzcionka <karlikt> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 12 | CC: | antifreeze2173, devel.niks, dusan, karlikt, maw48, ozsmhext, samuel-rhbugs | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | abrt_hash:3a6483e0e41c4719a1cc2560f7229c43820d0217 | ||||||
| Fixed In Version: | 2.3-0.1.beta6.fc12 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-01-29 03:27:14 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
Vaclav "sHINOBI" Misek
2009-12-10 23:09:14 UTC
Created attachment 377617 [details]
File: backtrace
I have same problem. Game segfaulted. When I run warzone2100 with --nosound, game run. I think that there are problem with audio. I tried another test. I run warzone2100 under root, game not crashed and run with sound.
Some messages on terminal:
[root@hunterz hunterz]# warzone2100 --window --sound
ALSA lib pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Connection refused
ALSA lib pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Connection refused
AL lib: alsa.c:486: Could not open playback device 'default': Connection refused
AL lib: oss.c:168: Could not open /dev/dsp: No such file or directory
Under user:
[hunterz@hunterz ~]$ warzone2100 --window --sound
Segmentation fault (core dumped)
[hunterz@hunterz ~]$ openal-info
Available playback devices:
ALSA Software on default
ALSA Software on HDA Intel [AD198x Analog] (hw:0,0)
ALSA Software on HDA Intel [AD198x Digital] (hw:0,1)
OSS Software
PortAudio Software
PulseAudio Software
Segmentation fault (core dumped)
under root:
[root@hunterz hunterz]# openal-info
ALSA lib pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Connection refused
ALSA lib pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Connection refused
AL lib: alsa.c:486: Could not open playback device 'default': Connection refused
AL lib: oss.c:168: Could not open /dev/dsp: No such file or directory
Available playback devices:
ALSA Software on default
ALSA Software on HDA Intel [AD198x Analog] (hw:0,0)
ALSA Software on HDA Intel [AD198x Digital] (hw:0,1)
OSS Software
PortAudio Software
PulseAudio Software
Available capture devices:
ALSA Capture on default
ALSA Capture on HDA Intel [AD198x Analog] (hw:0,0)
ALSA Capture on HDA Intel [AD198x Digital] (hw:0,1)
ALSA Capture on Brooktree Bt878 [Bt87x Digital] (hw:1,0)
ALSA Capture on Brooktree Bt878 [Bt87x Analog] (hw:1,1)
OSS Capture
PulseAudio Capture
Default device: ALSA Software
Default capture device: ALSA Capture on default
ALC version: 1.1
ALC extensions:
ALC_ENUMERATE_ALL_EXT, ALC_ENUMERATION_EXT, ALC_EXT_CAPTURE,
ALC_EXT_disconnect, ALC_EXT_EFX, ALC_EXTX_thread_local_context
OpenAL vendor string: OpenAL Community
OpenAL renderer string: OpenAL Soft
OpenAL version string: 1.1 ALSOFT 1.10.622
OpenAL extensions:
AL_EXTX_buffer_sub_data, AL_EXT_EXPONENT_DISTANCE, AL_EXT_FLOAT32,
AL_EXT_IMA4, AL_EXT_LINEAR_DISTANCE, AL_EXT_MCFORMATS, AL_EXT_OFFSET,
AL_EXTX_sample_buffer_object, AL_EXTX_source_distance_model,
AL_LOKI_quadriphonic
EFX version: 1.0
Max auxiliary sends: 2
Available filters:
Low-pass
Available effects:
EAX Reverb
Reverb
Echo
Yup, the same for me. It seems to be related to my bug #546474. I'm uncertain, if it's alsa, pulseaudio or openal-soft bug. I think openal have problem, try openal-info under user and under root. Even with the latest version of openal-info from the testing repo, warzone still segfaults. Although onpenal-info functions without segfaulting. I'm guessing the bug is in pulse. Solved for me in warzone2100-2.3-0.1.beta6.fc12.x86_64. Setting: drivers = pulse in .alsoftrc fixes this problem for me, along with cracking audio I had in another (self-compiled) OpenAL game. AFAICT this makes OpenAL use Pulse directly, instead of Pulse's Alsa emulation. Whatever the problem is with ALSA is probably a bug somewhere but am curious as to why OpenAL doesn't use the pulse driver by default? (In reply to comment #8) > Setting: > > drivers = pulse > > in .alsoftrc fixes this problem for me, In the interest of credit where credit's due, I actually found this tip here: http://wiki.archlinux.org/index.php/PulseAudio#Configuration_of_OpenAL_for_PulseAudio The drivers=pulse fix solved my problem. Thanks! warzone2100-2.3-0.1.beta6.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update warzone2100'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0532 (In reply to comment #10) > The drivers=pulse fix solved my problem. > > Thanks! This bug report: https://bugzilla.redhat.com/show_bug.cgi?id=555112 includes a link to an OpenAL update that makes OpenAL use PulseAudio by default, so that you don't have to set drivers=pulse anywhere. I've confirmed it works for me and the Warzone crash goes away. Thanks to Thomas Kowaliczek for a super-quick response in packaging an updated OpenAL! Even if that resolves the problem for users it's only because the ALSA emulation is no longer being used. I suspect that an underlying bug exists, since using ALSA emulation shouldn't cause programs to crash, even if it is suboptimal! So perhaps this bug should stay open for now? I tested it with openal-soft-1.10.622-6.0ceaa01c3de75c946ff2e7591e7f69b28ec00409git.fc12, no changes in .alsoftrc and warzone is not crashing any more. New warzone2100 from testing repository works for me. Thanks! warzone2100-2.3-0.1.beta6.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. |