Control: reassign 997504 python3-gi 3.42.0-1
Control: affects 997504 src:terminator

Hi,

On Sat, 23 Oct 2021 22:41:30 +0200 Lucas Nussbaum <lu...@debian.org> wrote:
> collecting ... Trace/breakpoint trap
> E: pybuild pybuild:354: test: plugin distutils failed with: exit code=133: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest --doctest-modules
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 
returned exit code 13
I investigated this failure a bit and found that there seems to be a
segfault on instantiating terminal.Terminal(), which looks like it
is caused by the bindings in python3-gi.

I assume so because I found that the error also occurs with older
terminator versions in unstable, but not with the latest terminator
version in a bullseye chroot.

For reference, the error in unstable can be reproduced in an interactive
Python session (I ran "gdb /usr/bin/python3" to get a stacktrace):

  >>> from terminatorlib import terminal
  /build/terminator-2.1.0/terminatorlib/terminal.py:9: PyGIWarning: Pango was 
imported without specifying a version first. Use gi.require_version('Pango', 
'1.0') before import to ensure that the right version gets loaded.
    from gi.repository import GLib, GObject, Pango, Gtk, Gdk, GdkPixbuf
  /build/terminator-2.1.0/terminatorlib/terminal.py:9: PyGIWarning: Gtk was 
imported without specifying a version first. Use gi.require_version('Gtk', 
'3.0') before import to ensure that the right version gets loaded.
    from gi.repository import GLib, GObject, Pango, Gtk, Gdk, GdkPixbuf
  >>> t = terminal.Terminal()
(.:106187): Gtk-CRITICAL **: 13:00:40.235: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed (.:106187): Gtk-CRITICAL **: 13:00:40.235: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed (.:106187): Gtk-CRITICAL **: 13:00:40.235: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed Program received signal SIGSEGV, Segmentation fault.
  0x00007ffff5a98a80 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
  (gdb) bt
  #0  0x00007ffff5a98a80 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
  #1  0x00007ffff5938e84 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
  #2  0x00007ffff595a658 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
  #3  0x00007ffff5944dca in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
  #4  0x00007ffff595a528 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
  #5  0x00007ffff5945712 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
  #6  0x00007ffff76ceae3 in g_type_create_instance () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  #7  0x00007ffff76b4cbd in ?? () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  #8  0x00007ffff76b61fd in g_object_new_with_properties () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  #9  0x00007ffff76b6bb1 in g_object_new () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  #10 0x00007ffff596300b in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
  #11 0x00007ffff5b4cdd9 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
  #12 0x00007ffff76ceae3 in g_type_create_instance () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  #13 0x00007ffff76b4cbd in ?? () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  #14 0x00007ffff76b61fd in g_object_new_with_properties () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  #15 0x00007ffff783de64 in ?? () from 
/usr/lib/python3/dist-packages/gi/_gi.cpython-39-x86_64-linux-gnu.so
  #16 0x00007ffff785be2f in ?? () from 
/usr/lib/python3/dist-packages/gi/_gi.cpython-39-x86_64-linux-gnu.so
  #17 0x00000000005915e8 in ?? ()
  #18 0x00000000005b84d8 in ?? ()
  #19 0x000000000051df8b in _PyObject_MakeTpCall ()
  #20 0x0000000000517b45 in _PyEval_EvalFrameDefault ()
  #21 0x00000000005291c3 in _PyFunction_Vectorcall ()
  #22 0x00000000005380b8 in ?? ()
  #23 0x000000000051dde5 in _PyObject_MakeTpCall ()
  #24 0x0000000000517b45 in _PyEval_EvalFrameDefault ()
  #25 0x0000000000510d5d in ?? ()
  #26 0x0000000000510b07 in _PyEval_EvalCodeWithName ()
  #27 0x00000000005f38b3 in PyEval_EvalCode ()
  #28 0x0000000000618eb7 in ?? ()
  #29 0x0000000000614090 in ?? ()
  #30 0x000000000045981b in ?? ()
  #31 0x0000000000459481 in PyRun_InteractiveLoopFlags ()
  #32 0x0000000000617a95 in PyRun_AnyFileExFlags ()
  #33 0x000000000044bd4d in ?? ()
  #34 0x00000000005e8209 in Py_BytesMain ()
  #35 0x00007ffff7c58e4a in __libc_start_main () from 
/lib/x86_64-linux-gnu/libc.so.6
  #36 0x00000000005e810a in _start ()


Cheers
Timo

--
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯

Attachment: signature.asc
Description: PGP signature

Reply via email to