Bug#963983: closed by Gianfranco Costamagna (Re: python3-pyside2.qtsvg: segfault on import)

2020-06-29 Thread ydirson
reopen 963983
thanks

The other pyside2 packages (code, gui etc) were still at 5.15.0-1~exp1.

If I just update qtsvg to 5.15.0-2 the segfault still happens.

Update the rest of pyside2 triggers a huge cascading of upgrades to Qt 5.14
which had not been done when I had installed the exp packages, and when I
updated qtsvg initially.

Among them:

 Unpacking libqt5svg5:amd64 (5.14.2-2) over (5.12.5-2) ...

With all this upgraded, I confirm there is no segfault any more.

Thus, the problem is likely caused by an undeclared versioned dependency on an
underlying lib, and libqt5svg5 looks like a good candidate.  

Not dealing with it is likely to lead to other insufficient partial updates.



Bug#963983: python3-pyside2.qtsvg: segfault on import

2020-06-29 Thread ydirson
Package: python3-pyside2.qtsvg
Version: 5.15.0-1
Severity: grave

$ gdb python3
...
Reading symbols from python3...
Reading symbols from 
/usr/lib/debug/.build-id/97/0f19629d98e5c631b44f6803fa34a5a07c3806.debug...

(gdb) r
Starting program: /usr/bin/python3 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Python 3.8.3 (default, May 14 2020, 11:03:12) 
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

>>> from PySide2 import QtSvg
Program received signal SIGSEGV, Segmentation fault.
0x772cf2eb in Shiboken::ObjectType::introduceWrapperType(_object*, char 
const*, char const*, PyType_Spec*, char const**, void (*)(void*), 
SbkObjectType*, _object*, unsigned int) ()
   from 
/usr/lib/x86_64-linux-gnu/libshiboken2.cpython-38-x86_64-linux-gnu.so.5.15

(gdb) bt
#0  0x772cf2eb in Shiboken::ObjectType::introduceWrapperType(_object*, 
char const*, char const*, PyType_Spec*, char const**, void (*)(void*), 
SbkObjectType*, _object*, unsigned int)
() from 
/usr/lib/x86_64-linux-gnu/libshiboken2.cpython-38-x86_64-linux-gnu.so.5.15
#1  0x7731ec41 in ?? () from 
/usr/lib/python3/dist-packages/PySide2/QtSvg.cpython-38-x86_64-linux-gnu.so
#2  0x7732a6a3 in PyInit_QtSvg () from 
/usr/lib/python3/dist-packages/PySide2/QtSvg.cpython-38-x86_64-linux-gnu.so
#3  0x0067d0aa in _PyImport_LoadDynamicModuleWithSpec (
spec=, 
origin='/usr/lib/python3/dist-packages/PySide2/QtSvg.cpython-38-x86_64-linux-gnu.so',
 loader_state=None, submodule_search_locations=None, _set_fileattr=True, 
_cached=None) at remote 0x7760d1f0>, fp=) at 
../Python/importdl.c:164
#4  0x0067dafd in _imp_create_dynamic_impl (module=, 
file=, 
spec=, 
origin='/usr/lib/python3/dist-packages/PySide2/QtSvg.cpython-38-x86_64-linux-gnu.so',
 loader_state=None, submodule_search_locations=None, _set_fileattr=True, 
_cached=None) at remote 0x7760d1f0>) at ../Python/import.c:2221
#5  _imp_create_dynamic (module=, args=, 
nargs=) at ../Python/clinic/import.c.h:330
#6  0x005c066c in cfunction_vectorcall_FASTCALL (func=, args=, nargsf=, 
kwnames=) at ../Objects/methodobject.c:422
#7  0x005f1da9 in PyVectorcall_Call (callable=, tuple=, kwargs={}) at ../Objects/call.c:199
#8  0x0056d160 in do_call_core (kwdict={}, 
callargs=(, 
origin='/usr/lib/python3/dist-packages/PySide2/QtSvg.cpython-38-x86_64-linux-gnu.so',
 loader_state=None, submodule_search_locations=None, _set_fileattr=True, 
_cached=None) at remote 0x7760d1f0>,), func=, tstate=) at 
../Python/ceval.c:4983
#9  _PyEval_EvalFrameDefault (f=, throwflag=) at 
../Python/ceval.c:3559
#10 0x00565602 in PyEval_EvalFrameEx (throwflag=0, 
f=Frame 0x77677610, for file , line 219, 
in _call_with_frames_removed (f=, args=(, 
origin='/usr/lib/python3/dist-packages/PySide2/QtSvg.cpython-38-x86_64-linux-gnu.so',
 loader_state=None, submodule_search_locations=None, _set_fileattr=True, 
_cached=None) at remote 0x7760d1f0>,), kwds={})) at ../Python/ceval.c:741
#11 _PyEval_EvalCodeWithName (_co=, globals=, 
locals=, args=, argcount=, 
kwnames=, 
kwargs=0x776de7e0, kwcount=, kwstep=1, defs=0x0, 
defcount=0, kwdefs=0x0, closure=0x0, name='_call_with_frames_removed', 
qualname='_call_with_frames_removed')
at ../Python/ceval.c:4298
#12 0x005f12a3 in _PyFunction_Vectorcall (func=, 
stack=0x776de7d0, nargsf=, kwnames=) at 
../Objects/call.c:435
#13 0x0056c1bf in _PyObject_Vectorcall (kwnames=0x0, nargsf=, args=0x776de7d0, callable=) at 
../Include/cpython/abstract.h:127
#14 call_function (kwnames=0x0, oparg=, pp_stack=, tstate=0x959e20) at ../Python/ceval.c:4963
#15 _PyEval_EvalFrameDefault (f=, throwflag=) at 
../Python/ceval.c:3469
#16 0x005f10c6 in PyEval_EvalFrameEx (throwflag=0, 
f=Frame 0x776de640, for file , 
line 1357, in create_module (self=, spec=, 
origin='/usr/lib/python3/dist-packages/PySide2/QtSvg.cpython-38-x86_64-linux-gnu.so',
 loader_state=None, submodule_search_locations=None, _set_fileattr=True, 
_cached=None) at remote 0x7760d1f0>)) at ../Python/ceval.c:741
#17 function_code_fastcall (globals=, nargs=, 
args=, co=) at ../Objects/call.c:283
#18 _PyFunction_Vectorcall (func=, stack=, 
nargsf=, kwnames=) at ../Objects/call.c:410
#19 0x005674c7 in _PyObject_Vectorcall (kwnames=0x0, nargsf=, args=0x777b2a30, callable=) at 
../Include/cpython/abstract.h:127
#20 call_function (kwnames=0x0, oparg=, pp_stack=, tstate=0x959e20) at ../Python/ceval.c:4963
#21 _PyEval_EvalFrameDefault (f=, throwflag=) at 
../Python/ceval.c:3486
#22 0x005f10c6 in PyEval_EvalFrameEx (throwflag=0, 
f=Frame 0x777b28b0, for file , line 556, 
in module_from_spec (spec=, 
origin='/usr/lib/python3/dist-packages/PySide2/QtSvg.cpython-38-x86_64-linux-gnu.so',
 loader_state=None, submodule_search_locations=None, _set_fileattr=True, 
_cached=None) a

Bug#934265: qtbase5-dev: different archs ship different version of Qt-logo.png

2019-08-08 Thread ydirson
Package: qtbase5-dev
Version: 5.11.3+dfsg1-2+b1
Severity: serious

Unpacking qtbase5-dev:i386 (5.11.3+dfsg1-2+b1) over (5.11.3+dfsg1-2) ...
dpkg: error processing archive 
/tmp/apt-dpkg-install-01jgzV/14-qtbase5-dev_5.11.3+dfsg1-2+b1_i386.deb 
(--unpack):
 trying to overwrite shared 
'/usr/share/qt5/doc/global/template/images/Qt-logo.png', which is different 
from other instances of package qtbase5-dev:i386
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)



Bug#808221: okular: crashes with no clue when launched from a reconnected screen session

2015-12-17 Thread ydirson
Package: okular
Version: 4:15.08.3-1

When running from a screen(1) session that was created before logging out and 
logging in again,
so various envvars are wrong, okular crashes and presents the bug-reporting 
dialog instead of
presenting to the user the more informative "Session bus not found" that can be 
found in the
backtrace:

Application: Okular (okular), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x7fc276f5b657 in __GI_raise (sig=sig@entry=6) at 
../sysdeps/unix/sysv/linux/raise.c:55
#7  0x7fc276f5ca2a in __GI_abort () at abort.c:89
#8  0x7fc277939f35 in qt_message_output (msgType=, 
buf=0x14e5918 "okular(32094)/kdeui (kdelibs): Session bus not found \nTo 
circumvent this problem try the following command (with Linux and bash) 
\nexport $(dbus-launch) ") at global/qglobal.cpp:2447
#9  0x7fc27911761c in QDebug::~QDebug (this=0x7ffc45ad6ff0, 
__in_chrg=) at /usr/include/qt4/QtCore/qdebug.h:85
#10 0x7fc2791fd83a in KApplicationPrivate::init (this=0x144d930, 
GUIenabled=GUIenabled@entry=true) at ../../kdeui/kernel/kapplication.cpp:516
#11 0x7fc2791fe232 in KApplication::KApplication (this=0x7ffc45ad7230, 
GUIenabled=true) at ../../kdeui/kernel/kapplication.cpp:352
#12 0x00409840 in main (argc=2, argv=0x7ffc45ad7348) at 
../../shell/main.cpp:37

(fixing the envvars to match current session is sufficient to get it working 
again)