|
|
Linux Technical issues under Linux platform |
|
Thread Tools | Display Modes |
02-13-2008, 11:39 AM | #1 |
Pledge
Join Date: Aug 2007
Posts: 5
|
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] 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] 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. |
02-13-2008, 04:01 PM | #2 |
Count
Join Date: Jul 2007
Location: Toulouse
Posts: 1,335
|
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
|
02-13-2008, 10:47 PM | #3 |
Pledge
Join Date: Aug 2007
Posts: 5
|
Ah, thank you, that worked in both environments.
|
03-12-2008, 11:58 PM | #4 |
Pledge
Join Date: Mar 2008
Posts: 1
|
thanks
Had to run it a couple times but it worked!
|
|
|