G33X Nexus Entertainment > Bug Reports

Cant get current precursors to run

<< < (2/2)

Recon:
well I give up, cant get it to run after many many rebuilds of everthing. I will give it another try after CSv1 is released.

versions
CS    :26113
CEL   :2505
CEGUI :1462
PRE   :1084


--- Code: ---(gdb) run
Starting program: /home/mec/development/precursors/precursors
[Thread debugging using libthread_db enabled]
[New Thread -1213892928 (LWP 28318)]
preClient version 0.3.4 Build 1084 by G33X Nexus Entertainment.
created PreClient
Start PreClient
WARNING: could not load plugin 'crystalspace.sound.render.software'
WARNING: could not load plugin 'crystalspace.sound.loader.multiplexer'
WARNING: could not load plugin 'crystalspace.modelconverter.multiplexer'
WARNING: could not load plugin 'crystalspace.mesh.crossbuilder'
 end preclient
Star preClient::Application ()

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

crystalspace.canvas.openglcommon.driverdb:
  Applied: Broken ATI point sprites (NV)

crystalspace.canvas.openglcommon:
  OpenGL renderer: GeForce 6600 LE/AGP/SSE2 (vendor: NVIDIA Corporation)
  version 2.0.2 NVIDIA 87.62
  Using windowed mode at resolution 1024x768.
  Pixel format: Color: 24 Alpha: 8 Depth: 24 Stencil: 8 AccumColor: 48
  AccumAlpha: 16 MultiSamples: 0
  Multisample: disabled

gne.Precursors:
  Joystick support enabled. Loading joystick plugin.

crystalspace.device.joystick.linux:
  No operable joystick found


crystalspace.pluginmgr.loadplugin:
  failed to initialize plugin 'crystalspace.device.joystick.linux'

gne.Precursors:
  Attempt to load plugin 'crystalspace.device.joystick.linux' failed
End plugins preClient::Application ()
Start blcpp preClient::Application ()
start BehaviorLaver
end construct BehaviorLaver
End blcpp preClient::Application ()
Start Content loader preClient::Application ()
end init content manager
contentManager->LoadDefaults ();
                cegui->Initialize ();
Assertion failed: *(CookieType*)p == startCookie
Location:         libs/csutil/ptmalloc_wrap.cpp:127
Message:          Memory block has wrong cookie (was probably allocated in another module)
Call stack:
/home/mec/development/CS/gl3d.so [0xb771c47b]
/home/mec/development/CS/gl3d.so [0xb772e120]
/home/mec/development/CS/gl3d.so [0xb772e184]
/home/mec/development/CS/gl3d.so [0xb772e1fb]
/home/mec/development/CS/gl3d.so [0xb772e21f]
/home/mec/development/CS/gl3d.so [0xb772e3c3]
/home/mec/development/CS/gl3d.so [0xb7723b00]
/home/mec/development/CS/cegui.so [0xb634ed5a]
/home/mec/development/precursors/precursors(Precursors::preClient::Application()+0x1530) [0x80994e4]
/home/mec/development/precursors/precursors [0x80ac69c]
/home/mec/development/precursors/precursors [0x80ac86e]
/home/mec/development/precursors/precursors(csApplicationRunner<Precursors::preClient>::Run(int, char**)+0x34) [0x8095a28]
/home/mec/development/precursors/precursors(main+0x5d) [0x80953d5]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd2) [0xb7b18ea2]
/home/mec/development/precursors/precursors(__gxx_personality_v0+0x71) [0x80952f9]

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread -1213892928 (LWP 28318)]
CS::Debug::AssertMessage (expr=0xb77bc754 "*(CookieType*)p == startCookie",
    filename=0xb77bc735 "libs/csutil/ptmalloc_wrap.cpp", line=127,
    msg=0xb77bc6ec "Memory block has wrong cookie (was probably allocated in another module)")
    at libs/csutil/csassert.cpp:75
75          }
(gdb) bt
#0  CS::Debug::AssertMessage (expr=0xb77bc754 "*(CookieType*)p == startCookie",
    filename=0xb77bc735 "libs/csutil/ptmalloc_wrap.cpp", line=127,
    msg=0xb77bc6ec "Memory block has wrong cookie (was probably allocated in another module)")
    at libs/csutil/csassert.cpp:75
#1  0xb776803b in ptrealloc (P=0x822c060, n=140070240) at libs/csutil/ptmalloc_wrap.cpp:125
#2  0xb771c47b in CS::Memory::AllocatorMalloc::Realloc (this=0xbfaa9cd4, p=0x822c060, newSize=140070240)
    at cssysdef.h:665
#3  0xb772e120 in csArrayElementHandler<csGLSuperLightmap*>::ResizeRegion<CS::Memory::AllocatorPointerWrapper<csGLSuperLightmap*, CS::Memory::AllocatorMalloc> > (alloc=@0xbfaa9cd4, mem=0x822c060,
    relevantcount=3215629928, oldcount=3215629788, newcount=3256243032) at array.h:136
#4  0xb772e184 in csArray<csGLSuperLightmap*, csArrayElementHandler<csGLSuperLightmap*>, CS::Memory::AllocatorMalloc, csArrayCapacityDefault>::InternalSetCapacity (this=0xbfaa9cc8, n=3256243032) at array.h:410
#5  0xb772e1fb in csArray<csGLSuperLightmap*, csArrayElementHandler<csGLSuperLightmap*>, CS::Memory::AllocatorMalloc, csArrayCapacityDefault>::AdjustCapacity (this=0xbfaa9cc8, n=3215629929) at array.h:423
#6  0xb772e21f in csArray<csGLSuperLightmap*, csArrayElementHandler<csGLSuperLightmap*>, CS::Memory::AllocatorMalloc, csArrayCapacityDefault>::SetSizeUnsafe (this=0xbfaa9cc8, n=3215629929) at array.h:436
#7  0xb772e3c3 in csArray<csGLSuperLightmap*, csArrayElementHandler<csGLSuperLightmap*>, CS::Memory::AllocatorMalloc, csArrayCapacityDefault>::Push (this=0xbfaa9cc8, what=@0xbfaa9b5c) at array.h:710
#8  0xb7723b00 in csGLTextureManager::CreateSuperLightmap (this=0xbfaa9bb4, w=-1079338044, h=-1079338048)
    at plugins/video/render3d/opengl/gl_txtmgr.cpp:1435
#9  0xb634ed5a in csCEGUIRenderer::Initialize (this=0xb62eb010, script=0x0)
    at plugins/gui/cegui/ceguirenderer.cpp:60
#10 0x080994e4 in Precursors::preClient::Application (this=0xbfaaa810) at src/Client/preClient.cpp:436
#11 0x080ac69c in csApplicationFramework::Start () at libs/cstool/csapplicationframework.cpp:71
#12 0x080ac86e in csApplicationFramework::Main (this=0xbfaaa810, argc=1, argv=0xbfaaa984)
    at libs/cstool/csapplicationframework.cpp:131
#13 0x08095a28 in csApplicationRunner<Precursors::preClient>::Run (argc=1, argv=0xbfaaa984)
    at csapplicationframework.h:441
#14 0x080953d5 in main (argc=1, argv=0xbfaaa984) at src/Client/main.cpp:55
(gdb)

--- End code ---



Morgul:
the memory block issue means you haven't disabled ptmalloc with the command: --disable-ptmalloc.

Navigation

[0] Message Index

[*] Previous page

Go to full version