Bug 273774 - zombied Kontact process crashed when closed via TERM signal
Summary: zombied Kontact process crashed when closed via TERM signal
Status: RESOLVED WORKSFORME
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.4.10
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-21 08:36 UTC by gleirsch
Modified: 2011-09-24 16:18 UTC (History)
0 users

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 gleirsch 2011-05-21 08:36:53 UTC
Application: kontact (4.4.10)
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
 - I chose the krunner task manager to send TERM
 - Kontact crashed

- Reason for this:
 - very often KMail cannot be restarted (for some reason unkown to me)
 - One way is to log out, restart the machine or just to stop an existing kontact process by TERM/KILL signal

Although the bug report doesnt give any insight to me, there are some BOOST and GPG references. I'm using GPG with KMail. Maybe the professionals can use these hints.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  0x00007fdbea548aab in QDBusAdaptorConnector::relaySlot (this=0x1292080, argv=0x7fdbc93a3130) at qdbusabstractadaptor.cpp:270
#7  0x00007fdbea548de5 in QDBusAdaptorConnector::qt_metacall (this=0x1292080, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fdbc93a3130) at qdbusabstractadaptor.cpp:366
#8  0x00007fdbec4765f8 in QMetaObject::activate (sender=0x12c1770, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fdbc93a3130) at kernel/qobject.cpp:3287
#9  0x00007fdbec476b0f in QObject::destroyed (this=<value optimized out>, _t1=0x12c1770) at .moc/release-shared/moc_qobject.cpp:149
#10 0x00007fdbec4781f7 in QObject::~QObject (this=0x12c1770, __in_chrg=<value optimized out>) at kernel/qobject.cpp:843
#11 0x00007fdbea8fab79 in KIO::Scheduler::~Scheduler (this=0x12c1770, __in_chrg=<value optimized out>) at ../../kio/kio/scheduler.cpp:770
#12 0x00007fdbea8ffef6 in ~SchedulerPrivate () at ../../kio/kio/scheduler.cpp:668
#13 destroy () at ../../kio/kio/scheduler.cpp:734
#14 0x00007fdbebca5961 in __run_exit_handlers (status=-1) at exit.c:78
#15 exit (status=-1) at exit.c:100
#16 0x00007fdbd0132f3a in kmsignalHandler (sigId=15) at ../../kmail/kmstartup.cpp:59
#17 <signal handler called>
#18 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:134
#19 0x00007fdbe5c3e5b4 in _L_lock_944 () from /lib/x86_64-linux-gnu/libpthread.so.0
#20 0x00007fdbe5c3e3ca in __pthread_mutex_lock (mutex=0x7fdbcd8e7480) at pthread_mutex_lock.c:61
#21 0x00007fdbcd6d171c in ?? () from /usr/lib/libgpgme-pthread.so.11
#22 0x00007fdbcd6d17de in ?? () from /usr/lib/libgpgme-pthread.so.11
#23 0x00007fdbcd6cf10f in ?? () from /usr/lib/libgpgme-pthread.so.11
#24 0x00007fdbcd6cf3df in ?? () from /usr/lib/libgpgme-pthread.so.11
#25 0x00007fdbcd6ce0e3 in ?? () from /usr/lib/libgpgme-pthread.so.11
#26 0x00007fdbcd6c7247 in ?? () from /usr/lib/libgpgme-pthread.so.11
#27 0x00007fdbcd6c1abe in gpgme_op_keylist_start () from /usr/lib/libgpgme-pthread.so.11
#28 0x00007fdbce850b4e in GpgME::Context::startKeyListing (this=<value optimized out>, pattern=<value optimized out>, secretOnly=<value optimized out>) at ../../gpgme++/context.cpp:458
#29 0x00007fdbce850beb in GpgME::Context::startKeyListing (this=<value optimized out>, patterns=<value optimized out>, secretOnly=<value optimized out>) at ../../gpgme++/context.cpp:466
#30 0x00007fdbceb0cd98 in do_list_keys (ctx=0x4377d90, pats=<value optimized out>, keys=..., secretOnly=false) at ../../libkleo/backends/qgpgme/qgpgmekeylistjob.cpp:69
#31 0x00007fdbceb0d959 in list_keys (ctx=0x4377d90, pats=..., secretOnly=false) at ../../libkleo/backends/qgpgme/qgpgmekeylistjob.cpp:87
#32 0x00007fdbceb104a9 in operator()<boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key>, QString, GpgME::Error>, boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key>, QString, GpgME::Error> (*)(GpgME::Context*, QStringList, bool), boost::_bi::list1<GpgME::Context*&> > (function_obj_ptr=<value optimized out>) at /usr/include/boost/bind/bind.hpp:382
#33 operator()<GpgME::Context*> (function_obj_ptr=<value optimized out>) at /usr/include/boost/bind/bind_template.hpp:32
#34 operator()<boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key>, QString, GpgME::Error>, boost::_bi::bind_t<boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key>, QString, GpgME::Error>, boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key>, QString, GpgME::Error> (*)(GpgME::Context*, QStringList, bool), boost::_bi::list3<boost::arg<1>, boost::_bi::value<QStringList>, boost::_bi::value<bool> > >, boost::_bi::list0> (function_obj_ptr=<value optimized out>) at /usr/include/boost/bind/bind.hpp:243
#35 operator() (function_obj_ptr=<value optimized out>) at /usr/include/boost/bind/bind_template.hpp:20
#36 boost::detail::function::function_obj_invoker0<boost::_bi::bind_t<boost::_bi::unspecified, boost::_bi::bind_t<boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key, std::allocator<GpgME::Key> >, QString, GpgME::Error, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>, boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key, std::allocator<GpgME::Key> >, QString, GpgME::Error, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> (*)(GpgME::Context*, QStringList, bool), boost::_bi::list3<boost::arg<1>, boost::_bi::value<QStringList>, boost::_bi::value<bool> > >, boost::_bi::list1<boost::_bi::value<GpgME::Context*> > >, boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key, std::allocator<GpgME::Key> >, QString, GpgME::Error, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >::invoke (function_obj_ptr=<value optimized out>) at /usr/include/boost/function/function_template.hpp:132
#37 0x00007fdbceb10f5e in operator() (this=0x4377e28) at /usr/include/boost/function/function_template.hpp:1013
#38 Kleo::_detail::Thread<boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key, std::allocator<GpgME::Key> >, QString, GpgME::Error, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >::run (this=0x4377e28) at ../../libkleo/backends/qgpgme/threadedjobmixin.h:103
#39 0x00007fdbec37a175 in QThreadPrivate::start (arg=0x4377e28) at thread/qthread_unix.cpp:320
#40 0x00007fdbe5c3bd8c in start_thread (arg=0x7fdbc93a4700) at pthread_create.c:304
#41 0x00007fdbebd5204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#42 0x0000000000000000 in ?? ()

Possible duplicates by query: bug 270164, bug 256644, bug 248567.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-09-24 16:18:24 UTC
I cannot reproduce this issue with kdepim > 4.7.1.

Feel free to reopen this report is you can reproduce this issue with a recent kontact version.

Note that the issue is probably in the gpgme package