I have recompiled wideland with the debian patches:
tar -xzf widelands_17-3.debian.tar.gz
dpkg-buildpackage -us -b
sudo dpkg -i widelands_17-3_amd64.deb widelands-data_17-3_all.deb widelands-dbg_17-3_amd64.deb
Finally, wideland still crashes with segmentation fault (see attachment).
The location, were the segfault occurs:
while (current_cmds.size()) { /// in the current TRUNK, this is replaced with while (!current_cmds.empty()) {
Command & c = *current_cmds.top().cmd;
if (game_time_var < c.duetime())
break;
if (dynamic_cast<GameLogicCommand *>(&c)) { /// THIS dynamic_cast segfaults
StreamWrite & ss = m_game.syncstream();
static uint8_t const tag[] = {0xde, 0xad, 0x00};
ss.Data(tag, 3); // provide an easy-to-find pattern as debugging aid
ss.Unsigned32(c.duetime());
ss.Unsigned32(c.id());
}
Hello,
I have recompiled wideland with the debian patches: 17-3.debian. tar.gz 17-3_amd64. deb widelands- data_17- 3_all.deb widelands- dbg_17- 3_amd64. deb
tar -xzf widelands_
dpkg-buildpackage -us -b
sudo dpkg -i widelands_
Finally, wideland still crashes with segmentation fault (see attachment).
The location, were the segfault occurs: cmds.size( )) { /// in the current TRUNK, this is replaced with while (!current_ cmds.empty( )) { cmds.top( ).cmd;
while (current_
Command & c = *current_
if (game_time_var < c.duetime())
break;
current_ cmds.pop( ); game_time_ var == c.duetime());
-- m_ncmds;
assert(
if (dynamic_ cast<GameLogicC ommand *>(&c)) { /// THIS dynamic_cast segfaults syncstream( ); Unsigned32( c.duetime( )); Unsigned32( c.id()) ;
StreamWrite & ss = m_game.
static uint8_t const tag[] = {0xde, 0xad, 0x00};
ss.Data(tag, 3); // provide an easy-to-find pattern as debugging aid
ss.
ss.
}
c.execute (m_game);
delete &c;
}