Opened 21 years ago
Closed 20 years ago
#1447 closed defect (fixed)
FT: Error when escing smush scene
Reported by: | Kirben | Owned by: | fingolfin |
---|---|---|---|
Priority: | high | Component: | Engine: SCUMM |
Version: | Keywords: | ||
Cc: | Game: | Full Throttle |
Description
Latest ScummVM cvs version. English version of Full Throttle V1
ScummVM often reports the follow error when escing smush or insane sequences under linux (13:82:0xD25): invalid index in SaudChannel::checkParameters
A valgrind log of output just before error is attached.
Ticket imported from: #894249. Ticket imported from: bugs/1447.
Attachments (2)
Change History (27)
comment:1 by , 21 years ago
comment:3 by , 21 years ago
Priority: | high → normal |
---|
comment:4 by , 21 years ago
Yes, I noticed it only occurs when running ScummVM under valgrind though. So maybe timing related...
comment:6 by , 21 years ago
Priority: | normal → high |
---|
comment:9 by , 20 years ago
Priority: | high → normal |
---|
comment:10 by , 20 years ago
Owner: | changed from | to
---|
comment:13 by , 20 years ago
Very strange, then... Kirben, I assume *you* can still reproduce it? If so, anything more specific regarding how you reproduce it?
comment:14 by , 20 years ago
I'm unable to check right now, as I don't have access to linux at the moment.
comment:15 by , 20 years ago
Owner: | removed |
---|---|
Status: | new → closed |
comment:16 by , 20 years ago
Status: | closed → new |
---|
comment:17 by , 20 years ago
The problem still occuring when running ScummVM under Valgrind, I even tried with boot patam 550, in case the saved game was bad.
Attached fresh saved game, where I can always reproduce issue: Run ScummVM under Valgrind, with that saved game. Exit left side of screen to main road. Enter mine road at first turning point. Esc anytime during the 'entering mine road' smush and error will occur.
comment:18 by , 20 years ago
Summary: | FT: Error when escing insane or smush → FT: Error when escing smush scene |
---|
comment:19 by , 20 years ago
Priority: | normal → high |
---|
comment:20 by , 20 years ago
Just FYI, I can't reproduce any problem there on Mac OS X, using the provided save game.
Maybe you can attach the Valgrind log?
comment:21 by , 20 years ago
I can still reproduce the error sometimes with latest ScummVM cvs.
I attached a valgrind log, but it doesn't report anything useful before the error occurs.
comment:22 by , 20 years ago
This sounds a lot like a race condition, though looking over the code I see nothing obvious.
Or maybe Eugene's guess is right that somewhere memory is overwritten (Valgrind can only detect if we overwrite memory which is not allocated -- it has no way to know whether we overwrite allocated memory "correctly" or not).
See also bug #933631 and #1087234.
comment:23 by , 20 years ago
I just fixed a SMUSH/INSANE race condition (I think), no idea if that will affect this bug, but if anybody wants to do a retest... :-)
comment:24 by , 20 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
I fixed the valgrind warning but unfortunately it still errors at that point every time. I have attached a save game, go back onto Main Road, turn into Mine Road at first sign and esc when entering Mine Road sequence is shown.