Segfault on Character::wieldDropped
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cyphesis |
Fix Released
|
Undecided
|
Erik Ogenvik |
Bug Description
With a recently built cyphesis (1 month old perhaps) I got a segfault with this backtrace:
#0 Character:
warning: Source file is more recent than executable.
213 wield->
(gdb) bt
#0 Character:
#1 0x081022a2 in Entity:
#2 0x08101093 in LocatedEntity:
at ../../rulesets/
#3 0x080d039f in Thing::
#4 0x081025ce in Entity:
#5 0x08102799 in Entity::operation (this=0x8501508, op=@0xb6bb5e0, res=@0xbf9a294c) at ../../rulesets/
#6 0x0807542c in WorldRouter:
at ../../server/
#7 0x08075f2e in WorldRouter:
at ../../server/
#8 0x0807687c in WorldRouter::idle (this=0xbf9a2d74, sec=1206813327, usec=678404) at ../../server/
#9 0x080a8b8e in CommServer::idle (this=0xbf9a2e9c) at ../../server/
#10 0x080a8f74 in CommServer::poll (this=0xbf9a2e9c) at ../../server/
#11 0x080aac2e in main (argc=-2082109099, argv=0x5d8938ec) at ../../server/
Changed in cyphesis: | |
assignee: | Al Riddoch (alriddoch) → Erik Ogenvik (erik-ogenvik) |
status: | New → Fix Released |
Got this again on amber.
Bt:
#0 0xb7c87e4e in std::string::assign () from /usr/lib/ libstdc+ +.so.6 :wieldDropped (this=0xc3faa48) at /usr/include/ c++/4.2/ bits/basic_ string. h:491 :onContainered (this=0x9cf7890) at /usr/include/ sigc++- 2.0/sigc+ +/signal. h:550 :changeContaine r (this=0x9cf7890, new_loc=0xca15278) at ../../rulesets/ LocatedEntity. cpp:231 MoveOperation (this=0x9cf7890, op=@0xcbaf1e8, res=@0xbf8d4904) at ../../rulesets/ Thing.cpp: 190 :callOperation (this=0x9cf7890, op=@0x819b3e0, res=@0xbf8d4904) at ../../rulesets/ Entity. cpp:401 Entity. cpp:391 :deliverTo (this=0xbf8d4f6c, op=@0xcbaf1e8, ent=@0x9cf7890) at ../../server/ WorldRouter. cpp:384 :operation (this=0xbf8d4f6c, op=@0xcbaf1e8, from=@0xca15278) at ../../server/ WorldRouter. cpp:441 WorldRouter. cpp:526 CommServer. cpp:98 CommServer. cpp:131 server. cpp:373
#1 0x080e9ab3 in Character:
#2 0x080dca92 in Entity:
#3 0x0811e14a in LocatedEntity:
#4 0x080e24d8 in Thing::
#5 0x080dde00 in Entity:
#6 0x080de049 in Entity::operation (this=0x9cf7890, op=@0xcbaf1e8, res=@0xbf8d4904) at ../../rulesets/
#7 0x080779ba in WorldRouter:
#8 0x0807a81e in WorldRouter:
#9 0x0807ae13 in WorldRouter::idle (this=0xbf8d4f6c, sec=1248248077, usec=73779) at ../../server/
#10 0x080b5c9e in CommServer::idle (this=0xbf8d5024) at ../../server/
#11 0x080b6174 in CommServer::poll (this=0xbf8d5024) at ../../server/
#12 0x080b8d1e in main (argc=0, argv=0x0) at ../../server/
Using cyphesis built 2009-07-18