Bug 5540 - Game crashes after bird & worms cutscene and after choosing doors on brain
Status: RESOLVED FIXED
Alias: None
Product: Psychonauts
Classification: Unclassified
Component: everything
Version: unspecified
Hardware: PC Linux
: P3 major
Assignee: Ryan C. Gordon
QA Contact: Ryan C. Gordon
URL:
Depends on:
Blocks:
 
Reported: 2012-06-01 21:04 EDT by Krzysztof A. Sobiecki
Modified: 2012-06-20 23:36:40 EDT
1 user (show)

See Also:


Attachments
Backtrace of a crash (3.92 KB, text/plain)
2012-06-01 21:04 EDT, Krzysztof A. Sobiecki
glxinfo log (23.45 KB, text/plain)
2012-06-02 06:06 EDT, Krzysztof A. Sobiecki

Description Krzysztof A. Sobiecki 2012-06-01 21:04:18 EDT
Created attachment 3152 [details]
Backtrace of a crash

Error message:

ERROR: Assert in /home/icculus/projects/psychonauts/Source/game/luatest/../../CommonLibs/Include/../DFGraphics/Color.h, line 96
v.x >= 0.0f && v.x <= 1.0f && v.y >= 0.0f && v.y <= 1.0f && v.z >= 0.0f && v.z <= 1.0f && v.w >= 0.0f && v.w <= 1.0f

Encountered Error:
  Psychonauts has encountered an error

/home/icculus/projects/psychonauts/Source/game/luatest/../../CommonLibs/Include/../DFGraphics/Color.h, line 96
v.x >= 0.0f && v.x <= 1.0f && v.y >= 0.0f && v.y <= 1.0f && v.z >= 0.0f && v.z <= 1.0f && v.w >= 0.0f && v.w <= 1.0f

 Please contact technical support at http://www.doublefine.com.


Program received signal SIGTRAP, Trace/breakpoint trap.
EErrorManager::ErrorMessage (this=0x86a34e0, 
    szFile=0x858815c "/home/icculus/projects/psychonauts/Source/game/luatest/../../CommonLibs/Include/../DFGraphics/Color.h", nLine=96, 
    szMessage=0x85880e4 "v.x >= 0.0f && v.x <= 1.0f && v.y >= 0.0f && v.y <= 1.0f && v.z >= 0.0f && v.z <= 1.0f && v.w >= 0.0f && v.w <= 1.0f", bWarning=false)
    at /home/icculus/projects/psychonauts/Source/CommonLibs/DFUtil/ErrorManager.cpp:455
455     /home/icculus/projects/psychonauts/Source/CommonLibs/DFUtil/ErrorManager.cpp: Nie ma takiego pliku ani katalogu.
(gdb) q
A debugging session is active.

        Inferior 1 [process 6943] will be killed.
Comment 1 Krzysztof A. Sobiecki 2012-06-02 06:06:21 EDT
Created attachment 3155 [details]
glxinfo log

Using fairly recent Mesa git snapshot(I will try fresh one)
Xserver:
xserver-xorg-core:
  Installed: 2:1.12.1.902-1
  Candidate: 2:1.12.1.902-1
  Version table:
 *** 2:1.12.1.902-1 0
        501 http://ftp.pl.debian.org/debian/ unstable/main amd64 Packages
        500 http://ftp.pl.debian.org/debian/ testing/main amd64 Packages
        500 /var/lib/dpkg/status

CPU:

processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 16
model		: 6
model name	: AMD Athlon(tm) II X2 260 Processor
stepping	: 3
microcode	: 0x10000c8
cpu MHz		: 800.000
cache size	: 1024 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 1
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate npt lbrv svm_lock nrip_save
bogomips	: 6422.23
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor	: 1
vendor_id	: AuthenticAMD
cpu family	: 16
model		: 6
model name	: AMD Athlon(tm) II X2 260 Processor
stepping	: 3
microcode	: 0x10000c8
cpu MHz		: 800.000
cache size	: 1024 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate npt lbrv svm_lock nrip_save
bogomips	: 6422.23
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate
Comment 2 Steve Dougherty 2012-06-02 10:38:07 EDT
There's already a bug filed for a crash upon selecting new game: 5526.

At first I was getting crashes each time I tried to load a save, but after changing my resolution I am now unable to reproduce that. I also haven't crashed upon continue.
Comment 3 Ryan C. Gordon 2012-06-03 05:48:09 EDT
(I'm adding this comment to several bugs here...sorry if you see it multiple times.)

There were some memory corruption bugs in the initial Humble Bundle build, which we believe have been tracked down and fixed now. Most of the crashes are probably due to these.

Those getting Floating Point Exception crashes during cutscenes: that was my fault, I screwed up something hooking up the Bink audio output code. This is also fixed, I think.

Here is a test build, please try it and report back. It's a 2.1 megabyte download: just untar it and overwrite the two files in your game installation.

This build also has joystick support and working FSAA (if the game is way slower for you, you can turn off FSAA in the options menu).

There are still some bugs, but this should be MUCH more playable.

Download it here:

   http://treefort.icculus.org/psychonauts/psychonuts-linux-test-06032012.tar.bz2

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

--ryan.
Comment 4 Ryan C. Gordon 2012-06-20 11:49:02 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 5 Ryan C. Gordon 2012-06-20 23:36:40 EDT
This should be fixed now.

--ryan.