FS#52644 - [mayavi] segfaults on startup

Attached to Project: Community Packages
Opened by Jelle van der Waa (jelly) - Friday, 20 January 2017, 11:19 GMT
Last edited by Andrzej Giniewicz (Giniu) - Monday, 17 July 2017, 22:53 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Andrzej Giniewicz (Giniu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

GDB backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x00007fff9e17b672 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtCore.so


Additional info:
* mayavi 4.5.0-3


Steps to reproduce:
This task depends upon

Closed by  Andrzej Giniewicz (Giniu)
Monday, 17 July 2017, 22:53 GMT
Reason for closing:  Upstream
Additional comments about closing:  I don't think we can do anything about it.
Comment by Andrzej Giniewicz (Giniu) - Monday, 10 April 2017, 16:45 GMT
Works for me. Can you tell me which optional dependencies of python2-pyface you have installed?
Comment by Michael (MST) - Thursday, 13 April 2017, 09:52 GMT
I got the same error with all python2-pyface optdeps, except python2-pyside, installed.
With all python2-pyface optdeps installed I get this gdb output:

QMetaType::registerType: Binary compatibility break -- Size mismatch for type 'QUuid' [30]. Previously registered size 16, now registering size 0.

Program received signal SIGABRT, Aborted.
0x00007ffff7461a10 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007ffff7461a10 in raise () from /usr/lib/libc.so.6
#1 0x00007ffff746313a in abort () from /usr/lib/libc.so.6
#2 0x00007fffa3aa5e21 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/libQt5Core.so.5
#3 0x00007fffa3cafe01 in QMetaType::registerNormalizedType(QByteArray const&, void (*)(void*), void* (*)(void*, void const*), int, QFlags<QMetaType::TypeFlag>, QMetaObject const*) () from /usr/lib/libQt5Core.so.5
#4 0x00007fffa3caff13 in QMetaType::registerType(char const*, void (*)(void*), void* (*)(void const*), void (*)(void*), void* (*)(void*, void const*), int, QFlags<QMetaType::TypeFlag>, QMetaObject const*) () from /usr/lib/libQt5Core.so.5
#5 0x00007fffa3caff7e in QMetaType::registerType(char const*, void (*)(void*), void* (*)(void const*)) () from /usr/lib/libQt5Core.so.5
#6 0x00007fff9f2eee6c in ?? () from /usr/lib/python2.7/site-packages/PySide/QtCore.so
#7 0x00007fff9f2b8900 in initQtCore () from /usr/lib/python2.7/site-packages/PySide/QtCore.so
#8 0x00007ffff7af203c in _PyImport_LoadDynamicModule () from /usr/lib/libpython2.7.so.1.0
#9 0x00007ffff7aeff81 in import_submodule () from /usr/lib/libpython2.7.so.1.0
=== CUT ===

Looks like it tries to use qt5?
If I uninstall python2-pyqt4 and python2-pyside it works.
Comment by Jelle van der Waa (jelly) - Thursday, 13 April 2017, 18:34 GMT
Yup with python2-pyside installed I can reproduce it.
Comment by Andrzej Giniewicz (Giniu) - Monday, 17 July 2017, 22:52 GMT
with pyside or pyqt4 mayavi crashes due to differences between qt5 and qt4. This is why mayavi requires wxwidgets to work.

This should actually disappear after restart - because of /etc/profile.d/mayavi.sh which forces the use of wx.

Loading...