[ scummvm-Bugs-775389 ] COMI: Sound que buffer overflow

SourceForge.net noreply at sourceforge.net
Tue Jul 22 03:36:58 CEST 2003


Bugs item #775389, was opened at 2003-07-22 03:36
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=775389&group_id=37116

Category: None
Group: Monkey Island 3
Status: Open
Resolution: None
Priority: 5
Submitted By: Max Horn (fingolfin)
Assigned to: Nobody/Anonymous (nobody)
Summary: COMI: Sound que buffer overflow

Initial Comment:
In various places of COMI, one gets a "Sound que buffer 
overflow". Maybe this is a real bug, maybe it means we 
simply have to increase the size of the sound queue.

I recently turned this into an error() to be able to better 
pinpoint it. In the scene where you first talk to murray, I 
got:

(11:2016:0x7AF9): Sound que buffer overflow (255 + 4 = 
259)

Another thing I found out about this in the past: the overflow 
happens in a single scumm main loop iteration. I.e. first the 
queue is (almost) empty, then scripts are run, and boom, it 
overflows - processSoundQues is only called later. So it's 
definitely not a bug in processSoundQues, it must be either 
that our sound queue is too small, or some other issue (like 
we are not aborting a script when we should).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=775389&group_id=37116




More information about the Scummvm-tracker mailing list