Bug 5601 - Game can't load new levels
Status: RESOLVED DUPLICATE of bug 5683
Alias: None
Product: Psychonauts
Classification: Unclassified
Component: everything
Version: unspecified
Hardware: PC Linux
: P3 normal
Assignee: Ryan C. Gordon
QA Contact: Ryan C. Gordon
URL:
Depends on:
Blocks:
 
Reported: 2012-06-05 09:44 EDT by Luis Correia
Modified: 2012-06-21 18:08:59 EDT
1 user (show)

See Also:



Description Luis Correia 2012-06-05 09:44:40 EDT
This happens randomly, so I guess it could be a Lua stack corruption

These were the last messages on the console before I had to kill the process:

Game: Engine Saved[GLOBAL]: clairvoyanced = [table]
Game: Engine Stop Confusion
Game: Engine Stop Confusion - was not confused, doing nothing
WARN: (none(-1) Trigger_UnregisterListener scavFossil: Trigger 0x58ec0036 couldn't unregister 'scavFossil'
WARN: (none(-1) Trigger_UnregisterListener PsiCard: Trigger 0x58ed0037 couldn't unregister 'PsiCard'
WARN: (none(-1) Trigger_UnregisterListener PsiCard1: Trigger 0x58ee0038 couldn't unregister 'PsiCard1'
Game: Engine Saved[CA]: playerRespawnPointName = nil
WARN: global.otherentities.RankBling RankBling: Message EndLevel did not make it to base class
Killed
Comment 1 Luis Correia 2012-06-05 19:20:18 EDT
I'll add some more debug lines here.

This time I just saved the game and was planning to exit the game.
It froze

Game: Engine Stop Confusion - was not confused, doing nothing
WARN: (none(-1) Trigger_UnregisterListener OneUp2: Trigger 0x4719002f couldn't unregister 'OneUp2'
WARN: (none(-1) Trigger_UnregisterListener EmoTag3: Trigger 0x471a0030 couldn't unregister 'EmoTag3'
WARN: (none(-1) Trigger_UnregisterListener OneUp3: Trigger 0x471e0034 couldn't unregister 'OneUp3'
WARN: (none(-1) Trigger_UnregisterListener EmoTag4: Trigger 0x471f0035 couldn't unregister 'EmoTag4'
WARN: (none(-1) Trigger_UnregisterListener OneUp4: Trigger 0x47230039 couldn't unregister 'OneUp4'
WARN: (none(-1) Trigger_UnregisterListener EmoTag5: Trigger 0x4724003a couldn't unregister 'EmoTag5'
WARN: global.otherentities.RankBling RankBling: Message EndLevel did not make it to base class
Removing Level Script
VM: Removing dead ref Dart.invDisplayer -> InvDisplayer
VM: Removing dead ref Dart.sacuFaceListener -> LevelScript
VM: Removing dead ref Global.cutsceneScript -> sa.SACUCutscenes
VM: Removing dead ref Global.figmentGlobals -> FigmentGlobals
VM: Removing dead ref Global.levelScript -> LevelScript
VM: Removing dead ref Global.camControl -> CameraControl
VM: Removing dead ref Global.EZ -> EZSceneTools5D3
VM: Removing dead ref PsiBlast0.rAirHitFX -> PsiBlastAirHit560
VM: Removing dead ref PsiBlast0.psiBlastEmitter -> PsiRailFX55D
VM: Removing dead ref PsiBlast0.rHitFX -> PsiBlastHitFX638
VM: Removing dead ref PsiBlast0.rFireFX -> PsiBlastFX55E
VM: Removing dead ref PsiBlast1.rAirHitFX -> PsiBlastAirHit560
VM: Removing dead ref PsiBlast1.psiBlastEmitter -> PsiRailFX55D
VM: Removing dead ref PsiBlast1.rHitFX -> PsiBlastHitFX638
VM: Removing dead ref PsiBlast1.rFireFX -> PsiBlastFX55E
VM: Removing dead ref PsiBlast2.rAirHitFX -> PsiBlastAirHit560
VM: Removing dead ref PsiBlast2.psiBlastEmitter -> PsiRailFX55D
VM: Removing dead ref PsiBlast2.rHitFX -> PsiBlastHitFX638
VM: Removing dead ref PsiBlast2.rFireFX -> PsiBlastFX55E
VM: Removing dead ref PsiBlast3.psiBlastEmitter -> PsiRailFX55D
VM: Removing dead ref PsiBlast3.rHitFX -> PsiBlastHitFX638
VM: Removing dead ref PsiBlast3.rAirHitFX -> PsiBlastAirHit560
VM: Removing dead ref PsiBlast3.rFireFX -> PsiBlastFX55E
VM: Removing dead ref PsiBlast4.psiBlastEmitter -> PsiRailFX55D
VM: Removing dead ref PsiBlast4.rHitFX -> PsiBlastHitFX638
VM: Removing dead ref PsiBlast4.rAirHitFX -> PsiBlastAirHit560
VM: Removing dead ref PsiBlast4.rFireFX -> PsiBlastFX55E
VM: Removing dead ref PsiBlast5.rAirHitFX -> PsiBlastAirHit560
VM: Removing dead ref PsiBlast5.psiBlastEmitter -> PsiRailFX55D
VM: Removing dead ref PsiBlast5.rHitFX -> PsiBlastHitFX638
VM: Removing dead ref PsiBlast5.rFireFX -> PsiBlastFX55E
WARN: ENGINE: Lua garbage collection starting
Killed
Comment 2 Ryan C. Gordon 2012-06-20 11:49:04 EDT
(I'm adding this comment to many bugs that this fix might apply to...sorry if you see it multiple times or it doesn't _actually_ fix your issue.)

Here is a new test build, please try it and report back. It's a 2.1 megabyte
download, so you don't have to redownload the whole game again.

This is meant to fix crash bugs mostly. We still have rendering issues, etc to sort out. If this didn't fix your issue, please report it on this bug. If there are still other unrelated issues, please file a new bug or add yourself to the CC list of one of the other bugs. Here's the open bug list if you want to check for others with the same problem:

    https://bugzilla.icculus.org/buglist.cgi?query_format=specific&bug_status=__open__&product=Psychonauts

Steam users: you'll get this through Steam shortly.

Linux users, download this...

  http://treefort.icculus.org/psychonauts/psychonauts-linux-0.3-patch.tar.bz2

...and unpack it. Overwrite Psychonauts and libSDL-1.2.so.0 with it. This works with either of the first two builds from HumbleBundle.com.

Mac users that aren't using Steam, download this...

  http://treefort.icculus.org/psychonauts/psychonauts-mac-0.3-patch.tar.bz2

...double click it, and run the patcher program it produces.

We'll do a more formal build once we get some feedback.

--ryan.
Comment 3 Ryan C. Gordon 2012-06-21 01:19:45 EDT
Consolidating bugs...

--ryan.

*** This bug has been marked as a duplicate of bug 5683 ***
Comment 4 Yajo 2012-06-21 18:08:59 EDT
Well, I have been able to play 20 minutes without a crash, and kill that big zombie fish finally. It seems to work. However, I will report if it crashes again. Thanks for your job!