Segfault in MixSomeSources at openal-soft-1.12.854/Alc/ALu.c:1033

Bug #719763 reported by Moritz Naumann
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openal-soft (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

While running a development revision of the MegaGlest game (http://megaglest.org), I have run into this segmentation fault:

1033 /build/buildd/openal-soft-1.12.854/Alc/ALu.c: File or directory not found.
Core was generated by `./glest.bin'.
Program terminated with signal 8, Arithmetic exception.
#0 MixSomeSources (ALContext=0x2bd41c0, DryBuffer=<value optimised out>, SamplesToDo=<value optimised out>) at /build/buildd/openal-soft-1.12.854/Alc/ALu.c:1033
 in /build/buildd/openal-soft-1.12.854/Alc/ALu.c
#0 MixSomeSources (ALContext=0x2bd41c0, DryBuffer=<value optimised out>, SamplesToDo=<value optimised out>) at /build/buildd/openal-soft-1.12.854/Alc/ALu.c:1033
#1 0x00007f9e0769b612 in aluMixData (device=0x7f9e091c8010, buffer=0x7f9df5536040, size=<value optimised out>) at /build/buildd/openal-soft-1.12.854/Alc/ALu.c:1373
#2 0x00007f9e076ac2b0 in stream_write_callback (stream=0x2bd2840, len=7104, pdata=<value optimised out>) at /build/buildd/openal-soft-1.12.854/Alc/pulseaudio.c:437
#3 0x00007f9e04683367 in pa_command_request (pd=<value optimised out>, command=<value optimised out>, tag=<value optimised out>, t=0x1d5a2460, userdata=0x2bcdc00) at pulse/stream.c:749
#4 0x00007f9e010196f6 in pa_pdispatch_run (pd=0x2bd0c60, packet=<value optimised out>, creds=<value optimised out>, userdata=0x2bcdc00) at pulsecore/pdispatch.c:331
#5 0x00007f9e0466aafd in pstream_packet_callback (p=<value optimised out>, packet=0x1fa23820, creds=0x2bd0f60, userdata=0x2bcdc00) at pulse/context.c:346
#6 0x00007f9e0101d564 in do_read (p=0x2bd0e10) at pulsecore/pstream.c:816
#7 do_something (p=0x2bd0e10) at pulsecore/pstream.c:184
#8 0x00007f9e046783d3 in dispatch_pollfds (m=0x2b4d0b0) at pulse/mainloop.c:688
#9 pa_mainloop_dispatch (m=0x2b4d0b0) at pulse/mainloop.c:933
#10 0x00007f9e04678808 in pa_mainloop_iterate (m=0x2b4d0b0, block=<value optimised out>, retval=0x0) at pulse/mainloop.c:964
#11 0x00007f9e046788b0 in pa_mainloop_run (m=0x2b4d0b0, retval=0x0) at pulse/mainloop.c:979
#12 0x00007f9e0468720b in thread (userdata=0x2b4aa30) at pulse/thread-mainloop.c:94
#13 0x00007f9e0102afb8 in internal_thread_func (userdata=0x2b4ab10) at pulsecore/thread-posix.c:83
#14 0x00007f9e08cf3971 in start_thread () from /lib/libpthread.so.0
#15 0x00007f9e04d8a92d in clone () from /lib/libc.so.6
#16 0x0000000000000000 in ?? ()

I assume this is reproducible (I'm testing this now, takes a while).

$ lsb_release -rd
Description: Ubuntu 10.10
Release: 10.10

$ LC_ALL=C apt-cache policy libopenal1
libopenal1:
  Installed: 1:1.12.854-2
  Candidate: 1:1.12.854-2
  Version table:
 *** 1:1.12.854-2 0
        500 http://de.archive.ubuntu.com/ubuntu/ maverick/universe amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Moritz Naumann (mnaumann) wrote :

Slightly different this time but likely the same bug (?):

Core was generated by `./glest.bin'.
Program terminated with signal 11, Segmentation fault.

#0 0x00007fe2cab21688 in MixSomeSources (ALContext=0x16ba270, DryBuffer=<value optimised out>, SamplesToDo=<value optimised out>) at /build/buildd/openal-soft-1.12.854/Alc/ALu.c:944
 in /build/buildd/openal-soft-1.12.854/Alc/ALu.c
#0 0x00007fe2cab21688 in MixSomeSources (ALContext=0x16ba270, DryBuffer=<value optimised out>, SamplesToDo=<value optimised out>) at /build/buildd/openal-soft-1.12.854/Alc/ALu.c:944
#1 0x00007fe2cab30612 in aluMixData (device=0x7fe2cc65d010, buffer=0x7fe2b8a4b040, size=<value optimised out>) at /build/buildd/openal-soft-1.12.854/Alc/ALu.c:1373
#2 0x00007fe2cab412b0 in stream_write_callback (stream=0x16b88f0, len=14144, pdata=<value optimised out>) at /build/buildd/openal-soft-1.12.854/Alc/pulseaudio.c:437
#3 0x00007fe2c7b18367 in pa_command_request (pd=<value optimised out>, command=<value optimised out>, tag=<value optimised out>, t=0x7fe29db1f480, userdata=0x16b3cb0) at pulse/stream.c:749
#4 0x00007fe2c44ae6f6 in pa_pdispatch_run (pd=0x16b6d10, packet=<value optimised out>, creds=<value optimised out>, userdata=0x16b3cb0) at pulsecore/pdispatch.c:331
#5 0x00007fe2c7affafd in pstream_packet_callback (p=<value optimised out>, packet=0x7fe2993b3260, creds=0x16b7010, userdata=0x16b3cb0) at pulse/context.c:346
#6 0x00007fe2c44b2564 in do_read (p=0x16b6ec0) at pulsecore/pstream.c:816
#7 do_something (p=0x16b6ec0) at pulsecore/pstream.c:184
#8 0x00007fe2c7b0d3d3 in dispatch_pollfds (m=0x1633160) at pulse/mainloop.c:688
#9 pa_mainloop_dispatch (m=0x1633160) at pulse/mainloop.c:933
#10 0x00007fe2c7b0d808 in pa_mainloop_iterate (m=0x1633160, block=<value optimised out>, retval=0x0) at pulse/mainloop.c:964
#11 0x00007fe2c7b0d8b0 in pa_mainloop_run (m=0x1633160, retval=0x0) at pulse/mainloop.c:979
#12 0x00007fe2c7b1c20b in thread (userdata=0x1630ae0) at pulse/thread-mainloop.c:94
#13 0x00007fe2c44bffb8 in internal_thread_func (userdata=0x1630bc0) at pulsecore/thread-posix.c:83
#14 0x00007fe2cc188971 in start_thread () from /lib/libpthread.so.0
#15 0x00007fe2c821f92d in clone () from /lib/libc.so.6
#16 0x0000000000000000 in ?? ()

Revision history for this message
Bret Curtis (psi29a) wrote :

Have you tried lately, we're now so many releases further and according to OpenAL-Soft's developers, that part of the code as been re-worked.

Revision history for this message
Bret Curtis (psi29a) wrote :

I personally cannot reproduce this and I'm using PA (listening to music in the background) and tried openarena without issues.

Revision history for this message
Moritz Naumann (mnaumann) wrote :

I'll respond in 3.5 years, please keep the bug open!

Revision history for this message
Bret Curtis (psi29a) wrote :

No point in keeping it open if it no longer a problem. ;)

Are you still getting this issue, even with 1.14?

Revision history for this message
Bret Curtis (psi29a) wrote :

This should be fixed, if this isn't the case, please re-open the bug.

Changed in openal-soft (Ubuntu):
status: New → Incomplete
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.