[ scummvm-Bugs-881128 ] BS1: Cutscenes crash if audio files don't exist

SourceForge.net noreply at sourceforge.net
Wed Jan 21 05:45:55 CET 2004


Bugs item #881128, was opened at 2004-01-21 15:45
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=881128&group_id=37116

Category: SFX/Talkie
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Travis Howell (kirben)
Assigned to: Nobody/Anonymous (nobody)
Summary: BS1: Cutscenes crash if audio files don't exist

Initial Comment:
Latest ScummVM cvs version.
English version of Broken Sword 1
Compiled under mingw with GCC 3.2.3 and running under
Windows XP.

ScummVM crashes if the audio file for a cutscene in 
Broken Sword 1 doesn't exist. gdb back trace is below:
Program received signal SIGSEGV, Segmentation fault.
0x0051a898 in Sword1::AnimationState::decodeFrame() 
(this=0x35bd390) at sword1/animation.cpp:333
333                                     if ((bgSoundStream-
>getSamplesPlayed()*12/bgSoundStream->getRate()) < 
(framenum+3)){
(gdb) bt
#0  0x0051a898 in 
Sword1::AnimationState::decodeFrame() 
(this=0x35bd390)
    at sword1/animation.cpp:333
#1  0x0051aa02 in Sword1::MoviePlayer::play(char 
const*) (this=0x22fc40, filename=0x4fe35a "intro")
    at sword1/animation.cpp:378
#2  0x004fe429 in Sword1::Logic::fnPlaySequence
(Sword1::Object*, int, int, int, int, int, int, int)
    (this=0x24619c0, cpt=0x0, id=0, sequenceId=4, d=0, 
e=0, f=0, z=0, x=0) at sword1/logic.cpp:937
#3  0x004fa257 in Sword1::SwordEngine::startPositions
(int) (this=0x2409c80, startNumber=0)
    at sword1/sword1.cpp:193
#4  0x004fbe3e in Sword1::SwordEngine::go() 
(this=0x2409c80) at sword1/sword1.cpp:1084
#5  0x004066c6 in runGame(GameDetector&, OSystem*) 
(detector=@0x22ff28, system=0x23fcc50)
    at base/main.cpp:225
#6  0x00406aa1 in main (argc=2, argv=0x3f25a0) at 
base/main.cpp:313


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

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




More information about the Scummvm-tracker mailing list