Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Thu Mar 28, 2024 8:39 am

All times are UTC




Post new topic Reply to topic  [ 14 posts ] 
Author Message
PostPosted: Mon Aug 25, 2008 1:11 pm 
Offline

Joined: Mon Aug 25, 2008 1:08 pm
Posts: 67
il y a un bug avec la rev 708, a chaque data reçu, il segfault ce qui veut dire qu'on doit recompiler le logiciel autant de fois qu'il y a des textures, musiques ect a telecharger :shock:

config uubntu 8.04 sur core2duo en wireless


sinon, GG le come-back après deux ans :)

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 25, 2008 1:57 pm 
Offline

Joined: Tue Jul 08, 2008 2:37 am
Posts: 181
Hi nostalgeek,

can you please get revision 707 and try the progress again, so we can be sure that this behavior is not since the changes from the Mac OS X patch were applied?
Code:
svn up -r 707


Do you have the ability to post the output here?
What library versions did you use?
Any clue what exactly goes wrong or rather what section is broken?

Thank you very much.

Best regards,
st


Last edited by st on Wed Feb 15, 2012 6:46 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 25, 2008 3:47 pm 
Offline

Joined: Mon Aug 25, 2008 1:08 pm
Posts: 67
oops, i have the 707

jason@mello:~/Desktop/Raydium$ svn up -r 707
At revision 707.

my librairies:

GLU: version 1:7.3+10ubuntu

OpenAL: version 1:0.0.8-7

OGG/Vorbis: libvorbis : 1.2.0.dfsg-2
libogg : 1.1.3-3ubuntu1

libjpeg:62 6b-14

libglew: 1.5.0dfsg1-3ubuntu1

libxml2: 2.6.31.dfsg-2ubuntu1

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 25, 2008 5:24 pm 
Offline

Joined: Tue Jan 08, 2008 3:10 pm
Posts: 10
I'm also using Ubuntu 8.04 and experiencing a seg fault.
It almost always happens after retrieving something from the repository.
If I keep trying everything eventually downloads and things work.

Code:
./odyncomp.sh train.c
Raydium: Using repositories to get 'rail_world_full.tri' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Object: loading "rail_world_full.tri", version 1
Segmentation fault


gdb output:

Code:
Raydium: Object: loading "rail_world_full.tri", version 1
Raydium: Using repositories to get 'detail.tga' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: Texture num 1 (detail.tga) loaded: 256x256, 3 Bpp (b0 lm0 hdr0 f0)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5b256f0 (LWP 30993)]
_zend_mm_alloc_int (heap=0x8112db8, size=28) at /home/user/raydium-2008-08-25/raydium/php/Zend/zend_alloc.c:1770
1770                            heap->cache[index] = best_fit->prev_free_block;


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 25, 2008 7:45 pm 
Offline

Joined: Mon Aug 25, 2008 1:08 pm
Posts: 67
what is your version of raydium?

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 25, 2008 9:44 pm 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
I'm trying to help someone with the same problem. He also has ubuntu 8.04.
But myself use also ubuntu 8.04 and I don't have that problem....


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 25, 2008 11:16 pm 
Offline

Joined: Mon Aug 25, 2008 1:08 pm
Posts: 67
i dont think is my computer, he is new (17 august :) )


ah, Xfennec? ton systeme pour le multitouch, il est llibre? (le multitouch et tout ce monde m'interese en ce mpoment) :D

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 26, 2008 10:36 am 
Offline

Joined: Tue Jul 08, 2008 2:37 am
Posts: 181
Tabasco wrote:
Code:
_zend_mm_alloc_int (heap=0x8112db8, size=28) at /home/user/raydium-2008-08-25/raydium/php/Zend/zend_alloc.c:1770
1770                            heap->cache[index] = best_fit->prev_free_block;

Apparently we have multiple users with exactly the same operating system distribution version, so I assume all have the same package versions of the libraries. One library could be different on these, the configure script uses the latest snapshot of PHP version 5.2 by default. Perhaps someone with the spoken problem could try the latest stable PHP version 5.2.6, to exclude possible differences.

To do this, please download the php-5.2.6.tar.gz file, move it to raydium/php-latest.tar.gz and try the progress again using:
Code:
./configure --force-php-install


This is only a guess, if the issue still exists, please post a full backtrace using GDB for example.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 26, 2008 11:52 am 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
I didn't have the problem and I also have ubuntu 8.04.
I have try to clean fully the raydium folder and download->configure->make
But everything worked fine...
So I guess is not ODE/PHP problem.

Anyway we can compare our dependancies and so with ldd.
For people with the problem:
    create a test executable with
    Code:
    ./odyncomp.sh test6.c

    Even if it crashed a executable file called "test" has been created
    Check dependancies with:
    Code:
    ldd test

Mines are:
Code:
 ldd test
   linux-gate.so.1 =>  (0xb7f87000)
   libraydium.so.0 => not found
   libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e23000)
   libGL.so.1 => /usr/lib/libGL.so.1 (0xb7d7e000)
   /lib/ld-linux.so.2 (0xb7f88000)
   libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb7269000)
   libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb7267000)
   libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7242000)
   libXext.so.6 => /usr/lib/libXext.so.6 (0xb7234000)
   libX11.so.6 => /usr/lib/libX11.so.6 (0xb714d000)
   libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7148000)
   libXau.so.6 => /usr/lib/libXau.so.6 (0xb7145000)
   libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb7143000)
   libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb712b000)
   libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7126000)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 26, 2008 3:28 pm 
Offline

Joined: Tue Jan 08, 2008 3:10 pm
Posts: 10
Code:
ldd test
        linux-gate.so.1 =>  (0xb7fdd000)
        libraydium.so.0 => ./libraydium.so.0 (0xb70b1000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb6f4a000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0xb6ea5000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb6e22000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6e1f000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb6dfa000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb6dda000)
        libopenal.so.0 => /usr/lib/libopenal.so.0 (0xb6d9f000)
        libalut.so.0 => /usr/lib/libalut.so.0 (0xb6d97000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb6d6f000)
        libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0xb6d67000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0xb6d62000)
        libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0xb6d4f000)
        libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb6d1d000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb6d07000)
        libcurl-gnutls.so.4 => /usr/lib/libcurl-gnutls.so.4 (0xb6ccf000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb6bb0000)
        libGLEW.so.1.5 => /usr/lib/libGLEW.so.1.5 (0xb6b78000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6b6d000)
        /lib/ld-linux.so.2 (0xb7fde000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb6057000)
        libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb6055000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb6047000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb5f60000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb5f5c000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb5e68000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb5e50000)
        libidn.so.11 => /usr/lib/libidn.so.11 (0xb5e1f000)
        libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0xb5ddf000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb5db6000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb5d29000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb5d05000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0xb5d02000)
        libgnutls.so.13 => /usr/lib/libgnutls.so.13 (0xb5c8c000)
        libXmu.so.6 => /usr/lib/libXmu.so.6 (0xb5c76000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb5c6e000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb5c6a000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb5c68000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb5c50000)
        liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0xb5c43000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb5c2c000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb5c23000)
        libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xb5c20000)
        libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb5c10000)
        libgcrypt.so.11 => /lib/libgcrypt.so.11 (0xb5bc3000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0xb5b72000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb5b69000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb5b51000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb5b4c000)
        libgpg-error.so.0 => /lib/libgpg-error.so.0 (0xb5b48000)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 26, 2008 3:54 pm 
Offline

Joined: Tue Jan 08, 2008 3:10 pm
Posts: 10
Using the latest php seems to have solved the problem.
In addition to st's instructions, you need to edit configure.

On line 210 change

Code:
# rename
    php=`ls -dt raydium/php5*`
    echo "   Renaming $php to raydium/php/ ..."
    mv "$php" "raydium/php"


to

Code:
# rename
    php=`ls -dt raydium/php-5*`
    echo "   Renaming $php to raydium/php/ ..."
    mv "$php" "raydium/php"


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 26, 2008 7:19 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
It happens since a few days with latests PHP releases. It's not the first time that a PHP snapshot is not stable, but this time, the trouble may be on our side since it always crash with the current snapshot.

Having a look right now at this.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 26, 2008 7:59 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
All this fixed with commit 709. Thanks for the reports !


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 26, 2008 11:02 pm 
Offline

Joined: Mon Aug 25, 2008 1:08 pm
Posts: 67
je vais tester sa, je donne les resultats :)

EDIT: yep sa marche :)

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 30 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group