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

                 Summary: Some MusicWML code causes 100% CPU usage and
lock-up
                 Project: Battle for Wesnoth
            Submitted by: shadowmaster
            Submitted on: Thursday 10/04/07 at 13:53
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Sound and music
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.3.8+SVN (revision 20889)
        Operating System: GNU/Linux

    _______________________________________________________

Details:

In campaign Invasion from the Unknown, located in 1.3.x branch campaign
server, developed by Ignacio Riquelme Morelle/Shadow Master using Wesnoth
1.3.8+SVN, scenario 2, prestart and start event music tags seem to cause
random lock-ups on the game engine.

Symptoms:
100% CPU usage, program cannot be killed with "killall wesnoth" (SIGTERM),
must force "killall -sKILL wesnoth" (SIGKILL), no error messages are output
before the blockage. Reported by fellow player and campaign author.

Tested by campaign author on: Wesnoth 1.3.8+SVN, revision 20889, no local
modifications to affected code (see backtrace below); Linux kernel
2.6.18.2-34-default <openSUSE 10.2, x86_64 build>, Wesnoth configured with
--enable-server --enable-editor --enable-tools --prefix=/opt/wesnoth-svn
--enable-debug.

Package versions (all 64 bit):
* SDL 1.2.11
* SDL_Mixer 1.2.7
* SDL_Image 1.2.5
* SDL_Net 1.2.5
* Freetype 1.3.1, Freetype2 2.2.1
* libogg 1.1.3, libvorbis 1.1.2
* zlib 1.2.3, fribidi 0.10.4

DDD/gdb output, and culprit code:
See attachment iftu-musicwml-lockup-info.txt

Minimal scenario code:
See attachment scenario-test.cfg. Note that if you remove the [story] tags
(IntroWML), the bug doesn't occur. Also note that nevertheless, the bug might
not always trigger right after the end of the start event, but it triggers
then as soon as the player reloads an autosave or a manually-generated save.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thursday 10/04/07 at 13:53  Name: scenario-test.cfg  Size: 11kB   By:
shadowmaster

<http://gna.org/bugs/download.php?file_id=3031>
-------------------------------------------------------
Date: Thursday 10/04/07 at 13:53  Name: iftu-musicwml-lockup-info.txt  Size:
3kB   By: shadowmaster

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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