Bugs item #1763776, was opened at 2007-07-31 03:00
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=723099&aid=1763776&group_id=132078
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tpserver-cpp
Group: Bug - Protocol
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tim Ansell (mithro)
Assigned to: Lee Begg (llnz)
Summary: tpserver-cpp segfault in getResources
Initial Comment:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211779376 (LWP 15378)]
0x081093f6 in std::_Rb_tree<unsigned int, std::pair<unsigned int const,
std::pair<unsigned int, unsigned int> >, std::_Select1st<std::pair<unsigned int
const, std::pair<unsigned int, unsigned int> > >, std::less<unsigned int>,
std::allocator<std::pair<unsigned int const, std::pair<unsigned int, unsigned
int> > > >::_M_root (this=0x41)
at
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_tree.h:446
446 { return this->_M_impl._M_header._M_parent; }
(gdb) bt
#0 0x081093f6 in std::_Rb_tree<unsigned int, std::pair<unsigned int const,
std::pair<unsigned int, unsigned int> >, std::_Select1st<std::pair<unsigned int
const, std::pair<unsigned int, unsigned int> > >, std::less<unsigned int>,
std::allocator<std::pair<unsigned int const, std::pair<unsigned int, unsigned
int> > > >::_M_root (this=0x41)
at
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_tree.h:446
#1 0x08109b8e in _Rb_tree (this=0xbfa04544, [EMAIL PROTECTED])
at
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_tree.h:568
#2 0x08109c6c in map (this=0xbfa04544, [EMAIL PROTECTED])
at
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_map.h:175
#3 0x08108ebc in ResourceListObjectParam::getResources (this=0x31) at
resourcelistobjectparam.cpp:67
#4 0xb7a9db42 in Planet::getResources (this=0x81a0618) at planet.cpp:157
#5 0xb7aae686 in Build::createFrame (this=0x8200338, f=0x8200300, pos=0) at
build.cpp:77
#6 0x0810491e in PlayerAgent::processGetOrder (this=0x81e7cd0,
frame=0x81fb3f0) at playeragent.cpp:523
#7 0x08105caa in PlayerAgent::processIGFrame (this=0x81e7cd0, frame=0x81fb3f0)
at playeragent.cpp:99
#8 0x080d5c44 in PlayerConnection::inGameFrame (this=0x81fad20) at
playerconnection.cpp:288
#9 0x080d6fe5 in PlayerConnection::process (this=0x81fad20) at
playerconnection.cpp:80
#10 0x080be82a in Network::masterLoop (this=0x8131320) at net.cpp:334
#11 0x080af528 in main (argc=3, argv=0xbfa04a14) at main.cpp:135
(gdb)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=723099&aid=1763776&group_id=132078
_______________________________________________
tp-bugs mailing list
[email protected]
http://mail.thousandparsec.net/cgi-bin/mailman/listinfo/tp-bugs