Bug#982255: lutris: segfault after cancelling

2021-02-07 Thread Stephan Lachnit
Control: tags -1 upstream
Control: forwarded -1 https://github.com/lutris/lutris/issues/3357

Thanks for reporting, but this is a known issue.
I don't have time to look into it, so this depends
on upstream fixing this.

Regards,
Stephan



Bug#982255: lutris: segfault after cancelling

2021-02-07 Thread Phil Morrell
Thanks for finding the upstream report, sorry for not checking there
first. I forgot to attach the stacktrace, here it is.
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 
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:
.
Find the GDB manual and other documentation resources online at:
.

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 0x7200d700 (LWP 11076)]
[New Thread 0x7180c700 (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) (0x)
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  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  0x754a690d in gtk_application_window_update_shell_shows_app_menu (
window=window@entry=0x16ba860, settings=settings@entry=0x11ea1c0)
at ../../../../gtk/gtkapplicationwindow.c:322
#2  0x754a6eeb in gtk_application_window_real_realize (widget=0x16ba860)
at ../../../../gtk/gtkapplicationwindow.c:683
#3  0x7730b2de in _g_closure_invoke_va (closure=closure@entry=0xbc2aa0, 
return_value=return_value@entry=0x0, instance=instance@entry=0x16ba860, 
args=args@entry=0x7fffad60, n_params=0, param_types=0x0) at 
../../../gobject/gclosure.c:873
#4  0x77323a18 in g_signal_emit_valist (instance=0x16ba860, 
signal_id=, 
detail=0, var_args=var_args@entry=0x7fffad60) at 
../../../gobject/gsignal.c:3403
#5  0x77323c0f in g_signal_emit (instance=instance@entry=0x16ba860, 
signal_id=, detail=detail@entry=0) at 
../../../gobject/gsignal.c:3550
#6  0x757313e7 in gtk_widget_realize (widget=0x16ba860) at 
../../../../gtk/gtkwidget.c:5519
#7  0x7573e89e in gtk_window_show (widget=0x16ba860) at 
../../../../gtk/gtkwindow.c:6181
#8  0x7730b092 in g_closure_invoke (closure=closure@entry=0xbcb8b0, 
return_value=return_value@entry=0x0, n_param_values=1, 
param_values=param_values@entry=0x7fffb0a0, 
invocation_hint=inv

Bug#982255: lutris: segfault after cancelling

2021-02-07 Thread Phil Morrell
Package: lutris
Version: 0.5.8.3-1
Severity: important


Hi Stephan, lutris reliably crashes when following this sequence:

Sources -> Lutris -> Search "epic games" -> Epic Games Store
-> Install -> Cancel -> Yes -> Install

I've attached the full stacktrace from debugging with:

$ sudo apt install python3.9-dbg python3-gi-dbg libglib2.0-0-dbgsym 
libgtk-3-0-dbgsym libffi7-dbgsym
$ gdb -ex r --args python3 /usr/games/lutris
...
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 




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

Kernel: Linux 5.10.0-3-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lutris depends on:
ii  cabextract   1.9-3
ii  curl 7.74.0-1
ii  fluid-soundfont-gs   3.1-5.2
ii  gir1.2-gnomedesktop-3.0  3.38.3-1
ii  gir1.2-gtk-3.0   3.24.24-1
ii  gir1.2-notify-0.70.7.9-3
ii  gir1.2-webkit2-4.0   2.30.4-1
ii  mesa-utils   8.4.0-1+b1
ii  p7zip16.02+dfsg-8
ii  psmisc   23.3-1
ii  python3  3.9.1-1
ii  python3-dbus 1.2.16-5
ii  python3-distro   1.5.0-1
ii  python3-gi   3.38.0-1+b2
ii  python3-lxml 4.6.2-1
ii  python3-magic2:0.4.20-3
ii  python3-pil  8.1.0-1
ii  python3-requests 2.25.1+dfsg-2
ii  python3-setproctitle 1.2.1-1+b1
ii  python3-yaml 5.3.1-3+b1
ii  unzip6.0-26
ii  x11-xserver-utils7.7+8

Versions of packages lutris recommends:
ii  gvfs-backends1.46.2-1
pn  libwine-development  
ii  python3-evdev1.4.0+dfsg-1
ii  winetricks   0.0+20200412-1

Versions of packages lutris suggests:
pn  gamemode  

-- no debconf information


signature.asc
Description: PGP signature