System Ubuntu 12.04 ati graphics catalyst driver.
The game seems to crash randomly with with the following error:
"
Anim: anims\dartnew\ladderup.jan: loaded (1 frames latency)
Anim: anims\dartnew\ladderstop.jan: loaded (1 frames latency)
Anim: anims\dartnew\ladderdismount.jan: loaded (1 frames latency)
Anim: anims\emotional baggage\dufflebagtag_default.jan: loaded (1 frames latency)
Game: Engine SET SECONDARY TARGET Turret
Game: Engine SET SECONDARY TARGET nil
Game: Engine SET SECONDARY TARGET Turret
Game: Engine SET SECONDARY TARGET nil
Game: Engine SET SECONDARY TARGET Turret
Game: Engine SET SECONDARY TARGET nil
Game: Engine SET SECONDARY TARGET Turret
Anim: anims\dartnew\damagelf.jan: loaded (1 frames latency)
Game: Engine SET SECONDARY TARGET nil
Game: Engine SET SECONDARY TARGET Turret
ERROR: CSource::AttachBuffer alSourcei(m_uiSource, AL_BUFFER, pBuffer->GetBuffer()) reports AL_INVALID_VALUE error.
*** glibc detected *** ./Psychonauts: corrupted double-linked list: 0xeb80b348 ***
"
This happens around every ten minuets playing.
I have tried the 3/6/12 patch suggested on some of the other patches. This doesn't help.
Im using the patch, i get this when im at the the levitation badge area.
It happens prolly every 10 minutes or so. i cant figure out what exactly triggers it
http://pastebin.com/hZ3BrzgN
workaround for 12.04 (your mileage may vary). Make sure openAL is installed and do:
cd gamedir
mv libopenal.so.1 libopenal.so.1_old
ln --symbolic /usr/lib/i386-linux-gnu/libopenal.so.1 libopenal.so.1
(In reply to comment #3)
> workaround for 12.04 (your mileage may vary). Make sure openAL is installed and
> do:
This isn't a workaround; we're shipping the same OpenAL you would install on your system, more or less. You can do this (and we encourage you to if your audio hardware isn't working well with Psychonauts out of the box), but you'll probably still hit this bug.
(technical explanation follows...you can skip this if you don't care.)
The reason this appears to crash in the audio code is because the audio code does a lot of memory allocation and deallocation. This being an Xbox1 game originally, where memory is a very tight resource, Psychonauts takes a lot of effort to _not_ allocate memory on a frame-by-frame basis. The ISACT library (the PC-specific audio code that sits on top of OpenAL) has no such concern, though.
Since this is where most of the memory management is happening, when we overflow a buffer that will cause the next malloc() to fail like this, regardless of where that malloc() is in relation to the real bug, that malloc() is almost always in the ISACT library, so it tends to manifest as a crash in or near OpenAL.
--ryan.
Hi ryan
Thanks for the reply, I agree it's not ideal, but it does work around the problem. Since doing this I have only suffered one crash in 3 hour of play, compared to one every ten minutes with the shipped openAL.
(In reply to comment #4)
> (In reply to comment #3)
> > workaround for 12.04 (your mileage may vary). Make sure openAL is installed and
> > do:
>
> This isn't a workaround; we're shipping the same OpenAL you would install on
> your system, more or less. You can do this (and we encourage you to if your
> audio hardware isn't working well with Psychonauts out of the box), but you'll
> probably still hit this bug.
>
> (technical explanation follows...you can skip this if you don't care.)
>
> The reason this appears to crash in the audio code is because the audio code
> does a lot of memory allocation and deallocation. This being an Xbox1 game
> originally, where memory is a very tight resource, Psychonauts takes a lot of
> effort to _not_ allocate memory on a frame-by-frame basis. The ISACT library
> (the PC-specific audio code that sits on top of OpenAL) has no such concern,
> though.
>
> Since this is where most of the memory management is happening, when we
> overflow a buffer that will cause the next malloc() to fail like this,
> regardless of where that malloc() is in relation to the real bug, that malloc()
> is almost always in the ISACT library, so it tends to manifest as a crash in or
> near OpenAL.
>
> --ryan.
perhaps as a [gentoo] x86_x64 user this solution doesn't bode well for me.
I can only get it from here /usr/lib32/libopenal.so.1, and the 64bit wouldn't work to well.
That being said, When i tried replacing the file, I could no longer use any form of mouse input in the game.
(In reply to comment #5)
> Hi ryan
>
> Thanks for the reply, I agree it's not ideal, but it does work around the
> problem. Since doing this I have only suffered one crash in 3 hour of play,
> compared to one every ten minutes with the shipped openAL.
Is it possible that your CFLAGS are a bit too cleaver and causing a problem? (or maybe your GCC version)
The openAL installed on my system is 1:1.13-4ubuntu3
Maybe try using one from:
http://packages.debian.org/squeeze/libopenal1http://packages.debian.org/wheezy/libopenal1
(In reply to comment #6)
> perhaps as a [gentoo] x86_x64 user this solution doesn't bode well for me.
>
>
> I can only get it from here /usr/lib32/libopenal.so.1, and the 64bit wouldn't
> work to well.
>
> That being said, When i tried replacing the file, I could no longer use any
> form of mouse input in the game.
>
>
>
>
> (In reply to comment #5)
> > Hi ryan
> >
> > Thanks for the reply, I agree it's not ideal, but it does work around the
> > problem. Since doing this I have only suffered one crash in 3 hour of play,
> > compared to one every ten minutes with the shipped openAL.
Ubuntu 12.04, 64-bit, nvidia GT220, on-board Intel Corporation 82801I (ICH9 Family) HD Audio Controller. Using HIB5 build 2 (the version posted on 06/05/2012).
I have what I believe is the same problem. I'm running around in the camp before during Basic Braining, and I get random crashes. For instance, when sliding down the ladder beneath the iron grating next to one of the huts, I got a crash this morning as I reached the bottom of the ladder.
Sounds like the strack trace isn't useful, but here it is anyway:
#0 0xf77a9430 in __kernel_vsyscall ()
#1 0xf73fd1ef in raise () from /lib/i386-linux-gnu/libc.so.6
#2 0xf7400835 in abort () from /lib/i386-linux-gnu/libc.so.6
#3 0xf74382fa in ?? () from /lib/i386-linux-gnu/libc.so.6
#4 0xf7442e42 in ?? () from /lib/i386-linux-gnu/libc.so.6
#5 0xf766751f in operator delete(void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#6 0x0820061a in CSource::SetState(int, bool) ()
#7 0x081faacd in CAudioDrv::StopTracks(long*, long) ()
#8 0x0823cb27 in ISACTVoiceController::StopVoice(void*) ()
#9 0x08219e2a in CPlayer::StopPlayer() ()
#10 0x0824465f in apiStopAudioPlayer(void*) ()
#11 0x0824617b in ISACTWinInterface::StopAudioPlayer(void*) ()
#12 0x081c8fac in EChannel::Stop(bool) ()
#13 0x081c830a in EISACTSoundManager::stopAllByCue(unsigned int, bool) ()
#14 0x081c5beb in EISACTSoundManager::StopSoundCue(unsigned int, unsigned int, unsigned int) ()
#15 0x0850123f in ?? ()
#16 0x08501138 in ?? ()
#17 0x081e7431 in ?? ()
#18 0x081e7590 in luaD_call ()
#19 0x081f790c in luaV_execute ()
#20 0x081e75ae in luaD_call ()
#21 0x081f790c in luaV_execute ()
#22 0x081e75ae in luaD_call ()
#23 0x081e76c1 in ?? ()
#24 0x081e7c13 in luaD_runprotected ()
#25 0x081e7701 in lua_call ()
#26 0x0842463a in EMeshEntity::ExecuteAction(EActionPos&, bool) ()
#27 0x08424986 in EMeshEntity::RunActions(EActionPos&, bool) ()
#28 0x08423b80 in EMeshEntity::SetNewAction_internal(int, bool, char const*) ()
#29 0x08423737 in EMeshEntity::SetNewActionEx(int, char const*, bool, char const*) ()
#30 0x0830b19a in ELadderControlHandler::HandleControls_Internal(Input&) ()
#31 0x082b7e5e in EControlHandler::HandleControls(Input&) ()
#32 0x082d651e in GameApp::InitFrame() ()
#33 0x083161af in PCGameApp::InitFrame() ()
#34 0x08522ac2 in main ()
I can confirm the bug on my system. Unlike most of the others this was on Linux Mint Debian Edition.
I run with the binary nvidia drivers.
My guess as programmer this is due to some limit on simultaneous sounds.
The bug appears really often in the levitate course (in fact so often I have not yet managed to complete it)
I assume this is due to the constant buzzing of the levitate ball, but not something I can confirm at all.
(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.
I can confirm the fix works forme. Does causea minor side effect of having to wait long between speech sound (or just press a button in most places)
Good work ;)
(In reply to comment #11)
> I can confirm the fix works forme. Does causea minor side effect of having to
> wait long between speech sound (or just press a button in most places)
Yeah, we'll be tracking that issue on Bug #5680. Fix one thing, break another. :)
--ryan.
(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.