Bug 353445

Summary: Crash on loading libkdepim.so.5 by Kross-qts
Product: [Frameworks and Libraries] frameworks-kross Reporter: Alexander Potashev <aspotashev>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: kisik2010
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=356640
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexander Potashev 2015-10-02 10:52:59 UTC
Application: lokalize (2.0)
 (Compiled from sources)
Qt Version: 5.5.0
Operating System: Linux 3.10.17-gentoo x86_64
Distribution: "NAME=Gentoo"

-- Information about the crash:
- What I was doing when the application crashed:

Lokalize crashes on start every time. I have libkdepim.so.5 installed.

The crash can be reproduced every time.

-- Backtrace:
Application: Lokalize (lokalize), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9a472737c0 (LWP 14363))]

Thread 4 (Thread 0x7f9a45ae5700 (LWP 14364)):
#0  0x00007f9a522127ed in poll () from /lib64/libc.so.6
#1  0x00007f9a4e1ac9a2 in _xcb_conn_wait () from /usr/lib64/libxcb.so.1
#2  0x00007f9a4e1ae46f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f9a46fea959 in QXcbEventReader::run() () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f9a52d8c876 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f9a51cd0204 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f9a5221b3dd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f9a3e2f7700 (LWP 14365)):
#0  0x00007f9a51cd454f in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f9a52d8cee7 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007f9a53f3e8fd in QFileInfoGatherer::run() () from /usr/lib64/libQt5Widgets.so.5
#3  0x00007f9a52d8c876 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f9a51cd0204 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f9a5221b3dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f9a3daf6700 (LWP 14367)):
#0  0x00007f9a51cd454f in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f9a52d8cee7 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007f9a52d8950f in QThreadPoolThread::run() () from /usr/lib64/libQt5Core.so.5
#3  0x00007f9a52d8c876 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f9a51cd0204 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f9a5221b3dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f9a472737c0 (LWP 14363)):
[KCrash Handler]
#6  0x000000000005f226 in ?? ()
#7  0x00007f99a5902455 in QLatin1String::QLatin1String(char const*) () from /usr/lib64/libkdepim.so.5
#8  0x00007f99a5956b7c in __static_initialization_and_destruction_0(int, int) () from /usr/lib64/libkdepim.so.5
#9  0x00007f99a5956bc3 in _GLOBAL__sub_I_addresseelineedit_p.cpp () from /usr/lib64/libkdepim.so.5
#10 0x00007f9a582a5c9a in call_init.part () from /lib64/ld-linux-x86-64.so.2
#11 0x00007f9a582a5d83 in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
#12 0x00007f9a582a9ef8 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#13 0x00007f9a582a5b54 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#14 0x00007f9a582a96eb in _dl_open () from /lib64/ld-linux-x86-64.so.2
#15 0x00007f9a4e95e03b in dlopen_doit () from /lib64/libdl.so.2
#16 0x00007f9a582a5b54 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#17 0x00007f9a4e95e5cd in _dlerror_run () from /lib64/libdl.so.2
#18 0x00007f9a4e95e0d1 in dlopen () from /lib64/libdl.so.2
#19 0x00007f9a52f36d47 in QLibraryPrivate::load_sys() () from /usr/lib64/libQt5Core.so.5
#20 0x00007f9a52f30ad5 in QLibraryPrivate::load() () from /usr/lib64/libQt5Core.so.5
#21 0x00007f9a52f30cfb in QLibraryPrivate::loadPlugin() () from /usr/lib64/libQt5Core.so.5
#22 0x00007f9a35955831 in QFormInternal::QFormBuilder::updateCustomWidgets() () from /usr/lib64/qt5/plugins/script/krossqtsplugin.so
#23 0x00007f9a359547e7 in QFormInternal::QFormBuilder::setPluginPath(QStringList const&) () from /usr/lib64/qt5/plugins/script/krossqtsplugin.so
#24 0x00007f9a35932aab in QUiLoader::QUiLoader(QObject*) () from /usr/lib64/qt5/plugins/script/krossqtsplugin.so
#25 0x00007f9a3592dceb in Kross::initializeGui (engine=0x22151b0) at /home/aspotashev/kde-git/kross/src/qts/values_p.h:325
#26 0x00007f9a3592e292 in Kross::EcmaPlugin::initialize (this=0x273e340, key=..., engine=0x22151b0) at /home/aspotashev/kde-git/kross/src/qts/plugin.cpp:64
#27 0x00007f9a572d3a10 in QScriptEngine::importExtension(QString const&) () from /usr/lib64/libQt5Script.so.5
#28 0x00007f9a36366e17 in Kross::EcmaScript::Private::init (this=0x2761e40) at /home/aspotashev/kde-git/kross/src/qts/script.cpp:59
#29 0x00007f9a36365857 in Kross::EcmaScript::execute (this=0x26fa2e0) at /home/aspotashev/kde-git/kross/src/qts/script.cpp:193
#30 0x00007f9a57438509 in Kross::Action::slotTriggered (this=0x277dfa0) at /home/aspotashev/kde-git/kross/src/core/action.cpp:549
#31 0x00007f9a5744487d in Kross::Action::qt_static_metacall (_o=0x277dfa0, _c=QMetaObject::InvokeMetaMethod, _id=32, _a=0x7fffc0debee0) at /home/aspotashev/kde-git/kross/build/src/core/moc_action.cpp:238
#32 0x00007f9a52f6659e in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#33 0x00007f9a53d1cec2 in QAction::triggered(bool) () from /usr/lib64/libQt5Widgets.so.5
#34 0x00007f9a53d1fa18 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQt5Widgets.so.5
#35 0x00000000004ed051 in QAction::trigger (this=0x277dfa0) at /usr/include/qt5/QtWidgets/qaction.h:177
#36 0x00000000004ea3e4 in ProjectScriptingPlugin::doAutoruns (this=0x2741980) at /home/aspotashev/kde-git/lokalize/src/lokalizemainwindow.cpp:846
#37 0x00000000005e9587 in ProjectScriptingPlugin::qt_static_metacall (_o=0x2741980, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x26d6ac0) at /home/aspotashev/kde-git/lokalize/build/src/moc_lokalizemainwindow.cpp:425
#38 0x00007f9a52f6786e in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#39 0x00007f9a53d268bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#40 0x00007f9a53d2b730 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#41 0x00007f9a52f3a6dd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#42 0x00007f9a52f3d66a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#43 0x00007f9a52f8dd63 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQt5Core.so.5
#44 0x00007f9a4e66e994 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#45 0x00007f9a4e66ebe8 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#46 0x00007f9a4e66ec8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#47 0x00007f9a52f8d51c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#48 0x00007f9a52f38a5b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#49 0x00007f9a52f40466 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#50 0x00000000004e13bb in main (argc=1, argv=0x7fffc0dec9b8) at /home/aspotashev/kde-git/lokalize/src/main.cpp:217

Reported using DrKonqi
Comment 1 Marco Martin 2016-02-11 09:55:42 UTC
*** Bug 356640 has been marked as a duplicate of this bug. ***
Comment 2 Alexander Potashev 2016-02-21 23:37:16 UTC
Cannot reproduce with KDEPIM-15.12.x, probably because libkdepim.so.5 was renamed to libKF5Libkdepim.so.5.