Closed GoogleCodeExporter closed 8 years ago
I'll take a look to see if I can reproduce on Linux (and then valgrind it) or
Mac OS X.
Original comment by pphaneuf
on 6 Feb 2009 at 11:03
Issue 99 has been merged into this issue.
Original comment by pphaneuf
on 13 Feb 2009 at 1:36
#0 Net::packetreceived (this=0x8d9800, nb=0xbfffc0f0, tcp=true) at
skelton/common/net.cpp:1306
#1 0x00068f9c in Net::step (this=0x8d9800, loop_only=<value temporarily
unavailable,
due to optimizations>) at skelton/common/net.cpp:913
#2 0x0006aef4 in Executor::step (this=0x279180) at
skelton/common/overmind.cpp:127
#3 0x0006a970 in Overmind::step (this=0x9de44) at
skelton/common/overmind.cpp:71
#4 0x00008510 in start_game () at source/quadra.cpp:2313
#5 0x000701f4 in SDL_main (ARGC=2, ARGV=0xa00d0) at
skelton/svgalib/main.cpp:141
Original comment by pphaneuf
on 15 Feb 2009 at 12:25
==504== Invalid read of size 4
==504== at 0x80E6772:
std::_List_const_iterator<Net::Net_receive_cb*>::operator++() (stl_list.h:224)
==504== by 0x80E1747: Net::packetreceived(Net_buf*, bool) (net.cpp:1305)
==504== by 0x80E5556: Net::step(bool) (net.cpp:913)
==504== by 0x80AA1EF: Net_starter::Net_module::step() (net_stuff.cpp:45)
==504== by 0x80E93C9: Executor::step() (overmind.cpp:127)
==504== by 0x80E97D1: Overmind::step() (overmind.cpp:71)
==504== by 0x804E886: start_game() (quadra.cpp:2313)
==504== by 0x80EFE8E: main (main.cpp:141)
==504== Address 0x5495340 is 0 bytes inside a block of size 12 free'd
==504== at 0x40222EC: operator delete(void*) (vg_replace_malloc.c:342)
==504== by 0x80E716C:
__gnu_cxx::new_allocator<std::_List_node<Net::Net_receive_cb*>
>::deallocate(std::_List_node<Net::Net_receive_cb*>*, unsigned)
(new_allocator.h:97)
==504== by 0x80E7191: std::_List_base<Net::Net_receive_cb*,
std::allocator<Net::Net_receive_cb*>
>::_M_put_node(std::_List_node<Net::Net_receive_cb*>*) (stl_list.h:321)
==504== by 0x80E807C: std::list<Net::Net_receive_cb*,
std::allocator<Net::Net_receive_cb*>
>::_M_erase(std::_List_iterator<Net::Net_receive_cb*>) (stl_list.h:1172)
==504== by 0x80E80AE: std::list<Net::Net_receive_cb*,
std::allocator<Net::Net_receive_cb*>
>::erase(std::_List_iterator<Net::Net_receive_cb*>) (list.tcc:99)
==504== by 0x80E1F36: Net::removewatch(unsigned short, Net_callable*)
(net.cpp:1008)
==504== by 0x80EAEC0: Exec_ping::net_call(Packet*) (packet.cpp:124)
==504== by 0x80E1723: Net::packetreceived(Net_buf*, bool) (net.cpp:1309)
==504== by 0x80E5556: Net::step(bool) (net.cpp:913)
==504== by 0x80AA1EF: Net_starter::Net_module::step() (net_stuff.cpp:45)
==504== by 0x80E93C9: Executor::step() (overmind.cpp:127)
==504== by 0x80E97D1: Overmind::step() (overmind.cpp:71)
Original comment by pphaneuf
on 15 Feb 2009 at 12:57
Valgrind to the rescue, once again. Should be fixed by r719. Can you verify?
Original comment by pphaneuf
on 15 Feb 2009 at 1:52
Nice, r719 compiles fine and is playable again.
(VS08,WinXP)
Original comment by tino.mie...@gmail.com
on 16 Feb 2009 at 9:03
Awesome, thanks!
Original comment by pphaneuf
on 16 Feb 2009 at 9:13
Issue 96 has been merged into this issue.
Original comment by pphaneuf
on 20 Feb 2009 at 12:18
Original issue reported on code.google.com by
tino.mie...@gmail.com
on 5 Feb 2009 at 7:28