bugLordsAWar! - Bugs: bug #59895, Network game crashes when started

 
 

bug #59895: Network game crashes when started

Submitter:  None
Submitted:  Sun 17 Jan 2021 07:45:15 AM UTC
   
 
Category:  game Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sat 13 Feb 2021 04:46:11 PM UTC, comment #15: 

okay things are working a little better now.

Ben Asselstine <benasselstine>
Group administrator
Fri 12 Feb 2021 12:17:15 PM UTC, comment #14: 

Good news, I have reproduced the error.

Ben Asselstine <benasselstine>
Group administrator
Thu 11 Feb 2021 09:36:04 PM UTC, comment #13: 

There's a whole lot going wrong in the debugging output

> decoding action: Player "0"--> Stack 0 moved to 112,101 w/ 48 mp left, ship=0 (was 0)


A stack should NOT have an id of zero.  There seems to be an inordinate amount of trouble parsing the XML coming over the wire, so it's probably related to that.

Very curious!

Ben Asselstine <benasselstine>
Group administrator
Thu 11 Feb 2021 08:24:12 PM UTC, comment #12: 

Okay, this list of packages has been added to the DEPENDENCIES file so that people can easily install the build dependencies on Manjaro.

sudo pacman -Syu gtkmm3 glibmm gstreamermm libxml++2.6 libarchive libsigc++ libxslt pkgconf gettext automake autoconf libtool git intltool gcc make

Ben Asselstine <benasselstine>
Group administrator
Sun 17 Jan 2021 11:07:53 PM UTC, comment #11: 


comment #10:

> You wouldn't to have a pacman line I can use to grab the build dependencies would you?  It would save me some time hunting for packages!


I only had to install libxml++2.6 and gstreamermm. If there are any other deps, I already had them installed.

Anonymous
Sun 17 Jan 2021 03:43:43 PM UTC, comment #10: 

You wouldn't to have a pacman line I can use to grab the build dependencies would you?  It would save me some time hunting for packages!

Ben Asselstine <benasselstine>
Group administrator
Sun 17 Jan 2021 12:31:32 PM UTC, comment #9: 

thank you for the information!

Ben Asselstine <benasselstine>
Group administrator
Sun 17 Jan 2021 12:30:18 PM UTC, comment #8: 


comment #7:

> thanks.  i suppose any 20.2 will do.
>
> did you make a random map or did you use one of the scenarios?


Random map. I tried single player as well and that works perfectly fine. Also when I try the multiplayer, the instance that hosts the game seems to work fine too, only the one that connects crashes.

Anonymous
Sun 17 Jan 2021 12:27:54 PM UTC, comment #7: 

thanks.  i suppose any 20.2 will do.

did you make a random map or did you use one of the scenarios?

Ben Asselstine <benasselstine>
Group administrator
Sun 17 Jan 2021 12:26:14 PM UTC, comment #6: 


comment #5:

> Manjaro 20.2 Gnome?


20.2 xfce

Anonymous
Sun 17 Jan 2021 12:24:24 PM UTC, comment #5: 

Manjaro 20.2 Gnome?

Ben Asselstine <benasselstine>
Group administrator
Sun 17 Jan 2021 12:23:11 PM UTC, comment #4: 

comment #3:

> awesome!  on what operating system?


Manjaro Linux

Anonymous
Sun 17 Jan 2021 12:18:15 PM UTC, comment #3: 

awesome!  on what operating system?

Ben Asselstine <benasselstine>
Group administrator
Sun 17 Jan 2021 12:17:32 PM UTC, comment #2: 

comment #1:

> thanks!  what version are you playing?


I just built the current version from git.

Anonymous
Sun 17 Jan 2021 09:52:41 AM UTC, comment #1: 

thanks!  what version are you playing?

Ben Asselstine <benasselstine>
Group administrator
Sun 17 Jan 2021 07:45:15 AM UTC, original submission:  

I tried the network game locally by running two instances of the game and connecting to each other on localhost. I successfully joined the game, but when I start the game, it crashes with the following output:


connected
Error!  couldn't get Glib::ustring value from xml tag `d_type'.
Error!  couldn't get Glib::ustring value from xml tag `d_type'.
received history: Player "The Sirians"--> Player starts a turn.

Error parsing: histories/networkhistory/history/
Error!  couldn't get Glib::ustring value from xml tag `d_type'.
Error!  couldn't get Glib::ustring value from xml tag `d_type'.
Error!  couldn't get guint32 value from xml tag `d_stack'.
Error!  couldn't get int value from xml tag `d_x'.
Error!  couldn't get int value from xml tag `d_y'.
Error!  couldn't get int value from xml tag `d_delta_x'.
Error!  couldn't get int value from xml tag `d_delta_y'.
Error!  couldn't get guint32 value from xml tag `d_moves_left'.
Error!  couldn't get bool value from xml tag `d_has_ship'.
Error!  couldn't get bool value from xml tag `d_had_ship'.
decoding action: Player "0"--> Stack 0 moved to 112,101 w/ 48 mp left, ship=0 (was 0)
network_player.cpp: 346: couldn't find stack with id 0
network_player.cpp: 347: is there a stack near the ending position?
network_player.cpp: 353: stack at position 111,100 is 0
network_player.cpp: 353: stack at position 111,101 is 0
network_player.cpp: 353: stack at position 111,102 is 0
network_player.cpp: 353: stack at position 112,100 is 0
network_player.cpp: 353: stack at position 112,101 is 0
network_player.cpp: 353: stack at position 112,102 is 0
network_player.cpp: 353: stack at position 113,100 is 0
network_player.cpp: 353: stack at position 113,101 is 0
network_player.cpp: 353: stack at position 113,102 is 0
lordsawar: network_player.cpp:360: void NetworkPlayer::decodeActionMove(const Action_Move*): Assertion `stack != NULL' failed.
Aborted (core dumped)


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by benasselstine (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-02-13 benasselstine Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code