Bug 325005 - Kleopatra segfault after launch
Summary: Kleopatra segfault after launch
Status: RESOLVED WORKSFORME
Alias: None
Product: kleopatra
Classification: Applications
Component: general (show other bugs)
Version: 2.1.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-17 15:21 UTC by Joachim Langenbach
Modified: 2018-11-29 09:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joachim Langenbach 2013-09-17 15:21:50 UTC
Application: kleopatra (2.1.1)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-32-generic i686
Distribution: Ubuntu 11.10

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

Start the application, after importing a key. The start without keys was successfull.

The crash can be reproduced every time.

-- Backtrace:
Application: Kleopatra (kleopatra), signal: Segmentation fault
[Current thread is 1 (Thread 0xb773c730 (LWP 2144))]

Thread 4 (Thread 0xb6acfb70 (LWP 2145)):
#0  0x00cd2d44 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x0340f565 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x0340fc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x01c18b37 in QEventDispatcherGlib::processEvents (this=0xb6100468, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x01be91dd in QEventLoop::processEvents (this=0xb6acf290, flags=...) at kernel/qeventloop.cpp:149
#5  0x01be9421 in QEventLoop::exec (this=0xb6acf290, flags=...) at kernel/qeventloop.cpp:201
#6  0x01aec90b in QThread::exec (this=0x9f15f28) at thread/qthread.cpp:498
#7  0x01bc9e2d in QInotifyFileSystemWatcherEngine::run (this=0x9f15f28) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x01aef7b3 in QThreadPrivate::start (arg=0x9f15f28) at thread/qthread_unix.cpp:331
#9  0x00ccfd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0x00b0b87e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb58feb70 (LWP 2155)):
#0  0x00bf3416 in __kernel_vsyscall ()
#1  0x00b19813 in ?? () from /lib/i386-linux-gnu/libc.so.6
#2  0x00aab715 in ?? () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0xb50fdb70 (LWP 2170)):
#0  0x00bf3416 in __kernel_vsyscall ()
#1  0x00b19813 in ?? () from /lib/i386-linux-gnu/libc.so.6
#2  0x00aab715 in ?? () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0xb773c730 (LWP 2144)):
[KCrash Handler]
#7  0x00aa79d0 in ?? () from /lib/i386-linux-gnu/libc.so.6
#8  0x00aa9a78 in malloc () from /lib/i386-linux-gnu/libc.so.6
#9  0x01b204d0 in QRegExpMatchState::prepareForMatch (this=0x9f07bfc, eng=0x9f19188) at tools/qregexp.cpp:1379
#10 0x01b2d76a in prepareEngine_helper (priv=0x9f07be0) at tools/qregexp.cpp:3714
#11 0x01b2de07 in prepareEngine (priv=0x9f07be0) at tools/qregexp.cpp:3721
#12 prepareEngineForMatch (priv=0x9f07be0, str=...) at tools/qregexp.cpp:3726
#13 0x01b2dfe6 in QRegExp::exactMatch (this=0xbfa9d33c, str=...) at tools/qregexp.cpp:4068
#14 0x08089ec6 in is_matching (file=..., list=<optimized out>) at ../../kleopatra/utils/filesystemwatcher.cpp:89
#15 0x0808acac in Kleo::FileSystemWatcher::Private::onDirectoryChanged (this=0x9f179c8, path=...) at ../../kleopatra/utils/filesystemwatcher.cpp:149
#16 0x0808b1f6 in Kleo::FileSystemWatcher::qt_metacall (this=0x9f23378, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfa9d508) at ./filesystemwatcher.moc:87
#17 0x01bf0b7d in metacall (argv=0xbfa9d508, idx=8, cl=QMetaObject::InvokeMetaMethod, object=0x9f23378) at kernel/qmetaobject.cpp:237
#18 QMetaObject::metacall (object=0x9f23378, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbfa9d508) at kernel/qmetaobject.cpp:232
#19 0x01bffa6a in QMetaObject::activate (sender=0x9f1b3e8, m=0x1d1fdb8, local_signal_index=1, argv=0xbfa9d508) at kernel/qobject.cpp:3278
#20 0x01bbccb5 in QFileSystemWatcher::directoryChanged (this=0x9f1b3e8, _t1=...) at .moc/release-shared/moc_qfilesystemwatcher.cpp:102
#21 0x01bbcefe in QFileSystemWatcherPrivate::_q_directoryChanged (this=0x9f1b3f8, path=..., removed=false) at io/qfilesystemwatcher.cpp:358
#22 0x01bbd057 in QFileSystemWatcher::qt_metacall (this=0x9f1b3e8, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xb6102158) at .moc/release-shared/moc_qfilesystemwatcher.cpp:83
#23 0x01bf0b7d in metacall (argv=0xb6102158, idx=7, cl=QMetaObject::InvokeMetaMethod, object=0x9f1b3e8) at kernel/qmetaobject.cpp:237
#24 QMetaObject::metacall (object=0x9f1b3e8, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xb6102158) at kernel/qmetaobject.cpp:232
#25 0x01bfb685 in QMetaCallEvent::placeMetaCall (this=0xb61021a8, object=0x9f1b3e8) at kernel/qobject.cpp:535
#26 0x01c02b52 in QObject::event (this=0x9f1b3e8, e=0xb61021a8) at kernel/qobject.cpp:1217
#27 0x01115d84 in notify_helper (e=0xb61021a8, receiver=0x9f1b3e8, this=0x9e58ad0) at kernel/qapplication.cpp:4486
#28 QApplicationPrivate::notify_helper (this=0x9e58ad0, receiver=0x9f1b3e8, e=0xb61021a8) at kernel/qapplication.cpp:4458
#29 0x0111b133 in QApplication::notify (this=0xb61021a8, receiver=0x9f1b3e8, e=0xb61021a8) at kernel/qapplication.cpp:3886
#30 0x00341971 in KApplication::notify (this=0xbfa9dc20, receiver=0x9f1b3e8, event=0xb61021a8) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x01bea19e in QCoreApplication::notifyInternal (this=0xbfa9dc20, receiver=0x9f1b3e8, event=0xb61021a8) at kernel/qcoreapplication.cpp:787
#32 0x01bedf93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9e35200) at kernel/qcoreapplication.cpp:1428
#34 0x01bee0ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#35 0x01c186a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#36 postEventSourceDispatch (s=0x9e5a980) at kernel/qeventdispatcher_glib.cpp:277
#37 0x0340f25f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0x0340f990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#39 0x0340fc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#40 0x01c18ada in QEventDispatcherGlib::processEvents (this=0x9e35ec8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#41 0x011cde7a in QGuiEventDispatcherGlib::processEvents (this=0x9e35ec8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x01be91dd in QEventLoop::processEvents (this=0xbfa9dd44, flags=...) at kernel/qeventloop.cpp:149
#43 0x01be9421 in QEventLoop::exec (this=0xbfa9dd44, flags=...) at kernel/qeventloop.cpp:201
#44 0x08086494 in fillKeyCache (server=0xbfa9dc94, splash=0xbfa9dc04) at ../../kleopatra/main.cpp:190
#45 main (argc=808731958, argv=0x38364436) at ../../kleopatra/main.cpp:296

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-09-19 06:11:48 UTC
Sorry, your system and KDE/Qt installation is quite old. Please try recent version (KDE 4.10.5 or 4.11.1, Qt 4.8.4 or 4.8.5) to see whether the problem still exist.
Comment 2 Joachim Langenbach 2013-09-27 18:19:52 UTC
In Gentoo with KDE 4.10.5 it is the same:

Application:  (kleopatra), signal: Unknown signal 0
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f01b7b26780 (LWP 19869))]

Thread 4 (Thread 0x7f01b42e2700 (LWP 19870)):
#0  0x00007f01c4265873 in poll () from /lib64/libc.so.6
#1  0x00007f01bf412ffe in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f01bf413114 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f01c5b839db in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f01c5b53f42 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f01c5b54197 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f01c5a55def in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f01c5b33f3f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f01c5a58d9c in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f01c750fe56 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f01c426e2dd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f01b3229700 (LWP 19880)):
#0  0x00007f01c4267e13 in select () from /lib64/libc.so.6
#1  0x00007f01c5b335df in ?? () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f01c5a58d9c in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f01c750fe56 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f01c426e2dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f01b2088700 (LWP 19895)):
#0  0x00007f01c427a98e in ?? () from /lib64/libc.so.6
#1  0x00007f01c42080f9 in ?? () from /lib64/libc.so.6
#2  0x00007f01c42061c7 in malloc () from /lib64/libc.so.6
#3  0x00007f01c8333c02 in ?? () from /lib64/ld-linux-x86-64.so.2
#4  0x00007f01c83395f9 in ?? () from /lib64/ld-linux-x86-64.so.2
#5  0x00007f01c8335449 in ?? () from /lib64/ld-linux-x86-64.so.2
#6  0x00007f01c833903a in ?? () from /lib64/ld-linux-x86-64.so.2
#7  0x00007f01c42a3e32 in ?? () from /lib64/libc.so.6
#8  0x00007f01c8335449 in ?? () from /lib64/ld-linux-x86-64.so.2
#9  0x00007f01c42a3ecf in ?? () from /lib64/libc.so.6
#10 0x00007f01c42a3f41 in __libc_dlopen_mode () from /lib64/libc.so.6
#11 0x00007f01c427faa5 in ?? () from /lib64/libc.so.6
#12 0x00007f01c75151c3 in pthread_once () from /lib64/libpthread.so.0
#13 0x00007f01c427fbc4 in backtrace () from /lib64/libc.so.6
#14 0x00007f01c41fc68f in ?? () from /lib64/libc.so.6
#15 0x00007f01c4202275 in ?? () from /lib64/libc.so.6
#16 0x00007f01c4204d57 in ?? () from /lib64/libc.so.6
#17 0x00007f01c420681e in realloc () from /lib64/libc.so.6
#18 0x00007f01c7b54c4e in ?? () from /usr/lib64/libgpgme-pthread.so.11
#19 0x00007f01c7b43372 in ?? () from /usr/lib64/libgpgme-pthread.so.11
#20 0x00007f01c7b43f24 in ?? () from /usr/lib64/libgpgme-pthread.so.11
#21 0x00007f01c7b49b76 in gpgme_op_keylist_next () from /usr/lib64/libgpgme-pthread.so.11
#22 0x00007f01c7d89a62 in GpgME::Context::nextKey(GpgME::Error&) () from /usr/lib64/libgpgme++-pthread.so.2
#23 0x00007f01c8054532 in ?? () from /usr/lib64/libkleo.so.4
#24 0x00007f01c8054974 in ?? () from /usr/lib64/libkleo.so.4
#25 0x00007f01c8055af1 in ?? () from /usr/lib64/libkleo.so.4
#26 0x00007f01c805891c in ?? () from /usr/lib64/libkleo.so.4
#27 0x00007f01c5a58d9c in ?? () from /usr/lib64/qt4/libQtCore.so.4
#28 0x00007f01c750fe56 in start_thread () from /lib64/libpthread.so.0
#29 0x00007f01c426e2dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f01b7b26780 (LWP 19869)):
#0  0x00007f01c75166a4 in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x00007f01c7512059 in _L_lock_533 () from /lib64/libpthread.so.0
#2  0x00007f01c7511ef8 in pthread_mutex_lock () from /lib64/libpthread.so.0
#3  0x00007f01c8338fcb in ?? () from /lib64/ld-linux-x86-64.so.2
#4  0x00007f01bf1c60d6 in ?? () from /lib64/libdl.so.2
#5  0x00007f01c8335449 in ?? () from /lib64/ld-linux-x86-64.so.2
#6  0x00007f01bf1c665f in ?? () from /lib64/libdl.so.2
#7  0x00007f01bf1c6171 in dlopen () from /lib64/libdl.so.2
#8  0x00007f01c5b47477 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f01c5b43c7a in ?? () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007f01c5b43f73 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#11 0x00007f01c5b3aaf6 in QFactoryLoader::instance(QString const&) const () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007f01c54b1587 in QInputContextFactory::create(QString const&, QObject*) () from /usr/lib64/qt4/libQtGui.so.4
#13 0x00007f01c4f11dcf in QApplication::inputContext() const () from /usr/lib64/qt4/libQtGui.so.4
#14 0x00007f01c4f18e63 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#15 0x00007f01c70d03f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#16 0x00007f01c5b553e3 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007f01c4f14932 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/qt4/libQtGui.so.4
#18 0x00007f01c4f8ef47 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#19 0x00007f01c4f8dd4a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#20 0x00007f01c4fb4ed2 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#21 0x00007f01bf412d2a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#22 0x00007f01bf413065 in ?? () from /usr/lib64/libglib-2.0.so.0
#23 0x00007f01bf413114 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f01c5b839db in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007f01c4fb4b6e in ?? () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007f01c5b53f42 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#27 0x00007f01c5b54197 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#28 0x000000000044f1ca in ?? ()
#29 0x00007f01c41aa60d in __libc_start_main () from /lib64/libc.so.6
#30 0x0000000000450211 in _start ()
Comment 3 Jekyll Wu 2013-09-28 00:16:17 UTC
your two crashes are unlikely related. 

The first crash from Ubuntu is probably due to a Qt bug (that is why I suggest you tyring some newer Qt installtion), but the second crash from Gentoo shows that your system fails to load some dynamic library (usually indicates a broken system after some upgrading)
Comment 4 Joachim Langenbach 2013-10-13 18:03:31 UTC
Have run revdep-rebuild, which detectes broken libraries and recompiles them. Afterwards kleopatra crashes the same way as before. drkonqi says, that no useful crash dump could be created. But the error with glibc is shown on terminal.
Comment 5 Andrew Crouthamel 2018-10-29 23:58:46 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2018-11-13 14:43:11 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2018-11-29 09:47:00 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!