Neverwinter Nights start -> Assertion failed

Need help with one of the installers?
Post Reply
Haf

Neverwinter Nights start -> Assertion failed

Post by Haf » Wed Apr 23, 2008 19:57

I used the following packages to install Neverwinter Nights and the addons:
nwn_1.29-multilanguage-2.run
nwn_1.68-german.update.run
nwn.sou_1.3x-multilanguage-2.run
nwn.sou_1.68-german.update.run
nwn.hotu_1.62-multilanguage-2.run
nwn.hotu_1.68-german.update.run

However, when I try to start the game in Ubuntu 8.04, I get the following error:
desktop:~$ nwn
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb6ea3767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb6ea38b1]
#2 /usr/lib/libX11.so.6(_XReply+0xfd) [0xb6feb1bd]
#3 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_XF86VidModeQueryVersion+0x8d) [0xb7d3d53d]
#4 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(X11_GetVideoModes+0x164) [0xb7d3878c]
#5 /usr/local/games/nwn/./lib/libSDL-1.2.so.0 [0xb7d3a457]
#6 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_VideoInit+0x2b2) [0xb7d2ff66]
#7 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_InitSubSystem+0x4a) [0xb7d127de]
#8 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_Init+0x24) [0xb7d128dc]
#9 ./nwmain(SDL_SetVideoMode+0x293) [0x804f98b]
#10 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7bce450]
#11 ./nwmain(AIL_WAV_info+0x39) [0x804f851]
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb6ea3767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb6ea381e]
#2 /usr/lib/libX11.so.6 [0xb6fea518]
#3 /usr/lib/libX11.so.6(XMatchVisualInfo+0x40) [0xb6fe0f70]
#4 /usr/local/games/nwn/./lib/libSDL-1.2.so.0 [0xb7d3851a]
#5 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(X11_GetVideoModes+0x408) [0xb7d38a30]
#6 /usr/local/games/nwn/./lib/libSDL-1.2.so.0 [0xb7d3a457]
#7 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_VideoInit+0x2b2) [0xb7d2ff66]
#8 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_InitSubSystem+0x4a) [0xb7d127de]
#9 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_Init+0x24) [0xb7d128dc]
#10 ./nwmain(SDL_SetVideoMode+0x293) [0x804f98b]
#11 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7bce450]
#12 ./nwmain(AIL_WAV_info+0x39) [0x804f851]
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb6ea3767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb6ea38b1]
#2 /usr/lib/libX11.so.6(_XReply+0xfd) [0xb6feb1bd]
#3 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_XineramaIsActive+0x76) [0xb7d43b1a]
#4 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(X11_GetVideoModes+0x673) [0xb7d38c9b]
#5 /usr/local/games/nwn/./lib/libSDL-1.2.so.0 [0xb7d3a457]
#6 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_VideoInit+0x2b2) [0xb7d2ff66]
#7 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_InitSubSystem+0x4a) [0xb7d127de]
#8 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_Init+0x24) [0xb7d128dc]
#9 ./nwmain(SDL_SetVideoMode+0x293) [0x804f98b]
#10 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7bce450]
#11 ./nwmain(AIL_WAV_info+0x39) [0x804f851]
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb6ea3767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb6ea381e]
#2 /usr/lib/libX11.so.6 [0xb6fea518]
#3 /usr/lib/libX11.so.6(XCreateColormap+0x26) [0xb6fc0e76]
#4 /usr/local/games/nwn/./lib/libSDL-1.2.so.0 [0xb7d3a584]
#5 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_VideoInit+0x2b2) [0xb7d2ff66]
#6 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_InitSubSystem+0x4a) [0xb7d127de]
#7 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_Init+0x24) [0xb7d128dc]
#8 ./nwmain(SDL_SetVideoMode+0x293) [0x804f98b]
#9 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7bce450]
#10 ./nwmain(AIL_WAV_info+0x39) [0x804f851]
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb6ea3767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb6ea38b1]
#2 /usr/lib/libX11.so.6(_XReply+0xfd) [0xb6feb1bd]
#3 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_XF86VidModeGetGamma+0x9a) [0xb7d3d80e]
#4 /usr/local/games/nwn/./lib/libSDL-1.2.so.0 [0xb7d36a89]
#5 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(X11_SaveVidModeGamma+0x36) [0xb7d36b3a]
#6 /usr/local/games/nwn/./lib/libSDL-1.2.so.0 [0xb7d3a60f]
#7 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_VideoInit+0x2b2) [0xb7d2ff66]
#8 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_InitSubSystem+0x4a) [0xb7d127de]
#9 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_Init+0x24) [0xb7d128dc]
#10 ./nwmain(SDL_SetVideoMode+0x293) [0x804f98b]
#11 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7bce450]
#12 ./nwmain(AIL_WAV_info+0x39) [0x804f851]
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb6ea3767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb6ea381e]
#2 /usr/lib/libX11.so.6 [0xb6fea518]
#3 /usr/lib/libX11.so.6(XCreateWindow+0x26) [0xb6fe1616]
#4 /usr/local/games/nwn/./lib/libSDL-1.2.so.0 [0xb7d39ff3]
#5 /usr/local/games/nwn/./lib/libSDL-1.2.so.0 [0xb7d3a635]
#6 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_VideoInit+0x2b2) [0xb7d2ff66]
#7 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_InitSubSystem+0x4a) [0xb7d127de]
#8 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_Init+0x24) [0xb7d128dc]
#9 ./nwmain(SDL_SetVideoMode+0x293) [0x804f98b]
#10 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7bce450]
#11 ./nwmain(AIL_WAV_info+0x39) [0x804f851]
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb6ea3767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb6ea38b1]
#2 /usr/lib/libX11.so.6(_XReply+0xfd) [0xb6feb1bd]
#3 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_XF86VidModeQueryVersion+0x8d) [0xb7d3d53d]
#4 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_XF86VidModeGetModeLine+0x5b) [0xb7d3d8e7]
#5 /usr/local/games/nwn/./lib/libSDL-1.2.so.0 [0xb7d38368]
#6 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(X11_EnterFullScreen+0x72) [0xb7d39092]
#7 /usr/local/games/nwn/./lib/libSDL-1.2.so.0 [0xb7d3b375]
#8 /usr/local/games/nwn/./lib/libSDL-1.2.so.0 [0xb7d3b52b]
#9 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_SetVideoMode+0x1b3) [0xb7d307df]
#10 ./nwmain [0x84d1b4d]
#11 ./nwmain(strftime+0x1dfd) [0x80508b5]
#12 ./nwmain [0x805d896]
#13 ./nwmain [0x805adc0]
#14 ./nwmain [0x8059ae5]
#15 ./nwmain(SDL_SetVideoMode+0x45f) [0x804fb57]
#16 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7bce450]
#17 ./nwmain(AIL_WAV_info+0x39) [0x804f851]
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb6ea3767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb6ea381e]
#2 /usr/lib/libX11.so.6 [0xb6fea518]
#3 /usr/lib/libX11.so.6(XMoveResizeWindow+0x25) [0xb6fc0165]
#4 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(X11_EnterFullScreen+0xd4) [0xb7d390f4]
#5 /usr/local/games/nwn/./lib/libSDL-1.2.so.0 [0xb7d3b375]
#6 /usr/local/games/nwn/./lib/libSDL-1.2.so.0 [0xb7d3b52b]
#7 /usr/local/games/nwn/./lib/libSDL-1.2.so.0(SDL_SetVideoMode+0x1b3) [0xb7d307df]
#8 ./nwmain [0x84d1b4d]
#9 ./nwmain(strftime+0x1dfd) [0x80508b5]
#10 ./nwmain [0x805d896]
#11 ./nwmain [0x805adc0]
#12 ./nwmain [0x8059ae5]
#13 ./nwmain(SDL_SetVideoMode+0x45f) [0x804fb57]
#14 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7bce450]
#15 ./nwmain(AIL_WAV_info+0x39) [0x804f851]
nwmain: ../../src/xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int) ((xcb_req) - (dpy->request)) >= 0)' failed.
Aborted
desktop:~$
So... any ideas?

kratz00
liflg member
Posts: 1658
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Thu Apr 24, 2008 18:01

This problem has nothing to do with the installer itself, hard to say whats wrong but it looks like a problem in libxcb, you should report this to the Ubuntu people.

dzaro

Post by dzaro » Tue Apr 29, 2008 11:35

hello. I have the same problem with Archlinux :cry:

dzaro

Post by dzaro » Tue Apr 29, 2008 13:28

deleting /lib in nwn directory solved the problem :D

kratz00
liflg member
Posts: 1658
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Tue Apr 29, 2008 14:07

This are the official libaries for the NWN Linux client :)
So maybe their libSDL is too old?

Haf could you try it and report back?

Thanks dzaro for your feedback.

Haf

Post by Haf » Tue Apr 29, 2008 14:56

I currently don't have the CD-Key with me, so I can't test it ingame at the moment, but with the lib folder removed, the game is also starting on my PC without problems, so it seems that this did the trick.
Thank you very much, dzaro! :)

kratz00
liflg member
Posts: 1658
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Tue Apr 29, 2008 19:04

Haf thanks for your feedback too. I don't think Bioware will release an updated Linux NWN client anymore, so deleting libSDL will be the only useful solution.

Post Reply