[Bug 266887] New: KMail2 process doesn't quit if it was restored at KDE startup.

Christophe Giboudeaux cgiboudeaux at gmail.com
Tue Feb 22 13:14:17 GMT 2011


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

           Summary: KMail2 process doesn't quit if it was restored at KDE
                    startup.
           Product: kmail2
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: cgiboudeaux at gmail.com


Steps:

- Configure KDE to 'restore the previous session'
- Launch KMail,
- logout / login
KMail is restored:

# ps x |grep kmail
25095 ?        Sl     0:03 kmail -session
10e875756b000129837994300000242810038_1298379993_111083

However, file/quit in KMail doesn't stop the process (the window and tray icon
are gone but the process is still there)


(gdb) thread apply all bt

Thread 2 (Thread 0x7f24e851d700 (LWP 25191)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f24f5d3d084 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) ()
from /usr/lib64/libQtWebKit.so.4
#2  0x00007f24ffa47a3f in start_thread (arg=0x7f24e851d700) at
pthread_create.c:297
#3  0x00007f2501be367d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2504823760 (LWP 25095)):
#0  0x00007f2501bdcc73 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f25031c092a in qt_safe_select (nfds=16, fdread=0x65d410,
fdwrite=0x65d6a8, fdexcept=0x65d940, orig_timeout=0x7fff1f987cd0) at
kernel/qcore_unix.cpp:92
#2  0x00007f25031c596d in QEventDispatcherUNIXPrivate::doSelect (this=0x65d250,
flags=..., timeout=0x7fff1f987cd0) at kernel/qeventdispatcher_unix.cpp:219
#3  0x00007f25031c6bcf in QEventDispatcherUNIX::processEvents (this=0x6113f0,
flags=...) at kernel/qeventdispatcher_unix.cpp:933
#4  0x00007f250260abac in QEventDispatcherX11::processEvents (this=0x6113f0,
flags=...) at kernel/qeventdispatcher_x11.cpp:152
#5  0x00007f2503198052 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f2503198265 in QEventLoop::exec (this=0x7fff1f987fa0, flags=...) at
kernel/qeventloop.cpp:201
#7  0x00007f250319c6ab in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1009
#8  0x0000000000403486 in main (argc=3, argv=0x7fff1f988278) at
/kde/src/KDE/kdepim/kmail/main.cpp:145

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list