Bug#880990: widelands: Segmentation fault on loading a game

Elena ``of Valhalla'' valhalla-d at trueelena.org
Mon Nov 6 18:25:27 UTC 2017


Package: widelands
Version: 1:19+repack-4
Severity: grave
Justification: renders package unusable

Dear Maintainer,

I have installed widelands on a buster amd64 system and found the sad
surprise that it is no longer working: opening any game (tutorial,
campaign or game) results in a segfault with the attached output.
I didn't try multiplayer games.

Originally I tried with an existing ~/.widelands directory, but I moved
it away and could still reproduce the behaviour.

Please let me know if there is any other information I can provide: I
have all of the free time saved by not playing widelands that I can use
to help investigate this issue :)

The following are the last few lines of ``strace widelands``:

    [ENOENT on files in ~/.widelands as far as my eyes[esc]bdwabacklog can see]
    stat("/usr/share/games/widelands/data/world/critters/fox/fox_walk_nw_20.png", 0x7ffe463be940) = -1 ENOENT (No such file or directory)
    stat("/home/valhalla/.widelands/sound/animals", 0x7ffe463be220) = -1 ENOENT (No such file or directory)
    stat("/usr/share/games/widelands/data/sound/animals", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    open("/home/valhalla/.widelands/sound/animals", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/usr/share/games/widelands/data/sound/animals", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 18
    fstat(18, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    getdents(18, /* 46 entries */, 32768)   = 1488
    getdents(18, /* 0 entries */, 32768)    = 0
    close(18)                               = 0
    stat("/home/valhalla/.widelands/sound/animals/coyote_01.ogg", 0x7ffe463be170) = -1 ENOENT (No such file or directory)
    stat("/usr/share/games/widelands/data/sound/animals/coyote_01.ogg", {st_mode=S_IFREG|0644, st_size=29348, ...}) = 0
    stat("/usr/share/games/widelands/data/sound/animals/coyote_01.ogg", {st_mode=S_IFREG|0644, st_size=29348, ...}) = 0
    open("/usr/share/games/widelands/data/sound/animals/coyote_01.ogg", O_RDONLY) = 18
    fstat(18, {st_mode=S_IFREG|0644, st_size=29348, ...}) = 0
    fstat(18, {st_mode=S_IFREG|0644, st_size=29348, ...}) = 0
    lseek(18, 28672, SEEK_SET)              = 28672
    read(18, "\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1"..., 676) = 676
    lseek(18, 0, SEEK_SET)                  = 0
    read(18, "OggS\0\2\0\0\0\0\0\0\0\0\320S(t\0\0\0\0006~\352\315\1\36\1vor"..., 28672) = 28672
    read(18, "\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1"..., 4096) = 676
    close(18)                               = 0
    brk(0x55fb3b0f8000)                     = 0x55fb3b0f8000
    mmap(NULL, 33329152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e59837000
    --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7ffe463c5000} ---
    +++ killed by SIGSEGV +++
    Segmentation fault


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.13.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en_IE:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages widelands depends on:
ii  libboost-regex1.62.0  1.62.0+dfsg-4+b2
ii  libboost-test1.62.0   1.62.0+dfsg-4+b2
ii  libc6                 2.24-17
ii  libgcc1               1:7.2.0-12
ii  libgl1                0.2.999+git20170802-5
ii  libgl1-mesa-glx       17.2.4-1
ii  libglew2.0            2.0.0-5
ii  libicu57              57.1-8
ii  libminizip1           1.1-8+b1
ii  libpng16-16           1.6.34-1
ii  libsdl2-2.0-0         2.0.6+dfsg1-4
ii  libsdl2-image-2.0-0   2.0.1+dfsg-4
ii  libsdl2-mixer-2.0-0   2.0.1+dfsg1-3
ii  libsdl2-net-2.0-0     2.0.1+dfsg1-3
ii  libsdl2-ttf-2.0-0     2.0.14+dfsg1-2
ii  libstdc++6            7.2.0-12
ii  widelands-data        1:19+repack-4
ii  zlib1g                1:1.2.8.dfsg-5

widelands recommends no packages.

widelands suggests no packages.

-- no debconf information
-------------- next part --------------
This is Widelands Version build-19 (Release)
Set home directory: /home/valhalla/.widelands
There's no configuration file, using default values.
Adding directory: /usr/share/games/widelands/data
selected language: (system language)
using locale en_IE.UTF-8
Graphics: Try to set Videomode 800x600
Graphics: OpenGL: Version "2.1 Mesa 17.2.4"
Graphics: SDL_GL_RED_SIZE is 8
Graphics: SDL_GL_GREEN_SIZE is 8
Graphics: SDL_GL_BLUE_SIZE is 8
Graphics: SDL_GL_ALPHA_SIZE is 0
Graphics: SDL_GL_BUFFER_SIZE is 24
Graphics: SDL_GL_DOUBLEBUFFER is 1
Graphics: SDL_GL_DEPTH_SIZE is 24
Graphics: SDL_GL_STENCIL_SIZE is 8
Graphics: SDL_GL_ACCUM_RED_SIZE is 0
Graphics: SDL_GL_ACCUM_GREEN_SIZE is 0
Graphics: SDL_GL_ACCUM_BLUE_SIZE is 0
Graphics: SDL_GL_ACCUM_ALPHA_SIZE is 0
Graphics: SDL_GL_STEREO is 0
Graphics: SDL_GL_MULTISAMPLEBUFFERS is 0
Graphics: SDL_GL_MULTISAMPLESAMPLES is 0
Graphics: SDL_GL_ACCELERATED_VISUAL is 1
Graphics: SDL_GL_CONTEXT_MAJOR_VERSION is 2
Graphics: SDL_GL_CONTEXT_MINOR_VERSION is 1
Graphics: SDL_GL_CONTEXT_FLAGS is 0
Graphics: SDL_GL_CONTEXT_PROFILE_MASK is 2
Graphics: SDL_GL_SHARE_WITH_CURRENT_CONTEXT is 0
Graphics: SDL_GL_FRAMEBUFFER_SRGB_CAPABLE is 0
Graphics: OpenGL: Double buffering enabled
Graphics: OpenGL: Max texture size: 8192
Graphics: OpenGL: ShadingLanguage: "1.20"
**** GRAPHICS REPORT ****
 VIDEO DRIVER x11
 pixel fmt 370546692
 size 800 600
**** END GRAPHICS REPORT ****
SoundHandler: loaded song "music/intro_00.ogg"
SoundHandler: loaded song "music/menu_00.ogg"
There's no configuration file, using default values.
Segmentation fault



More information about the Pkg-games-devel mailing list