Bug 290710 - Crash after quitting Kontact while the summary widget wasn't fully loaded
Summary: Crash after quitting Kontact while the summary widget wasn't fully loaded
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: summary (show other bugs)
Version: GIT (master)
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 303503 304826 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-05 16:40 UTC by Christophe Marin
Modified: 2017-01-07 22:48 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Valgrind log (52.15 KB, text/plain)
2012-01-05 16:42 UTC, Christophe Marin
Details
New crash information added by DrKonqi (6.08 KB, text/plain)
2012-01-10 14:40 UTC, Andre Heinecke
Details
New crash information added by DrKonqi (4.60 KB, text/plain)
2012-05-02 14:06 UTC, kavol
Details
New crash information added by DrKonqi (3.97 KB, text/plain)
2012-06-26 07:15 UTC, Sebastian L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Marin 2012-01-05 16:40:43 UTC
Using master

Steps:
1/ Set up kontact to start on the summary page,
2/ Add a few email folders to display on the summary view
3/ Start kontact
4/ Before the summary page is fully loaded, switch the active module (I tried only with the ktimetracker part)
5/ File/quit

bt:

#3  QCoreApplication::postEvent (receiver=0x109ade0, event=0x1520870, priority=0) at kernel/qcoreapplication.cpp:1273
#4  0x00007f9b086c0e2b in KJob::emitPercent (this=0x109ade0, processedAmount=5468157392, totalAmount=140303837957675) at /kde/src/kdelibs/kdecore/jobs/kjob.cpp:329
#5  0x00007f9b086c074f in KJob::kill (this=0x109ade0, verbosity=KJob::EmitResult) at /kde/src/kdelibs/kdecore/jobs/kjob.cpp:126
#6  0x00007f9b056d4c35 in Akonadi::Session::clear (this=0x11b0210) at /kde/src/pim/kdepimlibs/akonadi/session.cpp:425
#7  0x00007f9b056d4997 in Akonadi::Session::~Session (this=0x11b0210, __in_chrg=<optimized out>) at /kde/src/pim/kdepimlibs/akonadi/session.cpp:394
#8  0x00007f9b056d4a22 in Akonadi::Session::~Session (this=0x11b0210, __in_chrg=<optimized out>) at /kde/src/pim/kdepimlibs/akonadi/session.cpp:396
#9  0x00007f9b08214e05 in QObjectPrivate::deleteChildren (this=0x1199790) at kernel/qobject.cpp:1917
#10 0x00007f9b08addb90 in QWidget::~QWidget (this=0x119a420, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1675
#11 0x00007f9b09cd7dc0 in KontactInterface::Summary::~Summary (this=0x119a420, __in_chrg=<optimized out>) at /kde/src/pim/kdepimlibs/kontactinterface/summary.cpp:73
#12 0x00007f9af4030b26 in SDSummaryWidget::~SDSummaryWidget (this=0x119a420, __in_chrg=<optimized out>) at /kde/src/pim/kdepim/kontact/plugins/specialdates/sdsummarywidget.h:52
#13 0x00007f9af4030b94 in SDSummaryWidget::~SDSummaryWidget (this=0x119a420, __in_chrg=<optimized out>) at /kde/src/pim/kdepim/kontact/plugins/specialdates/sdsummarywidget.h:52
#14 0x00007f9b08214e05 in QObjectPrivate::deleteChildren (this=0x1197640) at kernel/qobject.cpp:1917
#15 0x00007f9b08addb90 in QWidget::~QWidget (this=0x115aa60, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1675
#16 0x00007f9aafde0e81 in DropWidget::~DropWidget (this=0x115aa60, __in_chrg=<optimized out>) at /kde/src/pim/kdepim/kontact/plugins/summary/dropwidget.h:30
#17 0x00007f9aafde0eba in DropWidget::~DropWidget (this=0x115aa60, __in_chrg=<optimized out>) at /kde/src/pim/kdepim/kontact/plugins/summary/dropwidget.h:30
#18 0x00007f9b08214e05 in QObjectPrivate::deleteChildren (this=0x1136660) at kernel/qobject.cpp:1917
#19 0x00007f9b08addb90 in QWidget::~QWidget (this=0x1140910, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1675
#20 0x00007f9b08e9ef69 in QFrame::~QFrame (this=0x1140910, __in_chrg=<optimized out>) at widgets/qframe.cpp:242
#21 0x00007f9b08214e05 in QObjectPrivate::deleteChildren (this=0x1134c60) at kernel/qobject.cpp:1917
#22 0x00007f9b08addb90 in QWidget::~QWidget (this=0x11417c0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1675
#23 0x00007f9b08adde69 in QWidget::~QWidget (this=0x11417c0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1699
#24 0x00007f9b08214e05 in QObjectPrivate::deleteChildren (this=0x11351a0) at kernel/qobject.cpp:1917
#25 0x00007f9b08addb90 in QWidget::~QWidget (this=0x112a300, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1675
#26 0x00007f9b08f245b9 in QScrollArea::~QScrollArea (this=0x112a300, __in_chrg=<optimized out>) at widgets/qscrollarea.cpp:176
#27 0x00007f9b09c507bd in KParts::Part::~Part (this=0x111a280, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /kde/src/kdelibs/kparts/part.cpp:209
#28 0x00007f9b09c515b8 in KParts::ReadOnlyPart::openUrl (this=0x5bd210, url=...) at /kde/src/kdelibs/kparts/part.cpp:535
#29 0x00007f9aafddc5e8 in SummaryViewPart::~SummaryViewPart (this=0x111a280, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
---Type <return> to continue, or q <return> to quit---
    at /kde/src/pim/kdepim/kontact/plugins/summary/summaryview_part.cpp:85                                                                                                          
#30 0x00007f9aafddc646 in SummaryViewPart::~SummaryViewPart (this=0x111a280, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)                                                 
    at /kde/src/pim/kdepim/kontact/plugins/summary/summaryview_part.cpp:88                                                                                                          
#31 0x00007f9b09cd5843 in KontactInterface::Plugin::~Plugin (this=0x6a9f50, __vtt_parm=0x7f9aafdef0a8, __in_chrg=<optimized out>)                                                   
    at /kde/src/pim/kdepimlibs/kontactinterface/plugin.cpp:90                                                                                                                       
#32 0x00007f9aafdd943b in SummaryView::~SummaryView (this=0x6a9f50, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)                                                          
    at /kde/src/pim/kdepim/kontact/plugins/summary/summaryview_plugin.cpp:85                                                                                                        
#33 0x00007f9aafdd9492 in SummaryView::~SummaryView (this=0x6a9f50, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)                                                          
    at /kde/src/pim/kdepim/kontact/plugins/summary/summaryview_plugin.cpp:87                                                                                                        
#34 0x00007f9b09d16079 in Kontact::MainWindow::~MainWindow (this=0x5bd210, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)                                                   
    at /kde/src/pim/kdepim/kontact/src/mainwindow.cpp:288                                                                                                                           
#35 0x00007f9b09d16202 in Kontact::MainWindow::~MainWindow (this=0x5bd210, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)                                                   
    at /kde/src/pim/kdepim/kontact/src/mainwindow.cpp:290                                                                                                                           
#36 0x00007f9b0821b948 in QObject::event (this=0x5bd210, e=<optimized out>) at kernel/qobject.cpp:1185                                                                              
#37 0x00007f9b08ae2fcb in QWidget::event (this=0x5bd210, event=0x160e580) at kernel/qwidget.cpp:8820                                                                                
#38 0x00007f9b08eb90db in QMainWindow::event (this=0x5bd210, event=0x160e580) at widgets/qmainwindow.cpp:1478                                                                       
#39 0x00007f9b0991de09 in KMainWindow::event (this=0x5bd210, ev=0x160e580) at /kde/src/kdelibs/kdeui/widgets/kmainwindow.cpp:1084                                                   
#40 0x00007f9b099696cb in KXmlGuiWindow::event (this=0x5bd210, ev=0x160e580) at /kde/src/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:126                                                 
#41 0x00007f9b08a92e84 in notify_helper (e=0x160e580, receiver=0x5bd210, this=0x441110) at kernel/qapplication.cpp:4550
#42 QApplicationPrivate::notify_helper (this=0x441110, receiver=0x5bd210, e=0x160e580) at kernel/qapplication.cpp:4522
#43 0x00007f9b08a97d03 in QApplication::notify (this=0x7fff45ed8d40, receiver=0x5bd210, e=0x160e580) at kernel/qapplication.cpp:4411
#44 0x00007f9b0982d5a3 in KApplication::notify (this=0x7fff45ed8d40, receiver=0x5bd210, event=0x160e580) at /kde/src/kdelibs/kdeui/kernel/kapplication.cpp:311
Comment 1 Christophe Marin 2012-01-05 16:42:21 UTC
Created attachment 67486 [details]
Valgrind log
Comment 2 Andre Heinecke 2012-01-10 14:40:55 UTC
Created attachment 67659 [details]
New crash information added by DrKonqi

kontact (4.8 rc2) on KDE Platform 4.7.97 (4.8 RC2 (4.7.97) using Qt 4.7.3

I've reproduced this in an even more simple way, i just started kontact and immediately when the close button appeared pressed on the close button.

-- Backtrace (Reduced):
#6  0x00007fb17dcacba4 in KJob::kill (this=0x22e42c0, verbosity=KJob::EmitResult) at /home/andre/kde/src/kdelibs/kdecore/jobs/kjob.cpp:111
#7  0x00007fb179facae1 in Akonadi::Session::clear (this=0x1ebcd10) at /home/andre/kde/src/kdepimlibs/akonadi/session.cpp:425
#8  0x00007fb179fac843 in Akonadi::Session::~Session (this=0x1ebcd10, __in_chrg=<optimized out>) at /home/andre/kde/src/kdepimlibs/akonadi/session.cpp:394
#9  0x00007fb179fac8ce in Akonadi::Session::~Session (this=0x1ebcd10, __in_chrg=<optimized out>) at /home/andre/kde/src/kdepimlibs/akonadi/session.cpp:396
#10 0x00007fb17d8239e5 in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
Comment 3 kavol 2012-05-02 14:06:13 UTC
Created attachment 70807 [details]
New crash information added by DrKonqi

korganizer (4.8.3- ()) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.1

- What I was doing when the application crashed:

started korganizer from the systray then quickly closed it

-- Backtrace (Reduced):
#6  KJob::kill (this=0x2c02510, verbosity=KJob::EmitResult) at /usr/src/debug/kdelibs-4.8.3/kdecore/jobs/kjob.cpp:111
#7  0x00007f3b350a2357 in Akonadi::Session::clear (this=this@entry=0x2741c30) at /usr/src/debug/kdepimlibs-4.8.3/akonadi/session.cpp:425
#8  0x00007f3b350a25e4 in Akonadi::Session::~Session (this=0x2741c30, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.8.3/akonadi/session.cpp:394
#9  0x00007f3b350a2629 in Akonadi::Session::~Session (this=0x2741c30, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.8.3/akonadi/session.cpp:396
#10 0x00000034f7b87f32 in QObjectPrivate::deleteChildren (this=this@entry=0x273ad20) at kernel/qobject.cpp:1908
Comment 4 Sebastian L 2012-06-26 07:15:34 UTC
Created attachment 72146 [details]
New crash information added by DrKonqi

korganizer (4.8.4- ()) on KDE Platform 4.8.4 (4.8.4) "release 7" using Qt 4.8.2

- What I was doing when the application crashed:

i started korganizer and before all calenders were loaded i closed it again

-- Backtrace (Reduced):
#7  0x00007fe143993f5a in KJob::kill (this=0x1d70d80, verbosity=KJob::EmitResult) at /usr/src/debug/kdelibs-4.8.4/kdecore/jobs/kjob.cpp:111
#8  0x00007fe13e51d8d7 in Akonadi::Session::clear (this=0x1b99500) at /usr/src/debug/kdepimlibs-4.8.4/akonadi/session.cpp:425
#9  0x00007fe13e51dc7b in Akonadi::Session::~Session (this=0x1b99500, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.8.4/akonadi/session.cpp:394
#10 0x00007fe13e51dcc9 in Akonadi::Session::~Session (this=0x1b99500, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.8.4/akonadi/session.cpp:396
#11 0x00007fe143511235 in QObjectPrivate::deleteChildren (this=0x1c071b0) at kernel/qobject.cpp:1917
Comment 5 Jekyll Wu 2012-07-14 00:29:00 UTC
*** Bug 303503 has been marked as a duplicate of this bug. ***
Comment 6 Christophe Marin 2012-08-14 21:29:26 UTC
*** Bug 304826 has been marked as a duplicate of this bug. ***
Comment 7 Denis Kurz 2016-09-24 19:27:20 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 8 Denis Kurz 2017-01-07 22:48:23 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.