[Bug 304016] New: kontact crash : kmail2 if restored from last session and wait for kwallet and cancel imap account

Bruno Friedmann brunofr at ioda.net
Tue Jul 24 18:25:43 BST 2012


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

            Bug ID: 304016
          Severity: crash
           Version: 4.8.4
          Priority: NOR
          Assignee: kdepim-bugs at kde.org
           Summary: kontact crash : kmail2 if restored from last session
                    and wait for kwallet and cancel imap account
    Classification: Unclassified
                OS: Linux
          Reporter: brunofr at ioda.net
          Hardware: openSUSE RPMs
            Status: UNCONFIRMED
         Component: general
           Product: kontact

Application: kontact (4.8.4)
KDE Platform Version: 4.8.4 (4.8.4) "release 513"
Qt Version: 4.8.2
Operating System: Linux 3.1.10-1.16-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
How to reproduce : have several imap accounts, each of them store the password
in kwallet. 
Open kontact, in mail module. Close your session and shutdown your computer.
Restart (was on another network in my case) and open your kde session.
My setup is to restore any opened programs.
so kontact start and kwallet open its dialog box to unlock password.
I wait several minutes, and one of the account ask for its password.
I enter the kwallet password, and cancel the imap account.
Few seconds later I get this backtrace.

First even if there's a timeout for kwallet, I find strange that the imap
account was proposed. Then the crash if you cancel the password entry is wired
:-)

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fd8ca0e2760 (LWP 3348))]

Thread 3 (Thread 0x7fd8b13a7700 (LWP 3456)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd8c690ac12 in WTF::TCMalloc_PageHeap::scavengerThread
(this=0x7fd8c72a91a0) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x00007fd8c690ac49 in WTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at
../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x00007fd8c1f71f05 in start_thread (arg=0x7fd8b13a7700) at
pthread_create.c:301
#4  0x00007fd8c75fc10d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fd8b0aa6700 (LWP 3501)):
#0  0x00007fff28d5a90a in ?? ()
#1  0x00007fd8bfa4dd9a in __GI_clock_gettime (clock_id=<optimized out>,
tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007fd8c7c94014 in do_gettime (frac=0x7fd8b0aa5bc8, sec=0x7fd8b0aa5bc0)
at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fd8c7d6b59d in QTimerInfoList::updateCurrentTime
(this=0x7fd8ac0020d0) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007fd8c7d6b8d3 in QTimerInfoList::timerWait (this=0x7fd8ac0020d0,
tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007fd8c7d6a30c in timerSourcePrepareHelper (src=<optimized out>,
timeout=0x7fd8b0aa5c8c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fd8c1a61b22 in g_main_context_prepare (context=0x7fd8ac0009a0,
priority=0x7fd8b0aa5cf8) at gmain.c:2746
#8  0x00007fd8c1a6292d in g_main_context_iterate (context=0x7fd8ac0009a0,
block=1, dispatch=1, self=<optimized out>) at gmain.c:3053
#9  0x00007fd8c1a62f59 in g_main_context_iteration (context=0x7fd8ac0009a0,
may_block=1) at gmain.c:3136
#10 0x00007fd8c7d6ae36 in QEventDispatcherGlib::processEvents
(this=0x7fd8ac0008c0, flags=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:426
#11 0x00007fd8c7d3a842 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#12 0x00007fd8c7d3aa97 in QEventLoop::exec (this=0x7fd8b0aa5e20, flags=...) at
kernel/qeventloop.cpp:204
#13 0x00007fd8c7c3a5f7 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#14 0x00007fd8c7c3d61b in QThreadPrivate::start (arg=0x64d250) at
thread/qthread_unix.cpp:307
#15 0x00007fd8c1f71f05 in start_thread (arg=0x7fd8b0aa6700) at
pthread_create.c:301
#16 0x00007fd8c75fc10d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fd8ca0e2760 (LWP 3348)):
[KCrash Handler]
#6  __strlen_sse42 () at ../sysdeps/x86_64/multiarch/strlen-sse4.S:32
#7  0x00007fd8b9f5491d in sasl_errdetail (conn=0x1588a60) at common.c:1272
#8  0x00007fd865825aed in KManageSieve::Session::startAuthentication
(this=0x15889f0) at
/usr/src/debug/kdepim-4.8.4/libksieve/kmanagesieve/session.cpp:376
#9  0x00007fd865826c31 in KManageSieve::Session::processResponse
(this=0x15889f0, response=<optimized out>, data=<optimized out>) at
/usr/src/debug/kdepim-4.8.4/libksieve/kmanagesieve/session.cpp:190
#10 0x00007fd865827e55 in KManageSieve::Session::dataReceived (this=0x15889f0)
at /usr/src/debug/kdepim-4.8.4/libksieve/kmanagesieve/session.cpp:134
#11 0x00007fd8c7d4fc41 in QMetaObject::activate (sender=0x15748a0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#12 0x00007fd8c825cbba in reemitReadyRead (this=<optimized out>) at
/usr/src/debug/kdelibs-4.8.4/kdecore/network/ktcpsocket.cpp:365
#13 qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized
out>, _c=<optimized out>) at
/usr/src/debug/kdelibs-4.8.4/build/kdecore/ktcpsocket.moc:92
#14 KTcpSocket::qt_static_metacall (_o=<optimized out>, _c=<optimized out>,
_id=<optimized out>, _a=<optimized out>) at
/usr/src/debug/kdelibs-4.8.4/build/kdecore/ktcpsocket.moc:74
#15 0x00007fd8c7d4fc41 in QMetaObject::activate (sender=0x1588830, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#16 0x00007fd8c2f35bf4 in QSslSocketBackendPrivate::transmit (this=0x17212d0)
at ssl/qsslsocket_openssl.cpp:1149
#17 0x00007fd8c2f2ffe9 in qt_static_metacall (_a=<optimized out>,
_id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at
.moc/release-shared/moc_qsslsocket.cpp:98
#18 QSslSocket::qt_static_metacall (_o=<optimized out>, _c=<optimized out>,
_id=<optimized out>, _a=<optimized out>) at
.moc/release-shared/moc_qsslsocket.cpp:77
#19 0x00007fd8c7d4fc41 in QMetaObject::activate (sender=0x156f080, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#20 0x00007fd8c2f0f44f in QAbstractSocketPrivate::canReadNotification
(this=0x1726980) at socket/qabstractsocket.cpp:654
#21 0x00007fd8c2f16fa1 in event (this=<optimized out>, e=<optimized out>) at
socket/qnativesocketengine.cpp:1151
#22 QReadNotifier::event (this=<optimized out>, e=<optimized out>) at
socket/qnativesocketengine.cpp:1148
#23 0x00007fd8c8754fe4 in notify_helper (e=0x7fff28c49e10, receiver=0x62d400,
this=0x650690) at kernel/qapplication.cpp:4551
#24 QApplicationPrivate::notify_helper (this=0x650690, receiver=0x62d400,
e=0x7fff28c49e10) at kernel/qapplication.cpp:4523
#25 0x00007fd8c8759db3 in QApplication::notify (this=0x7fff28c4a0c0,
receiver=0x62d400, e=0x7fff28c49e10) at kernel/qapplication.cpp:4412
#26 0x00007fd8c949b746 in KApplication::notify (this=0x7fff28c4a0c0,
receiver=0x62d400, event=0x7fff28c49e10) at
/usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#27 0x00007fd8c7d3bd0c in QCoreApplication::notifyInternal
(this=0x7fff28c4a0c0, receiver=0x62d400, event=0x7fff28c49e10) at
kernel/qcoreapplication.cpp:915
#28 0x00007fd8c7d6a427 in sendEvent (event=0x7fff28c49e10, receiver=<optimized
out>) at kernel/qcoreapplication.h:231
#29 socketNotifierSourceDispatch (source=0x63c2d0) at
kernel/qeventdispatcher_glib.cpp:110
#30 0x00007fd8c1a6258d in g_main_dispatch (context=0x63c1e0) at gmain.c:2425
#31 g_main_context_dispatch (context=0x63c1e0) at gmain.c:2995
#32 0x00007fd8c1a62d88 in g_main_context_iterate (context=0x63c1e0,
block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#33 0x00007fd8c1a62f59 in g_main_context_iteration (context=0x63c1e0,
may_block=1) at gmain.c:3136
#34 0x00007fd8c7d6adcf in QEventDispatcherGlib::processEvents (this=0x60d4c0,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007fd8c87f869e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=<optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fd8c7d3a842 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#37 0x00007fd8c7d3aa97 in QEventLoop::exec (this=0x7fff28c4a050, flags=...) at
kernel/qeventloop.cpp:204
#38 0x00007fd8c7d3f8b5 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1187
#39 0x0000000000403919 in main (argc=3, argv=0x7fff28c4a6e8) at
/usr/src/debug/kdepim-4.8.4/kontact/src/main.cpp:218

Reported using DrKonqi

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



More information about the Kdepim-bugs mailing list