[ scummvm-Bugs-3303041 ] Assertion in Audio::Timestamp::addInternal() with MI1 CD

SourceForge.net noreply at sourceforge.net
Tue May 17 00:00:00 CEST 2011


Bugs item #3303041, was opened at 2011-05-16 22:00
Message generated for change (Tracker Item Submitted) made by doc_wagon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3303041&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: iMuse/Music
Group: Monkey Island 1 (VGA)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Michael Drueing (doc_wagon)
Assigned to: Nobody/Anonymous (nobody)
Summary: Assertion in Audio::Timestamp::addInternal() with MI1 CD

Initial Comment:
Hi, 

I just recompiled ScummVM with today's SVN and now I'm hitting this assertion every time (reproducably) in Monkey 1 VGA CD (english):

 	scummvm_debug.exe!_wassert(const wchar_t * expr=0x011fb6fc, const wchar_t * filename=0x011fb6b0, unsigned int lineno=151)  Zeile 335	C
>	scummvm_debug.exe!Audio::Timestamp::addIntern(const Audio::Timestamp & ts={...})  Zeile 151 + 0x26 Bytes	C++
 	scummvm_debug.exe!Audio::Timestamp::operator-(const Audio::Timestamp & ts={...})  Zeile 175	C++
 	scummvm_debug.exe!Audio::SubSeekableAudioStream::SubSeekableAudioStream(Audio::SeekableAudioStream * parent=0x034392b8, Audio::Timestamp start={...}, Audio::Timestamp end={...}, DisposeAfterUse::Flag disposeAfterUse=YES)  Zeile 232 + 0x96 Bytes	C++
 	scummvm_debug.exe!Audio::makeLoopingAudioStream(Audio::SeekableAudioStream * stream=0x034392b8, Audio::Timestamp start={...}, Audio::Timestamp end={...}, unsigned int loops=1)  Zeile 160 + 0x62 Bytes	C++
 	scummvm_debug.exe!DefaultAudioCDManager::play(int track=17, int numLoops=1, int startFrame=7173, int duration=0, bool only_emulate=false)  Zeile 75 + 0x7f Bytes	C++
 	scummvm_debug.exe!Scumm::Sound::playCDTrack(int track=17, int numLoops=1, int startFrame=7173, int duration=0)  Zeile 1031 + 0x4b Bytes	C++
 	scummvm_debug.exe!Scumm::Sound::playSound(int soundID=108)  Zeile 338	C++
 	scummvm_debug.exe!Scumm::Sound::processSoundQueues()  Zeile 139	C++
 	scummvm_debug.exe!Scumm::Sound::processSound()  Zeile 125 + 0xf Bytes	C++
 	scummvm_debug.exe!Scumm::ScummEngine::scummLoop_handleSound()  Zeile 2390	C++
 	scummvm_debug.exe!Scumm::ScummEngine::scummLoop(int delta=6)  Zeile 2171 + 0xf Bytes	C++
 	scummvm_debug.exe!Scumm::ScummEngine::go()  Zeile 1971 + 0x13 Bytes	C++
 	scummvm_debug.exe!Scumm::ScummEngine::run()  Zeile 486	C++
 	scummvm_debug.exe!runGame(const PluginSubclass<MetaEngine> * plugin=0x02550e58, OSystem & system={...}, const Common::String & edebuglevels={...})  Zeile 213 + 0xf Bytes	C++
 	scummvm_debug.exe!scummvm_main(int argc=2, const char * const * argv=0x003f3c90)  Zeile 423 + 0x14 Bytes	C++
 	scummvm_debug.exe!SDL_main(int argc=2, char * * argv=0x003f3c90)  Zeile 63 + 0xd Bytes	C++
 	scummvm_debug.exe!WinMain(HINSTANCE__ * __formal=0x00400000, HINSTANCE__ * __formal=0x00400000, HINSTANCE__ * __formal=0x00400000, HINSTANCE__ * __formal=0x00400000)  Zeile 47 + 0x12 Bytes	C++
 	scummvm_debug.exe!__tmainCRTStartup()  Zeile 263 + 0x2c Bytes	C
 	scummvm_debug.exe!WinMainCRTStartup()  Zeile 182	C
 	kernel32.dll!_BaseProcessStart at 4()  + 0x23 Bytes	

these are the variables in question:

ts = {_secs=-96 _numFrames=1080 _framerate=3000 ...}
_framerate = 441000

apparently, something is wrong with the frame rate.

This is on Win32 with MSVC 2008 (everything self-compiled), and I'm using FLA audio since MP3 doesn't seem to work for me anymore.

If I click on "continue" everything works and the game plays normal from that point on (at least as far as I've played... about 5 minutes in)

I've uploaded a coredump here if that is of any help: cornelia.regengedanken.de/~mdrueing/temp/scummvm_debug_dump.zip 


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

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




More information about the Scummvm-tracker mailing list