Bug#877979: berusky: SIGSEGV during launch
Martin Kovařík
v.merlin at seznam.cz
Sun Oct 8 09:00:28 UTC 2017
Package: berusky
Version: 1.7-1
Severity: normal
Tags: patch
Dear Maintainer,
After launch you get this:
martin at 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
More information about the Pkg-games-devel
mailing list