[Bug 40963] Upwards, lonely robot Demo crashes with Too many buffers queued

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jul 18 09:00:18 CDT 2016


https://bugs.winehq.org/show_bug.cgi?id=40963

--- Comment #3 from Andrew Eikum <aeikum at codeweavers.com> ---
(In reply to Alistair Leslie-Hughes from comment #1)
> Created attachment 55111 [details]
> A possible fix
> 
> The issue is caused by nbufs being decreased without check if it's already 0.
> 
> With this applied the game starts (assuming it doesn't hit a texture bug),
> and is quite playable.

This seems like a workaround instead of a proper fix.

I think a better solution would be to clear the OpenAL source object's
processed buffers during Stop, calling callbacks as needed, then drop any
remaining buffers in the source. This should prevent nbufs from being
decremented after the flush call, since there should be no more buffers
remaining from before the flush.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list