[Bug 295823] New: Kontact crashes after flurry of crypto dialogs

Georg Greve greve at fsfe.org
Mon Mar 12 10:12:34 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=295823

            Bug ID: 295823
          Severity: crash
           Version: unspecified
          Priority: NOR
          Assignee: kdepim-bugs at kde.org
           Summary: Kontact crashes after flurry of crypto dialogs
    Classification: Unclassified
                OS: Linux
          Reporter: greve at fsfe.org
          Hardware: Fedora RPMs
            Status: UNCONFIRMED
         Component: general
           Product: kontact

Application: kontact (4.8.0)
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
Operating System: Linux 3.2.9-1.fc16.x86_64 x86_64
Distribution (Platform): Fedora RPMs

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

Sending email to two people, one of who apparently had S/MIME as their crypto
preference, while I use OpenPGP as my standard encryption/signature method.

Got the usual DoS attack of dialogs:
    - Select key for each recipient with more than one key (most of them)
    - Overview of all the keys for each recipient (totally useless, since I
don't remember HEX key ids for anyone, including myself)
    - Warning dialog that one of the recipients had S/MIME as preference, and
that I wouldn't be able to read the message if sent as S/MIME (confirmed)
    - Confirmation to send as OpenPGP anyhow

Upon confirmation, Kontact crashed, but apparently not before sending the mail,
which the system tray informed me went out okay.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82    T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f93b28fc840 (LWP 1949))]

Thread 4 (Thread 0x7f93a6176700 (LWP 1950)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003b2a1b86ec in WTF::TCMalloc_PageHeap::scavengerThread
(this=0x3b2ab7cc20) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x0000003b2a1b8819 in WTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at
../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x0000003fb6807d90 in start_thread (arg=0x7f93a6176700) at
pthread_create.c:309
#4  0x0000003fb60f0f5d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f93a586d700 (LWP 1951)):
#0  0x00007fff17f5e8de in ?? ()
#1  0x0000003fb74041f1 in __GI_clock_gettime (clock_id=1, tp=0x7f93a586cad0) at
../sysdeps/unix/clock_gettime.c:100
#2  0x0000003fc0cd22e4 in do_gettime (frac=0x7f93a586cae8, sec=0x7f93a586cae0)
at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x0000003fc0da84cd in QTimerInfoList::updateCurrentTime
(this=0x7f93a00020d0) at kernel/qeventdispatcher_unix.cpp:343
#5  0x0000003fc0da8803 in QTimerInfoList::timerWait (this=0x7f93a00020d0,
tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x0000003fc0da729c in timerSourcePrepareHelper (src=<optimized out>,
timeout=0x7f93a586cbac) at kernel/qeventdispatcher_glib.cpp:136
#7  0x0000003fb9844062 in g_main_context_prepare (context=0x7f93a00009a0,
priority=0x7f93a586cc18) at gmain.c:2762
#8  0x0000003fb9844e6d in g_main_context_iterate (context=0x7f93a00009a0,
block=1, dispatch=1, self=<optimized out>) at gmain.c:3069
#9  0x0000003fb984549c in g_main_context_iteration (context=0x7f93a00009a0,
may_block=1) at gmain.c:3152
#10 0x0000003fc0da7dc6 in QEventDispatcherGlib::processEvents
(this=0x7f93a00008c0, flags=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:426
#11 0x0000003fc0d78182 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#12 0x0000003fc0d783d7 in QEventLoop::exec (this=0x7f93a586cd40, flags=...) at
kernel/qeventloop.cpp:204
#13 0x0000003fc0c78b27 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#14 0x0000003fc0c7bb6b in QThreadPrivate::start (arg=0xe91080) at
thread/qthread_unix.cpp:298
#15 0x0000003fb6807d90 in start_thread (arg=0x7f93a586d700) at
pthread_create.c:309
#16 0x0000003fb60f0f5d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f93590fe700 (LWP 2487)):
#0  0x0000003fb60e85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003fb9844fd8 in g_main_context_poll (n_fds=1, fds=0x7f934c006a50,
priority=<optimized out>, timeout=-1, context=0x7f934c0060c0) at gmain.c:3402
#2  g_main_context_iterate (context=0x7f934c0060c0, block=<optimized out>,
dispatch=1, self=<optimized out>) at gmain.c:3084
#3  0x0000003fb984549c in g_main_context_iteration (context=0x7f934c0060c0,
may_block=1) at gmain.c:3152
#4  0x0000003fc0da7dc6 in QEventDispatcherGlib::processEvents
(this=0x7f934c006390, flags=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:426
#5  0x0000003fc0d78182 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003fc0d783d7 in QEventLoop::exec (this=0x7f93590fdd10, flags=...) at
kernel/qeventloop.cpp:204
#7  0x0000003fc0c78b27 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#8  0x0000003fc0d57e7f in QInotifyFileSystemWatcherEngine::run (this=0x3b5adc0)
at io/qfilesystemwatcher_inotify.cpp:248
#9  0x0000003fc0c7bb6b in QThreadPrivate::start (arg=0x3b5adc0) at
thread/qthread_unix.cpp:298
#10 0x0000003fb6807d90 in start_thread (arg=0x7f93590fe700) at
pthread_create.c:309
#11 0x0000003fb60f0f5d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f93b28fc840 (LWP 1949)):
[KCrash Handler]
#6  0x0000003fc0c764ce in testAndSetOrdered (newValue=1, expectedValue=0,
this=0x3fc0cd2010) at ../../src/corelib/arch/qatomic_x86_64.h:145
#7  testAndSetAcquire (newValue=1, expectedValue=0, this=0x3fc0cd2010) at
../../src/corelib/arch/qatomic_x86_64.h:267
#8  QMutex::lock (this=0x3fc10c68f8) at thread/qmutex.cpp:175
#9  0x0000003fc0d7c329 in QCoreApplication::postEvent (receiver=0x6aa8f40,
event=0xa3384b0, priority=0) at kernel/qcoreapplication.cpp:1281
#10 0x000000399f178061 in AddressValidationJob::Private::slotAliasExpansionDone
(this=0x12a271c0, job=<optimized out>) at
/usr/src/debug/kdepim-4.8.1/kmail/addressvalidationjob.cpp:96
#11 0x0000003fc0d8cce1 in QMetaObject::activate (sender=0xb7168b0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fff17f3d550) at
kernel/qobject.cpp:3547
#12 0x0000003993141fc2 in KJob::result (this=<optimized out>, _t1=0xb7168b0) at
/usr/src/debug/kdelibs-4.8.1/x86_64-redhat-linux-gnu/kdecore/kjob.moc:208
#13 0x0000003993142000 in KJob::emitResult (this=0xb7168b0) at
/usr/src/debug/kdelibs-4.8.1/kdecore/jobs/kjob.cpp:318
#14 0x000000399e099edb in MessageComposer::AliasesExpandJob::finishExpansion
(this=0xb7168b0) at
/usr/src/debug/kdepim-4.8.1/messagecomposer/aliasesexpandjob.cpp:250
#15 0x000000399e09aa1e in
MessageComposer::AliasesExpandJob::slotNicknameExpansionDone (this=0xb7168b0,
job=<optimized out>) at
/usr/src/debug/kdepim-4.8.1/messagecomposer/aliasesexpandjob.cpp:204
#16 0x0000003fc0d8cce1 in QMetaObject::activate (sender=0xb0926f0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fff17f3d930) at
kernel/qobject.cpp:3547
#17 0x0000003993141fc2 in KJob::result (this=<optimized out>, _t1=0xb0926f0) at
/usr/src/debug/kdelibs-4.8.1/x86_64-redhat-linux-gnu/kdecore/kjob.moc:208
#18 0x0000003993142000 in KJob::emitResult (this=0xb0926f0) at
/usr/src/debug/kdelibs-4.8.1/kdecore/jobs/kjob.cpp:318
#19 0x0000003fc0d91f16 in QObject::event (this=0xb0926f0, e=<optimized out>) at
kernel/qobject.cpp:1195
#20 0x0000003b24fc9994 in notify_helper (e=0x2be5cf0, receiver=0xb0926f0,
this=0xe84b60) at kernel/qapplication.cpp:4550
#21 QApplicationPrivate::notify_helper (this=0xe84b60, receiver=0xb0926f0,
e=0x2be5cf0) at kernel/qapplication.cpp:4522
#22 0x0000003b24fce813 in QApplication::notify (this=0x7fff17f3e2f0,
receiver=0xb0926f0, e=0x2be5cf0) at kernel/qapplication.cpp:4411
#23 0x0000003993851d56 in KApplication::notify (this=0x7fff17f3e2f0,
receiver=0xb0926f0, event=0x2be5cf0) at
/usr/src/debug/kdelibs-4.8.1/kdeui/kernel/kapplication.cpp:311
#24 0x0000003fc0d7904c in QCoreApplication::notifyInternal
(this=0x7fff17f3e2f0, receiver=0xb0926f0, event=0x2be5cf0) at
kernel/qcoreapplication.cpp:876
#25 0x0000003fc0d7cada in sendEvent (event=0x2be5cf0, receiver=0xb0926f0) at
kernel/qcoreapplication.h:231
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0xe4c600) at kernel/qcoreapplication.cpp:1500
#27 0x0000003fc0da7933 in sendPostedEvents () at kernel/qcoreapplication.h:236
#28 postEventSourceDispatch (s=0xe8bec0) at
kernel/qeventdispatcher_glib.cpp:279
#29 0x0000003fb9844acd in g_main_dispatch (context=0xe8a5e0) at gmain.c:2441
#30 g_main_context_dispatch (context=0xe8a5e0) at gmain.c:3011
#31 0x0000003fb98452c8 in g_main_context_iterate (context=0xe8a5e0,
block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#32 0x0000003fb984549c in g_main_context_iteration (context=0xe8a5e0,
may_block=1) at gmain.c:3152
#33 0x0000003fc0da7d5f in QEventDispatcherGlib::processEvents (this=0xe4dee0,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#34 0x0000003b2506c66e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=<optimized out>) at
kernel/qguieventdispatcher_glib.cpp:207
#35 0x0000003fc0d78182 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#36 0x0000003fc0d783d7 in QEventLoop::exec (this=0x7fff17f3e280, flags=...) at
kernel/qeventloop.cpp:204
#37 0x0000003fc0d7cdd5 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1148
#38 0x00000000004036e9 in main (argc=1, argv=0x7fff17f3e918) at
/usr/src/debug/kdepim-4.8.1/kontact/src/main.cpp:218

Possible duplicates by query: bug 293224.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list