Bug 43351 - Assertion 'pa_atomic_load(&e->pool->stat.exported_size) >= (int) b->length' failed
Summary: Assertion 'pa_atomic_load(&e->pool->stat.exported_size) >= (int) b->length' f...
Status: RESOLVED INVALID
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-29 14:49 UTC by corecode
Modified: 2012-01-12 10:53 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description corecode 2011-11-29 14:49:39 UTC
hello

we've developed a game which does not use pulseaudio directly, but rather OpenAL and SDL_mixer.

however, we've got reports of the game crashing with an assertion within pulseaudio:

Assertion 'pa_atomic_load(&e->pool->stat.exported_size) >= (int) b->length' failed at pulsecore/memblock.c:1106, function pa_memexport_process_release().

Googling that message yields only few results, but it seems at least WoW on Wine is hitting the same bug.

We've received the crash-report for SUSE 11.4 which contains pulseaudio 0.9.22.

Now, the question is, is this bug fixed in later pulseaudio versions? If so, in which? We'd like to be able to give our customers exact instructions how to avoid this crash.
Comment 1 Arun Raghavan 2011-11-29 19:53:16 UTC
Could you provide a set of steps to reliably reproduce the problem? Also, testing against the latest version would be good.
Comment 2 Arun Raghavan 2011-11-29 19:55:17 UTC
Also, please provide a complete server log (with -vvvv)
Comment 3 Arun Raghavan 2011-11-29 19:56:23 UTC
Disregard the server log comment -- I just noticed that the crash is in the client.
Comment 4 Arun Raghavan 2011-11-29 21:00:25 UTC
Comment spam day, but could you provide a backtrace?
Comment 5 corecode 2011-11-30 02:14:58 UTC
i don't have a set of steps to reproduce the problem. as mentioned in my report i don't have more information, but rather had hoped that you would have some ;) 

(e.g. "yeah its a known problem fixed in version XYZ, just tell your affected customers to upgrade").
(e.g. "yeah its a known problem which can be worked around by switching configuration ABC do UVW in config file XYZ").


i only have this one report from a beta-tester of our game who experienced the issue on SUSE 11.4.

i've installed SUSE 11.4 in a VirtualBox but haven't been able to reproduce the issue myself.

i can ask the affected person to try and reproduce the crash again with some more details when he comes back from holiday in 2 weeks.

anyway if this is a common issue i may soon get a lot more details about the issue (i.e. complaints ;)


btw google brings up other reports of people hitting the same assertion:

http://www.eveonline.com/ingameboard.asp?a=topic&threadID=1386630
http://bugs.winehq.org/show_bug.cgi?id=23323
http://www.playonmac.com/fr/topic-2636.html
http://www.playonlinux.com/en/topic-2636.html
Comment 6 Arun Raghavan 2011-11-30 10:09:59 UTC
Those links seem to point to old PulseAudio. Hopefully we'll get a more concrete report when your user gets back. :) Is your program creating record streams as well? (if yes, https://bugs.freedesktop.org/show_bug.cgi?id=42449 might be related. Long, shot, though.)
Comment 7 corecode 2011-11-30 11:39:42 UTC
>Hopefully we'll get a more concrete report when your user gets back. :)

yeah ;)

>Is your program creating record streams as well?

i don't even know what that is, if its related to "recording" something, then no. 

all it does - as far as sound is concerned is:

* playing music through SDL_mixer
* playing sound effects through SDL_mixer
* playing a looping and pitch changing sound effect through OpenAL
* playing some other sound effects through OpenAL

no direct interaction with PulseAudio and no recording stuff.

>Those links seem to point to old PulseAudio

how old is "old"?
Comment 8 corecode 2012-01-12 10:19:08 UTC
the user has upgraded to OpenSUSE 12 and can't reproduce the issue anymore. lets close this bug report now and if this ever happens to other users and they are able to provide additional information we can just reopen it.
Comment 9 Arun Raghavan 2012-01-12 10:53:59 UTC
Sounds like a plan -- please reopen this if the bug recurs.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.