Debian Bug report logs - #877979
berusky: SIGSEGV during launch

version graph

Package: berusky; Maintainer for berusky is Debian Games Team <pkg-games-devel@lists.alioth.debian.org>; Source for berusky is src:berusky (PTS, buildd, popcon).

Reported by: Martin Kovařík <v.merlin@seznam.cz>

Date: Sun, 8 Oct 2017 09:03:01 UTC

Severity: important

Tags: confirmed

Found in version berusky/1.7-1

Fixed in version berusky/1.7.1-1

Done: Markus Koschany <apo@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://github.com/stransky/berusky/issues/7

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, v.merlin@seznam.cz, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#877979; Package berusky. (Sun, 08 Oct 2017 09:03:03 GMT) (full text, mbox, link).


Acknowledgement sent to Martin Kovařík <v.merlin@seznam.cz>:
New Bug report received and forwarded. Copy sent to v.merlin@seznam.cz, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Sun, 08 Oct 2017 09:03:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Martin Kovařík <v.merlin@seznam.cz>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: berusky: SIGSEGV during launch
Date: Sun, 08 Oct 2017 11:00:28 +0200
Package: berusky
Version: 1.7-1
Severity: normal
Tags: patch

Dear Maintainer,

After launch you get this:


martin@starec:~/prace$ gdb berusky
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from berusky...done.
(gdb) r
Starting program: /usr/games/berusky
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Berusky v.1.7 (C) Anakreon 2006, http://www.anakreon.cz/
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Built Jun 12 2016, 11:35:37

Checking /home/martin/.berusky/...ok
Checking /home/martin/.berusky/User/...ok
Checking /home/martin/.berusky/Profiles/...ok
Checking ~/.berusky/berusky.ini...ok

Checking config file ./berusky.ini...fails
Checking config file ~/.berusky/berusky.ini...ok
Selected config file ~/.berusky/berusky.ini


level_data: /usr/share/berusky/Levels
game_data: /usr/share/berusky/GameData
graphics_data: /usr/share/berusky/Graphics
level_data_user: /home/martin/.berusky/User
tmp_data: /tmp
current working dir: /home/martin/prace

SDL Init...
Seting up screen 640x480, color depth 32 bits, fullscreen = 0...

Program received signal SIGSEGV, Segmentation fault.
0x00005555555592b6 in sprite::~sprite (this=0x7572656220726f66,
__in_chrg=<optimized out>) at 2d_graph.cpp:557
557     2d_graph.cpp: Adresář nebo soubor neexistuje.
(gdb) bt full
#0  0x00005555555592b6 in sprite::~sprite() (this=0x7572656220726f66,
__in_chrg=<optimized out>) at 2d_graph.cpp:557
#1  0x000055555555a945 in graph_2d::screen_destroy() (this=0x555555807000) at
2d_graph.cpp:925
#2  0x000055555555a81d in graph_2d::screen_regenerate() (this=0x555555807000)
at 2d_graph.cpp:902
        p_hwscreen = 0x5555555575f0 <_start>
#3  0x000055555555aa14 in graph_2d::screen_resize(int, int)
(this=0x555555807000, width=640, height=480) at 2d_graph.cpp:945
#4  0x000055555555a800 in graph_2d::screen_create(int, int, int, int, int)
(this=0x555555807000, flag=0, width=640, height=480, bpp=32, fullscreen=0) at
2d_graph.cpp:895
#5  0x000055555555c58a in graph_2d::graph_2d(int, int, int, bool)
(this=0x555555807000, dx=640, dy=480, depth=32, fullscreen=false) at
2d_graph.h:761
#6  0x000055555555b7a4 in graphics_start(int, int, int, bool) (dx=640, dy=480,
depth=32, fullscreen=false) at 2d_graph.cpp:1216
#7  0x000055555555eeca in berusky_config::game_screen_set() () at
berusky.cpp:158
#8  0x000055555558ef1d in run_game(game_mode, char*, dir_list*) (gmode=MENU,
p_garg=0x0, p_dir=0x7fffffff6dd0) at main.cpp:102
        repo =
          {p_obj = {0x0 <repeats 73 times>}, obj_num = {0 <repeats 28 times>,
-908249600, -43328328, 0, 0, -12848, 32767, -153880752, 32767, -156756192,
32767, -134645120, 32767, 15, 0 <repeats 29 times>, -8496, 32767, -908249600},
static item_desc_name = {0x5555555995ae "Floor", 0x5555555995b4 "Player 1",
0x5555555995bd "Player 2", 0x5555555995c6 "Player 3", 0x5555555995cf "Player
4", 0x5555555995d8 "Player 5", 0x5555555995e1 "Box", 0x5555555995e5
"Explosive", 0x5555555995ef "Wall", 0x5555555995f4 "Exit", 0x5555555995f9
"Stone", 0x5555555995ff "Key (to exit)", 0x55555559960d "Pickax",
0x555555599614 "Color Key (for player 1)", 0x55555559962d "Color Key (for
player 2)", 0x555555599646 "Color Key (for player 3)", 0x55555559965f "Color
Key (for player 4)", 0x555555599678 "Color Key (for player 5)", 0x555555599691
"Color door (for player 1)", 0x5555555996ab "Color door (for player 2)",
0x5555555996c5 "Color door (for player 3)", 0x5555555996df "Color door (for
player 4)", 0x5555555996f9 "Color door (for player 5)", 0x555555599691 "Color
door (for player 1)", 0x5555555996ab "Color door (for player 2)",
0x5555555996c5 "Color door (for player 3)", 0x5555555996df "Color door (for
player 4)", 0x5555555996f9 "Color door (for player 5)", 0x555555599691 "Color
door (for player 1)", 0x5555555996ab "Color door (for player 2)",
0x5555555996c5 "Color door (for player 3)", 0x5555555996df "Color door (for
player 4)", 0x5555555996f9 "Color door (for player 5)", 0x555555599691 "Color
door (for player 1)", 0x5555555996ab "Color door (for player 2)",
0x5555555996c5 "Color door (for player 3)", 0x5555555996df "Color door (for
player 4)", 0x5555555996f9 "Color door (for player 5)", 0x555555599713 "Color
gate-way (for player 1)", 0x555555599731 "Color gate-way (for player 2)",
0x55555559974f "Color gate-way (for player 3)", 0x55555559976d "Color gate-way
(for player 4)", 0x55555559978b "Color gate-way (for player 5)", 0x555555599713
"Color gate-way (for player 1)", 0x555555599731 "Color gate-way (for player
2)", 0x55555559974f "Color gate-way (for player 3)", 0x55555559976d "Color
gate-way (for player 4)", 0x55555559978b "Color gate-way (for player 5)",
0x555555599713 "Color gate-way (for player 1)", 0x555555599731 "Color gate-way
(for player 2)", 0x55555559974f "Color gate-way (for player 3)", 0x55555559976d
"Color gate-way (for player 4)", 0x55555559978b "Color gate-way (for player
5)", 0x555555599713 "Color gate-way (for player 1)", 0x555555599731 "Color
gate-way (for player 2)", 0x55555559974f "Color gate-way (for player 3)",
0x55555559976d "Color gate-way (for player 4)", 0x55555559978b "Color gate-way
(for player 5)", 0x5555555997a9 "One-pass door", 0x5555555997a9 "One-pass
door", 0x5555555997a9 "One-pass door", 0x5555555997a9 "One-pass door",
0x5555555997a9 "One-pass door", 0x5555555997a9 "One-pass door", 0x5555555997b7
"Jamb (Wall)", 0x5555555997b7 "Jamb (Wall)", 0x5555555997b7 "Jamb (Wall)",
0x5555555997b7 "Jamb (Wall)", 0x5555555997b7 "Jamb (Wall)", 0x5555555997b7
"Jamb (Wall)", 0x5555555997b7 "Jamb (Wall)", 0x5555555997b7 "Jamb (Wall)",
0x5555555997c3 "Light box", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, static
item_desc_rotation = <same as static member of an already seen type>}
        p_gui = 0x796b73757265622f
        __PRETTY_FUNCTION__ = "void run_game(GAME_MODE, char*, DIR_LIST*)"
        main_queue = {max_events = 1701576714, p_queue = 0x646e616d6d6f6320,
read_first = 10, read_next = 0, write_first = 0, write_next = 0}
        global_frame = 1936026977
#9  0x000055555558fadf in main(int, char**) (argc=1, argv=0x7fffffffded8) at
main.cpp:331
        gmode = MENU
        p_garg = 0x0
        dir =
          {levels = "/usr/share/berusky/Levels", '\000' <repeats 4070 times>,
levels_user = "/home/martin/.berusky/User", '\000' <repeats 4069 times>,
gamedata = "/usr/share/berusky/GameData", '\000' <repeats 4068 times>, graphics
= "/usr/share/berusky/Graphics", '\000' <repeats 4068 times>, tmp = "/tmp",
'\000' <repeats 4091 times>, game_binary = "/usr/games/berusky", '\000'
<repeats 182 times>..., cwd =
"/home/martin/prace\000\365\377\177\000\000/c\336\367\377\177\000\000\001\000\000\000\377\177\000\000\240\346\372\367\377\177\000\000\300\315\377\377\377\177\000\000\000\000b\016\275\357\377\377\220\021#\365\377\177\000\000/c\336\367\377\177\000\000\001\000\000\000\377\177\000\000\000\340\372\367\377\177\000\000\360\315\377\377\377\177\000\000\000\000b\016\275\357\377\377\220\255v\365\377\177\000\000/c\336\367\377\177\000\000\001\000\000\000\377\177\000\000\360\027\373\367\377\177\000\000
\316\377\377\377\177\000\000\000\000b\016\275\357\377\377@\255v\365\377\177\000\000/c\336\367\377\177\000\000\001\000\000\000\377\177\000\000\360\022\373\367\377\177\000\000P\316\377\377\377\177\000\000\000\000"...}
(gdb)

*** End of the template - remove these template lines ***



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

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

Versions of packages berusky depends on:
ii  berusky-data     1.7-1
ii  libc6            2.24-17
ii  libgcc1          1:7.2.0-8
ii  libgtk2.0-0      2.24.31-2
ii  libsdl-image1.2  1.2.12-6
ii  libsdl1.2debian  1.2.15+dfsg2-0.1
ii  libstdc++6       7.2.0-8

berusky recommends no packages.

berusky suggests no packages.

-- no debconf information

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#877979; Package berusky. (Sun, 08 Oct 2017 14:33:05 GMT) (full text, mbox, link).


Acknowledgement sent to Markus Koschany <apo@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Sun, 08 Oct 2017 14:33:05 GMT) (full text, mbox, link).


Message #10 received at 877979@bugs.debian.org (full text, mbox, reply):

From: Markus Koschany <apo@debian.org>
To: Martin Kovařík <v.merlin@seznam.cz>
Cc: 877979@bugs.debian.org
Subject: Re: Bug#877979: berusky: SIGSEGV during launch
Date: Sun, 8 Oct 2017 16:28:40 +0200
[Message part 1 (text/plain, inline)]
Control: tags -1 confirmed -patch
Control: severity -1 important
Control: forwarded -1 https://github.com/stransky/berusky/issues/7

Am 08.10.2017 um 11:00 schrieb Martin Kovařík:
> Package: berusky
> Version: 1.7-1
> Severity: normal
> Tags: patch
> 
> Dear Maintainer,
> 
> After launch you get this:

Hi,

thank you very much for the report. Indeed I could reproduce this issue
on one of my machines. It apparently depends on which video card you are
using but it is ultimately an upstream bug in berusky. This was fixed in
version 1.7.1. The version was never tagged though and thus it went
unnoticed.

I have just uploaded the new version to Debian Sid and I plan to fix
this issue in Stretch too.

Cheers,

Markus

[signature.asc (application/pgp-signature, attachment)]

Added tag(s) confirmed. Request was from Markus Koschany <apo@debian.org> to 877979-submit@bugs.debian.org. (Sun, 08 Oct 2017 14:33:05 GMT) (full text, mbox, link).


Removed tag(s) patch. Request was from Markus Koschany <apo@debian.org> to 877979-submit@bugs.debian.org. (Sun, 08 Oct 2017 14:33:06 GMT) (full text, mbox, link).


Severity set to 'important' from 'normal' Request was from Markus Koschany <apo@debian.org> to 877979-submit@bugs.debian.org. (Sun, 08 Oct 2017 14:33:07 GMT) (full text, mbox, link).


Set Bug forwarded-to-address to 'https://github.com/stransky/berusky/issues/7'. Request was from Markus Koschany <apo@debian.org> to 877979-submit@bugs.debian.org. (Sun, 08 Oct 2017 14:33:07 GMT) (full text, mbox, link).


Reply sent to Markus Koschany <apo@debian.org>:
You have taken responsibility. (Sun, 08 Oct 2017 15:06:08 GMT) (full text, mbox, link).


Notification sent to Martin Kovařík <v.merlin@seznam.cz>:
Bug acknowledged by developer. (Sun, 08 Oct 2017 15:06:08 GMT) (full text, mbox, link).


Message #23 received at 877979-close@bugs.debian.org (full text, mbox, reply):

From: Markus Koschany <apo@debian.org>
To: 877979-close@bugs.debian.org
Subject: Bug#877979: fixed in berusky 1.7.1-1
Date: Sun, 08 Oct 2017 15:04:09 +0000
Source: berusky
Source-Version: 1.7.1-1

We believe that the bug you reported is fixed in the latest version of
berusky, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 877979@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Markus Koschany <apo@debian.org> (supplier of updated berusky package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 08 Oct 2017 15:57:26 +0200
Source: berusky
Binary: berusky
Architecture: source
Version: 1.7.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Markus Koschany <apo@debian.org>
Description:
 berusky    - Logic game based on Sokoban
Closes: 877979
Changes:
 berusky (1.7.1-1) unstable; urgency=medium
 .
   * New upstream version 1.7.1.
     - Fixes segmentation fault on startup.
       Thanks to Martin Kovařík for the report. (Closes: #877979)
   * Refresh 01-debianize.patch and 04-unfinished.patch.
   * Drop deprecated menu file and xpm icon.
   * Remove override for dh_clean.
   * Switch to compat level 10.
   * Install appdata file into /usr/share/metainfo.
   * Use https for Format field.
   * Declare compliance with Debian Policy 4.1.1.
   * Remove chrpath from Build-Depends.
Checksums-Sha1:
 b4fcdf56f7a49d6d591e1f9ad5512850899d094b 2136 berusky_1.7.1-1.dsc
 221ea84b35d1fb7a889522da111e6ce77dce3a56 325776 berusky_1.7.1.orig.tar.xz
 0c7cbf271538c80c370a3ca807098015678cd5f1 77268 berusky_1.7.1-1.debian.tar.xz
 4e7ba827a4addd7b66191198f05b057853f860be 13209 berusky_1.7.1-1_amd64.buildinfo
Checksums-Sha256:
 b108b1ae5e3e146bb9c42b98d548df7d620373743281692ba374eca0f5f1a894 2136 berusky_1.7.1-1.dsc
 ce18ebfd06f88862b02913095cb85ccee0886c821eeb1a319144061b1c7d8310 325776 berusky_1.7.1.orig.tar.xz
 9004a344bf3feb90e69097d2f6f6100856af19ff738fb4f51466eef1bbf81272 77268 berusky_1.7.1-1.debian.tar.xz
 8239eb62b4373c4438edac3d77ce42ad8f78e99bea4ba20daf0e00a7106545b4 13209 berusky_1.7.1-1_amd64.buildinfo
Files:
 4fd2194e4be902da043f59005add2f33 2136 games optional berusky_1.7.1-1.dsc
 dad3ef55ca48ffdbb1f237da2cc2d041 325776 games optional berusky_1.7.1.orig.tar.xz
 deb779b17410b1c9a5f9176280f47298 77268 games optional berusky_1.7.1-1.debian.tar.xz
 9432f6ac27c825cb72e38a864f74c865 13209 games optional berusky_1.7.1-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKjBAEBCgCNFiEErPPQiO8y7e9qGoNf2a0UuVE7UeQFAlnaNMNfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFD
RjNEMDg4RUYzMkVERUY2QTFBODM1RkQ5QUQxNEI5NTEzQjUxRTQPHGFwb0BkZWJp
YW4ub3JnAAoJENmtFLlRO1HkItkQAIRXJ5vz0sRXONMhnPgj5BAGWegeSc/pdWIc
pQjVdF5UQSuYkF394TcYyofkPLsj4jVk1/gNVVF46CYii7ZRosqAjR+SeK8X0IK8
DPrgOMpm7pwb2ZfRKTX3m3zAib+dvRvM6oO+FoVheRjMrHFROtpkneOqYexHrUJR
zchCERtkpuzgmsXFUtx+22zk8Ck3rPt19NnCme1mNJIl0gkXAewoK6RxbFOn9RQT
rCGQLo/aLZhCFTWj0af4dj3qMf4slEArEgBpHuyq0dCYJN8WJakUozcQhRMgmUTN
PdYG9pz+GQ6cRcJlvnJAvXQiezZFiR464xhbW2/yt4jXXLqywkwhPq2Mz314SJjk
FXtnXHA2GlhEQYd3Ke4cXjRvlB2orn4hvXZpeFSH1Yqgt4BqxQ2YnbXpxUY8tt3I
aDvrWB+0f3wIYViPiVE4pAaaLxHuTIGQzoh2DFf/QVI81f6Bw4n2EmxqJb6KiyPX
TD7y0tK0IUYMohQw1MLRJtYyazhEtA67acSPgvYR6/Hjb+wEJpewmr6EbkjCg3YB
DXDRK9T9xlS/nBHyPpXR7WjLPlFnmPnxxn23S+bBGufTC0XohT3uALXdEDfL3R/y
5pPotHk0gzjbn6bVnRGvGdepW7UBgVYT14ccqYmy5g5JRZTCWkCJpHfS6PrzAWab
BPN8y3Zj
=Sg3e
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 11 Nov 2017 07:28:27 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 15:02:08 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.