Author Topic: Segmentation fault on linux  (Read 648 times)

ElMago

  • Traveller
  • *
  • Posts: 22
    • View Profile
Segmentation fault on linux
« on: January 04, 2005, 05:00:29 pm »
Hi, i made it under linux just like in the guide and when i execute it i got segmentation fault, under GDB i go this:

Starting program: /home/javier/dev/planeshift/psclient
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
crystalspace.maploader: Could not get model converter
crystalspace.maploader: Could not get model crossbuilder

crystalspace.canvas.glx2d:
  Opening GLX2D
  Creating Context
  Video driver GL/X version (direct renderer)
  Visual ID: 21, 24bit TrueColor
  R8:G8:B8:A0,
  level 0, double buffered

crystalspace.canvas.openglcommon.driverdb:
  Applied: GeForce setting: Texture Compression

crystalspace.canvas.openglcommon:
  OpenGL renderer: GeForce4 MX 440/AGP/3DNOW! (vendor: NVIDIA Corporation)
  version 1.5.1 NVIDIA 61.11
  Using windowed mode at resolution 800x600.
  Pixel format: Color: 24 Alpha: 0 Depth: 24 Stencil: 8 AccumColor: 24
  AccumAlpha: 0 MultiSamples: 0

crystalspace.sound.openal:
  SoundRender OpenAL selected

Program received signal SIG32, Real-time event 32.
0xb7f879d4 in pthread_create () from /lib/libpthread.so.0
(gdb) cont
Continuing.

Program received signal SIG32, Real-time event 32.
0xb7f879d4 in pthread_create () from /lib/libpthread.so.0
(gdb) cont
Continuing.

planeshift.application.client:
  PlaneShift Crystal Blue
  This game uses Crystal Space Engine created by Jorrit and others
  0.99 r0 [Unix-x86-GCC]
LOG_ANY flag deactivated.
LOG_WEATHER flag deactivated.
LOG_SPAWN flag deactivated.
LOG_CELPERSIST flag deactivated.
LOG_PAWS flag deactivated.
LOG_GROUP flag deactivated.
LOG_CHEAT flag deactivated.
LOG_LINMOVE flag deactivated.
LOG_SPELLS flag deactivated.
LOG_NEWCHAR flag deactivated.
LOG_SUPERCLIENT flag deactivated.
LOG_EXCHANGES flag deactivated.
LOG_ADMIN flag deactivated.
LOG_STARTUP flag deactivated.
LOG_CHARACTER flag deactivated.
LOG_CONNECTIONS flag deactivated.
LOG_CHAT flag deactivated.
LOG_NET flag deactivated.
LOG_LOAD flag deactivated.
LOG_NPC flag deactivated.
LOG_TRADE flag deactivated.
LOG_SOUND flag deactivated.
LOG_COMBAT flag deactivated.
LOG_SKILLXP flag deactivated.
LOG_QUESTS flag deactivated.
  psEngine initialized.
Creating psnetconnection 853fe18!

Program received signal SIGSEGV, Segmentation fault.
0xb1ab8336 in ?? ()
(gdb) bt
#0  0xb1ab8336 in ?? ()
#1  0x0806cfd4 in ?? ()
#2  0xbfffed00 in ?? ()
#3  0xb7ff7330 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#4  0xb7d5e880 in __libc_start_main () from /lib/libc.so.6
#5  0x080af5e1 in _start ()
(gdb)  

I compile it with --enable-debug. The most weired thing is that sometimes i  doesn\'t get the segmentation fault, but it just doesnt load the program.