Bug 254095

Summary: Kmail forwarded message window freezes and Kontact crashes when I tried to close it
Product: [Applications] kontact Reporter: Alexis Kauffmann <leh>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: awen, giecrilj, kdebugs, spearhead2k3, winter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Alexis Kauffmann 2010-10-13 23:04:13 UTC
Application: kontact (4.4.6)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed: I was trying to forward a message containing a PDF attachment. This message window froze, I could not edit the "Send To:" or "Subject" box, although I could use other parts of the program. I could open another message, edit a reply and send it while I waited for the frozen window to come back to life. When I clicked on the "close window" button on the right upper corner, Kontact crashed. Weird.

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

Thread 2 (Thread 0x7fb248d2f710 (LWP 2752)):
#0  0x00007fb2733a41e3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb26c117009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fb26c11745c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fb273ae81e6 in QEventDispatcherGlib::processEvents (this=0x2a7b870, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007fb273abaa02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fb273abadec in QEventLoop::exec (this=0x7fb248d2ed90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fb2739c52fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007fb273a9a5f8 in QInotifyFileSystemWatcherEngine::run (this=0x28abb60) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fb2739c827e in QThreadPrivate::start (arg=0x28abb60) at thread/qthread_unix.cpp:266
#9  0x00007fb26e4a6971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007fb2733b092d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb276371780 (LWP 2410)):
[KCrash Handler]
#6  0x0000000005f37780 in ?? ()
#7  0x0000000000403b8f in qDeleteAll<QList<KMainWindow*>::const_iterator> (argc=<value optimized out>, argv=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:322
#8  qDeleteAll<QList<KMainWindow*> > (argc=<value optimized out>, argv=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:330
#9  main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:225

Possible duplicates by query: bug 160002.

Reported using DrKonqi
Comment 1 Christophe Marin 2012-02-13 10:33:20 UTC
*** Bug 293788 has been marked as a duplicate of this bug. ***
Comment 2 Christophe Marin 2012-02-13 10:34:08 UTC
Allen, didn't you fix a few qdeleteall already ?
Comment 3 Allen Winter 2012-02-13 13:36:15 UTC
yes.
let's resolve this old bug.

we can always reopen if needed
Comment 4 Andreas Wenning Rangholm 2012-03-25 22:22:26 UTC
Created attachment 69895 [details]
New crash information added by DrKonqi

kontact (4.8.0) on KDE Platform 4.8.1 (4.8.1) using Qt 4.8.0

- What I was doing when the application crashed:
Writing a new mail. When pressing send the message window froze (marked grey). This message was never send and just hung (but the rest of the application could be used meanwhile. The crash happened when closing kontact.

-- Backtrace (Reduced):
#7  0x000000000040366e in qDeleteAll<QList<KMainWindow*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#8  qDeleteAll<QList<KMainWindow*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#9  main (argc=1, argv=0x7fff871bde68) at ../../../kontact/src/main.cpp:219
Comment 5 Christophe Marin 2012-04-21 09:45:40 UTC
*** Bug 295825 has been marked as a duplicate of this bug. ***
Comment 6 Christophe Marin 2012-04-21 09:45:47 UTC
*** Bug 295608 has been marked as a duplicate of this bug. ***
Comment 7 Christopher Yeleighton 2012-11-01 21:47:54 UTC
Created attachment 74924 [details]
New crash information added by DrKonqi

kontact (4.8.5) on KDE Platform 4.8.5 (4.8.5) "release 2" using Qt 4.8.1

- What I was doing when the application crashed:

I told KDE to shut down the computer.  Windows started to close.

-- Backtrace (Reduced):
#6  0x00000000004036de in qDeleteAll<QList<KMainWindow*>::const_iterator> (end=..., begin=...) at /usr/include/QtCore/qalgorithms.h:322
#7  qDeleteAll<QList<KMainWindow*> > (c=...) at /usr/include/QtCore/qalgorithms.h:330
#8  main (argc=3, argv=0x7fffd64f27b8) at /usr/src/debug/kdepim-4.8.5/kontact/src/main.cpp:219
Comment 8 Christopher Yeleighton 2012-12-27 23:53:41 UTC
Created attachment 76045 [details]
New crash information added by DrKonqi

kontact (4.9) on KDE Platform 4.9.00 using Qt 4.8.1

- What I was doing when the application crashed:
I told KDE to shut down the computer. Windows started to close.

- Unusual behavior I noticed:
The window manager has already quit.

-- Backtrace (Reduced):
#6  0x00007f3121be49dd in QObject::~QObject (this=0x143e1c0, __in_chrg=<optimized out>) at kernel/qobject.cpp:820
#7  0x00007f3121be5249 in QObject::~QObject (this=0x143e1c0, __in_chrg=<optimized out>) at kernel/qobject.cpp:940
#8  0x000000000040374e in qDeleteAll<QList<KMainWindow*>::const_iterator> (end=..., begin=...) at /usr/include/QtCore/qalgorithms.h:322
#9  qDeleteAll<QList<KMainWindow*> > (c=...) at /usr/include/QtCore/qalgorithms.h:330
#10 main (argc=3, argv=0x7fff1e3f88f8) at /tmp/kde-krzysztof/ark3uU5x5/kdepim-4.9.0/kontact/src/main.cpp:220