Bug 243055 - KMail crashed after clicking a "browse" icon in settings [QTreeWidget::topLevelItemCount, KMail::FolderSelectionTreeWidget::reload, KMail::FolderSelectionDialog::init]
Summary: KMail crashed after clicking a "browse" icon in settings [QTreeWidget::topLev...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 232344 246518 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-28 18:05 UTC by Craig Magina
Modified: 2012-08-19 10:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Magina 2010-06-28 18:05:22 UTC
Application: kmail (1.13.3)
KDE Platform Version: 4.4.4 (KDE 4.4.4)
Qt Version: 4.6.2
Operating System: Linux 2.6.33.5-124.fc13.x86_64 x86_64
Distribution: "Fedora release 13 (Goddard)"

-- Information about the crash:
I was configuring kmail for use with an Exchange server via IMAP when it crashed immediately after clicking a "browse" icon in one of the settings.  I attempted to reproduce it, but clicking the same browse icon after restarting the application did not result in a new crash.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#5  0x000000392c0f34cf in qobject_cast<QTreeModel*> (this=<value optimized out>) at ../../src/corelib/kernel/qobject.h:455
#6  treeModel (this=<value optimized out>) at ../../src/gui/itemviews/qtreewidget_p.h:222
#7  QTreeWidget::topLevelItemCount (this=<value optimized out>) at itemviews/qtreewidget.cpp:2608
#8  0x0000003942a0cd34 in KMail::FolderSelectionTreeWidget::reload (this=0x389ba50, mustBeReadWrite=<value optimized out>, showOutbox=<value optimized out>, showImapFolders=<value optimized out>, 
    preSelection=...) at /usr/src/debug/kdepim-4.4.4/kmail/folderselectiontreewidget.cpp:177
#9  0x0000003942a0daaf in KMail::FolderSelectionDialog::init (this=0x2d77ac0, tree=0x28cc140, mustBeReadWrite=true) at /usr/src/debug/kdepim-4.4.4/kmail/folderselectiondialog.cpp:70
#10 0x0000003942a0dd6e in KMail::FolderSelectionDialog::FolderSelectionDialog (this=0x2d77ac0, parent=<value optimized out>, tree=0x28cc140, caption=..., mustBeReadWrite=true, 
    useGlobalSettings=<value optimized out>) at /usr/src/debug/kdepim-4.4.4/kmail/folderselectiondialog.cpp:53
#11 0x0000003942c0ac29 in KMail::FolderRequester::slotOpenDialog (this=0x35e1320) at /usr/src/debug/kdepim-4.4.4/kmail/folderrequester.cpp:83
#12 0x0000003942c0ada1 in KMail::FolderRequester::qt_metacall (this=0x35e1320, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9c89b0e0)
    at /usr/src/debug/kdepim-4.4.4/x86_64-redhat-linux-gnu/kmail/folderrequester.moc:77
#13 0x000000392a76a81f in QMetaObject::activate (sender=0x35e2b60, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff9c89b0e0) at kernel/qobject.cpp:3293
#14 0x000000392c1df8b2 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#15 0x000000392bf2f06b in QAbstractButtonPrivate::emitClicked (this=<value optimized out>) at widgets/qabstractbutton.cpp:546
#16 0x000000392bf303eb in QAbstractButtonPrivate::click (this=0x35e3440) at widgets/qabstractbutton.cpp:539
#17 0x000000392bf3065c in QAbstractButton::mouseReleaseEvent (this=0x35e2b60, e=0x7fff9c89ba40) at widgets/qabstractbutton.cpp:1121
#18 0x000000392bfeb3da in QToolButton::mouseReleaseEvent (this=<value optimized out>, e=<value optimized out>) at widgets/qtoolbutton.cpp:721
#19 0x000000392bbf5b6a in QWidget::event (this=0x35e2b60, event=0x7fff9c89ba40) at kernel/qwidget.cpp:7998
#20 0x000000392bbaa9cc in QApplicationPrivate::notify_helper (this=0x245b8a0, receiver=0x35e2b60, e=0x7fff9c89ba40) at kernel/qapplication.cpp:4304
#21 0x000000392bbb115d in QApplication::notify (this=<value optimized out>, receiver=0x35e2b60, e=0x7fff9c89ba40) at kernel/qapplication.cpp:3869
#22 0x000000392d606e86 in KApplication::notify (this=0x7fff9c89c860, receiver=0x35e2b60, event=0x7fff9c89ba40) at /usr/src/debug/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#23 0x000000392a757cdc in QCoreApplication::notifyInternal (this=0x7fff9c89c860, receiver=0x35e2b60, event=0x7fff9c89ba40) at kernel/qcoreapplication.cpp:704
#24 0x000000392bbb034e in sendEvent (receiver=0x35e2b60, event=0x7fff9c89ba40, alienWidget=0x35e2b60, nativeWidget=0x35d4d70, buttonDown=0x392c62b2a8, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:215
#25 QApplicationPrivate::sendMouseEvent (receiver=0x35e2b60, event=0x7fff9c89ba40, alienWidget=0x35e2b60, nativeWidget=0x35d4d70, buttonDown=0x392c62b2a8, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2969
#26 0x000000392bc22475 in QETWidget::translateMouseEvent (this=0x35d4d70, event=<value optimized out>) at kernel/qapplication_x11.cpp:4373
#27 0x000000392bc20dec in QApplication::x11ProcessEvent (this=0x7fff9c89c860, event=0x7fff9c89c360) at kernel/qapplication_x11.cpp:3506
#28 0x000000392bc49dc2 in x11EventSourceDispatch (s=0x245f1b0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0x000000392163bd02 in g_main_dispatch (context=0x245e120) at gmain.c:1960
#30 IA__g_main_context_dispatch (context=0x245e120) at gmain.c:2513
#31 0x000000392163fae8 in g_main_context_iterate (context=0x245e120, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#32 0x000000392163fc9c in IA__g_main_context_iteration (context=0x245e120, may_block=1) at gmain.c:2654
#33 0x000000392a77d603 in QEventDispatcherGlib::processEvents (this=0x2419860, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#34 0x000000392bc49a8e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x000000392a756722 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x000000392a7569ec in QEventLoop::exec (this=0x7fff9c89c690, flags=...) at kernel/qeventloop.cpp:201
#37 0x000000392a758cd9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#38 0x0000000000403322 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.4.4/kmail/main.cpp:156

This bug may be a duplicate of or related to bug 232344.

Possible duplicates by query: bug 232344.

Reported using DrKonqi
Comment 1 Christophe Marin 2010-09-19 14:55:45 UTC
*** Bug 246518 has been marked as a duplicate of this bug. ***
Comment 2 Dario Andres 2010-12-14 14:41:44 UTC
[Comment from a bug triager]
From bug 232344:[Comment from a bug triager]

-- Information about the crash:
After launching kontact, I was in kmail settings and the crash occured when in
the misc section I clicked on the browse button for selecting the default
folder to display at launch of the app

In kontact I used the Settings>Configure Kmail... menu, which is the same
than in kmail, not the Configure Kontact... menu.

After this crash, I tried again from both menu and now there is no crash, so I
can't really reproduce..
Comment 3 Dario Andres 2010-12-14 14:42:58 UTC
*** Bug 232344 has been marked as a duplicate of this bug. ***
Comment 4 Myriam Schweingruber 2012-08-19 10:59:44 UTC
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding