trunk hangs in gStatList::add

Bug #729689 reported by Luke-Jr
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Armagetron Advanced
New
Undecided
Unassigned

Bug Description

Last line of log:
[0] X committed suicide and lost 1 points.

strace shows the process looping infinitely on:
_llseek(8, 18446744073709551605, 0xbfd2d4f0, SEEK_SET) = -1 EINVAL (Invalid argument)

fd 8 is:
lrwx------ 1 X armagetronad 64 2011-03-05 10:41 8 -> /home/X/svc/X/var/deaths.txt

Full backtrace:
#0 0xb7f18792 in ?? () from /lib/ld-linux.so.2
#1 0xb7b7554a in lseek64 () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7cb9f12 in std::__basic_file<char>::seekoff ()
   from /usr/lib/libstdc++.so.6
#3 0xb7c61054 in std::basic_filebuf<char, std::char_traits<char> >::_M_seek ()
   from /usr/lib/libstdc++.so.6
#4 0xb7c62e2a in std::basic_filebuf<char, std::char_traits<char> >::seekoff ()
   from /usr/lib/libstdc++.so.6
#5 0xb7c69acc in std::istream::seekg () from /usr/lib/libstdc++.so.6
#6 0x0823b9df in tStatFile::flushWrites ()
#7 0x0823c198 in tStatFile::write ()
#8 0x080dc4cd in gStatList::add ()
#9 0x0806967b in gCycle::KillAt ()
#10 0x0806add4 in gCycle::TimestepCore ()
#11 0x08078cc1 in gCycleMovement::Timestep ()
#12 0x0806c1b2 in gCycle::Timestep ()
#13 0x0810cbc9 in eGameObject::TimestepThis ()
#14 0x0810cd95 in eGameObject::TimestepThisWrapper ()
#15 0x0810ce47 in eGameObject::s_Timestep ()
#16 0x08080719 in sg_EnterGameCore ()
#17 0x08081a04 in sg_EnterGame ()
#18 0x080826f3 in own_game ()
#19 0x08094e64 in sg_HostGame ()
#20 0x080591d5 in main ()

Quite frankly, this boggles my mind, looking at the code.

Revision history for this message
Luke-Jr (luke-jr) wrote :

Brian, this is your server. May I post a core dump (may contain all information in the server's active state), including your username, directories, etc...

Revision history for this message
dlh (dlh) wrote :

Looks related to bug #316377.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.