Author Topic: New Updater doesn't work  (Read 1476 times)

peeg

  • Testers
  • Hydlaa Notable
  • *
  • Posts: 560
    • View Profile
New Updater doesn't work
« on: February 25, 2006, 05:58:40 pm »
Greetings!
I\'v reinstalled PS using the 0.13-full-package and have no problems to play on Laanx, seeing all the new eyecandy.
I have some strange graphic bugs ( I can see through Klyros, diappearing trees on ojaroad .. ) and thought it would be a good idea to run the new updater.
That doesn\'t work.  
Here\'s my shell output:
Code: [Select]

peg@Caldera:/mnt/hdb1/games/planeshift$ ./updater --auto
Critical files () not found (Server only)
NOTIFY: psUpdaterEngine initialized.
Checking registry version...
Server error 404 (http://psmirror.u24.solone.net/psupdater/version.dat)
Couldn\'t connect to mirror mir4!
Trying mirror mir1..
Server error 301 (http://psmirror.pfdev.net/psupdater/version.dat)
Bad version info in file: /this/updatertemp/mir1.dat
*** glibc detected *** free(): invalid pointer: 0x085b7f74 ***
Aborted

Any ideas?
[ PSde ] - Join the german community!
Peeg Chaoswind - Mentor in The Rangers Of Yliakum

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
(No subject)
« Reply #1 on: February 25, 2006, 06:03:40 pm »
It\'s a known problem, for all platforms. We hope to fix it soon.

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
(No subject)
« Reply #2 on: February 25, 2006, 06:05:55 pm »
The update servers have been updated, and should work now.  There seems to be another problem here.

Edited to add:
We found the problem.  It\'s fixed in CVS right now (though, may not be on annon yet) and will be put in the next package.
« Last Edit: February 25, 2006, 11:06:17 pm by DaveG »

::  PlaneShift Team Programmer  ::

StarsAndBars_1018

  • Hydlaa Resident
  • *
  • Posts: 161
  • Husky says *bark*
    • View Profile
(No subject)
« Reply #3 on: March 26, 2006, 11:09:45 pm »
I\'m having that problem at the moment too. So, its good that its been fixed. :)

PS @Xordan: I like the signature banner.
« Last Edit: March 26, 2006, 11:11:14 pm by StarsAndBars_1018 »
#43: Choose and judge your leaders, also called guardians, thus: Those who seek always to limit the power of government are of good heart and conscience. Those who seek to expand the power of government are base tyrants.

Monteaup

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #4 on: March 27, 2006, 12:24:17 pm »
Same to me. I can\'t update...

Monteaup

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #5 on: March 27, 2006, 12:27:46 pm »
There is already a Post about it.

As root...

export MALLOC_CHECK_=0


then it works !

rakshak

  • Hydlaa Resident
  • *
  • Posts: 74
    • View Profile
    • How to host websites on any computer
No, updater doesn't work
« Reply #6 on: March 30, 2006, 12:08:43 am »
I used the export command in the above post as root. Here is the result:

akumar@rakshak:~/planeshift$ ./updater
Opening GLX2D
Creating Context
Video driver GL/X version (direct renderer)
Visual ID: 0x00000023, 16bit TrueColor
R5:G6:B5:A0,
level 0, double buffered
NOTIFY: Applied: Mesa DRI: Force upload of precompressed DXT textures
NOTIFY: OpenGL renderer: Mesa DRI Intel(R) 915GM 20050225 (vendor: Tungsten Graphics, Inc) version 1.3 Mesa 6.4.1
NOTIFY: Using windowed mode at resolution 640x480.
NOTIFY: Pixel format: Color: 16 Alpha: 0 Depth: 16 Stencil: 0 AccumColor: 0 AccumAlpha: 0 MultiSamples: 0
WARNING! Crystal Space performs better in 24 or 32 bit display mode!
NOTIFY: Multisample: disabled
Critical files () not found (Server only)
Mounting skin: /planeshift/art/apps.zip
Skipping \'YesNo\' because it\'s already loaded
NOTIFY: psUpdaterEngine initialized.
Server error 301 (http://psmirror.pfdev.net/psupdater/version.dat)
*** glibc detected *** free(): invalid pointer: 0x7220282c ***
Aborted


So the problem still remains!!!
(I am using Ubuntu Dapper on Dell Inspiron 6000 without ATI or nVidia

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
(No subject)
« Reply #7 on: March 30, 2006, 09:03:14 am »
try



export MALLOC_CHECK_=0 && ./updater -auto

Wanchu

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
(No subject)
« Reply #8 on: March 30, 2006, 06:10:29 pm »
It does work for me if I do this in a console:

export MALLOC_CHECK_=0

/updater -auto

You MUST run the updater in the same console where you did that export, because when you close the console, that variable is lost. You have to do that export every time you want to run the updater in a console. I would do the -auto thing, in order to avoid problems with the graphical interface.

I have only tried as a normal user, NOT as root.

I hope this helps.

P.D.- I also have to do that export before I run PlaneShift client on any console (and I must do the export ON THE SAME console I want to run the PlaneShift client on).
« Last Edit: March 30, 2006, 07:14:17 pm by Wanchu »

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
(No subject)
« Reply #9 on: March 30, 2006, 10:38:10 pm »
I have little scripts that I run to start planeshift anyways - they set environment variables, and a few other little things - I like to renice it to +19 as I consistantly get an extra 5 fps out of that.  So I just added the export MALLOC_CHECK_=0 to each script.  That way it is taken care of.

Wanchu

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
(No subject)
« Reply #10 on: April 12, 2006, 09:38:45 am »
With the temporary solution for the 0.3.014 written by Bereror ( http://planeshift.oodlz.com/wbboard/thread.php?threadid=22947&boardid=41&styleid=3&sid=e3f21623fc9c26d5939932b139aa137a ) there is no need to do the \"export MALLOC_CHECK_=0\".

In the #planeshift-build channel in IRC they have told me that the \"export MALLOC_CHECK_=0\" will not be needed in the final version of the 0.3.014 .

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
(No subject)
« Reply #11 on: April 12, 2006, 10:16:31 am »
It\'s not even needed if you built 0.3.013 from the 6th of March.

::  PlaneShift Team Programmer  ::

Wanchu

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
(No subject)
« Reply #12 on: April 13, 2006, 03:47:03 am »
Could someone explain what is the effect of exporting that variable with that value? I am a newbie in Linux and would thank to learn a little. Just answer this if you have free time and feel like answering, its not needed to make my game work :)

Thank you

Bereror

  • Hydlaa Notable
  • *
  • Posts: 773
    • View Profile
    • Planeshift API
(No subject)
« Reply #13 on: April 13, 2006, 04:13:04 am »
Here is the long description how and why the MALLOC_CHECK_ variable is used:

Heap Consistency Checking

It is used to detect memory allocation errors. Like in the following simple example:
Code: [Select]

int main(void)
{
  char *buf;

  /* Allocate memory */
  buf = malloc(100);

  /* Release memory */
  free(buf);

  /* Did I release memory? Ok, release it once more */
  free(buf);

  return 0;
}


The second free() is actually invalid, but with MALLOC_CHECK_=0 it would be silently ignored.
PlaneShift Sources
PlaneShift API
"Words never spoken
Are the strongest resounding"