Closed Martinator123 closed 12 years ago
That call stack is not making sense to me... I am unable to duplicate this issue on my windows computer. Would you be able to provide a save game for this?
Thanks for helping. Here's a save game (Don't know if you need the .htm file as well?)
http://dl.dropbox.com/u/37893417/grim24.gsv http://dl.dropbox.com/u/37893417/grimlog24.htm
Edit: Hope it's the right one, I just made a save game, and chose the last one of the .gsv files? Edit2: Strange... after i made the save game, i tried to walk in the room and the game crashed... but when I reloaded the game from the same save game, i could walk in the room, and after about 10 seconds the game crashed again.
Having the same issue here on MacOS using the January 14th Precompiled Version.
It crashes when I try and exit Manny's office or when I try and "use" the roulette machine.
Here is the console output:
(gdb) run
Starting program: /Games/ResidualVM.app/Contents/MacOS/residualvm
Reading symbols for shared libraries ++++++++++++++++............................................................................................................................. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
User picked target 'grim-win' (gameid 'grim')...
Looking for a plugin supporting this gameid... Grim Engine
Starting 'Grim Fandango'
Reading symbols for shared libraries .. done
Reading symbols for shared libraries .. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
WARNING: INFO: GL RED bits: 8!
WARNING: INFO: GL GREEN bits: 8!
WARNING: INFO: GL BLUE bits: 8!
WARNING: INFO: GL APLHA bits: 8!
WARNING: INFO: GL Z buffer depth bits: 24!
WARNING: INFO: GL Double Buffer: 1!
WARNING: INFO: GL Stencil buffer bits: 8!
WARNING: Font treb13bs.laf, char 0xb8 exceeds font height by 1, increasing font height!
WARNING: Lua_V1::SetGamma, implement opcode, level: 1!
GrimEngine::savegameRestore() started.
WARNING: Font treb13bs.laf, char 0xb8 exceeds font height by 1, increasing font height!
WARNING: Seek to time: 36534, frame: 548!
WARNING: Current frame: 0!
WARNING: Seek complete!
GrimEngine::savegameRestore() finished.
WARNING: Lua_V1::SetGamma, implement opcode, level: 1!
WARNING: Stub function: Lua_V1::NukeResources!
WARNING: Font treb13bs.laf, char 0xb8 exceeds font height by 1, increasing font height!
WARNING: SetActorFollowBoxes() not implemented!
WARNING: SetActorFollowBoxes() not implemented!
WARNING: Could not find bitmap cf_2_ovrhd.bm!
WARNING: Could not find bitmap cf_2_ovrhd.zbm!
WARNING: SetActorFollowBoxes() not implemented!
WARNING: SetActorFollowBoxes() not implemented!
WARNING: Could not find bitmap cc_1_ovrhd.bm!
WARNING: Could not find bitmap cc_1_ovrhd.zbm!
WARNING: SetActorFollowBoxes() not implemented!
WARNING: FSDirectory::createReadStreamForMember: Can't create stream for file 'data002.lab'!
Assertion failed: (_handle), function seek, file common/file.cpp, line 135.
Program received signal SIGABRT, Aborted.
0x00007fff8c083ce2 in __pthread_kill ()
(gdb) bt
#0 0x00007fff8c083ce2 in __pthread_kill ()
#1 0x00007fff909be7d2 in pthread_kill ()
#2 0x00007fff909afa7a in abort ()
#3 0x00007fff909e25de in __assert_rtn ()
#4 0x000000010024eb29 in Common::SingletonCommon::EventRecorder::~Singleton ()
#5 0x0000000100261ec3 in Common::ListCommon::String::push_back ()
#6 0x000000010009dc83 in Grim::TextSplitter::nextLine ()
#7 0x000000010023c93e in Math::MatrixType::MatrixType ()
#8 0x00000001000d1c5b in Common::ArrayGrim::Patchr::Op::push_back ()
#9 0x00000001000d1aa8 in Common::ArrayGrim::Patchr::Op::push_back ()
#10 0x00000001000d2784 in Common::ArrayGrim::Patchr::Op::push_back ()
#11 0x00000001000c47ce in Common::ListGrim::MaterialData*::push_back ()
#12 0x00000001000c49e8 in Common::ListGrim::MaterialData*::push_back ()
#13 0x00000001000c6c81 in Common::ListGrim::MaterialData*::push_back ()
#14 0x00000001000d2426 in Common::ArrayGrim::Patchr::Op::push_back ()
#15 0x000000010002091f in Grim::MeshComponent::~MeshComponent ()
#16 0x000000010001e5e4 in Grim::LuaVarComponent::~LuaVarComponent ()
#17 0x000000010006f8ec in Common::HashMap, Common::EqualToCommon::String >::operator
#18 0x000000010006fe18 in Common::HashMap, Common::EqualToCommon::String >::operator
#19 0x00000001000d3054 in Common::ArrayGrim::Patchr::Op::push_back ()
#20 0x00000001000593f2 in Grim::SoundTrack::~SoundTrack ()
#21 0x00000001000594bf in Grim::SoundTrack::~SoundTrack ()
#22 0x00000001000b286b in Math::Rotation3D >::buildFromPitchYawRoll ()
#23 0x00000001000ab4f8 in Grim::Lua_V1::static_SetActorCostume ()
#24 0x000000010002ddd4 in Grim::Track::getType ()
#25 0x000000010002eb90 in Grim::Track::getType ()
#26 0x0000000100041e3c in Common::HashMap, Common::EqualTo >::HashMap ()
#27 0x0000000100041fc0 in Common::HashMap, Common::EqualTo >::HashMap ()
#28 0x00000001000a4491 in Common::ArrayGrim::Localizer::LocaleEntry::push_back ()
#29 0x0000000100086261 in Grim::Font::getCharData ()
#30 0x000000010008861f in Grim::Font::getCharData ()
#31 0x00000001000890aa in Grim::Font::getCharData ()
#32 0x0000000100006825 in OSystem_MacOSX::~OSystem_MacOSX ()
#33 0x00000001000055de in OSystem_MacOSX::~OSystem_MacOSX ()
#34 0x0000000100003cc3 in OSystem_POSIX::~OSystem_POSIX ()
#35 0x0000000100279080 in Common::ListCommon::Huffman::Symbol::push_back ()
#36 0x00007fff9491dde2 in __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 ()
#37 0x00007fff923f7e0a in _CFXNotificationPost ()
#38 0x00007fff9490a097 in -NSNotificationCenter postNotificationName:object:userInfo:
#39 0x00007fff8fae1aa7 in -NSApplication _postDidFinishNotification
#40 0x00007fff8fae180d in -NSApplication _sendFinishLaunchingNotification
#41 0x00007fff8fae04d2 in -NSApplication(NSAppleEventHandling) _handleAEOpenEvent:
#42 0x00007fff8fae0233 in -NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:
#43 0x00007fff92441851 in -NSObject performSelector:withObject:withObject:
#44 0x00007fff9494089b in __-[NSAppleEventManager setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke_1 ()
#45 0x00007fff9493f822 in -NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:
#46 0x00007fff9493f6b0 in _NSAppleEventManagerGenericHandler ()
#47 0x00007fff908fbc25 in aeDispatchAppleEvent ()
#48 0x00007fff908fbb03 in dispatchEventAndSendReply ()
#49 0x00007fff908fb9f7 in aeProcessAppleEvent ()
#50 0x00007fff8f0c0b6d in AEProcessAppleEvent ()
#51 0x00007fff8fadd63d in _DPSNextEvent ()
#52 0x00007fff8fadccf5 in -NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:
#53 0x00007fff8fad962d in -NSApplication run
#54 0x00000001002796d3 in Common::ListCommon::Huffman::Symbol::push_back ()
#55 0x0000000100001294 in ?? ()
(gdb)
What OS X version?
10.7.2 of Mac OS. Version 0.0.8gitf7b959d ( Jan 14 2012 13:23:36 ) of ResidualVM.
What type of filesystem are you using?
Mac OS Extended (Journaled, Encrypted)
Try with latest build.
Made it one room further with the new Jan 20 build but it crashed again in the next room (the coat check room).
Console Output:
Starting program: /Games/ResidualVM.app/Contents/MacOS/residualvm
Reading symbols for shared libraries ++++++++++++++++............................................................................................................................. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
User picked target 'grim-win' (gameid 'grim')...
Looking for a plugin supporting this gameid... Grim Engine
Starting 'Grim Fandango'
Reading symbols for shared libraries .. done
Reading symbols for shared libraries .. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
WARNING: INFO: GL RED bits: 8!
WARNING: INFO: GL GREEN bits: 8!
WARNING: INFO: GL BLUE bits: 8!
WARNING: INFO: GL APLHA bits: 8!
WARNING: INFO: GL Z buffer depth bits: 24!
WARNING: INFO: GL Double Buffer: 1!
WARNING: INFO: GL Stencil buffer bits: 8!
WARNING: Font treb13bs.laf, char 0xb8 exceeds font height by 1, increasing font height!
WARNING: Lua_V1::SetGamma, implement opcode, level: 1!
GrimEngine::savegameRestore() started.
WARNING: Font treb13bs.laf, char 0xb8 exceeds font height by 1, increasing font height!
WARNING: Seek to time: 36534, frame: 548!
WARNING: Current frame: 0!
WARNING: Seek complete!
GrimEngine::savegameRestore() finished.
WARNING: Lua_V1::SetGamma, implement opcode, level: 1!
WARNING: Stub function: Lua_V1::NukeResources!
WARNING: Font treb13bs.laf, char 0xb8 exceeds font height by 1, increasing font height!
WARNING: SetActorFollowBoxes() not implemented!
WARNING: SetActorFollowBoxes() not implemented!
WARNING: Could not find bitmap cf_2_ovrhd.bm!
WARNING: Could not find bitmap cf_2_ovrhd.zbm!
WARNING: SetActorFollowBoxes() not implemented!
WARNING: SetActorFollowBoxes() not implemented!
WARNING: Could not find bitmap cc_1_ovrhd.bm!
WARNING: Could not find bitmap cc_1_ovrhd.zbm!
WARNING: SetActorFollowBoxes() not implemented!
WARNING: SetActorFollowBoxes() not implemented!
WARNING: SetActorFollowBoxes() not implemented!
WARNING: Could not find bitmap ci_4_ovrhd.bm!
WARNING: Could not find bitmap ci_4_ovrhd.zbm!
WARNING: Could not find bitmap ci_5_ovrhd.bm!
WARNING: Could not find bitmap ci_5_ovrhd.zbm!
WARNING: FSDirectory::createReadStreamForMember: Can't create stream for file 'data002.lab'!
Assertion failed: (_handle), function seek, file common/file.cpp, line 135.
Program received signal SIGABRT, Aborted.
0x00007fff81ecdce2 in __pthread_kill ()
(gdb) bt
#0 0x00007fff81ecdce2 in __pthread_kill ()
#1 0x00007fff868087d2 in pthread_kill ()
#2 0x00007fff867f9a7a in abort ()
#3 0x00007fff8682c5de in __assert_rtn ()
#4 0x0000000100262a59 in Common::Singleton<Common::EventRecorder>::~Singleton ()
#5 0x0000000100275d73 in Common::List<Common::String>::push_back ()
#6 0x00000001000a5ce3 in Grim::TextSplitter::nextLine ()
#7 0x0000000100250a2e in Math::MatrixType<4, 1>::MatrixType ()
#8 0x00000001000d99fb in Common::Array<Grim::Patchr::Op>::push_back ()
#9 0x00000001000d9848 in Common::Array<Grim::Patchr::Op>::push_back ()
#10 0x00000001000da524 in Common::Array<Grim::Patchr::Op>::push_back ()
#11 0x00000001000cc50e in Common::List<Grim::MaterialData*>::push_back ()
#12 0x00000001000cc728 in Common::List<Grim::MaterialData*>::push_back ()
#13 0x00000001000ce9c1 in Common::List<Grim::MaterialData*>::push_back ()
#14 0x00000001000da1c6 in Common::Array<Grim::Patchr::Op>::push_back ()
#15 0x0000000100020a4f in Grim::MeshComponent::~MeshComponent ()
#16 0x000000010001e714 in Grim::LuaVarComponent::~LuaVarComponent ()
#17 0x00000001000779dc in Common::HashMap<Common::String, Grim::BitmapData*, Common::Hash<Common::String>, Common::EqualTo<Common::String> >::operator[] ()
#18 0x0000000100077f08 in Common::HashMap<Common::String, Grim::BitmapData*, Common::Hash<Common::String>, Common::EqualTo<Common::String> >::operator[] ()
#19 0x00000001000dadf4 in Common::Array<Grim::Patchr::Op>::push_back ()
#20 0x0000000100061586 in Common::List<Common::String>::push_front ()
#21 0x0000000100061653 in Common::List<Common::String>::push_front ()
#22 0x00000001000ba5cb in Math::Rotation3D<Math::Matrix<3, 3> >::buildFromPitchYawRoll ()
#23 0x00000001000b3258 in Grim::Lua_V1::static_SetActorCostume ()
#24 0x000000010002df54 in Common::ReadStream::readUint32BE ()
#25 0x000000010002ed10 in Common::ReadStream::readUint32BE ()
#26 0x0000000100041f23 in Common::HashMap<int, Grim::LuaFile*, Common::Hash<int>, Common::EqualTo<int> >::HashMap ()
#27 0x0000000100042140 in Common::HashMap<int, Grim::LuaFile*, Common::Hash<int>, Common::EqualTo<int> >::HashMap ()
#28 0x00000001000ac2b1 in Common::Array<Grim::Localizer::LocaleEntry>::push_back ()
#29 0x000000010008e421 in Grim::Font::getCharData ()
#30 0x00000001000907df in Grim::Font::getCharData ()
#31 0x000000010009126a in Grim::Font::getCharData ()
#32 0x00000001000068e5 in OSystem_MacOSX::~OSystem_MacOSX ()
#33 0x000000010000569e in OSystem_MacOSX::~OSystem_MacOSX ()
#34 0x0000000100003d83 in OSystem_POSIX::~OSystem_POSIX ()
#35 0x000000010028cfd0 in Common::List<Common::Huffman::Symbol>::push_back ()
#36 0x00007fff8a767de2 in __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 ()
#37 0x00007fff88241e0a in _CFXNotificationPost ()
#38 0x00007fff8a754097 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
#39 0x00007fff8592baa7 in -[NSApplication _postDidFinishNotification] ()
#40 0x00007fff8592b80d in -[NSApplication _sendFinishLaunchingNotification] ()
#41 0x00007fff8592a4d2 in -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] ()
#42 0x00007fff8592a233 in -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] ()
#43 0x00007fff8828b851 in -[NSObject performSelector:withObject:withObject:] ()
#44 0x00007fff8a78a89b in __-[NSAppleEventManager setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke_1 ()
#45 0x00007fff8a789822 in -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] ()
#46 0x00007fff8a7896b0 in _NSAppleEventManagerGenericHandler ()
#47 0x00007fff86745c25 in aeDispatchAppleEvent ()
#48 0x00007fff86745b03 in dispatchEventAndSendReply ()
#49 0x00007fff867459f7 in aeProcessAppleEvent ()
#50 0x00007fff84f0ab6d in AEProcessAppleEvent ()
#51 0x00007fff8592763d in _DPSNextEvent ()
#52 0x00007fff85926cf5 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#53 0x00007fff8592362d in -[NSApplication run] ()
#54 0x000000010028d623 in Common::List<Common::Huffman::Symbol>::push_back ()
#55 0x0000000100001354 in ?? ()
(gdb)
You do have the datafiles copied to disk? (And not on CD?)
Yes, I copied the LAB, TAB, and patch files into a folder on my HD.
Could you try this build? http://dl.dropbox.com/u/12443522/ResidualVM-test-for-issue480.dmg
That seems to have fixed it!
Thanks for the effort on the fix. Wish I could code like you guys!
Don't spread that build though, and if you find bugs, make sure to mark them as being found in that, as it isn't made from the official codebase (and thus unofficial). (Although the changes should trickle down soon).
Yes sir, will do. Thanks again for the fix.
Mac os 10.6.8. (build from repository, 2538K dmg file, last update: January 14, 2012, 12:26 pm) pre-compiled, english language