Bug 237267 - Segfault when starting Kmail
Summary: Segfault when starting Kmail
Status: RESOLVED DUPLICATE of bug 237188
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-11 17:51 UTC by Kenneth Voort
Modified: 2011-02-20 14:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.63 KB, text/plain)
2011-02-20 14:03 UTC, Christopher Yeleighton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Voort 2010-05-11 17:51:54 UTC
Application: kmail (1.13.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
KMail segfaults when I attempt to start it. This is new behaviour today... the only factor I can think of is that I added an IMAP account to the setup yesterday. It was starting as expected with a single IMAP account.

I'll see if removing the second account from the configuration helps. (If I can start it. That seems to be a problem right now).

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0x7f3e987cb710 (LWP 1998)):
#0  0x00007f3eb4a1af53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3eac3c94a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f3eac3c98fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f3eb5385566 in QEventDispatcherGlib::processEvents (this=0x220e630, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f3eb535a992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f3eb535ad6c in QEventLoop::exec (this=0x7f3e987cacf0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f3eb5264d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f3eb533b178 in QInotifyFileSystemWatcherEngine::run (this=0x21fdb80) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f3eb5267775 in QThreadPrivate::start (arg=0x21fdb80) at thread/qthread_unix.cpp:248
#9  0x00007f3eb2e719ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f3eb4a2769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3eb7f0e820 (LWP 1996)):
[KCrash Handler]
#5  0x00007f3eb5d4b364 in QAbstractItemView::selectionModel (this=0x2092c30) at itemviews/qabstractitemview.cpp:745
#6  0x00007f3eb5dd3bb0 in QTreeWidget::setItemSelected (this=0x2092c30, item=0x2092ca0, select=false) at itemviews/qtreewidget.cpp:3028
#7  0x00007f3eb683e785 in QTreeWidgetItem::setSelected (this=0x202db50) at /usr/include/qt4/QtGui/qtreewidget.h:397
#8  KMail::FolderView::restoreItemStates (this=0x202db50) at ../../kmail/folderview.cpp:390
#9  0x00007f3eb6844c87 in KMail::FolderView::reload (this=0x202db50, openFoldersForUpdate=false) at ../../kmail/folderview.cpp:671
#10 0x00007f3eb6a79817 in KMMainWidget::readConfig (this=0x1d5f0e0) at ../../kmail/kmmainwidget.cpp:593
#11 0x00007f3eb6a8a7e9 in KMMainWidget (this=0x1d5f0e0, parent=<value optimized out>, aGUIClient=<value optimized out>, actionCollection=<value optimized out>, config=...)
    at ../../kmail/kmmainwidget.cpp:232
#12 0x00007f3eb67d9343 in KMMainWin (this=0x1cfd220, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../kmail/kmmainwin.cpp:41
#13 0x00007f3eb69a8cc7 in KMKernel::openReader (this=0x7fff2e2c5390, onlyCheck=false) at ../../kmail/kmkernel.cpp:422
#14 0x00007f3eb69b03d8 in KMKernel::action (this=0x7fff2e2c5390, mailto=<value optimized out>, check=160, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., 
    customHeaders=...) at ../../kmail/kmkernel.cpp:1939
#15 0x00007f3eb69b2c4c in KMKernel::handleCommandLine (this=<value optimized out>, noArgsOpensReader=<value optimized out>) at ../../kmail/kmkernel.cpp:368
#16 0x0000000000402882 in KMailApplication::newInstance (this=0x7fff2e2c5500) at ../../kmail/main.cpp:87
#17 0x00007f3eb79386b6 in KUniqueApplicationAdaptor::newInstance (this=0x1b6a8e0, asn_id=<value optimized out>, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:454
#18 0x00007f3eb7938cf6 in KUniqueApplicationAdaptor::qt_metacall (this=0x1b6a8e0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff2e2c45b0) at ./kuniqueapplication_p.moc:81
#19 0x00007f3eb30ac486 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:904
#20 0x00007f3eb30ad6ef in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x1b6a8e0, flags=337, msg=...) at qdbusintegrator.cpp:809
#21 0x00007f3eb30ae1cd in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1364
#22 0x00007f3eb30ae468 in QDBusActivateObjectEvent::placeMetaCall (this=0x1b3ff20) at qdbusintegrator.cpp:1477
#23 0x00007f3eb536bd49 in QObject::event (this=0x7fff2e2c5500, e=0x1b3ff20) at kernel/qobject.cpp:1248
#24 0x00007f3eb583359d in QApplication::event (this=0x7fff2e2c5500, e=0x1b3ff20) at kernel/qapplication.cpp:2353
#25 0x00007f3eb582f22c in QApplicationPrivate::notify_helper (this=0x1ab7e00, receiver=0x7fff2e2c5500, e=0x1b3ff20) at kernel/qapplication.cpp:4300
#26 0x00007f3eb58356fb in QApplication::notify (this=0x7fff2e2c5500, receiver=0x7fff2e2c5500, e=0x1b3ff20) at kernel/qapplication.cpp:4183
#27 0x00007f3eb7931526 in KApplication::notify (this=0x7fff2e2c5500, receiver=0x7fff2e2c5500, event=0x1b3ff20) at ../../kdeui/kernel/kapplication.cpp:302
#28 0x00007f3eb535c06c in QCoreApplication::notifyInternal (this=0x7fff2e2c5500, receiver=0x7fff2e2c5500, event=0x1b3ff20) at kernel/qcoreapplication.cpp:704
#29 0x00007f3eb535e7e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1a248b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1a248b0) at kernel/qcoreapplication.cpp:1345
#31 0x00007f3eb53859d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#32 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#33 0x00007f3eac3c58c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x00007f3eac3c9748 in ?? () from /lib/libglib-2.0.so.0
#35 0x00007f3eac3c98fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x00007f3eb5385513 in QEventDispatcherGlib::processEvents (this=0x1a24000, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#37 0x00007f3eb58df46e in QGuiEventDispatcherGlib::processEvents (this=0x2092c30, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f3eb535a992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#39 0x00007f3eb535ad6c in QEventLoop::exec (this=0x7fff2e2c5330, flags=) at kernel/qeventloop.cpp:201
#40 0x00007f3eb535eaab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#41 0x0000000000403482 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:156

Reported using DrKonqi
Comment 1 Kenneth Voort 2010-05-11 17:54:55 UTC
If I don't provide credentials for the account I just added to the profile, it starts normally.
Comment 2 Kenneth Voort 2010-05-11 17:56:56 UTC
https://bugs.kde.org/show_bug.cgi?id=237188

*** This bug has been marked as a duplicate of bug 237188 ***
Comment 3 Christopher Yeleighton 2011-02-20 14:03:07 UTC
Created attachment 57395 [details]
New crash information added by DrKonqi

kontact (4.4.10) on KDE Platform 4.6.00 (4.6.0) "release 376" using Qt 4.7.1

- What I was doing when the application crashed:

I entered my IMAP passwords and II was waiting for Kontact to appear.

-- Backtrace (Reduced):
#6  QAbstractItemView::selectionModel (this=0x7f4ca942d800) at itemviews/qabstractitemview.cpp:749
#7  0x00007f4ca8a41b60 in QTreeWidget::setItemSelected (this=<value optimized out>, item=0x175f7d0, select=false) at itemviews/qtreewidget.cpp:3030
#8  0x00007f4c8e0afe90 in setSelected (this=0xdff2c0) at /usr/include/QtGui/qtreewidget.h:397
#9  KMail::FolderView::restoreItemStates (this=0xdff2c0) at /usr/src/debug/kdepim-4.4.10/kmail/folderview.cpp:390
#10 0x00007f4c8e0b06f7 in KMail::FolderView::reload (this=0xdff2c0, openFoldersForUpdate=false) at /usr/src/debug/kdepim-4.4.10/kmail/folderview.cpp:671
Comment 4 Christopher Yeleighton 2011-02-20 14:04:46 UTC
(In reply to comment #2)
> https://bugs.kde.org/show_bug.cgi?id=237188
> 
> *** This bug has been marked as a duplicate of bug 237188 ***

Why?  The stack trace is obviously different.