FS#53699 - [qt5-tools] designer crashes on start-up

Attached to Project: Arch Linux
Opened by stefaan himpe (shiihs) - Monday, 17 April 2017, 20:09 GMT
Last edited by Antonio Rojas (arojas) - Monday, 17 April 2017, 20:40 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

qt5 designer crashes on startup
Can there be some mismatch between expected and present qt version?

Additional info:

Here's a transcript from what I see on the command line

[shimpe@xxxxxxxx /usr/bin]$ designer
QMetaProperty::read: Unable to handle unregistered datatype 'SelectionBehavior' for property 'QTabBar::selectionBehaviorOnRemove'
Error while reparenting!
Designer: A class name mismatch occurred when creating a widget using the custom widget factory registered for widgets of class KDialog. It returned a widget of class QDialog.
Error loading text-to-speech plug-in "flite"
Error loading text-to-speech plug-in "flite"
QMetaProperty::read: Unable to handle unregistered datatype 'ActionTypes' for property 'KShortcutsEditor::actionTypes'
Error loading text-to-speech plug-in "flite"
sonnet.core: No language dictionaries for the language: "C"
sonnet.core: deleting 0x22a1580 for "C"
Error loading text-to-speech plug-in "flite"
Ignoring to load the following file since it doesn't look like a valid Marble plugin: "/usr/lib/marble/plugins/libAprsPlugin.so"
Reason: "Cannot load library /usr/lib/marble/plugins/libAprsPlugin.so: (libQt5SerialPort.so.5: cannot open shared object file: No such file or directory)"
Ignoring to load the following file since it doesn't look like a valid Marble plugin: "/usr/lib/marble/plugins/libGpsdPositionProviderPlugin.so"
Reason: "Cannot load library /usr/lib/marble/plugins/libGpsdPositionProviderPlugin.so: (libgps.so.22: cannot open shared object file: No such file or directory)"
Ignoring to load the following file since it doesn't look like a valid Marble plugin: "/usr/lib/marble/plugins/libShpPlugin.so"
Reason: "Cannot load library /usr/lib/marble/plugins/libShpPlugin.so: (libshp.so.2: cannot open shared object file: No such file or directory)"
Ignoring to load the following file since it doesn't look like a valid Marble plugin: "/usr/lib/marble/plugins/libWlocatePositionProviderPlugin.so"
Reason: "Cannot load library /usr/lib/marble/plugins/libWlocatePositionProviderPlugin.so: (libwlocate.so: cannot open shared object file: No such file or directory)"
QMetaProperty::read: Unable to handle unregistered datatype 'ViewContext' for property 'Marble::MarbleWidget::viewContext'
QMetaProperty::read: Unable to handle unregistered datatype 'RenderStatus' for property 'Marble::MarbleWidget::renderStatus'

>>>>>>> Cannot mix incompatible Qt library (version 0x50701) with this library (version 0x50800)
>>>>>>> KCrash: Application 'designer' crashing...

KCrash: Attempting to start /usr/lib/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 17 April 2017, 20:40 GMT
Reason for closing:  Not a bug
Comment by Antonio Rojas (arojas) - Monday, 17 April 2017, 20:17 GMT
You have an incompatible plugin installed. Get a gdb backtrace to find out what it is.
Comment by stefaan himpe (shiihs) - Monday, 17 April 2017, 20:35 GMT
I'm not sure I'm getting much wiser (or perhaps I'm doing something wrong?)

(gdb) run
Starting program: /usr/bin/designer
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffea7d5700 (LWP 6278)]
[New Thread 0x7fffd91cd700 (LWP 6279)]
[New Thread 0x7fffadbe9700 (LWP 6280)]
[New Thread 0x7fffad3e8700 (LWP 6282)]
[New Thread 0x7fffa7fff700 (LWP 6288)]
[New Thread 0x7fffa75f8700 (LWP 6289)]
[New Thread 0x7fffa6df7700 (LWP 6290)]
[New Thread 0x7fffa65f6700 (LWP 6291)]
[New Thread 0x7fffa5df5700 (LWP 6292)]
[New Thread 0x7fffa55f4700 (LWP 6293)]
[New Thread 0x7fffa4df3700 (LWP 6294)]
[New Thread 0x7fff5fffd700 (LWP 6295)]
QMetaProperty::read: Unable to handle unregistered datatype 'SelectionBehavior' for property 'QTabBar::selectionBehaviorOnRemove'
Error while reparenting!
Designer: A class name mismatch occurred when creating a widget using the custom widget factory registered for widgets of class KDialog. It returned a widget of class QDialog.
[New Thread 0x7fff5e9a0700 (LWP 6296)]
[Thread 0x7fff5e9a0700 (LWP 6296) exited]
[New Thread 0x7fff5e9a0700 (LWP 6297)]
[Thread 0x7fff5e9a0700 (LWP 6297) exited]
[New Thread 0x7fff5e9a0700 (LWP 6298)]
QMetaProperty::read: Unable to handle unregistered datatype 'ActionTypes' for property 'KShortcutsEditor::actionTypes'
[New Thread 0x7fff5dca7700 (LWP 6299)]
[Thread 0x7fff5dca7700 (LWP 6299) exited]
sonnet.core: No language dictionaries for the language: "C"
sonnet.core: deleting 0x130ae90 for "C"
[New Thread 0x7fff5dca7700 (LWP 6300)]
Ignoring to load the following file since it doesn't look like a valid Marble plugin: "/usr/lib/marble/plugins/libAprsPlugin.so"
Reason: "Cannot load library /usr/lib/marble/plugins/libAprsPlugin.so: (libQt5SerialPort.so.5: cannot open shared object file: No such file or directory)"
Ignoring to load the following file since it doesn't look like a valid Marble plugin: "/usr/lib/marble/plugins/libGpsdPositionProviderPlugin.so"
Reason: "Cannot load library /usr/lib/marble/plugins/libGpsdPositionProviderPlugin.so: (libgps.so.22: cannot open shared object file: No such file or directory)"
Ignoring to load the following file since it doesn't look like a valid Marble plugin: "/usr/lib/marble/plugins/libShpPlugin.so"
Reason: "Cannot load library /usr/lib/marble/plugins/libShpPlugin.so: (libshp.so.2: cannot open shared object file: No such file or directory)"
Ignoring to load the following file since it doesn't look like a valid Marble plugin: "/usr/lib/marble/plugins/libWlocatePositionProviderPlugin.so"
Reason: "Cannot load library /usr/lib/marble/plugins/libWlocatePositionProviderPlugin.so: (libwlocate.so: cannot open shared object file: No such file or directory)"
[New Thread 0x7fff30b81700 (LWP 6301)]
[New Thread 0x7fff2bfff700 (LWP 6302)]
[Thread 0x7fff30b81700 (LWP 6301) exited]
[New Thread 0x7fff30b81700 (LWP 6303)]
[New Thread 0x7fff2b7fe700 (LWP 6304)]
[Thread 0x7fff2bfff700 (LWP 6302) exited]
[New Thread 0x7fff2affd700 (LWP 6305)]
[New Thread 0x7fff2bfff700 (LWP 6306)]
[New Thread 0x7fff2a7fc700 (LWP 6307)]
[New Thread 0x7fff30b81700 (LWP 6308)]
[New Thread 0x7fff29ffb700 (LWP 6309)]
[Thread 0x7fff30b81700 (LWP 6303) exited]
[New Thread 0x7fff297fa700 (LWP 6310)]
[New Thread 0x7fff2affd700 (LWP 6311)]
[Thread 0x7fff2affd700 (LWP 6305) exited]
[Thread 0x7fff2a7fc700 (LWP 6307) exited]
[New Thread 0x7fff2a7fc700 (LWP 6312)]
[New Thread 0x7fff28ff9700 (LWP 6313)]
[Thread 0x7fff30b81700 (LWP 6308) exited]
[New Thread 0x7fff30b81700 (LWP 6314)]
[New Thread 0x7fff13fff700 (LWP 6315)]
[New Thread 0x7fff137fe700 (LWP 6316)]
[Thread 0x7fff30b81700 (LWP 6314) exited]
[Thread 0x7fff2a7fc700 (LWP 6312) exited]
[Thread 0x7fff2affd700 (LWP 6311) exited]
[New Thread 0x7fff2a7fc700 (LWP 6317)]
[New Thread 0x7fff30b81700 (LWP 6318)]
[New Thread 0x7fff2affd700 (LWP 6319)]
[New Thread 0x7fff12ffd700 (LWP 6320)]
[Thread 0x7fff30b81700 (LWP 6318) exited]
[Thread 0x7fff2a7fc700 (LWP 6317) exited]
[Thread 0x7fff137fe700 (LWP 6316) exited]
[New Thread 0x7fff30b81700 (LWP 6321)]
[Thread 0x7fff12ffd700 (LWP 6320) exited]
[New Thread 0x7fff12ffd700 (LWP 6322)]
[Thread 0x7fff30b81700 (LWP 6321) exited]
[New Thread 0x7fff30b81700 (LWP 6323)]
[Thread 0x7fff12ffd700 (LWP 6322) exited]
[New Thread 0x7fff12ffd700 (LWP 6324)]
[Thread 0x7fff30b81700 (LWP 6323) exited]
[New Thread 0x7fff30b81700 (LWP 6325)]
[Thread 0x7fff12ffd700 (LWP 6324) exited]
[Thread 0x7fff30b81700 (LWP 6325) exited]
QMetaProperty::read: Unable to handle unregistered datatype 'ViewContext' for property 'Marble::MarbleWidget::viewContext'
QMetaProperty::read: Unable to handle unregistered datatype 'RenderStatus' for property 'Marble::MarbleWidget::renderStatus'
Cannot mix incompatible Qt library (version 0x50701) with this library (version 0x50800)

Thread 1 "designer" received signal SIGABRT, Aborted.
0x00007ffff4c7ba10 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007ffff4c7ba10 in raise () at /usr/lib/libc.so.6
#1 0x00007ffff4c7d13a in abort () at /usr/lib/libc.so.6
#2 0x00007ffff5407e21 in () at /usr/lib/libQt5Core.so.5
#3 0x00007ffff5625cc5 in QObjectPrivate::QObjectPrivate(int) () at /usr/lib/libQt5Core.so.5
#4 0x00007fffb4e18bb1 in () at /usr/lib/libQt5Declarative.so.5
#5 0x00007fffb4e18db2 in QDeclarativeEngine::QDeclarativeEngine(QObject*) () at /usr/lib/libQt5Declarative.so.5
#6 0x00007fffb4edf642 in () at /usr/lib/libQt5Declarative.so.5
#7 0x00007fffb4edf8a6 in QDeclarativeView::QDeclarativeView(QWidget*) () at /usr/lib/libQt5Declarative.so.5
#8 0x00007fffb52c26f1 in () at /usr/lib/qt/plugins/designer/libqdeclarativeview.so
#9 0x00007ffff73bea19 in qdesigner_internal::WidgetFactory::createCustomWidget(QString const&, QWidget*, bool*) const () at /usr/lib/libQt5Designer.so.5
#10 0x00007ffff73bf21e in qdesigner_internal::WidgetFactory::createWidget(QString const&, QWidget*) const () at /usr/lib/libQt5Designer.so.5
#11 0x00007ffff73c7b57 in qdesigner_internal::WidgetDataBase::defaultPropertyValues(QString const&) () at /usr/lib/libQt5Designer.so.5
#12 0x00007ffff73c7ccd in qdesigner_internal::WidgetDataBase::grabDefaultPropertyValues() () at /usr/lib/libQt5Designer.so.5
#13 0x00000000004375bf in ()
#14 0x000000000042fdd2 in ()
#15 0x000000000041dd86 in ()
#16 0x00007ffff4c68511 in __libc_start_main () at /usr/lib/libc.so.6
#17 0x000000000041de5a in ()

Comment by Antonio Rojas (arojas) - Monday, 17 April 2017, 20:40 GMT
Well, there you go

#8 0x00007fffb52c26f1 in () at /usr/lib/qt/plugins/designer/libqdeclarativeview.so

There's no such file in our repos. Remove whatever provides it.

Loading...