bugLordsAWar! - Bugs: bug #24724, _XCBUnlockDisplay: Assertion

 
 

bug #24724: _XCBUnlockDisplay: Assertion

Submitted by:  None
Submitted on:  Sun 02 Nov 2008 02:30:46 AM UTC  
 
Category: gameSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sun 14 Jun 2009 07:01:06 PM UTC, comment #11:

I've fixed this bug a while ago by not having a progress bar while creating a new scenario.

Ben Asselstine <benasselstine>
Project Administrator
Sat 29 Nov 2008 07:22:01 PM UTC, comment #10:

It still happens sometimes when I make a new scenario with a .map file.

Ben Asselstine <benasselstine>
Project Administrator
Fri 28 Nov 2008 01:28:26 AM UTC, comment #9:

I added a short sleep after a dispatch call, and it has fixed the assertion in the tiny map case.

I'll keep this bug open, because I'm not convinced it's solved yet.

Ben Asselstine <benasselstine>
Project Administrator
Fri 28 Nov 2008 01:01:59 AM UTC, comment #8:

It could be happening because I'm setting the SDL_WINDOWID environment variable.

Ben Asselstine <benasselstine>
Project Administrator
Fri 28 Nov 2008 12:53:44 AM UTC, comment #7:

Maybe it's not so intermittent. Currently whenever I try to make a random tiny map, it triggers the assertion.

Ben Asselstine <benasselstine>
Project Administrator
Mon 24 Nov 2008 04:03:31 PM UTC, comment #6:

This is an intermittent bug. I don't think it happens for you every run. I'd appreciate some help in debugging this bug.

Ben Asselstine <benasselstine>
Project Administrator
Wed 12 Nov 2008 05:36:35 PM UTC, comment #5:

Thank you for the tip. I installed all the packages required in the DEPENDENCIES file. It completed compiling and installed. However, when I start a new game, this error appears.

GameScenario.cpp: 448: loading scenario
GameScenario.cpp: 180: GameScenario::setupCities
GameScenario.cpp: 356: The Filename is well formed
lordsawar: ../../src/xcb_lock.c:33: _XCBUnlockDisplay: Assertion `xcb_get_request_sent(dpy->xcb->connection) == dpy->request' failed.
Aborted

Anonymous
Tue 11 Nov 2008 08:17:12 PM UTC, comment #4:

Hmmm.. I can see that you're trying version 0.1.4.
Have you downloaded all of the required dependencies?

If you're unsure, look in the subversion repository for the DEPENENCIES file. To get the file, type the following:

$ svn co svn://lordsawar.com/lordsawar/trunk/

you may need to `$ sudo apt-get install subversion' first.

The file will be located at `lordsawar/trunk/DEPENDENCIES'.

Ben Asselstine <benasselstine>
Project Administrator
Tue 11 Nov 2008 07:58:49 PM UTC, comment #3:

LordsAWar won't compile on Ubuntu 8.10. Here are the end of the results after running "make".

driver.cpp:627: error: incomplete type ‘Main’ used in nested name specifier
driver.cpp: In member function ‘GameScenario* Driver::load_game(std::string)’:
driver.cpp:757: error: incomplete type ‘Main’ used in nested name specifier
driver.cpp:758: error: incomplete type ‘Main’ used in nested name specifier
driver.cpp: In member function ‘void Driver::on_new_pbm_game_requested(GameParameters)’:
driver.cpp:767: error: variable ‘NewGameProgressWindow pw’ has initializer but incomplete type
driver.cpp:768: error: incomplete type ‘Main’ used in nested name specifier
driver.cpp: In member function ‘void Driver::stress_test()’:
driver.cpp:892: error: incomplete type ‘Main’ used in nested name specifier
driver.cpp:893: error: incomplete type ‘Main’ used in nested name specifier
/usr/include/c++/4.3/backward/auto_ptr.h: In destructor ‘std::auto_ptr<_Tp>::~auto_ptr() [with _Tp = NewNetworkGameDownloadWindow]’:
driver.cpp:66: instantiated from here
/usr/include/c++/4.3/backward/auto_ptr.h:173: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
make[3]: *** [driver.lo] Error 1
make[3]: Leaving directory `/home/jon/Private/lordsawar-0.1.4/src/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jon/Private/lordsawar-0.1.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jon/Private/lordsawar-0.1.4'
make: *** [all] Error 2
jon@ubuntu:~/Private/lordsawar-0.1.4$

Anonymous
Mon 10 Nov 2008 12:50:11 PM UTC, comment #2:

Please try to reproduce this bug with the latest version.

Ben Asselstine <benasselstine>
Project Administrator
Sun 02 Nov 2008 02:52:25 AM UTC, comment #1:

PS - The version of LordsAWar in Ubuntu 8.10's repository is 0.1.0-1

Anonymous
Sun 02 Nov 2008 02:30:46 AM UTC, original submission:

The beginning screen will load, but after "New Game" is clicked, it seg faults and exits.

Here is the output from the console -

jon@ubuntu:~$ lordsawar
Found configuration file: /home/jon/.lordsawarrc
/home/jon/.lordsawarrc: The file is not obfuscated, attempting to read it....
sound.cpp: 85: Sound constructor
/usr/share/games/lordsawar/music/music.xml: The file is not obfuscated, attempting to read it....
sound.cpp: 110: Music list contains 5 entries.
sound.cpp: 111: background list has 1 entries.
sound.cpp: 163: playing Music
tilesetlist.cpp: 95: Loading tileset bigdefault
/usr/share/games/lordsawar/tilesets/bigdefault/bigdefault.xml: The file is not obfuscated, attempting to read it....
tilesetlist.cpp: 95: Loading tileset default
/usr/share/games/lordsawar/tilesets/default/default.xml: The file is not obfuscated, attempting to read it....
armysetlist.cpp: 175: Loading armyset bigdefault
/usr/share/games/lordsawar/army/bigdefault/bigdefault.xml: The file is not obfuscated, attempting to read it....
armysetlist.cpp: 175: Loading armyset default
/usr/share/games/lordsawar/army/default/default.xml: The file is not obfuscated, attempting to read it....
shieldsetlist.cpp: 96: Loading shieldset plain
/usr/share/games/lordsawar/shield/plain/plain.xml: The file is not obfuscated, attempting to read it....
shieldsetlist.cpp: 96: Loading shieldset default
/usr/share/games/lordsawar/shield/default/default.xml: The file is not obfuscated, attempting to read it....
citysetlist.cpp: 95: Loading cityset bigdefault
/usr/share/games/lordsawar/citysets/bigdefault/bigdefault.xml: The file is not obfuscated, attempting to read it....
citysetlist.cpp: 95: Loading cityset default
/usr/share/games/lordsawar/citysets/default/default.xml: The file is not obfuscated, attempting to read it....
Segmentation fault
jon@ubuntu:~$

FYI - I'm running this on a x86_64 Dell 830 laptop.

Thanks!
Jon Eicher

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by benasselstine (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 14 Jun 2009 07:01:06 PM UTCbenasselstineOpen/ClosedOpen=>Closed
    Wed 26 Nov 2008 02:35:37 PM UTCbenasselstineSummaryLordsawar doesn\'t work on Ubuntu 8.10=>_XCBUnlockDisplay: Assertion

    Back to the top


    Powered by Savane 3.1-cleanup1