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

                 Summary: Seg fault going from the editor to multiplayer
                 Project: Battle for Wesnoth
            Submitted by: jamit
            Submitted on: Sat 05 Jan 2013 08:23:06 PM EST
                Category: Bug
                Severity: 5 - Blocker
                Priority: 5 - Normal
              Item Group:  None of the others
                  Status: None
                 Privacy: Public
             Assigned to: fendrin
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.11.1 + svn (r56023)
        Operating System: Linux

    _______________________________________________________

Details:

Steps:

1) Start BfW.
2) Hit the "Map Editor" button.
3) Quit the editor (ctrl-q).
4) Hit the "Multiplayer" button.
5) Choose "Local Game" and hit "OK".
6) Select a map and hit "OK".

Segmentation fault with the map selection window still up.

The problem is that during multiplayer setup, resources::teams still points to
data from the map editor, which has long since been disposed of. (I confirmed
by checking the value of the pointer in the editor, then again where the crash
occurs.) I did a search of the src/editor/ directory, and it looks like some
pointers from resources:: are set when the editor starts, but none of them are
reset to NULL when the editor closes.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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