Bug#982255: lutris: segfault after cancelling

Phil Morrell debian at emorrp1.name
Sun Feb 7 19:44:17 GMT 2021


Thanks for finding the upstream report, sorry for not checking there
first. I forgot to attach the stacktrace, here it is.
-------------- next part --------------
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 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:
<https://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 python3...
Reading symbols from /usr/lib/debug/.build-id/23/979cd82e8104807e7a6f742c379e49e7c5d9bb.debug...
Starting program: /usr/bin/python3 /usr/games/lutris
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after fork from child process 11066]
[Detaching after fork from child process 11067]
[New Thread 0x7ffff200d700 (LWP 11076)]
[New Thread 0x7ffff180c700 (LWP 11077)]
[Detaching after fork from child process 11078]
[Detaching after fork from child process 11079]
[Detaching after fork from child process 11080]
[Detaching after fork from child process 11081]
it looks like wine32 is missing, you should install it.
multiarch needs to be enabled first.  as root, please
execute "dpkg --add-architecture i386 && apt-get update &&
apt-get install wine32"
[Detaching after fork from child process 11085]
[New Thread 0x7fffeb351700 (LWP 11086)]
2021-02-07 19:01:01,260: Initializing lutris
2021-02-07 19:01:01,857: Downloading DXVK releases to /home/emorrp1/.local/share/lutris/runtime/dxvk/dxvk_versions.json
2021-02-07 19:01:01,859: Runtime updated. Initialization complete.
2021-02-07 19:01:01,860: Lutris 0.5.8.3
2021-02-07 19:01:01,860: Running Mesa/X.org Mesa driver 20.3.4 on llvmpipe (LLVM 11.0.1, 256 bits) (0xffffffff)
2021-02-07 19:01:01,861: GPU: 1B36:0100 1AF4:1100 (qxl drivers)
2021-02-07 19:01:01,861: i386 libGL.so.1 missing (needed by opengl)
2021-02-07 19:01:01,861: i386 libvulkan.so.1 missing (needed by vulkan)
[Thread 0x7fffeb351700 (LWP 11086) exited]
[New Thread 0x7fffeb351700 (LWP 11087)]
[New Thread 0x7fffda8f1700 (LWP 11088)]
[New Thread 0x7fffda0f0700 (LWP 11089)]
[New Thread 0x7fffd98ef700 (LWP 11090)]
[New Thread 0x7fffd90ee700 (LWP 11091)]
[New Thread 0x7fffd88ed700 (LWP 11092)]
[New Thread 0x7fffcbfff700 (LWP 11093)]
[New Thread 0x7fffcb7fe700 (LWP 11094)]
[Thread 0x7fffd98ef700 (LWP 11090) exited]
[Thread 0x7fffda0f0700 (LWP 11089) exited]
[Thread 0x7fffda8f1700 (LWP 11088) exited]
[Thread 0x7fffeb351700 (LWP 11087) exited]
[Thread 0x7fffd88ed700 (LWP 11092) exited]
[Thread 0x7fffcb7fe700 (LWP 11094) exited]
[Thread 0x7fffd90ee700 (LWP 11091) exited]
[Thread 0x7fffcbfff700 (LWP 11093) exited]
[Detaching after fork from child process 11095]
[Detaching after fork from child process 11096]
[New Thread 0x7fffcb7fe700 (LWP 11097)]
[New Thread 0x7fffcbfff700 (LWP 11098)]
[Thread 0x7fffcbfff700 (LWP 11098) exited]
--Type <RET> for more, q to quit, c to continue without paging--

Thread 1 "python3" received signal SIGSEGV, Segmentation fault.
g_menu_model_get_n_items (model=0x0) at ../../../gio/gmenumodel.c:498
498	../../../gio/gmenumodel.c: No such file or directory.
(gdb) bt
#0  g_menu_model_get_n_items (model=0x0) at ../../../gio/gmenumodel.c:498
#1  0x00007ffff54a690d in gtk_application_window_update_shell_shows_app_menu (
    window=window at entry=0x16ba860, settings=settings at entry=0x11ea1c0)
    at ../../../../gtk/gtkapplicationwindow.c:322
#2  0x00007ffff54a6eeb in gtk_application_window_real_realize (widget=0x16ba860)
    at ../../../../gtk/gtkapplicationwindow.c:683
#3  0x00007ffff730b2de in _g_closure_invoke_va (closure=closure at entry=0xbc2aa0, 
    return_value=return_value at entry=0x0, instance=instance at entry=0x16ba860, 
    args=args at entry=0x7fffffffad60, n_params=0, param_types=0x0) at ../../../gobject/gclosure.c:873
#4  0x00007ffff7323a18 in g_signal_emit_valist (instance=0x16ba860, signal_id=<optimized out>, 
    detail=0, var_args=var_args at entry=0x7fffffffad60) at ../../../gobject/gsignal.c:3403
#5  0x00007ffff7323c0f in g_signal_emit (instance=instance at entry=0x16ba860, 
    signal_id=<optimized out>, detail=detail at entry=0) at ../../../gobject/gsignal.c:3550
#6  0x00007ffff57313e7 in gtk_widget_realize (widget=0x16ba860) at ../../../../gtk/gtkwidget.c:5519
#7  0x00007ffff573e89e in gtk_window_show (widget=0x16ba860) at ../../../../gtk/gtkwindow.c:6181
#8  0x00007ffff730b092 in g_closure_invoke (closure=closure at entry=0xbcb8b0, 
    return_value=return_value at entry=0x0, n_param_values=1, 
    param_values=param_values at entry=0x7fffffffb0a0, 
    invocation_hint=invocation_hint at entry=0x7fffffffb020) at ../../../gobject/gclosure.c:810
#9  0x00007ffff731d09a in signal_emit_unlocked_R (node=node at entry=0xbcb900, detail=detail at entry=0, 
    instance=instance at entry=0x16ba860, emission_return=emission_return at entry=0x0, 
    instance_and_params=instance_and_params at entry=0x7fffffffb0a0) at ../../../gobject/gsignal.c:3668
#10 0x00007ffff732369f in g_signal_emit_valist (instance=<optimized out>, 
    signal_id=<optimized out>, detail=<optimized out>, var_args=var_args at entry=0x7fffffffb220)
    at ../../../gobject/gsignal.c:3494
#11 0x00007ffff7323c0f in g_signal_emit (instance=instance at entry=0x16ba860, 
    signal_id=<optimized out>, detail=detail at entry=0) at ../../../gobject/gsignal.c:3550
#12 0x00007ffff572ae16 in gtk_widget_show (widget=0x16ba860) at ../../../../gtk/gtkwidget.c:4848
#13 0x00007ffff72b9d1d in ffi_call_unix64 () at ../src/x86/unix64.S:101
#14 0x00007ffff72b9289 in ffi_call_int (cif=0x1248228, fn=0x7ffff5743ae0 <gtk_window_present>, 
    rvalue=<optimized out>, avalue=<optimized out>, closure=<optimized out>)
    at ../src/x86/ffi64.c:669
#15 0x00007ffff74a7975 in pygi_invoke_c_callable (function_cache=0x1248180, state=<optimized out>, 
    py_args=<optimized out>, py_kwargs=<optimized out>) at gi/pygi-invoke.c:684
#16 0x00007ffff749e698 in pygi_function_cache_invoke (function_cache=<optimized out>, 
--Type <RET> for more, q to quit, c to continue without paging--
    py_args=py_args at entry=(<InstallerWindow(application=<Application(window=<LutrisWindow(application=<...>, threads_stoppers=[], window_size=<_ResultTuple at remote 0x7ffff5bdac20>, maximized=False, service=<LutrisService at remote 0x7ffff013d980>, game_actions=<GameActions(application=<...>, window=<...>, game_id=None, _game=None) at remote 0x7ffff03ab8e0>, search_timer_id=None, selected_category='service:lutris', filters={'hidden': False, 'installed': False, 'service': 'lutris', 'text': 'epic games'}, icon_type='', game_store=<GameStore(service=<...>, service_media=<LutrisBanner at remote 0x7ffff03dbfd0>, _installed_games=[], _installed_games_accessed=False, _icon_updates={}, _icon_update_timer=None, store=<ListStore at remote 0x7ffff03c3980>, media_loader=<MediaLoader at remote 0x7ffff012d740>) at remote 0x7ffff012d780>, view=<GameGridView(game_store=<...>, service_media=<...>, model=<...>, service='lutris', current_path=<TreePath at remote 0x7ffff0126940>, contextual_menu=<ContextualMenu(main_entries=[('play', 'Play', <method at ...(truncated), py_kwargs=py_kwargs at entry=0x0)
    at gi/pygi-cache.c:862
#17 0x00007ffff74a80d5 in pygi_callable_info_invoke (user_data=0x0, cache=<optimized out>, 
    kwargs=0x0, 
    py_args=(<InstallerWindow(application=<Application(window=<LutrisWindow(application=<...>, threads_stoppers=[], window_size=<_ResultTuple at remote 0x7ffff5bdac20>, maximized=False, service=<LutrisService at remote 0x7ffff013d980>, game_actions=<GameActions(application=<...>, window=<...>, game_id=None, _game=None) at remote 0x7ffff03ab8e0>, search_timer_id=None, selected_category='service:lutris', filters={'hidden': False, 'installed': False, 'service': 'lutris', 'text': 'epic games'}, icon_type='', game_store=<GameStore(service=<...>, service_media=<LutrisBanner at remote 0x7ffff03dbfd0>, _installed_games=[], _installed_games_accessed=False, _icon_updates={}, _icon_update_timer=None, store=<ListStore at remote 0x7ffff03c3980>, media_loader=<MediaLoader at remote 0x7ffff012d740>) at remote 0x7ffff012d780>, view=<GameGridView(game_store=<...>, service_media=<...>, model=<...>, service='lutris', current_path=<TreePath at remote 0x7ffff0126940>, contextual_menu=<ContextualMenu(main_entries=[('play', 'Play', <method at ...(truncated), info=<optimized out>) at gi/pygi-invoke.c:727
#18 0x00007ffff74a28f5 in _callable_info_call (self=0x7fffeb296d70, args=(), kwargs=0x0)
    at gi/pygi-info.c:548
#19 0x000000000051db9b in _PyObject_MakeTpCall (tstate=0x962e70, 
    callable=<gi.FunctionInfo at remote 0x7fffeb296d70>, args=<optimized out>, 
    nargs=<optimized out>, keywords=<optimized out>) at ../Objects/call.c:191
#20 0x00000000005178a1 in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, 
    args=0x1817708, callable=<gi.FunctionInfo at remote 0x7fffeb296d70>, tstate=0x962e70)
    at ../Include/cpython/abstract.h:116
#21 _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x1817708, 
    callable=<gi.FunctionInfo at remote 0x7fffeb296d70>, tstate=0x962e70)
--Type <RET> for more, q to quit, c to continue without paging--
    at ../Include/cpython/abstract.h:103
#22 PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=0x1817708, 
    callable=<gi.FunctionInfo at remote 0x7fffeb296d70>) at ../Include/cpython/abstract.h:127
#23 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, 
    tstate=0x962e70) at ../Python/ceval.c:5072
#24 _PyEval_EvalFrameDefault (tstate=<optimized out>, f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:3487
#25 0x0000000000510a2d in _PyEval_EvalFrame (throwflag=0, 
    f=Frame 0x1817580, for file /usr/lib/python3/dist-packages/lutris/gui/widgets/window.py, line 42, in present (self=<InstallerWindow(application=<Application(window=<LutrisWindow(application=<...>, threads_stoppers=[], window_size=<_ResultTuple at remote 0x7ffff5bdac20>, maximized=False, service=<LutrisService at remote 0x7ffff013d980>, game_actions=<GameActions(application=<...>, window=<...>, game_id=None, _game=None) at remote 0x7ffff03ab8e0>, search_timer_id=None, selected_category='service:lutris', filters={'hidden': False, 'installed': False, 'service': 'lutris', 'text': 'epic games'}, icon_type='', game_store=<GameStore(service=<...>, service_media=<LutrisBanner at remote 0x7ffff03dbfd0>, _installed_games=[], _installed_games_accessed=False, _icon_updates={}, _icon_update_timer=None, store=<ListStore at remote 0x7ffff03c3980>, media_loader=<MediaLoader at remote 0x7ffff012d740>) at remote 0x7ffff012d780>, view=<GameGridView(game_store=<...>, service_media=<...>, model=<...>, service='lutris', current_path...(truncated), tstate=0x962e70) at ../Include/internal/pycore_ceval.h:40
#26 _PyEval_EvalCode (tstate=0x962e70, _co=<optimized out>, globals=<optimized out>, 
    locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=0x0, 
    kwargs=0x7fffeb2973c0, kwcount=<optimized out>, kwstep=1, defs=0x0, defcount=<optimized out>, 
    kwdefs=0x0, closure=(<cell at remote 0x7ffff0d532e0>,), name='present', 
    qualname='BaseApplicationWindow.present') at ../Python/ceval.c:4327
#27 0x00000000005290a1 in _PyFunction_Vectorcall (func=<optimized out>, stack=0x7fffeb2973b8, 
    nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:396
#28 0x00000000005124d2 in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, 
    args=0x7fffeb2973b8, callable=<function at remote 0x7ffff0d52b80>, tstate=0x962e70)
    at ../Include/cpython/abstract.h:118
#29 PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=0x7fffeb2973b8, 
    callable=<function at remote 0x7ffff0d52b80>) at ../Include/cpython/abstract.h:127
#30 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, 
    tstate=0x962e70) at ../Python/ceval.c:5072
#31 _PyEval_EvalFrameDefault (tstate=<optimized out>, f=<optimized out>, throwflag=<optimized out>)
    at ../Python/ceval.c:3504
--Type <RET> for more, q to quit, c to continue without paging--q
Quit
(gdb) py-bt
Traceback (most recent call first):
  File "/usr/lib/python3/dist-packages/lutris/gui/widgets/window.py", line 42, in present
    super().present()
  File "/usr/lib/python3/dist-packages/lutris/gui/application.py", line 237, in show_window
    self.app_windows[window_key].present()
  File "/usr/lib/python3/dist-packages/lutris/gui/application.py", line 504, in show_installer_window
    """Callback to remove the game from the running games"""
  File "/usr/lib/python3/dist-packages/lutris/services/lutris.py", line 150, in install
    application.show_installer_window(installers)
  File "/usr/lib/python3/dist-packages/lutris/gui/widgets/game_bar.py", line 224, in on_install_clicked
    self.service.install(self.db_game)
  File "/usr/lib/python3/dist-packages/gi/overrides/Gio.py", line 43, in run
    return Gio.Application.run(self, *args, **kwargs)
  File "/usr/games/lutris", line 567, in <module>
quit) 
A debugging session is active.

	Inferior 1 [process 11062] will be killed.

Quit anyway? (y or n) y
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-games-devel/attachments/20210207/c6e79fc0/attachment-0001.sig>


More information about the Pkg-games-devel mailing list