URL:
  <http://gna.org/bugs/?9242>

                 Summary: [next_scenario] broken for network players and
observers
                 Project: Battle for Wesnoth
            Submitted by: rhuvaen
            Submitted on: Wednesday 30/05/07 at 10:35
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Multiplayer
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.3.3
        Operating System: Debian

    _______________________________________________________

Details:

This is the same as Bug #8865 with more information (backtrace) and for the
latest dev version.

I tested host/network player and observer in a dummy MP Campaign (attached).
Host experiences no problems and is able to continue to the second scenario
just as expected.

Observers receive the "Game Over" message and don't stay for the
next_scenario, returning to the lobby instead. (This is probably a separate
and minor bug)

Network Player's client freezes on a Segfault after the first scenario ends.
They never get to the point where they can create a pre-scenario savegame of
the second scenario. The network player's client is still connected, only
when he closes the unresponsive application does the host get a "player
disconnected" message.

Here's the backtrace from the network player's client:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1080831200 (LWP 10128)]
0x0852f4c8 in config::empty () at stl_map.h:119
119         /// @if maint  The actual tree structure.  @endif
(gdb) bt
#0  0x0852f4c8 in config::empty () at stl_map.h:119
#1  0x0819b8fb in game_state (this=0xbfffd030, [EMAIL PROTECTED],
    [EMAIL PROTECTED]) at gamestatus.cpp:458
#2  0x082e1072 in play_game () at iostream:76
#3  0x0824ed39 in enter_wait_mode () at iostream:76
#4  0x082510a7 in enter_lobby_mode () at iostream:76
#5  0x08251c87 in mp::start_client () at iostream:76
#6  0x08157a01 in (anonymous namespace)::game_controller::play_multiplayer (
    this=0xbffff5b0) at game.cpp:1284
#7  0x0815d284 in play_game (argc=1, argv=0xbffff904) at game.cpp:1893
#8  0x0815d6b8 in main (argc=1, argv=0xbffff904) at game.cpp:1951



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wednesday 30/05/07 at 10:35  Name: MP_Campaigns_Test.zip  Size: 4kB  
By: rhuvaen

<http://gna.org/bugs/download.php?file_id=2367>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?9242>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to