PlaneShift
Support => Linux Specific Issues => Topic started by: Psibyre on July 17, 2006, 04:17:19 pm
-
For thine reading pleasure.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211083088 (LWP 12393)]
0xb7d6b0de in free () from /lib/libc.so.6
(gdb) bt full
#0 0xb7d6b0de in free () from /lib/libc.so.6
No symbol table info available.
#1 0xb7ee1ee1 in operator delete () from /usr/lib/libstdc++.so.6
No symbol table info available.
#2 0xaa249543 in __gnu_cxx::new_allocator<int>::deallocate (this=0xbf80d53c,
__p=0x98ac040)
at /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../include/c++/4.1.1/ext/new_allocator.h:94
No locals.
#3 0xaa24957d in std::_Vector_base<int, std::allocator<int> >::_M_deallocate (
this=0xbf80d53c, __p=0x98ac040, __n=30)
at /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../include/c++/4.1.1/bits/stl_vector.h:133
No locals.
#4 0xaa249c1c in ~_Vector_base (this=0xbf80d53c)
at /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../include/c++/4.1.1/bits/stl_vector.h:119
No locals.
#5 0xaa249c8e in ~vector (this=0xbf80d53c)
at /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../include/c++/4.1.1/bits/stl_vector.h:272
No locals.
#6 0xaa2861e9 in CalLoader::loadCoreAnimation (dataSrc=@0xbf80d674,
skel=0x9385380) at loader.cpp:556
magic = "CAF"
version = 1000
pCoreAnimation = {m_ptr = 0x980b780}
duration = 3.33333325
trackCount = 30
poses = {<std::_Vector_base<cal3d::Transform,std::allocator<cal3d::Transform> >> = {
_M_impl = {<std::allocator<cal3d::Transform>> = {<__gnu_cxx::new_allocator<cal3d::Transform>> = {<No data fields>}, <No data fields>},
_M_start = 0x98b2018, _M_finish = 0x98c6b80,
_M_end_of_storage = 0x98c6b80}}, <No data fields>}
track_assignments = {<std::_Vector_base<int,std::allocator<int> >> = {
_M_impl = {<std::allocator<int>> = {<__gnu_cxx::new_allocator<int>> = {<No data fields>}, <No data fields>}, _M_start = 0x98ac040, _M_finish = 0x98ac0b8,
_M_end_of_storage = 0x98ac0b8}}, <No data fields>}
track_data = {<std::_Vector_base<std::vector<cal3d::Transform, std::allocator<cal3d::Transform> >,std::allocator<std::vector<cal3d::Transform, std::allocator<cal3d::Transform> > > >> = {
_M_impl = {<std::allocator<std::vector<cal3d::Transform, std::allocator<cal3d::Transform> > >> = {<__gnu_cxx::new_allocator<std::vector<cal3d::Transform, std::allocator<cal3d::Transform> > >> = {<No data fields>}, <No data fields>},
_M_start = 0x9874ba8, _M_finish = 0x9874d10,
_M_end_of_storage = 0x9874d10}}, <No data fields>}
framesRequired = 101
trackId = 30
#7 0xaa286416 in CalLoader::loadCoreAnimation (inputBuffer=0x98779c0,
skel=0x9385380) at loader.cpp:325
bufferSrc = {<CalDataSource> = {_vptr.CalDataSource = 0xaa2ccfa8},
mInputBuffer = 0x98779c0, mOffset = 97216}
#8 0xaa17513f in CS::Plugin::SprCal3d::csSpriteCal3DMeshObjectFactory::LoadCoreAnimation (this=0x98747d8, vfs=0x844e9a4,
filename=0x97b8866 "stonebm_idle_var1.CAF", name=0x97b8886 "idle_var",
type=5, base_vel=0, min_vel=0, max_vel=0, min_interval=0, max_interval=0,
idle_pct=100, lock=false) at plugins/mesh/sprcal3d/object/sprcal3d.cpp:254
anim = {m_ptr = 0x980b780}
path = {<csStringFast<36>> = {<csStringBase> = {
_vptr.csStringBase = 0xaa1c4768,
Data = 0x9874988 "/planeshift/models/stonebm/stonebm_idle_var1.CAF",
Size = 48, MaxSize = 64, GrowBy = 64},
minibuff = "/planeshift/models/stonebm/\000\004\000\000\000\004\000\000",
miniused = 28}, <No data fields>}
file = {obj = 0x96f735c}
#9 0xaa2d6edb in CS::Plugins::SprCal3dLoader::csSpriteCal3DFactoryLoader::Parse (this=0x8dfecf0, node=0x95b41f0, ldr_context=0x92bafc4, context=0x0)
at plugins/mesh/sprcal3d/persist/sprcal3dldr.cpp:293
animID = 0
ctype = {<csStringFast<36>> = {<csStringBase> = {
_vptr.csStringBase = 0xaa2f1f48, Data = 0x0, Size = 6, MaxSize = 0,
GrowBy = 64},
minibuff = "action\000� !�\000\000\000\020|C�P%�!�!��+�",
miniused = 7}, <No data fields>}
min_vel = 0
file = 0x97b8866 "stonebm_idle_var1.CAF"
type = 5
base_vel = 0
max_interval = 0
idle_pct = 100
lock = false
name = 0x97b8886 "idle_var"
max_vel = 0
min_interval = 0
child = {obj = 0x95b4128}
value = 0x97b8856 "animation"
id = 3
plugin_mgr = {obj = 0x84349d4}
type = {obj = 0x8e008e4}
skel_present = true
fact = {obj = 0x9874814}
newspr = {obj = 0x9874818}
it = {obj = 0x95b50e0}
scale = 0
styleReminder = true
#10 0xb71db9fd in csLoader::LoadMeshObjectFactory (this=0x84a3ae0,
ldr_context=0x92bafc4, stemp=0x98744f8, parent=0x0, node=0x95b42d0,
transf=0x0, ssource=0x0) at plugins/csparser/csloader.cpp:2157
mof = {obj = 0xbf80db34}
child = {obj = 0x95b41f0}
value = 0x97b8492 "params"
id = 90
plug = (class iLoaderPlugin *) 0x8dfed04
binplug = (class iBinaryLoaderPlugin *) 0x0
mat = (class iMaterialWrapper *) 0x0
staticshape = false
prev_it = {obj = 0x0}
it = {obj = 0x95b4248}
#11 0xb71e19d0 in csLoader::LoadLibrary (this=0x84a3ae0,
ldr_context=0x92bafc4, libnode=0x95b4160, ssource=0x0, missingdata=0x0)
at plugins/csparser/csloader.cpp:1531
t = {obj = 0x98744f8}
child = {obj = 0x95b42d0}
value = 0x97b83cf "meshfact"
id = 69
sequences = {obj = 0x0}
triggers = {obj = 0x0}
it = {obj = 0x95b4ab0}
#12 0xb71e3a01 in csLoader::Load (this=0x84a3ae0, node=0x903c108,
result=@0xbf80deac, region=0x0, curRegOnly=true, checkDupes=false,
ssource=0x0, override_name=0x0, missingdata=0x0)
at plugins/csparser/csloader.cpp:839
ldr_context = {obj = 0x92bafc4}
meshfactnode = {obj = 0x0}
meshobjnode = {obj = 0x0}
worldnode = {obj = 0x0}
libnode = {obj = 0x95b4160}
#13 0xb71d78be in csLoader::Load (this=0x84a3ae0, buffer=0x903c154,
fname=0x8e0f4d0 "/planeshift/models/stonebm/stonebm.cal3d",
result=@0xbf80deac, region=0x0, curRegOnly=true, checkDupes=false,
ssource=0x0, override_name=0x0, missingdata=0x0)
at plugins/csparser/csloader.cpp:693
node = {obj = 0x903c108}
doc = {obj = 0x9637e6c}
er = true
#14 0xb71d7d6e in csLoader::Load (this=0x84a3ae0,
fname=0x8e0f4d0 "/planeshift/models/stonebm/stonebm.cal3d",
result=@0xbf80deac, region=0x0, curRegOnly=true, checkDupes=false,
ssource=0x0, override_name=0x0, missingdata=0x0)
at plugins/csparser/csloader.cpp:753
buf = {obj = 0x903c154}
#15 0x080801ad in ClientCacheManager::LoadNewFactory (this=0x881dc80,
filename=0x8b9f488 "/planeshift/models/stonebm/stonebm.cal3d")
at src/client/clientcachemanager.cpp:91
result = (iBase *) 0x0
meshW = (class iMeshFactoryWrapper *) 0x881d70c
file = {<csStringFast<36>> = {<csStringBase> = {
_vptr.csStringBase = 0x83497a8,
Data = 0x8e0f4d0 "/planeshift/models/stonebm/stonebm.cal3d", Size = 40,
MaxSize = 64, GrowBy = 64},
minibuff = "\200\037�\200�n�¶PQK\b\003\000 \001��200�\bTG\bδַ\bTG\b", miniused = 0}, <No data fields>}
doc = {obj = 0x903be44}
root = {obj = 0x903c178}
meshNode = {obj = 0x903c230}
libNode = {obj = 0x96f5160}
indexEntry = (FactoryIndexEntry *) 0x9637dd8
name = 0x97b69be "stonebm"
__FUNCTION__ = "LoadNewFactory"
#16 0x0807996a in psEngine::PreloadModels (this=0x872a1a8)
at src/client/psengine.cpp:1327
__FUNCTION__ = "PreloadModels"
#17 0x0806f7f7 in psEngine::HandleEvent (this=0x872a1a8, ev=@0x87cc084)
at src/client/psengine.cpp:693
count = 10
drawFrame = true
#18 0x0807e110 in psEngine::EventHandler::HandleEvent (this=0x87ff468,
ev=@0x87cc084) at src/client/psengine.h:214
No locals.
#19 0x081734ca in csEventTree::Dispatch (this=0x84b0888, e=@0x87cc084)
at libs/csutil/cssubscription.cpp:576
h = (iEventHandler *) 0x87ff47c
it = {handler_reg = {obj = 0x845a65c}, record = 0x8452120,
baseevent = 3, mode = csEventTree::SubscriberIterator::SI_LIST,
qit = 0x8c599e0}
#20 0x0817359a in csEventTree::Notify (this=0x84b0888)
at libs/csutil/cssubscription.cpp:546
e = {obj = 0x87cc084}
#21 0x081236ea in csEventQueue::Notify (this=0x845e348, name=@0x8430fec)
at libs/csutil/cseventq.cpp:278
epoint = (class csEventTree *) 0x84b0888
#22 0x0812b812 in csEventQueue::iTypedFrameEventDispatcher::HandleEvent (
this=0x8430fe4) at ./include/csutil/cseventq.h:262
No locals.
#23 0x081734ca in csEventTree::Dispatch (this=0x8438600, e=@0x8444c84)
at libs/csutil/cssubscription.cpp:576
h = (iEventHandler *) 0x8430fe4
it = {handler_reg = {obj = 0x845a65c}, record = 0x8438740,
baseevent = 1, mode = csEventTree::SubscriberIterator::SI_LIST,
qit = 0x8b9f1a0}
#24 0x0817359a in csEventTree::Notify (this=0x8438600)
at libs/csutil/cssubscription.cpp:546
e = {obj = 0x8444c84}
#25 0x081236ea in csEventQueue::Notify (this=0x845e348, name=@0x845e3f0)
at libs/csutil/cseventq.cpp:278
epoint = (class csEventTree *) 0x8438600
#26 0x081237c7 in csEventQueue::Process (this=0x845e348)
at libs/csutil/cseventq.cpp:294
ev = {obj = 0x0}
#27 0x080df8c9 in csDefaultRunLoop (r=0x845bed4)
at libs/csutil/generic/runloop.cpp:91
q = {obj = 0x845e35c}
vc = {obj = 0x845e41c}
eh = {obj = 0x87cbcd8}
#28 0x0807252f in main (argc=1, argv=0xbf80e2a4)
at src/client/psengine.cpp:1881
CSSetup = (psCSSetup *) 0x842ea40
object_reg = (class iObjectRegistry *) 0x845bed4
__FUNCTION__ = "main"
#29 0xb7d1c808 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#30 0x0804b0a1 in _start ()
at /home/chimp/dev/cs/include/csutil/reftrackeraccess.h:47
No locals.
:D
-
What were you doing when it crashed? :)
-
El Loado Screeno.
-
This looks like the same place it seg faults for me when trying to compile on gentoo (right at loadCoreAnimation). This is during the first couple seconds of loading the game during the splash screen.
-
I'm getting this same segfault too, with a few minor deviations it seems.
Here's my gdb output:
Mounting skin: /this/art/skins/stone.zip
[New Thread -1412338768 (LWP 6691)]
Mounting skin: /planeshift/art/skins/base/client_base.zip
Skipping 'YesNo' because it's already loaded
psEngine initialized.
Using fontsize 16 for resolution 1024x768
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210901856 (LWP 6685)]
0xb7d95334 in free () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt full
#0 0xb7d95334 in free () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#1 0xb7f138b1 in operator delete () from /usr/lib/libstdc++.so.6
No symbol table info available.
#2 0xa9e4b6ca in CalLoader::loadCoreAnimation ()
from /home/bloodflag/Development/cal3d/src/cal3d/.libs/libcal3d.so.11
No symbol table info available.
#3 0xa9e4c0fc in CalLoader::loadCoreAnimation ()
from /home/bloodflag/Development/cal3d/src/cal3d/.libs/libcal3d.so.11
No symbol table info available.
#4 0xa9daa281 in CS::Plugin::SprCal3d::csSpriteCal3DMeshObjectFactory::LoadCoreAnimation (this=0xa94927c8, vfs=0xb7d1932c,
filename=0xa99c0a7e "stonebm_idle_var1.CAF", name=0xa99c0a9e "idle_var",
type=5, base_vel=0, min_vel=0, max_vel=0, min_interval=0, max_interval=0,
idle_pct=100, lock=false) at plugins/mesh/sprcal3d/object/sprcal3d.cpp:254
anim = {m_ptr = 0x8dafbc0}
path = {<csStringFast<36>> = {<csStringBase> = {
_vptr.csStringBase = 0xa9e05968,
Data = 0xa9492ba0 "/planeshift/models/stonebm/stonebm_idle_var1.CAF",
Size = 48, MaxSize = 64, GrowBy = 64},
minibuff = "/planeshift/models/stonebm/\0000�\004\000\000",
miniused = 28}, <No data fields>}
file = {obj = 0xa9492ca4}
#5 0xa9e85b39 in CS::Plugins::SprCal3dLoader::csSpriteCal3DFactoryLoader::Parse (this=0xa9f7fbf0, node=0xa9443aa0, ldr_context=0xa9443a74, context=0x0)
at plugins/mesh/sprcal3d/persist/sprcal3dldr.cpp:293
---Type <return> to continue, or q <return> to quit---c
animID = 0
ctype = {<csStringFast<36>> = {<csStringBase> = {
_vptr.csStringBase = 0xa9ea82c8, Data = 0x0, Size = 6, MaxSize = 0,
GrowBy = 64},
minibuff = "action\0008\000\000\000\a\000\000\000\001\000\000\000\2100��2100\020$I", miniused = 7}, <No data fields>}
min_vel = 0
file = 0xa99c0a7e "stonebm_idle_var1.CAF"
type = 5
base_vel = 0
max_interval = 0
idle_pct = 100
lock = false
name = 0xa99c0a9e "idle_var"
max_vel = 0
min_interval = 0
child = {obj = 0xa9443ad8}
value = 0xa99c0a6e "animation"
id = 3
plugin_mgr = {obj = 0xb7d1daec}
type = {obj = 0xa9f8141c}
fact = {obj = 0xa9492804}
skel_present = true
newspr = {obj = 0xa9492808}
it = {obj = 0xa9492988}
scale = 0
---Type <return> to continue, or q <return> to quit---c
#6 0xb7229fbc in csLoader::LoadMeshObjectFactory (this=0xb7cf7180,
ldr_context=0xa9443a74, stemp=0xa94924c8, parent=0x0, node=0xa9464fd8,
transf=0x0, ssource=0x0) at plugins/csparser/csloader.cpp:2157
mof = {obj = 0xa9492490}
child = {obj = 0xa9443aa0}
value = 0xa99c06aa "params"
id = 90
plug = (class iLoaderPlugin *) 0xa9f7fc04
binplug = (class iBinaryLoaderPlugin *) 0x0
staticshape = false
prev_it = {obj = 0x0}
mat = (class iMaterialWrapper *) 0x0
it = {obj = 0xa9ec49e8}
#7 0xb7230006 in csLoader::LoadLibrary (this=0xb7cf7180,
ldr_context=0xa9443a74, libnode=0xade4ae10, ssource=0x0, missingdata=0x0)
at plugins/csparser/csloader.cpp:1531
t = {obj = 0xa94924c8}
child = {obj = 0xa9464fd8}
value = 0xa99c05e7 "meshfact"
id = 69
sequences = {obj = 0x0}
triggers = {obj = 0x0}
it = {obj = 0xa9b20540}
#8 0xb723212e in csLoader::Load (this=0xb7cf7180, node=0xb7d1ee48,
result=@0xbf8c9b10, region=0x0, curRegOnly=true, checkDupes=false,
ssource=0x0, override_name=0x0, missingdata=0x0)
---Type <return> to continue, or q <return> to quit---
at plugins/csparser/csloader.cpp:839
libnode = {obj = 0xade4ae10}
ldr_context = {obj = 0xa9443a74}
meshfactnode = {obj = 0x0}
meshobjnode = {obj = 0x0}
worldnode = {obj = 0x0}
#9 0xb7221316 in csLoader::Load (this=0xb7cf7180, buffer=0xa9f052b4,
fname=0xaa2c1f58 "/planeshift/models/stonebm/stonebm.cal3d",
result=@0xbf8c9b10, region=0x0, curRegOnly=true, checkDupes=false,
ssource=0x0, override_name=0x0, missingdata=0x0)
at plugins/csparser/csloader.cpp:693
node = {obj = 0xb7d1ee48}
doc = {obj = 0xaa30d1e4}
er = true
#10 0xb72217c8 in csLoader::Load (this=0xb7cf7180,
fname=0xaa2c1f58 "/planeshift/models/stonebm/stonebm.cal3d",
result=@0xbf8c9b10, region=0x0, curRegOnly=true, checkDupes=false,
ssource=0x0, override_name=0x0, missingdata=0x0)
at plugins/csparser/csloader.cpp:753
buf = {obj = 0xa9f052b4}
#11 0x080507dd in ClientCacheManager::LoadNewFactory (this=0xac712578,
filename=0xaa88f0a0 "/planeshift/models/stonebm/stonebm.cal3d")
at src/client/clientcachemanager.cpp:91
result = (iBase *) 0x0
meshW = <value optimized out>
__FUNCTION__ = "LoadNewFactory"
---Type <return> to continue, or q <return> to quit---
#12 0x080aedf7 in psEngine::HandleEvent (this=0xade3cb30, ev=@0xac1b2824)
at src/client/psengine.cpp:1327
count = 10
Previous frame inner to this frame (corrupt stack?)
(gdb) detach
Detaching from program: /home/bloodflag/Development/planeshift/psclient, process 6685
(gdb) quit
I typed in export MALLOC_CHECK_=0 before going to gdb and running the program, in case anyone's wondering about the free/delete lines.