Bug 5558 - Assertion `!xcb_xlib_unknown_req_in_deq' failed.
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-02 19:59 EDT by Pascal
Modified: 2012-06-21 14:59:02 EDT
1 user (show)

See Also:


Attachments
complete error log (501.87 KB, text/plain)
2012-06-03 11:34 EDT, jb

Description Pascal 2012-06-02 19:59:15 EDT
Happened during gameplay. Parts of the log are below, my core limit was set to 0, unfortunately.

$ uname -a
Linux nymphora 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Log:

FreeUnusedBlocksInBuckets released 0 Kb
Game: Engine Beginning cutscene PostBBLI
Game: Engine Cutscene progression: CS Script moving from state nil to state PostBBLI, resultant state PostBBLI.  Time: 128.7589569091797.
* Stack Trace
1: setState                  (line   -1, file '(none)) (field)
2: xRunCutsceneWithSettings  (line   -1, file '(none)) (field)
3: runCutsceneWithSettings   (line   -1, file '(none)) (field)
4: runCutscene               (line   -1, file '(none)) (field)
5: (null)                    (line   -1, file '(none)) ()
Anim: anims\dartnew\landafterbbli.jan: loaded (1 frames latency)
Game: Engine Hilltop domain turned off via triggervolume.
Game: Engine Hilltop domain turned on via triggervolume.
Game: Engine Fig2 domain turned on via triggervolume.
Game: Engine Cutscene progression: CS Script moving from state PostBBLI to state CleanupCSPostBBLI, resultant state CleanupCSPostBBLI.  Time: 130.7678527832031.
* Stack Trace
1: setState                  (line   -1, file '(none)) (field)
2: (null)                    (line   -1, file '(none)) ()
Game: Engine Ending normal cutscene PostBBLI
Game: Engine RESTORE SECONDARY TARGET
Game: Engine SET SECONDARY TARGET nil
Game: Engine WARNING: bPostBBLIPlayed is not in the saved var table
Game: Engine Saved[BB]: bPostBBLIPlayed = 1
Game: Engine Cutscene progression: CS Script moving from state CleanupCSPostBBLI to state nil, resultant state nil.  Time: 130.8648834228516.
* Stack Trace
1: setState                  (line   -1, file '(none)) (field)
2: endCutscene               (line   -1, file '(none)) (field)
3: (null)                    (line   -1, file '(none)) ()
Game: Engine Hilltop domain turned off via triggervolume.
Game: Engine Hilltop domain turned on via triggervolume.
Game: Engine Fig2 domain turned off via triggervolume.
Game: Engine Fig2 domain turned on via triggervolume.
Game: Engine Fig2 domain turned off via triggervolume.
Anim: anims\dartnew\creep.jan: loaded (1 frames latency)
Anim: anims\dartnew\railslide45angle.jan: loaded (1 frames latency)
Anim: anims\dartnew\railslideflat.jan: loaded (1 frames latency)
Game: Engine rocket domain turned off via triggervolume.
Game: Engine Hilltop domain turned off via triggervolume.
Game: Engine smar domain turned on via triggervolume.
Game: Engine Fig1 domain turned off via triggervolume.
Game: Engine rocket domain turned on via triggervolume.
Game: Engine smar domain turned off via triggervolume.
Game: Engine Fig2 domain turned on via triggervolume.
WARN: (none(-1) PlaySound zeppelinambience: argument 2 is string (not a handle) - doing slow lookup for 'BAmb'
Anim: anims\dartnew\ledgehangpose.jan: loaded (1 frames latency)
Game: Engine RESTORE SECONDARY TARGET
Game: Engine SET SECONDARY TARGET nil
WARN: (none(-1) PlaySound zeppelinambience: argument 2 is string (not a handle) - doing slow lookup for 'BAmb'
WARN: (none(-1) PlaySound zeppelinambience: argument 2 is string (not a handle) - doing slow lookup for 'BAmb'
Game: Engine RESTORE SECONDARY TARGET
Game: Engine SET SECONDARY TARGET nil
Game: Engine RESTORE SECONDARY TARGET
Game: Engine SET SECONDARY TARGET nil
Game: Engine gear domain turned on via triggervolume.
WARN: (none(-1) PlaySound zeppelinambience: argument 2 is string (not a handle) - doing slow lookup for 'BAmb'
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
Psychonauts: ../../src/xcb_io.c:178: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted (core dumped)
Comment 1 Ryan C. Gordon 2012-06-03 05:48:19 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 2 jb 2012-06-03 11:34:54 EDT
Created attachment 3161 [details]
complete error log
Comment 3 jb 2012-06-03 11:37:49 EDT
Comment on attachment 3161 [details]
complete error log

downloaded test version and crashed when going to the shop for the first time
Comment 4 Ryan C. Gordon 2012-06-20 11:49:25 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-21 14:59:02 EDT
Consolidating bugs...

--ryan.

*** This bug has been marked as a duplicate of bug 5683 ***