PDA

View Full Version : rolauncher >>> invalid pointer


prodigy-sidux
11-10-2007, 01:58 PM
Hi,
I heard only good stuff about this game and wanted to give it a go.
I downloaded the launcher, run it and got this error.
Can someone tell me what is wrong ?
prodigy@sidux-pc:~/Regnum$ chmod +x rolauncher
prodigy@sidux-pc:~/Regnum$ ./rolauncher
*** glibc detected *** ./rolauncher: free(): invalid pointer: 0x0855a440 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7850e25]
/lib/libc.so.6(cfree+0x90)[0xb78548f0]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb777c9a1]
./rolauncher[0x817613d]
./rolauncher[0x8070b53]
./rolauncher[0x8065a7a]
./rolauncher[0x8067ed1]
./rolauncher[0x810074e]
./rolauncher[0x805c55e]
/lib/libc.so.6(__libc_start_main+0xe0)[0xb77fd050]
./rolauncher(__gxx_personality_v0+0x3d5)[0x805c391]
======= Memory map: ========
08048000-0840e000 r-xp 00000000 08:02 33169 /home/prodigy/Regnum/rolauncher
0840e000-0844b000 rw-p 003c6000 08:02 33169 /home/prodigy/Regnum/rolauncher
0844b000-08561000 rw-p 0844b000 00:00 0 [heap]
b5d00000-b5d21000 rw-p b5d00000 00:00 0
b5d21000-b5e00000 ---p b5d21000 00:00 0
b5e05000-b5e16000 r--p 00000000 08:02 522756 /usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf
b5e16000-b5e18000 r-xp 00000000 08:02 375926 /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b5e18000-b5e19000 rw-p 00001000 08:02 375926 /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b5e19000-b5e1f000 r--s 00000000 08:02 1730618 /var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-x86.cache-2
b5e1f000-b5e3e000 r-xp 00000000 08:02 375362 /usr/lib/gtk-2.0/2.10.0/engines/libqtcurve.so
b5e3e000-b5e3f000 rw-p 0001f000 08:02 375362 /usr/lib/gtk-2.0/2.10.0/engines/libqtcurve.so
b5e3f000-b5e40000 rw-p b5e3f000 00:00 0
b5e40000-b5e49000 r-xp 00000000 08:02 1602286 /lib/libnss_files-2.6.1.so
b5e49000-b5e4b000 rw-p 00008000 08:02 1602286 /lib/libnss_files-2.6.1.so
b5e4b000-b5e53000 r-xp 00000000 08:02 1602288 /lib/libnss_nis-2.6.1.so
b5e53000-b5e55000 rw-p 00007000 08:02 1602288 /lib/libnss_nis-2.6.1.so
b5e55000-b5e69000 r-xp 00000000 08:02 1602283 /lib/libnsl-2.6.1.so
b5e69000-b5e6b000 rw-p 00013000 08:02 1602283 /lib/libnsl-2.6.1.so
b5e6b000-b5e6d000 rw-p b5e6b000 00:00 0
b5e6d000-b5e74000 r-xp 00000000 08:02 1602284 /lib/libnss_compat-2.6.1.so
b5e74000-b5e76000 rw-p 00006000 08:02 1602284 /lib/libnss_compat-2.6.1.so
b5e76000-b5e7c000 r--s 00000000 08:02 1730175 /var/cache/fontconfig/6d41288fd70b0be22e8c3a91e032eec0-x86.cache-2
b5e7c000-b5e7f000 r--s 00000000 08:02 1730507 /var/cache/fontconfig/de156ccd2eddbdc19d37a45b8b2aac9c-x86.cache-2
b5e7f000-b5e86000 r--s 00000000 08:02 1730171 /var/cache/fontconfig/d52a8644073d54c13679302ca1180695-x86.cache-2
b5e86000-b5e87000 ---p b5e86000 00:00 0
b5e87000-b6686000 rwxp b5e87000 00:00 0
b6686000-b66a7000 rw-p b6686000 00:00 0
b66a7000-b66a8000 r-xp 00000000 08:02 262913 /usr/lib/gconv/ISO8859-1.so
b66a8000-b66aa000 rw-p 00000000 08:02 262913 /usr/lib/gconv/ISO8859-1.so
b66aa000-b678a000 r--p 00455000 08:02 343154 /usr/lib/locale/locale-archive
b678a000-b698a000 r--p 00000000 08:02 343154 /usr/lib/locale/locale-archive
b698a000-b69e8000 rw-p b698a000 00:00 0
b69e8000-b6a0a000 r-xp 00000000 08:02 261439 /usr/lib/libpng12.so.0.15.0
b6a0a000-b6a0b000 rw-p 00021000 08:02 261439 /usr/lib/libpng12.so.0.15.0
b6a0b000-b6a76000 r-xp 00000000 08:02 265270 /usr/lib/libfreetype.so.6.3.16
b6a76000-b6a7a000 rw-p 0006a000 08:02 265270 /usr/lib/libfreetype.so.6.3.16
b6a7a000-b6aa6000 r-xp 00000000 08:02 266705 /usr/lib/libpangoft2-1.0.so.0.1800.3
b6aa6000-b6aa7000 rw-p 0002c000 08:02 266705 /usr/lib/libpangoft2-1.0.so.0.1800.3
b6aa7000-b6aab000 r-xp 00000000 08:02 265083 /usr/lib/libXdmcp.so.6.0.0
b6aab000-b6aac000 rw-p 00003000 08:02 265083 /usr/lib/libXdmcp.so.6.0.0
b6aac000-b6aad000 rw-p b6aac000 00:00 0
b6aad000-b6ad2000 r-xp 00000000 08:02 263969 /usr/lib/libpcre.so.3.12.1
b6ad2000-b6ad3000 rw-p 00025000 08:02 263969 /usr/lib/libpcre.so.3.12.1
b6ad3000-b6ae7000 r-xp 00000000 08:02 261123 /usr/lib/libICE.so.6.3.0
b6ae7000-b6ae8000 rw-p 00014000 08:02 261123 /usr/lib/libICE.so.6.3.0
b6ae8000-b6aea000 rw-p b6ae8000 00:00 0
b6aea000-b6aec000 r-xp 00000000 08:02 265078 /usr/lib/libXau.so.6.0.0
b6aec000-b6aed000 rw-p 00001000 08:02 265078 /usr/lib/libXau.so.6.0.0
b6aed000-b6aee000 r-xp 00000000 08:02 701864 /usr/lib/nvidia/libnvidia-tls.so.100.14.19
b6aee000-b6aef000 rw-p 00000000 08:02 701864 /usr/lib/nvidia/libnvidia-tls.so.100.14.19
b6aef000-b744b000 r-xp 00000000 08:02 266665 /usr/lib/libGLcore.so.100.14.19
b744b000-b7483000 rwxp 0095c000 08:02 266665 /usr/lib/libGLcore.so.100.14.19
b7483000-b7487000 rwxp b7483000 00:00 0
b7487000-b7488000 rw-p b7487000 00:00 0
b7488000-b7490000 r-xp 00000000 08:02 263067 /usr/lib/libXcursor.so.1.0.2
b7490000-b7491000 rw-p 00007000 08:02 263067 /usr/lib/libXcursor.so.1.0.2
b7491000-b7496000 r-xp 00000000 08:02 263060 /usr/lib/libXrandr.so.2.1.0
b7496000-b7497000 rw-p 00005000 08:02 263060 /usr/lib/libXrandr.so.2.1.0
b7497000-b749e000 r-xp 00000000 08:02 263053 /usr/lib/libXi.so.6.0.0
b749e000-b749f000 rw-p 00006000 08:02 263053 /usr/lib/libXi.so.6.0.0
b749f000-b74a6000 r-xp 00000000 08:02 263366 /usr/lib/libXrender.so.1.3.0
b74a6000-b74a7000 rw-p 00007000 08:02 263366 /usr/lib/libXrender.so.1.3.0
b74a7000-b74cf000 r-xp 00000000 08:02 263301 /usr/lib/libfontconfig.so.1.2.0
b74cf000-b74d0000 rw-p 00028000 08:02 263301 /usr/lib/libfontconfig.so.1.2.0
b74d0000-b74d1000 rw-p b74d0000 00:00 0
b74d1000-b7545000 r-xp 00000000 08:02 265208 /usr/lib/libcairo.so.2.11.5
b7545000-b7547000 rw-p 00073000 08:02 265208 /usr/lib/libcairo.so.2.11.5
b7547000-b754a000 r-xp 00000000 08:02 266698 /usr/lib/libgmodule-2.0.so.0.1400.2
b754a000-b754b000 rw-p 00002000 08:02 266698 /usr/lib/libgmodule-2.0.so.0.1400.2
b754b000-b7564000 r-xp 00000000 08:02 263626 /usr/lib/libatk-1.0.so.0.2009.1
b7564000-b7566000 rw-p 00018000 08:02 263626 /usr/lib/libatk-1.0.so.0.2009.1
b7566000-b756a000 r-xp 00000000 08:02 265085 /usr/lib/libXfixes.so.3.1.0
b756a000-b756b000 rw-p 00003000 08:02 265085 /usr/lib/libXfixes.so.3.1.0
b756b000-b756d000 r-xp 00000000 08:02 265082 /usr/lib/libXdamage.so.1.1.0
b756d000-b756e000 rw-p 00001000 08:02 265082 /usr/lib/libXdamage.so.1.1.0
b756e000-b7570000 r-xp 00000000 08:02 265080 /usr/lib/libXcomposite.so.1.0.0
b7570000-b7571000 rw-p 00001000 08:02 265080 /usr/lib/libXcomposite.so.1.0.0
b7571000-b7572000 rw-p b7571000 00:00 0
b7572000-b757a000 r-xp 00000000 08:02 266704 /usr/lib/libpangocairo-1.0.so.0.1800.3
b757a000-b757b000 rw-p 00007000 08:02 266704 /usr/lib/libpangocairo-1.0.so.0.1800.3
b757b000-b7582000 r-xp 00000000 08:02 1602293 /lib/librt-2.6.1.so
b7582000-b7584000 rw-p 00006000 08:02 1602293 /lib/librt-2.6.1.so
b7584000-b75a2000 r-xp 00000000 08:02 265256 /usr/lib/libexpat.so.1.0.0
b75a2000-b75a4000 rw-p 0001d000 08:02 265256 /usr/lib/libexpat.so.1.0.0
b75a4000-b75b8000 r-xp 00000000 08:02 262209 /usr/lib/libz.so.1.2.3.3
b75b8000-b75b9000 rw-p 00013000 08:02 262209 /usr/lib/libz.so.1.2.3.3
b75b9000-b75c0000 r-xp 00000000 08:02 265074 /usr/lib/libSM.so.6.0.0
b75c0000-b75c1000 rw-p 00006000 08:02 265074 /usr/lib/libSM.so.6.0.0
b75c1000-b75c3000 r-xp 00000000 08:02 265089 /usr/lib/libXinerama.so.1.0.0
b75c3000-b75c4000 rw-p 00001000 08:02 265089 /usr/lib/libXinerama.so.1.0.0
b75c4000-b75c5000 rw-p b75c4000 00:00 0
b75c5000-b75c7000 r-xp 00000000 08:02 1602280 /lib/libdl-2.6.1.so
b75c7000-b75c9000 rw-p 00001000 08:02 1602280 /lib/libdl-2.6.1.so
b75c9000-b7604000 r-xp 00000000 08:02 263378 /usr/lib/libgobject-2.0.so.0.1400.2
b7604000-b7605000 rw-p 0003a000 08:02 263378 /usr/lib/libgobject-2.0.so.0.1400.2
b7605000-b76ed000 r-xp 00000000 08:02 265076 /usr/lib/libX11.so.6.2.0
b76ed000-b76f1000 rw-p 000e8000 08:02 265076 /usr/lib/libX11.so.6.2.0
b76f1000-b772c000 r-xp 00000000 08:02 262081 /usr/lib/libpango-1.0.so.0.1800.3
b772c000-b772e000 rw-p 0003b000 08:02 262081 /usr/lib/libpango-1.0.so.0.1800.3
b772e000-b7745000 r-xp 00000000 08:02 264201 /usr/lib/libgdk_pixbuf-2.0.so.0.1200.1
b7745000-b7746000 rw-p 00016000 08:02 264201 /usr/lib/libgdk_pixbuf-2.0.so.0.1200.1
b7746000-b77e5000 r-xp 00000000 08:02 266697 /usr/lib/libglib-2.0.so.0.1400.2
b77e5000-b77e6000 rw-p 0009e000 08:02 266697 /usr/lib/libglib-2.0.so.0.1400.2
b77e6000-b77e7000 rw-p b77e6000 00:00 0
b77e7000-b7929000 r-xp 00000000 08:02 1602277 /lib/libc-2.6.1.so
b7929000-b792a000 r--p 00142000 08:02 1602277 /lib/libc-2.6.1.so
b792a000-b792c000 rw-p 00143000 08:02 1602277 /lib/libc-2.6.1.so
b792c000-b792f000 rw-p b792c000 00:00 0
b792f000-b7939000 r-xp 00000000 08:02 1599398 /lib/libgcc_s.so.1
b7939000-b793a000 rw-p 00009000 08:02 1599398 /lib/libgcc_s.so.1
b793a000-b795e000 r-xp 00000000 08:02 1602281 /lib/libm-2.6.1.so
b795e000-b7960000 rw-p 00023000 08:02 1602281 /lib/libm-2.6.1.so
b7960000-b7a40000 r-xp 00000000 08:02 261581 /usr/lib/libstdc++.so.6.0.9
b7a40000-b7a43000 r--p 000e0000 08:02 261581 /usr/lib/libstdc++.so.6.0.9
b7a43000-b7a45000 rw-p 000e3000 08:02 261581 /usr/lib/libstdc++.so.6.0.9
b7a45000-b7a4b000 rw-p b7a45000 00:00 0
b7a4b000-b7a97000 r-xp 00000000 08:02 265097 /usr/lib/libXt.so.6.0.0
b7a97000-b7a9a000 rw-p 0004c000 08:02 265097 /usr/lib/libXt.so.6.0.0
b7a9a000-b7a9b000 rw-p b7a9a000 00:00 0
b7a9b000-b7aa8000 r-xp 00000000 08:02 265084 /usr/lib/libXext.so.6.4.0
b7aa8000-b7aa9000 rw-p 0000c000 08:02 265084 /usr/lib/libXext.so.6.4.0
b7aa9000-b7aaa000 rw-p b7aa9000 00:00 0
b7aaa000-b7aae000 r-xp 00000000 08:02 265104 /usr/lib/libXxf86vm.so.1.0.0
b7aae000-b7aaf000 rw-p 00003000 08:02 265104 /usr/lib/libXxf86vm.so.1.0.0
b7aaf000-b7b29000 r-xp 00000000 08:02 266664 /usr/lib/libGL.so.100.14.19
b7b29000-b7b44000 rwxp 00079000 08:02 266664 /usr/lib/libGL.so.100.14.19
b7b44000-b7b45000 rwxp b7b44000 00:00 0
b7b45000-b7bc6000 r-xp 00000000 08:02 265623 /usr/lib/libgdk-x11-2.0.so.0.1200.1
b7bc6000-b7bc9000 rw-p 00080000 08:02 265623 /usr/lib/libgdk-x11-2.0.so.0.1200.1
b7bc9000-b7f36000 r-xp 00000000 08:02 265621 /usr/lib/libgtk-x11-2.0.so.0.1200.1
b7f36000-b7f3c000 rw-p 0036d000 08:02 265621 /usr/lib/libgtk-x11-2.0.so.0.1200.1
b7f3c000-b7f3d000 rw-p b7f3c000 00:00 0
b7f3d000-b7f40000 r-xp 00000000 08:02 266696 /usr/lib/libgthread-2.0.so.0.1400.2
b7f40000-b7f41000 rw-p 00003000 08:02 266696 /usr/lib/libgthread-2.0.so.0.1400.2
b7f41000-b7f54000 r-xp 00000000 08:02 1602291 /lib/libpthread-2.6.1.so
b7f54000-b7f56000 rw-p 00012000 08:02 1602291 /lib/libpthread-2.6.1.so
b7f56000-b7f59000 rw-p b7f56000 00:00 0
b7f5a000-b7f5b000 r--s 00000000 08:02 1730173 /var/cache/fontconfig/4794a0821666d79190d59a36cb4f44b5-x86.cache-2
b7f5b000-b7f5d000 r-xp 00000000 08:02 264534 /usr/lib/gconv/UTF-32.so
b7f5d000-b7f5f000 rw-p 00001000 08:02 264534 /usr/lib/gconv/UTF-32.so
b7f5f000-b7f66000 r--s 00000000 08:02 261362 /usr/lib/gconv/gconv-modules.cache
b7f66000-b7f67000 r--p 0053b000 08:02 343154 /usr/lib/locale/locale-archive
b7f67000-b7f69000 rwxp 00000000 00:0e 2956 /dev/zero
b7f69000-b7f6a000 rw-p b7f69000 00:00 0
b7f6a000-b7f6b000 r-xp b7f6a000 00:00 0 [vdso]
b7f6b000-b7f87000 r-xp 00000000 08:02 1599638 /lib/ld-2.6.1.so
b7f87000-b7f89000 rw-p 0001b000 08:02 1599638 /lib/ld-2.6.1.so
bf8c8000-bf8dc000 rwxp bf8c8000 00:00 0 [stack]
bf8dc000-bf8de000 rw-p bf8dc000 00:00 0
Aborted
prodigy@sidux-pc:~/Regnum$



:ohill:

prodigy-sidux
11-10-2007, 02:02 PM
............:angel1: ...........

arlick
11-10-2007, 02:03 PM
You have 32 or 64 bits distro? and which client do u download?

prodigy-sidux
11-10-2007, 02:05 PM
Debian Sid (sidux)
32bit

prodigy-sidux
11-10-2007, 02:07 PM
i took the game client from the sticky post "(Un)Official Linux. ... "

magnet
11-10-2007, 03:17 PM
Have you tried:

MALLOC_CHECK_=0 ./rolauncher

to launch the game? This is because of a change in the GNU libc Sid & Gutsy have.

(PS: playing Regnum using Sid will certainly be often problematic)

prodigy-sidux
11-11-2007, 01:11 PM
Thank you !!
That helped !!
:metal:
C U in game :D

Inkpot
11-12-2007, 07:53 PM
I have the exact same problem with Ubuntu Gutsy 32 bit...but I don't understand your solution. I'm a newbie....please be gentle. :P


Inkpot

arlick
11-12-2007, 07:58 PM
I have the exact same problem with Ubuntu Gutsy 32 bit...but I don't understand your solution. I'm a newbie....please be gentle. :P


Inkpot

First are u using kde or gnome?

I suppose gnome.

alt+f2 (or search the program named xterm) and type this:

cd route_to_ro_launcher_folder

route_to_ro_launcher_folder means: /home/your_user_name/Regnum/

if u named the folder Regnum and it is in the home folder.

Then type:

MALLOC_CHECK_=0 ./rolauncher

Ofcourse the program named rolauncher must be in the directory

Myxir
11-12-2007, 09:43 PM
What exactly is the effect of malloc_check?
I heard that it should prevent checking some libs......

Inkpot
11-13-2007, 05:31 AM
First are u using kde or gnome?

I suppose gnome.

alt+f2 (or search the program named xterm) and type this:

cd route_to_ro_launcher_folder

route_to_ro_launcher_folder means: /home/your_user_name/Regnum/

if u named the folder Regnum and it is in the home folder.

Then type:

MALLOC_CHECK_=0 ./rolauncher

Ofcourse the program named rolauncher must be in the directory


Thanks so much! This did the trick!! Now if I could just get it to download the resources faster than 30kb/sec..... :)

Inkpot

saxtro
11-14-2007, 12:31 AM
*** glibc detected *** corrupted double-linked list

*** glibc detected *** free(): invalid pointer

this error messages are ignored with the export of malloc check = 0

i found the fix on a forum of neverwinter night

" The newer glibc ebuilds added sanity checks that cause the above 'error'... For example, any application that calls free() two times on the same pointer will automatically crash with these versions of glibc. True that a "double free" is bad practice, but up to now, no implementation of glibc would crash when this happens, the 2nd free would simply do nothing, so a lot of programs are 'crashing' with these new versions of glibc.
This check and its behavior can be modified through an environment variable "MALLOC_CHECK_"... edit the nwn script and add the following before calling nwmain:
export MALLOC_CHECK_=0"

Its value should be one of

* 0 to ignore corruptions
* 1 to print to stderr(3)
* 2 to abort immediately

EmyrB
11-24-2007, 02:05 PM
I followed you guide here and got the game working by issuing the command : -
MALLOC_CHECK_=0 ./rolauncher

How do I create an entry to it so I can lauch the game from my gnome menu. I am using 32bit Gutsy?

Cheers

EmyrB

magnet
11-24-2007, 02:56 PM
I followed you guide here and got the game working by issuing the command : -
MALLOC_CHECK_=0 ./rolauncher

How do I create an entry to it so I can lauch the game from my gnome menu. I am using 32bit Gutsy?

Cheers

EmyrB

1) Create a script containing (where PATH_TO_REGNUM is the path to your game):


#!/bin/bash
export PATH_TO_REGNUM="/somewhere/regnum/is/"

cd $PATH_TO_REGNUM
export MALLOC_CHECK_=0
./rolauncher


And call it "play_regnum.sh" (for instance).

2) Put the script in a location you will remember (and that you won't delete, Regnum folder is an idea, or your local bin directory) and cast the execute spell:

chmod u+x play_regnum.sh

3) Follow this tutorial http://www.ubuntugeek.com/howto-add-entries-in-gnome-menu.html

and use the script as your command. Find a pretty icon and you're all set.

As usual, understanding what you are doing helps. A lot :)

Good luck

sathilda
11-25-2007, 08:46 AM
What exactly is the effect of malloc_check?
I heard that it should prevent checking some libs......

MALLOC_CHECK_ is a debugging environment variable that allows programmers to define how memory allocation behaves, especially in case of error (gcc has a -lmcheck flag that does the same job).

By default, its value is 1, memory structure is dumped in stderr then abort.

EmyrB
11-25-2007, 02:46 PM
Hey Magnet

Many thanks for the helpful pointer :guitar:

NightTwix
12-14-2007, 06:32 PM
Hello Surak or which admin read this

please make this thread sticky until the glibc problem is fixed!

MALLOC_CHECK_=0 ./rolauncher
this helps in almost all cases, but this thread keeps getting buried

STICKY plzzzzzz