Bug#982661: mame: Crash on startup

Celelibi celelibi at gmail.com
Sat Feb 13 02:19:11 GMT 2021


Package: mame
Version: 0.227+dfsg.1-1
Severity: important

Dear Maintainer,

After an upgrade, mame started crashing on startup. I think it's
unlikely that it's mame's fault, but I'll let you decide to forward to
bug to libsdl2 or something else of needed.

Here is a run in gdb with a full stack trace.

------------------------------------------------------------------------------
$ gdb mame
Reading symbols from mame...
Reading symbols from /usr/lib/debug/.build-id/6b/74368acfb3eea244cebfc8fb10056378166e6c.debug...
(gdb) directory code/debsrc/mesa-20.3.4/debian
Source directories searched: /home/celelibi/code/debsrc/mesa-20.3.4/debian:$cdir:$cwd
(gdb) run
Starting program: /usr/games/mame
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Error opening translation file English
[Detaching after fork from child process 698623]
[New Thread 0x7fffea0b8700 (LWP 698740)]
[New Thread 0x7fffe9762700 (LWP 698741)]
[New Thread 0x7fffe8f61700 (LWP 698742)]
[New Thread 0x7fffe3fff700 (LWP 698743)]
[New Thread 0x7fffe37fe700 (LWP 698744)]

Thread 1 "mame" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007ffff0edb23f in cso_destroy_context (ctx=0x55556b27a9e0) at ../src/gallium/auxiliary/cso_cache/cso_context.c:419
#2  0x00007ffff09f7704 in st_destroy_context_priv (st=st at entry=0x55556b279020, destroy_pipe=destroy_pipe at entry=true) at ../src/mesa/state_tracker/st_context.c:471
#3  0x00007ffff09f8a94 in st_destroy_context (st=0x55556b279020) at ../src/mesa/state_tracker/st_context.c:1150
#4  0x00007ffff09da95e in dri_destroy_context (cPriv=<optimized out>) at ../src/gallium/frontends/dri/dri_context.c:247
#5  0x00007ffff0ed9903 in driDestroyContext (pcp=0x55556b06aa00) at ../src/mesa/drivers/dri/common/dri_util.c:533
#6  0x00007ffff22515af in dri2_destroy_context (context=0x55556b06a870) at ../src/glx/dri2_glx.c:123
#7  0x00007ffff223fe49 in glXDestroyContext (ctx=0x55556b06a870, dpy=0x55556afe9bf0) at ../src/glx/glxcmds.c:510
#8  glXDestroyContext (dpy=0x55556afe9bf0, ctx=0x55556b06a870) at ../src/glx/glxcmds.c:491
#9  0x00007ffff7ed56ed in X11_GL_InitExtensions (_this=0x55556afeb890) at ./src/video/x11/SDL_x11opengl.c:464
#10 X11_GL_LoadLibrary (_this=0x55556afeb890, path=<optimized out>) at ./src/video/x11/SDL_x11opengl.c:238
#11 0x00007ffff7eaf116 in SDL_GL_LoadLibrary_REAL (path=path at entry=0x0) at ./src/video/SDL_video.c:3012
#12 0x00007ffff7eb1771 in SDL_CreateWindow_REAL (title=title at entry=0x7ffff7f246b5 "OpenGL test", x=x at entry=-32, y=y at entry=-32, w=w at entry=32, h=h at entry=32, flags=flags at entry=10) at ./src/video/SDL_video.c:1489
#13 0x00007ffff7eb1fff in ShouldUseTextureFramebuffer () at ./src/video/SDL_video.c:225
#14 SDL_VideoInit_REAL (driver_name=<optimized out>, driver_name at entry=0x0) at ./src/video/SDL_video.c:545
#15 0x00007ffff7e0af47 in SDL_InitSubSystem_REAL (flags=16416) at ./src/SDL.c:216
#16 0x000055555ee925c8 in sdl_osd_interface::init(running_machine&) ()
#17 0x0000555563894f79 in running_machine::start() ()
#18 0x0000555563896c29 in running_machine::run(bool) ()
#19 0x000055555ef8cf85 in mame_machine_manager::execute() ()
#20 0x000055555f037d36 in cli_frontend::start_execution(mame_machine_manager*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) ()
#21 0x000055555f03800e in cli_frontend::execute(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) ()
#22 0x000055555ef8a876 in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) ()
#23 0x000055555a221fcb in main ()
(gdb) frame 1
#1  0x00007ffff0edb23f in cso_destroy_context (ctx=0x55556b27a9e0) at ../src/gallium/auxiliary/cso_cache/cso_context.c:419
419                    ctx->pipe->set_shader_buffers(ctx->pipe, sh, 0, maxssbo, ssbos, 0);
(gdb) p ctx->pipe->set_shader_buffers
$1 = (void (*)(struct pipe_context *, enum pipe_shader_type, unsigned int, unsigned int, const struct pipe_shader_buffer *, unsigned int)) 0x0
------------------------------------------------------------------------------

I doubt the crash has anything to do with the error about the English
translation, since it crashes during the initialization of the video
subsystem.

Best regards,
Celelibi



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

Kernel: Linux 5.9.0-5-amd64 (SMP w/2 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mame depends on:
ii  libc6              2.31-9
ii  libexpat1          2.2.10-1
ii  libflac8           1.3.3-2
ii  libfontconfig1     2.13.1-4.2
ii  libgcc-s1          10.2.1-6
ii  libgl1             1.3.2-1
ii  libjpeg62-turbo    1:2.0.5-2
ii  liblua5.3-0        5.3.3-1.1+b1
ii  libportaudio2      19.6.0-1.1
ii  libportmidi0       1:217-6
ii  libpugixml1v5      1.11.4-1
ii  libqt5core5a       5.15.2+dfsg-4
ii  libqt5gui5         5.15.2+dfsg-4
ii  libqt5widgets5     5.15.2+dfsg-4
ii  libsdl2-2.0-0      2.0.14+dfsg2-3
ii  libsdl2-ttf-2.0-0  2.0.15+dfsg1-1
ii  libsqlite3-0       3.34.1-1
ii  libstdc++6         10.2.1-6
ii  libutf8proc2       2.5.0-1
ii  libx11-6           2:1.7.0-2
ii  libxi6             2:1.7.10-1
ii  mame-data          0.227+dfsg.1-1
ii  zlib1g             1:1.2.11.dfsg-2

mame recommends no packages.

Versions of packages mame suggests:
pn  gnome-video-arcade  <none>
pn  mame-doc            <none>
ii  mame-extra          0.206-1
ii  mame-tools          0.226+dfsg.1-1+b1

-- no debconf information



More information about the Pkg-games-devel mailing list