PDA

View Full Version : xserver update stops regnum from starting.


Mellion
01-18-2008, 11:50 AM
Ubuntu 7.10:
libxfont1 1:1.3.0-0ubuntu1.1
xserver-xorg-core 2:1.3.0.0.dfsg-12ubuntu8.1

with this security update RO doesn't start anymore. tested on 2 computers. with same resault.


MALLOC_CHECK_=1 ./rolauncher
doesn't work.


error messge:

The program 'rolauncher' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
(Details: serial 210 error_code 11 request_code 148 minor_code 5)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)

DeepThought
01-18-2008, 01:42 PM
I can confim this problem, and I get the same error since I installed that package.

EDIT: Mellion: should we file a Ubuntu-bug? I don't think that'd be needed, because it doesn't seem like an Ubuntu-bug, if I have understood the error message.. What do you think?

Mellion
01-18-2008, 01:47 PM
I'm not an expert. I would like to hear, what ngd says about it first.

Rolle
01-18-2008, 01:53 PM
I have a similar problem with openSuSE 10.2:
roland@rolle:~/regnum_online> ./rolauncher
The program 'rolauncher' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
(Details: serial 218 error_code 11 request_code 148 minor_code 5)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
I just had an update of these packages:
roland@rolle:~/regnum_online> rpm -qa --last | grep xorg
xorg-x11-server-7.2-30.11 Fr 18 Jan 2008 09:10:41 CET
xorg-x11-devel-7.2-25 Fr 18 Jan 2008 09:10:35 CET
xorg-x11-libs-7.2-25 Fr 18 Jan 2008 09:10:04 CET

surak
01-18-2008, 02:03 PM
Can you run the launcher with gdb and post a backtrace from the crash?

DeepThought
01-18-2008, 02:12 PM
Ok, I probably need to rethink, and perhaps we should file a bug anyway. I'll come by later on, to check if anything has changed.. :)

Good luck in the meantime, and install the older package (you can do that in Synaptic by choosing force version [Ctlr-E] on that package).

DeepThought
01-18-2008, 02:14 PM
surak: how?

gdb ./rolauncher

And then: run ?

surak
01-18-2008, 02:15 PM
surak: how?

gdb ./rolauncher

And then: run ?

Yes

after crash: bt (in gdb command prompt)

then copy+paste :)

DeepThought
01-18-2008, 02:18 PM
bt just returns "No stack." :-\

I'll copy+paste the output directly instead, if that works?

EDIT: There you are?

surak
01-18-2008, 02:19 PM
¬¬

Let's see that then :-/

magnet
01-18-2008, 02:33 PM
A good start would be giving a rolauncher built with the -g debug flag then ;). Or gdb won't help much :D.

surak
01-18-2008, 02:42 PM
A good start would be giving a rolauncher built with the -g debug flag then ;). Or gdb won't help much :D.
I knew I was forgetting something :P

http://www.regnumonline.com.ar/downloads/files/rolauncher_dbg.bz2

Rolle
01-18-2008, 02:49 PM
When I start the regnum binary directly without rolauncher, the game runs. So the problem should exist in the rolauncher directly.

DeepThought
01-18-2008, 03:02 PM
I tried:

gdb ./rolauncher_dbg
run - which now gives a lot less output
bt - still got the "No stack."

:(

Mellion
01-18-2008, 03:43 PM
Anything new?

surak
01-18-2008, 04:03 PM
Are you using compiz?

Mikka
01-18-2008, 04:06 PM
Gooling "Details: serial 210 error_code 11 request_code 148 minor_code 5" results in a lot of Compiz/Fusion (still not ready for prime time IMHO) hits.

You might want to try disabling the eye-candy and see if that fixes the problem.

If that cures the issue I'd file the bug against those packages.

Good Luck!

P.S.: I'll try on my machine(s) at home tonight.

DeepThought
01-18-2008, 04:08 PM
Mikka: I'm on Xubuntu, and is not using any kind of eyecandy (Compiz Fusion etc.), and the composition is disabled in Xfce. So I guess that's not the problem. At least not for me.

Mellion
01-18-2008, 04:16 PM
na, no compiz on this side.

Rolle
01-18-2008, 04:40 PM
I'm running Openbox without any 3D elements.

DeepThought
01-18-2008, 05:01 PM
I had problem running VLC too, so it seems like a bug in the new package. I downgraded, and it works, but I'll file an Ubuntu-bug for the new package (if it's not already done).

leptom
01-18-2008, 05:01 PM
Read this:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/183969

While repair it, you can downgrade xorg-server and run again :)
Regards

=== Edited: How to downgrade ===

In a terminal:
$ sudo aptitude install xserver-xorg-core=2:1.3.0.0.dfsg-12ubuntu8

surak
01-18-2008, 05:03 PM
I post the solution here
package xserver-xorg-core=2:1.3.0.0.dfsg-12ubuntu8.1 is broken, you should use
xserver-xorg-core=2:1.3.0.0.dfsg-12ubuntu8 until it's fixed.

DeepThought
01-18-2008, 05:06 PM
Thanks leptom! Then I don't need to file another bug :)

I'll downgrade in the meantime.

ArcticWolf
01-18-2008, 05:29 PM
I post the solution here
package xserver-xorg-core=2:1.3.0.0.dfsg-12ubuntu8.1 is broken, you should use
xserver-xorg-core=2:1.3.0.0.dfsg-12ubuntu8 until it's fixed.
Ok, I'll add it to the "problem index" on the spanish forum :P

PS: Information added to this thread (http://www.regnumonlinegame.com/forum/showthread.php?p=263846). Should I translate it or make an equivalent on the English forum, Surak?

DeepThought
01-18-2008, 11:53 PM
Seems like "problem solved". It's working again (in Ubuntu), with the newly released *8.2-version of xserver-xorg-core (which seems to be a reversion?) and a new fix called *8.3 is on it's way out soon. Hopefully that works better...

padreigh
01-21-2008, 05:24 PM
Bug is caused due to one missing symbolic link, quickfix:

http://ubuntuforums.org/showpost.php?p=4160863&postcount=4


:)

Angelwinged_Devil
01-21-2008, 10:44 PM
Ok, I'll add it to the "problem index" on the spanish forum :P

PS: Information added to this thread (http://www.regnumonlinegame.com/forum/showthread.php?p=263846). Should I translate it or make an equivalent on the English forum, Surak?
http://www.regnumonline.com.ar/forum/showthread.php?t=14051
if you can give me some translated I'll put it in :p

SA0BSE
01-22-2008, 06:55 PM
Arch Linux. Running an stable Xserver from the extra.

elis@Sighild:~/bin/regnum$ ./rolauncher
The program 'rolauncher' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
(Details: serial 253 error_code 11 request_code 148 minor_code 5)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
elis@Sighild:~/bin/regnum$

elis@Sighild:~/bin/regnum$ pacman -Qi xorg-server
Name : xorg-server
Version : 1.4.0.90-5
URL : http://xorg.freedesktop.org
Licenses : None
Groups : xorg
Provides : x-server
Depends On : gcc-libs libxkbui ncurses libxi libxxf86misc libxfont libxrender libdmx libxaw
libxxf86vm xcursor-themes xkeyboard-config xorg-server-utils xorg-utils
libdrm>=2.3.0 libxfixes xorg-fonts-misc pixman>=0.9.6 xbitmaps libgl
Optional Deps : None
Required By : liblazy nvidia-utils
Conflicts With : None
Replaces : None
Installed Size : 20386.43 K
Packager : Jan de Groot <jgc@archlinux.org>
Architecture : i686
Build Date : Sun 20 Jan 2008 09:32:38 PM CET
Install Date : Mon 21 Jan 2008 11:38:31 PM CET
Install Reason : Explicitly installed
Install Script : Yes
Description : X.Org X servers

elis@Sighild:~/bin/regnum$