stransky / berusky2

Berusky 2 (Bugs Escape 3D) is a game that challenges your visual/spatial thinking and ability to find a way to resolve a logic task. Using five bugs, you'll go through an adventure full of various puzzles spread across nine episodes. Individual episodes differ in appearance and difficulty, which increases throughout the game.
http://anakreon.cz/en/Berusky2.htm
GNU General Public License v3.0
14 stars 3 forks source link

berusky2: Abort in XCB code #19

Open apoleon opened 11 years ago

apoleon commented 11 years ago

Hello,

this is Debian bug report http://bugs.debian.org/722637.

After playing the game for a while in Training mode, the game aborts when exiting the game by using the ESC key with

[…] ap_Release_Play_List ap_Release_Material_List ap_Release [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. berusky2: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion !xcb_xlib_unknown_req_in_deq' failed. Aborted ---

This bug might be related to the segfault in XSync on exit bug. After searching for those error messages, I have found out that it is sometimes necessary to call

XInitThreads() to make X aware that it's running in a multi-threaded application. I have also found similar backtraces that were submitted to the Fedora distribution.

http://retrace.fedoraproject.org/faf/problems/1141452/

apoleon commented 11 years ago

The steps to reproduce this bug is:

  1. Start Berusky2 and hit ESC to quit the program.

I can only reproduce it on i386 so far. After the first quit I get https://github.com/stransky/berusky2/issues/18 On the second "Start+Quit" I see the error message reported in this bug report and sometimes on successive tries, I get this error and a long backtrace.

Error in `berusky2': double free or corruption (fasttop): 0x0000000002aabbe0 ***

This was reported separately in http://bugs.debian.org/722693.

Probably all bug reports are somehow related.