so, i was just playing around a bit.
i updated from cvs, compiled.
./psclient crashed:
SetTrait:
Failed to set trait(4): mesh=Head, mat=ynnwnm_face_2,
tex=/planeshift/models/ynnwnm/ynnwnm_head_2.png
now the gdb psclient is:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 182906324160 (LWP 25804)]
0x0000002a95f5b300 in strlen () from /lib64/tls/libc.so.6
Backtrace is:
#0 0x0000002a95f5b300 in strlen () from /lib64/tls/libc.so.6
#1 0x00000000006fa4f5 in ap_vformatter (flush_func=0x6fae4a , vbuff=0x7fbfffcae0,
fmt=0x2a99bee66b \"s: %s\\n\", ap=0x7fbfffcb70) at snprintf.cpp:948
#2 0x00000000006fb015 in cs_vsnprintf (buf=0x52bc100 \"\", len=513, format=0x2a99bee66a \"%s: %s\\n\", ap=0x7fbfffcb70)
at snprintf.cpp:1237
#3 0x00000000006ea14f in csString::FormatV (this=0x7fbfffccf0, format=0x2a99bee66a \"%s: %s\\n\", args=0x7fbfffcb70)
at csstring.cpp:445
#4 0x00000000006ea267 in csString::Format (this=0x7fbfffccf0, format=0x2a99bee66a \"%s: %s\\n\") at csstring.cpp:459
#5 0x0000002a99be153e in csReporterListener::Report (this=0x98b600, severity=1,
msgID=0x7fbfffcef0 \" BuildAppearance\",
description=0x90f8b0 \"Failed to set trait #6 0x0000002a99be503f in csReporterListener::ReporterListener::Report (this=0x98b710, reporter=0x98ae10, severity=1,
msgId=0x7fbfffcef0 \" BuildAppearance\",
description=0x90f8b0 \"Failed to set trait #7 0x0000002a99abeda7 in csReporter::ReportV (this=0x98ae10, severity=1,
msgId=0x7fbfffcef0 \" BuildAppearance\",
description=0x7339d0 \"Failed to set trait %s for mesh.\", arg=0x7fbfffe290) at reporter.cpp:150
#8 0x000000000052e840 in csReporterHelper::ReportV (reg=0x906080, severity=1,
msgId=0x7fbfffcef0 \" BuildAppearance\",
description=0x7339d0 \"Failed to set trait %s for mesh.\", args=0x7fbfffe290) at reporter.h:331
#9 0x000000000061f7ae in pslog::LogMessage (file=0x732cc8 \"src/client/psengine.cpp\", line=1449,
function=0x7339a0 \"BuildAppearance\", severity=1, type=0, msg=0x7339d0 \"Failed to set trait %s for mesh.\")
at log.cpp:127
#10 0x0000000000526e34 in psEngine::BuildAppearance (this=0xb50730, mesh=0x4c13448,
xmlString=0x4c20bd0 \"<\"...) at psengine.cpp:1449
#11 0x0000000000556766 in GEMClientActor::InitCharData (this=0x4c20560,
textParts=0x4c20bd0 \"<\"..., equipment=0x7430fb0 \"\") at pscelclient.cpp:1070
#12 0x0000000000554f21 in GEMClientActor (this=0x4c20560, cel=0xc67d60, mesg=@0x7fbfffe770) at pscelclient.cpp:850
#13 0x0000000000551939 in psCelClient::HandleActor (this=0xc67d60, me=0x8152600) at pscelclient.cpp:261
#14 0x0000000000552962 in psCelClient::HandleMessage (this=0xc67d60, me=0x8152600) at pscelclient.cpp:486
#15 0x000000000051a864 in psClientNetSubscriber::HandleMessage (this=0xc67da0, msg=0x8152600) at cmdbase.h:72
#16 0x000000000060aeeb in MsgHandler::Publish (this=0xc62930, me=0x8152600) at msghandler.cpp:97
#17 0x00000000005e60bf in psClientMsgHandler::HandleEvent (this=0xc62930, ev=@0x9302a0) at clientmsghandler.cpp:92
#18 0x00000000005e63ed in psClientMsgHandler::EventHandler::HandleEvent (this=0xc63b10, e=@0x9302a0)
at clientmsghandler.h:84
#19 0x000000000070c63a in csEventQueue::Notify (this=0x95fa00, pseudo_event=8) at cseventq.cpp:219
#20 0x000000000070c672 in csEventQueue::Process (this=0x95fa00) at cseventq.cpp:226
#21 0x000000000072696b in csDefaultRunLoop (r=0x906080) at runloop.cpp:81
#22 0x0000000000529afc in main (argc=1, argv=0x7fbfffedb8) at psengine.cpp:1892
is this kind of info useful for devs?
By, Ralph.