Archlinux launching problem

Archlinux launching problem

Postby muunleit » January 12th, 2012, 12:58 pm

Hello Brendo,

I have packaged your game for Archlinux quiet some time ago (https://aur.archlinux.org/packages.php?ID=45944). Yesterday one of our users mentioned to have problems to launch the game.

[quote]
When I try to launch it the loading screen appears and then it crashes. Heres the output of the terminal. http://pastebin.com/GuvLQfNR . I had this problem already before the update.
[/quote]

I have compared his output to my one and it looks the same until line 481.

[code]
[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.
mono: xcb_io.c:178: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Stacktrace:

at (wrapper managed-to-native) SFML.Graphics.Context.sfContext_SetActive (intptr,bool) <0x00004>
at (wrapper managed-to-native) SFML.Graphics.Context.sfContext_SetActive (intptr,bool) <0x00004>
at SFML.Graphics.Context.SetActive (bool) <0x00019>
at SFML.Graphics.Image.Destroy (bool) <0x0004e>
at SFML.ObjectBase.Dispose (bool) <0x0002f>
at SFML.ObjectBase.Finalize () <0x00013>
at (wrapper runtime-invoke) object.runtime_invoke_virtual_void__this__ (object,intptr,intptr,intptr) <0x00046>
[/code]

Additionally I asked him for some information about his system => http://pastebin.com/raw.php?i=paAk4Cxh

Do you have any idea what could cause these problems and how he can solve it?

regards
muunleit
muunleit
 
Joined: January 11th, 2012, 7:40 am

Re: Archlinux launching problem

Postby muunleit » January 12th, 2012, 3:23 pm

We fixed it already.

It seems to be caused by some of the libs shipped with the game. The user is using a 64bit-system. Another user posted a list which libs should be replaced with 64bit-libs and now seems to work.

Sorry.
muunleit
 
Joined: January 11th, 2012, 7:40 am

Re: Archlinux launching problem

Postby Brendon » January 12th, 2012, 4:06 pm

That's great news. Can you post a link to that list? Thanks!
Brendon
Site Admin
 
Joined: January 12th, 2009, 3:46 pm

Re: Archlinux launching problem

Postby muunleit » January 13th, 2012, 3:09 am

The changes in the build-script (https://aur.archlinux.org/packages/at/a ... r/PKGBUILD) where:

[ "$CARCH" = "x86_64" ] && depends=('libgdiplus' 'mono' 'csfml-bin')

if [ "$CARCH" = "x86_64" ]; then
# remove packaged libraries
cd $pkgdir/opt/$pkgname/data
rm *.so*
rm `ls | grep .dll | grep -v ^sfmlnet | grep -v ^Tao`

# point startup script to system mono
sed -i "s|\./mono|mono|" atomzombiesmasher
fi
muunleit
 
Joined: January 11th, 2012, 7:40 am


Return to Atom Zombie Smasher