Go Back   Champions of Regnum > English > Technical Support > Linux

Linux Technical issues under Linux platform

Reply
 
Thread Tools Display Modes
Old 02-13-2008, 11:39 AM   #1
Thelfin
Pledge
 
Join Date: Aug 2007
Posts: 5
Thelfin is on a distinguished road
Default invalid pointer starting rolauncher - both 32 & 64 bit

Hi, I've got very similar errors trying to run rolauncher in both 32-bit and 64-bit forms. I'm running Source Mage GNU/Linux, and I use a pure 64-bit environment for the 64-bit, and a pure 32-bit environment in a chroot for 32-bit. Here is the error output for each environment, with the memory maps removed due to length. It will be seen they are remarkably similar.

64-bit
Code:
ethan!audio@vardo regnum (0) $ uname -a
Linux vardo 2.6.23.9 #5 SMP Sat Feb 2 20:50:19 GMT 2008 x86_64 GNU/Linux
ethan!audio@vardo regnum (0) $ ./rolauncher 
*** glibc detected *** ./rolauncher: free(): invalid pointer: 0x0000000000b7e430 ***
======= Backtrace: =========
/lib/libc.so.6[0x2ad5480c49ea]
/lib/libc.so.6(__libc_free+0x8c)[0x2ad5480c85ac]
/usr/lib/libglib-2.0.so.0(g_free+0x23)[0x2ad5482ec573]
./rolauncher[0x530ebf]
./rolauncher[0x531404]
./rolauncher[0x431b81]
./rolauncher[0x41e1f9]
./rolauncher[0x428e22]
./rolauncher[0x4bcb16]
./rolauncher[0x4bcc57]
./rolauncher[0x41b9da]
/lib/libc.so.6(__libc_start_main+0xf4)[0x2ad54806eb74]
./rolauncher(__gxx_personality_v0+0x3e2)[0x41b79a]
32-bit
Code:
ethan!ethan@vardo:32 regnum (0) $ uname -a
Linux vardo 2.6.23.9 #5 SMP Sat Feb 2 20:50:19 GMT 2008 i686 GNU/Linux
ethan!ethan@vardo:32 regnum (0) $ ./rolauncher 
/home/ethan/.themes/Clearlooks-DarkOrange/gtk-2.0/gtkrc:58: Clearlooks configuration option "sunkenmenu" is not supported and will be ignored.
/home/ethan/.themes/Clearlooks-DarkOrange/gtk-2.0/gtkrc:59: Clearlooks configuration option "menuitemstyle" is not supported and will be ignored.
/home/ethan/.themes/Clearlooks-DarkOrange/gtk-2.0/gtkrc:60: Clearlooks configuration option "listviewitemstyle" is not supported and will be ignored.
/home/ethan/.themes/Clearlooks-DarkOrange/gtk-2.0/gtkrc:61: Clearlooks configuration option "progressbarstyle" is not supported and will be ignored.
*** glibc detected *** ./rolauncher: munmap_chunk(): invalid pointer: 0x08587030 ***
======= Backtrace: =========
/lib/libc.so.6(cfree+0x1bb)[0xb78c340b]
/usr/lib/libglib-2.0.so.0(g_free+0x34)[0xb77bf9e4]
./rolauncher[0x817613d]
./rolauncher[0x8070b53]
./rolauncher[0x8065a7a]
./rolauncher[0x8067ed1]
./rolauncher[0x810074e]
./rolauncher[0x805c55e]
/lib/libc.so.6(__libc_start_main+0xe0)[0xb786a390]
./rolauncher(__gxx_personality_v0+0x3d5)[0x805c391]
4 lines in the errors from the 32-bit version are from a bad Gtk theme, so I suppose Gtk is being initialised. Gtk version is 2.12.2 in 64-bit and 2.12.3 in 32-bit.

I don't suppose OpenGL has anything to do with it at that stage, but I do have OpenGL games working very well in both 32- and 64-bit environments, open source in the 64-bit and closed source (Second Life) in the 32-bit.
Thelfin no ha iniciado sesión   Reply With Quote
Old 02-13-2008, 04:01 PM   #2
_dracus_
Count
 
_dracus_'s Avatar
 
Join Date: Jul 2007
Location: Toulouse
Posts: 1,335
_dracus_ is on a distinguished road
Default

This is a well known bug of the Regnum client. Lots of pointers are free() more than once (which is a bad programming way of doing things). You should try a to use the environnement variable MALLOC_CHECK_ and turn it to 1 before starting RO.

Code:
export MALLOC_CHECK_=0
./rolauncher
__________________
« Thanks all, you are right I'm great with the barbarian ... for killing mobs. » -- Athena Stillwater
_dracus_ no ha iniciado sesión   Reply With Quote
Old 02-13-2008, 10:47 PM   #3
Thelfin
Pledge
 
Join Date: Aug 2007
Posts: 5
Thelfin is on a distinguished road
Default

Ah, thank you, that worked in both environments.
Thelfin no ha iniciado sesión   Reply With Quote
Old 03-12-2008, 11:58 PM   #4
easoukenka
Pledge
 
Join Date: Mar 2008
Posts: 1
easoukenka is on a distinguished road
Default thanks

Had to run it a couple times but it worked!
easoukenka no ha iniciado sesión   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:16 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
NGD Studios 2002-2024 © All rights reserved