Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#68885 - [python-gobject] (gi.repository.Gtk) crashes with segmentation fault

Attached to Project: Arch Linux
Opened by Todor Markov (mtogop) - Tuesday, 08 December 2020, 00:07 GMT
Last edited by Morten Linderud (Foxboron) - Saturday, 19 December 2020, 10:46 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description:

Onboard crashes with segmenatation fault since the update to python 3.9.
The fault happens in the library python-gobject, in gi.repository.Gtk

No user interaction needed, happens shortly after launching onboard.


Additional info:
* package version(s): onboard 1.4.1-6, python 3.9.0-1, python-gobject 3.38.0-3, MATE desktop 1.24.1-1

Here's the python stack trace generated by faulthandler:

--------------------------------------------------------
Fatal Python error: Segmentation fault

Current thread 0x00007ff3b2a01740 (most recent call first):
File "/usr/lib/python3.9/site-packages/gi/overrides/Gtk.py", line 1649 in main
File "/usr/lib/python3.9/site-packages/Onboard/OnboardGtk.py", line 151 in __init__
File "/usr/bin/onboard", line 38 in <module>
-------------------------------------------------------

Here's the stack trace from journalctl:

-------------------------------------------------------
systemd-coredump[24661]: Process 24630 (onboard) of user 1000 dumped core.
Stack trace of thread 24630:
#0 0x00007ff3b2bb6615 raise (libc.so.6 + 0x3d615)
#1 0x00007ff3b2bb66a0 __restore_rt (libc.so.6 + 0x3d6a0)
#2 0x00007ff3b2e61a9e n/a (libpython3.9.so.1.0 + 0x11fa9e)
#3 0x00007ff3b2e61087 n/a (libpython3.9.so.1.0 + 0x11f087)
#4 0x00007ff3b2e60f1b Py_BuildValue (libpython3.9.so.1.0 + 0x11ef1b)
#5 0x00007ff3aee015a6 n/a (osk.cpython-39-x86_64-linux-gnu.so + 0xb5a6)
#6 0x00007ff3b1ee98f4 g_main_context_dispatch (libglib-2.0.so.0 + 0x528f4)
#7 0x00007ff3b1f3d821 n/a (libglib-2.0.so.0 + 0xa6821)
#8 0x00007ff3b1ee8e43 g_main_loop_run (libglib-2.0.so.0 + 0x51e43)
#9 0x00007ff3b07c44ff gtk_main (libgtk-3.so.0 + 0x1e14ff)
#10 0x00007ff3b1e39acd n/a (libffi.so.7 + 0x6acd)
#11 0x00007ff3b1e3903a n/a (libffi.so.7 + 0x603a)
#12 0x00007ff3b2024b65 n/a (_gi.cpython-39-x86_64-linux-gnu.so + 0x2ab65)
#13 0x00007ff3b20235b2 n/a (_gi.cpython-39-x86_64-linux-gnu.so + 0x295b2)
#14 0x00007ff3b2e8d08f PyObject_Call (libpython3.9.so.1.0 + 0x14b08f)
#15 0x00007ff3b2e6dba8 _PyEval_EvalFrameDefault (libpython3.9.so.1.0 + 0x12bba8)
#16 0x00007ff3b2e69eee n/a (libpython3.9.so.1.0 + 0x127eee)
#17 0x00007ff3b2e7c1de _PyFunction_Vectorcall (libpython3.9.so.1.0 + 0x13a1de)
#18 0x00007ff3b2e6fa77 _PyEval_EvalFrameDefault (libpython3.9.so.1.0 + 0x12da77)
#19 0x00007ff3b2e7c03a _PyFunction_Vectorcall (libpython3.9.so.1.0 + 0x13a03a)
#20 0x00007ff3b2e88d93 n/a (libpython3.9.so.1.0 + 0x146d93)
#21 0x00007ff3b2e7452b _PyObject_MakeTpCall (libpython3.9.so.1.0 + 0x13252b)
#22 0x00007ff3b2e6fb9a _PyEval_EvalFrameDefault (libpython3.9.so.1.0 + 0x12db9a)
#23 0x00007ff3b2e69eee n/a (libpython3.9.so.1.0 + 0x127eee)
#24 0x00007ff3b2e698b1 _PyEval_EvalCodeWithName (libpython3.9.so.1.0 + 0x1278b1)
#25 0x00007ff3b2f2dbb3 PyEval_EvalCode (libpython3.9.so.1.0 + 0x1ebbb3)
#26 0x00007ff3b2f3e03d n/a (libpython3.9.so.1.0 + 0x1fc03d)
#27 0x00007ff3b2f3995b n/a (libpython3.9.so.1.0 + 0x1f795b)
#28 0x00007ff3b2dd92e7 PyRun_FileExFlags (libpython3.9.so.1.0 + 0x972e7)
#29 0x00007ff3b2dd8cc5 PyRun_SimpleFileExFlags (libpython3.9.so.1.0 + 0x96cc5)
#30 0x00007ff3b2f4f6e9 Py_RunMain (libpython3.9.so.1.0 + 0x20d6e9)
#31 0x00007ff3b2f20979 Py_BytesMain (libpython3.9.so.1.0 + 0x1de979)
#32 0x00007ff3b2ba1152 __libc_start_main (libc.so.6 + 0x28152)
#33 0x000055891adce04e _start (python3.9 + 0x104e)

Stack trace of thread 24632:
#0 0x00007ff3b2c6e46f __poll (libc.so.6 + 0xf546f)
#1 0x00007ff3b1f3d7af n/a (libglib-2.0.so.0 + 0xa67af)
#2 0x00007ff3b1ee8e43 g_main_loop_run (libglib-2.0.so.0 + 0x51e43)
#3 0x00007ff3b1d01fe8 n/a (libgio-2.0.so.0 + 0x101fe8)
#4 0x00007ff3b1f16d31 n/a (libglib-2.0.so.0 + 0x7fd31)
#5 0x00007ff3b2b603e9 start_thread (libpthread.so.0 + 0x93e9)
#6 0x00007ff3b2c79293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 24631:
#0 0x00007ff3b2c6e46f __poll (libc.so.6 + 0xf546f)
#1 0x00007ff3b1f3d7af n/a (libglib-2.0.so.0 + 0xa67af)
#2 0x00007ff3b1ee8121 g_main_context_iteration (libglib-2.0.so.0 + 0x51121)
#3 0x00007ff3b1ee8172 n/a (libglib-2.0.so.0 + 0x51172)
#4 0x00007ff3b1f16d31 n/a (libglib-2.0.so.0 + 0x7fd31)
#5 0x00007ff3b2b603e9 start_thread (libpthread.so.0 + 0x93e9)
#12 0x00007ff3b2024b65 n/a (_gi.cpython-39-x86_64-linux-gnu.so + 0x2ab65)
#13 0x00007ff3b20235b2 n/a (_gi.cpython-39-x86_64-linux-gnu.so + 0x295b2)
#14 0x00007ff3b2e8d08f PyObject_Call (libpython3.9.so.1.0 + 0x14b08f)
#15 0x00007ff3b2e6dba8 _PyEval_EvalFrameDefault (libpython3.9.so.1.0 + 0x12bba8)
#16 0x00007ff3b2e69eee n/a (libpython3.9.so.1.0 + 0x127eee)
#17 0x00007ff3b2e7c1de _PyFunction_Vectorcall (libpython3.9.so.1.0 + 0x13a1de)
#18 0x00007ff3b2e6fa77 _PyEval_EvalFrameDefault (libpython3.9.so.1.0 + 0x12da77)
#19 0x00007ff3b2e7c03a _PyFunction_Vectorcall (libpython3.9.so.1.0 + 0x13a03a)
#20 0x00007ff3b2e88d93 n/a (libpython3.9.so.1.0 + 0x146d93)
#21 0x00007ff3b2e7452b _PyObject_MakeTpCall (libpython3.9.so.1.0 + 0x13252b)
#22 0x00007ff3b2e6fb9a _PyEval_EvalFrameDefault (libpython3.9.so.1.0 + 0x12db9a)
#23 0x00007ff3b2e69eee n/a (libpython3.9.so.1.0 + 0x127eee)
#24 0x00007ff3b2e698b1 _PyEval_EvalCodeWithName (libpython3.9.so.1.0 + 0x1278b1)
#25 0x00007ff3b2f2dbb3 PyEval_EvalCode (libpython3.9.so.1.0 + 0x1ebbb3)
#26 0x00007ff3b2f3e03d n/a (libpython3.9.so.1.0 + 0x1fc03d)
#27 0x00007ff3b2f3995b n/a (libpython3.9.so.1.0 + 0x1f795b)
#28 0x00007ff3b2dd92e7 PyRun_FileExFlags (libpython3.9.so.1.0 + 0x972e7)
#29 0x00007ff3b2dd8cc5 PyRun_SimpleFileExFlags (libpython3.9.so.1.0 + 0x96cc5)
#30 0x00007ff3b2f4f6e9 Py_RunMain (libpython3.9.so.1.0 + 0x20d6e9)
#31 0x00007ff3b2f20979 Py_BytesMain (libpython3.9.so.1.0 + 0x1de979)
#32 0x00007ff3b2ba1152 __libc_start_main (libc.so.6 + 0x28152)
#33 0x000055891adce04e _start (python3.9 + 0x104e)

Stack trace of thread 24632:
#0 0x00007ff3b2c6e46f __poll (libc.so.6 + 0xf546f)
#1 0x00007ff3b1f3d7af n/a (libglib-2.0.so.0 + 0xa67af)
#2 0x00007ff3b1ee8e43 g_main_loop_run (libglib-2.0.so.0 + 0x51e43)
#3 0x00007ff3b1d01fe8 n/a (libgio-2.0.so.0 + 0x101fe8)
#4 0x00007ff3b1f16d31 n/a (libglib-2.0.so.0 + 0x7fd31)
#5 0x00007ff3b2b603e9 start_thread (libpthread.so.0 + 0x93e9)
#6 0x00007ff3b2c79293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 24631:
#0 0x00007ff3b2c6e46f __poll (libc.so.6 + 0xf546f)
#1 0x00007ff3b1f3d7af n/a (libglib-2.0.so.0 + 0xa67af)
#2 0x00007ff3b1ee8121 g_main_context_iteration (libglib-2.0.so.0 + 0x51121)
#3 0x00007ff3b1ee8172 n/a (libglib-2.0.so.0 + 0x51172)
#4 0x00007ff3b1f16d31 n/a (libglib-2.0.so.0 + 0x7fd31)
#5 0x00007ff3b2b603e9 start_thread (libpthread.so.0 + 0x93e9)
#6 0x00007ff3b2c79293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 24635:
#0 0x00007ff3b2c6e46f __poll (libc.so.6 + 0xf546f)
#1 0x00007ff3b1f3d7af n/a (libglib-2.0.so.0 + 0xa67af)
#2 0x00007ff3b1ee8121 g_main_context_iteration (libglib-2.0.so.0 + 0x51121)
#3 0x00007ff3aedcfc0e n/a (libdconfsettings.so + 0x5c0e)
#4 0x00007ff3b1f16d31 n/a (libglib-2.0.so.0 + 0x7fd31)
#5 0x00007ff3b2b603e9 start_thread (libpthread.so.0 + 0x93e9)
#6 0x00007ff3b2c79293 __clone (libc.so.6 + 0x100293)
--------------------------------------------------------

Steps to reproduce:

Run onboard and wait a short while for it to crash - no interaction needed.
In my case, it starts hidden with an icon in the tray and no floating icon.
This task depends upon

Loading...