Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb4afeb90 (LWP 8750)]
0xb7d76b91 in memcpy () from /lib/i686/cmov/libc.so.6
(gdb) bt
#0 0xb7d76b91 in memcpy () from /lib/i686/cmov/libc.so.6
#1 0x080d20e5 in CString::write (this=0xb4afcfa4,
pSrc=0x2e676e69 <Address 0x2e676e69 out of bounds>, pSize=200)
at ../../server/src/CString.cpp:204
#2 0x080d3280 in CString::subString (this=0x848cde4, pStart=0, pLength=200)
at ../../server/src/CString.cpp:342
#3 0x08089f86 in TNPC::getProp (this=0x848c958, pId=15 '\\17',
clientVersion=33) at ../../server/src/TNPC.cpp:177
#4 0x0808af02 in TNPC::setProps (this=0x848c958, pProps=..., clientVersion=33)
at ../../server/src/TNPC.cpp:295
#5 0x080a4909 in TPlayer::msgPLI_NC_QUERY (this=0xb3eca958, pPacket=...)
at ../../server/src/TPlayerNC.cpp:205
#6 0x081078bd in TPlayer::parsePacket (this=0xb3eca958, pPacket=...)
at ../../server/src/TPlayer.cpp:575
#7 0x081087a4 in TPlayer::doMain (this=0xb3eca958)
at ../../server/src/TPlayer.cpp:428
#8 0x08108aec in TPlayer::onRecv (this=0xb3eca958)
at ../../server/src/TPlayer.cpp:349
#9 0x080d070f in CSocketManager::update (this=0x84e740c, sec=0, usec=5000)
at ../../server/src/CSocket.cpp:128
#10 0x080b1cb7 in TServer::doMain (this=0x84e7020)
at ../../server/src/TServer.cpp:218
#11 0x080b2d04 in TServer::operator() (this=0x84e7020)
---Type <return> to continue, or q <return> to quit---
at ../../server/src/TServer.cpp:108
#12 0x08097b35 in boost::detail::thread_data<boost::reference_wrapper<TServer> >::run (this=0x85bb260) at /usr/include/boost/thread/detail/thread.hpp:81
#13 0xb7faa808 in thread_proxy () from /usr/lib/libboost_thread.so.1.40.0
#14 0xb7cea4b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#15 0xb7ddfa5e in clone () from /lib/i686/cmov/libc.so.6
using /refreshserver or something like that
All these errors have been recent, you said recently you altered the CString class… what did you change exactly (too lazy to check myself)
NPC-server is present. It is a bug where the NPC’s doesn’t properly delete and re-add themselves on updatelevel and updatelevelall
This may have been fixed. I don’t know. Marking as resolved for now.