#2754 closed defect (worksforme)
WINCE: FT crash (due to lack of memory?)
Reported by: | SF/vlodeck | Owned by: | SF/knakos |
---|---|---|---|
Priority: | normal | Component: | Engine: SCUMM |
Version: | Keywords: | ||
Cc: | Game: | Full Throttle |
Description
Error occures while playing first intro:
(2:61:0x9D): Assertion failed_bufferStart != NULL (..\..\..\sound\audiostream.cpp, 264)
the game stops...
Ticket imported from: #1527443. Ticket imported from: bugs/2754.
Change History (10)
comment:1 by , 18 years ago
Priority: | normal → blocker |
---|---|
Summary: | WinCE Smartphone WM2003SE, ScummVM 0.9.0a → WinCE WM2003SE, Full Throttle, ScummVM 0.9.0a |
comment:2 by , 18 years ago
comment:4 by , 18 years ago
Priority: | blocker → normal |
---|
comment:5 by , 18 years ago
Owner: | set to |
---|
comment:6 by , 18 years ago
Summary: | WinCE WM2003SE, Full Throttle, ScummVM 0.9.0a → WINCE: FT crash (due to lack of memory?) |
---|
comment:7 by , 18 years ago
Probably not much that can be done at this time. Maybe a memory upgrade would help, knakos?
Other than that, the only fix I can think of would be to rewrite the SMUSH / iMUSE digital code, but doing that, and doing it "properly" is a fairl huge task, and since the current code works "well enough", it's a task that not many people (esp. devs) are much interested in, I am afraid...
comment:8 by , 18 years ago
I haven't got around to tracing this one down. After eriktorbjorn's comment it seems like low mem, but i'd like to verify it once, to be sure.
comment:10 by , 18 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
That would be either the SMUSH player or Digital iMUSE, I guess. That's the only thing I know of in the SCUMM engine that uses the appendable memory stream class. The FT intro probably uses a mixture of both.
That part of the code looks like this:
_bufferStart = (byte *)malloc(bufferSize); assert(_bufferStart != NULL);
So apparently the malloc() failed. In the case of the SMUSH player, I believe bufferSize is always 900,000 bytes. In the case of Digital iMUSE, the size is calculated so I'm not sure how large it usually is.