[Bug 297111] New: kmail2 in autostart mode crash after cancel of entering one account password

Bruno Friedmann brunofr at ioda.net
Fri Mar 30 12:21:41 BST 2012


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

            Bug ID: 297111
          Severity: crash
           Version: unspecified
          Priority: NOR
          Assignee: kdepim-bugs at kde.org
           Summary: kmail2 in autostart mode crash after cancel of
                    entering one account password
    Classification: Unclassified
                OS: Linux
          Reporter: brunofr at ioda.net
          Hardware: openSUSE RPMs
            Status: UNCONFIRMED
         Component: general
           Product: kmail2

Application: kmail (4.8.0)
KDE Platform Version: 4.8.1 (4.8.1) "release 483"
Qt Version: 4.8.0
Operating System: Linux 3.1.9-1.4-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: In the previous session, I've
let kmail2 opened when I shutdown, so it has to open automatically after the
restart.
Now I've 10 imaps accounts configured to goes offline on shutdown in akonadi.

On restart kmail2 open, but wrongly ask me password for one of the account (All
accounts and password are stored in kwallet, and kwallet is running). I decide
to hit cancel on the passphrase dialog. Immediately after kmail2 crash.

Notice which should be related to, all accounts have access to sieve server for
the filtering.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f8e98898780 (LWP 3661))]

Thread 3 (Thread 0x7f8e7a3fb700 (LWP 4400)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f8e8a0a1c12 in WTF::TCMalloc_PageHeap::scavengerThread
(this=0x7f8e8aa401a0) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x00007f8e8a0a1c49 in WTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at
../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x00007f8e939e6f05 in start_thread (arg=0x7f8e7a3fb700) at
pthread_create.c:301
#4  0x00007f8e95bdf10d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f8e79afa700 (LWP 4401)):
#0  0x00007f8e95bd5ff3 in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f8e8ddbba98 in g_main_context_poll (n_fds=1, fds=0x7f8e740013e0,
timeout=3818, context=0x7f8e740009a0, priority=<optimized out>) at gmain.c:3386
#2  g_main_context_iterate (context=0x7f8e740009a0, block=<optimized out>,
dispatch=1, self=<optimized out>) at gmain.c:3068
#3  0x00007f8e8ddbbf59 in g_main_context_iteration (context=0x7f8e740009a0,
may_block=1) at gmain.c:3136
#4  0x00007f8e9723b956 in QEventDispatcherGlib::processEvents
(this=0x7f8e740008c0, flags=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f8e9720b682 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f8e9720b8d7 in QEventLoop::exec (this=0x7f8e79af9e00, flags=...) at
kernel/qeventloop.cpp:204
#7  0x00007f8e9710c537 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#8  0x00007f8e9710f55b in QThreadPrivate::start (arg=0xc658f0) at
thread/qthread_unix.cpp:298
#9  0x00007f8e939e6f05 in start_thread (arg=0x7f8e79afa700) at
pthread_create.c:301
#10 0x00007f8e95bdf10d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f8e98898780 (LWP 3661)):
[KCrash Handler]
#6  operator& (f=QIODevice::WriteOnly, this=0x88) at
../../src/corelib/global/qglobal.h:2304
#7  QIODevice::write (this=0x64de10, data=0x130f6d8 "LOGOUT", maxSize=6) at
io/qiodevice.cpp:1311
#8  0x00007f8e886c8755 in write (data=..., this=<optimized out>) at
/usr/include/QtCore/qiodevice.h:127
#9  KManageSieve::Session::sendData (this=0xf51cd0, data=...) at
/usr/src/debug/kdepim-4.8.1/libksieve/kmanagesieve/session.cpp:352
#10 0x00007f8e886c9826 in KManageSieve::Session::disconnectFromHost
(this=0xf51cd0, sendLogout=<optimized out>) at
/usr/src/debug/kdepim-4.8.1/libksieve/kmanagesieve/session.cpp:89
#11 0x00007f8e886c9b8d in KManageSieve::Session::startAuthentication
(this=0xf51cd0) at
/usr/src/debug/kdepim-4.8.1/libksieve/kmanagesieve/session.cpp:378
#12 0x00007f8e886cac31 in KManageSieve::Session::processResponse
(this=0xf51cd0, response=<optimized out>, data=<optimized out>) at
/usr/src/debug/kdepim-4.8.1/libksieve/kmanagesieve/session.cpp:190
#13 0x00007f8e886cbe55 in KManageSieve::Session::dataReceived (this=0xf51cd0)
at /usr/src/debug/kdepim-4.8.1/libksieve/kmanagesieve/session.cpp:134
#14 0x00007f8e97220761 in QMetaObject::activate (sender=0xf463b0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#15 0x00007f8e97d5d03a in reemitReadyRead (this=<optimized out>) at
/usr/src/debug/kdelibs-4.8.1/kdecore/network/ktcpsocket.cpp:352
#16 qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized
out>, _c=<optimized out>) at
/usr/src/debug/kdelibs-4.8.1/build/kdecore/ktcpsocket.moc:92
#17 KTcpSocket::qt_static_metacall (_o=<optimized out>, _c=<optimized out>,
_id=<optimized out>, _a=<optimized out>) at
/usr/src/debug/kdelibs-4.8.1/build/kdecore/ktcpsocket.moc:74
#18 0x00007f8e97220761 in QMetaObject::activate (sender=0xf54fd0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#19 0x00007f8e94c27c34 in QSslSocketBackendPrivate::transmit (this=0xffda80) at
ssl/qsslsocket_openssl.cpp:1129
#20 0x00007f8e94c21bc9 in qt_static_metacall (_a=<optimized out>,
_id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at
.moc/release-shared/moc_qsslsocket.cpp:98
#21 QSslSocket::qt_static_metacall (_o=<optimized out>, _c=<optimized out>,
_id=<optimized out>, _a=<optimized out>) at
.moc/release-shared/moc_qsslsocket.cpp:77
#22 0x00007f8e97220761 in QMetaObject::activate (sender=0x10094d0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#23 0x00007f8e94c0179f in QAbstractSocketPrivate::canReadNotification
(this=0x1009a40) at socket/qabstractsocket.cpp:651
#24 0x00007f8e94c092f1 in event (this=<optimized out>, e=<optimized out>) at
socket/qnativesocketengine.cpp:1151
#25 QReadNotifier::event (this=<optimized out>, e=<optimized out>) at
socket/qnativesocketengine.cpp:1148
#26 0x00007f8e96591e84 in notify_helper (e=0x7fffa01699b0, receiver=0x6fe0f0,
this=0x672100) at kernel/qapplication.cpp:4550
#27 QApplicationPrivate::notify_helper (this=0x672100, receiver=0x6fe0f0,
e=0x7fffa01699b0) at kernel/qapplication.cpp:4522
#28 0x00007f8e96596d03 in QApplication::notify (this=0x7fffa0169d10,
receiver=0x6fe0f0, e=0x7fffa01699b0) at kernel/qapplication.cpp:4411
#29 0x00007f8e982bb656 in KApplication::notify (this=0x7fffa0169d10,
receiver=0x6fe0f0, event=0x7fffa01699b0) at
/usr/src/debug/kdelibs-4.8.1/kdeui/kernel/kapplication.cpp:311
#30 0x00007f8e9720c89c in QCoreApplication::notifyInternal
(this=0x7fffa0169d10, receiver=0x6fe0f0, event=0x7fffa01699b0) at
kernel/qcoreapplication.cpp:876
#31 0x00007f8e9723af47 in sendEvent (event=0x7fffa01699b0, receiver=<optimized
out>) at kernel/qcoreapplication.h:231
#32 socketNotifierSourceDispatch (source=0x674990) at
kernel/qeventdispatcher_glib.cpp:110
#33 0x00007f8e8ddbb58d in g_main_dispatch (context=0x674820) at gmain.c:2425
#34 g_main_context_dispatch (context=0x674820) at gmain.c:2995
#35 0x00007f8e8ddbbd88 in g_main_context_iterate (context=0x674820,
block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#36 0x00007f8e8ddbbf59 in g_main_context_iteration (context=0x674820,
may_block=1) at gmain.c:3136
#37 0x00007f8e9723b8ef in QEventDispatcherGlib::processEvents (this=0x60b000,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#38 0x00007f8e966352de in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=<optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f8e9720b682 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f8e9720b8d7 in QEventLoop::exec (this=0x7fffa0169bf0, flags=...) at
kernel/qeventloop.cpp:204
#41 0x00007f8e97210435 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1148
#42 0x0000000000402df3 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/kdepim-4.8.1/kmail/main.cpp:145

This bug may be a duplicate of or related to bug 296955, bug 296464.

Possible duplicates by query: bug 297018, bug 296955, bug 296543, bug 296537,
bug 296511.

Reported using DrKonqi

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



More information about the Kdepim-bugs mailing list