PDA

View Full Version : Ubuntu Gutsy: segfault with latest version from site


DeepThought
12-21-2007, 09:09 AM
Hello!

I just reinstalled my NVIDIA-drivers (169.07), and started Regnum to see if the graphics bug from 169.04 still was there. The launcher started as usual, and when I read the latest news in the launcher I saw that there was a new (Windows-)client/launcher, but I thought maybe they've updated the linux-client/launcher too. So I downloaded the client available on the site, replaced the old one (Why, oh why, didn't a make a backup first?) and then I tried to launch the game.

Segfault, core dumped.

Ah, the old MALLOC_CHECK_-trick? I tried it. Same thing, segfault.

I'm running Ubuntu Gutsy on a Zepto Znote 6224W, that is: a NVIDIA GeForce 8600M GT, C2D T7100, 2GB RAM etc.

What more steps for troubleshooting? What more info is needed by developers? Please tell me, and I'll provide you with the additional info needed to fix the problem!


EDIT: Can't find a delete-button. Where is it? Someone could please remove the other two threads.. my connection was all messed up, and the result was three posts instead of one :(

ArcticWolf
12-21-2007, 11:19 AM
Hi! Did you try doing a "glxgears" or "glxinfo | grep rendering"? If it's a driver's problem, then this commands will result in a segfault error (I had this problems some weeks ago).

Are you using the nvidia-glx-new package?

surak
12-21-2007, 03:10 PM
I'm sorry, I didn't understand. What binary is crashing? rolauncher or game?

DeepThought
12-21-2007, 07:10 PM
It's the launcher (rolauncher) that crashes. No additional output, just segfault (core dumped) right after i entered ./rolauncher in the terminal.

Xephandor: Yes, I have checked that the driver was properly installed. I'm not using the nvidia-glx-new package, since I'm doing the installation manually (sudo sh NVIDIA-....). I have also tried different versions of the NVIDIA-driver (100.14.23, 169.04, 169.07) and none of them work. But since the problem is that I can't even start the launcher I doubt it's driver-related.

And since the "old" launcher worked 2 minutes earlier I doubt that's the problem.

surak
12-21-2007, 07:18 PM
Can someone post a backtrace?

DeepThought
12-22-2007, 05:32 AM
Sure, just tell me how to do it :) I have little or no experience in debugging software, and I'm a bit sorry not beeing that much of a help to you, but if you point me in the right direction I'll gladly help!

ArcticWolf
12-22-2007, 05:42 AM
Go to the regnumonline folder, then to llive and zip/tar all the files that have "backtrace" or "error" as name. Then use the forum tools to attach it.

DeepThought
12-22-2007, 06:11 PM
Seems like problem solved, at least partially. The solution was so stupidly simple, but yet so hard to find out! I'm using a GTK-theme called Terrene (http://www.xfce-look.org/content/show.php/Terrene?content=67435), and I every time I start a GTK-based program in the terminal I get the following message:
/usr/share/themes/Terrene/gtk-2.0/gtkrc:249: error: invalid string constant "handlebox", expected valid string constant

Since I get it every time, with every GTK-application, I didn't even make a notice that it appeared. But for some reason I decided to try another theme, and see if there were any difference. Of course it started :rolleyes: Even thou I had to use the MALLOC_CHECK_=0 workaroud the first time, before the new launcher was downloaded.

The updated laucher was downloaded, installed and after that I could change back to my other theme, and it still worked, even without MALLOC_CHECK_.

I'm attaching the backtrace anyway (as a .zip-file, the .tar.gz didn't work), because there's still a problem, even if I have found a workaround..

Franz1789
12-23-2007, 08:44 PM
I'm on Ubuntu Gusty, using ATI card, with 8.40 driver (the latest are so bugged I can't even use my pc well). I can't play, I'm part of a clan, one of the few italian clan, and it is impossible for me to play, because everytime I open the game, it crashes after a minute...

l0rax23
12-25-2007, 07:29 PM
*** glibc detected *** ./rolauncher: double free or corruption (out): 0x08642520 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb77ead65]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb77ee800]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb76fa961]
./rolauncher[0x817613d]
./rolauncher[0x8070b53]
./rolauncher[0x8065a7a]
./rolauncher[0x8067ed1]
./rolauncher[0x810074e]
./rolauncher[0x805c55e]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7797050]
./rolauncher(__gxx_personality_v0+0x3d5)[0x805c391]

:clapclap:

shercipher
01-05-2008, 11:56 PM
Complete wtfage on the installer not working. Same problem->


$ sudo sh rolauncher
Segmentation fault (core dumped)


And um, I'm not running any retarded themes...so I dunno.

DeepThought
01-06-2008, 01:27 AM
Why do you run the game with sudo? You probably don't want that, since it's a security risk. (If your files has root as owner you probably have to chown them).

Have you tried to start the game like this:
MALLOC_CHECK_=0 ./rolauncher

Miraculix
01-06-2008, 05:25 AM
someone suggested trying setting the malloc check to 1 instead of 0 to avoid the segfault, and it worked for someone else too. More info here:

http://www.regnumonline.com.ar/forum/showthread.php?t=17271

leptom
01-16-2008, 04:49 PM
I use gutsy and solved with it:

G_SLICE=always-malloc ~/ro/rolauncher

Regards

--- Updated ---

I only need it the first load, the next ones do:

~/ro/rolauncher

fluffy_muffin
01-18-2008, 04:51 PM
RO was warking fro me on Gutsy... it was...
today i have this

zielski@zielski-desktop:/media/hda6/usr/local/games/regnum $ ./rolauncherFontconfig warning: "~/.fonts.conf", line 17: invalid constant used :
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 211 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.)

surak
01-18-2008, 04:59 PM
Same as here http://www.regnumonline.com.ar/forum/showthread.php?t=18025

People have reported this in the spanish linux forum too.

Looks like not only Regnum is broken, but also azureus (?) Can you confirm this?

fluffy_muffin
01-18-2008, 05:36 PM
Same as here http://www.regnumonline.com.ar/forum/showthread.php?t=18025

People have reported this in the spanish linux forum too.

Looks like not only Regnum is broken, but also azureus (?) Can you confirm this?
This (http://www.regnumonline.com.ar/forum/showpost.php?p=266310&postcount=23) helped :D thnx