Bug 259147 - kmail crashed when sorting multiple gmail accounts
Summary: kmail crashed when sorting multiple gmail accounts
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.2
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 266855 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-07 17:44 UTC by micromaster21
Modified: 2011-02-22 01:15 UTC (History)
1 user (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 micromaster21 2010-12-07 17:44:58 UTC
Application: kmail (1.13.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-21-server x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
I use 5 gmail accounts for various mail. I tried to sort the mail by the sender and reciever. I managed to crash kmail.

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

Thread 6 (Thread 0x7fcc45ec0710 (LWP 16229)):
#0  0x00007fcc5afc5b01 in g_main_context_check () from /lib/libglib-2.0.so.0
#1  0x00007fcc5afc64c3 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fcc5afc68fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fcc63f84566 in QEventDispatcherGlib::processEvents (this=0x2b1f330, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fcc63f59992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fcc63f59d6c in QEventLoop::exec (this=0x7fcc45ebfcf0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fcc63e63d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fcc63f3a178 in QInotifyFileSystemWatcherEngine::run (this=0x2b34910) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fcc63e66775 in QThreadPrivate::start (arg=0x2b34910) at thread/qthread_unix.cpp:248
#9  0x00007fcc61a6f9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fcc6362570d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fcc43cd2710 (LWP 16552)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fcc428dc081 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fcc61a6f9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fcc6362570d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fcc450dd710 (LWP 16553)):
#0  0x00007fcc61a723f5 in __pthread_mutex_lock (mutex=0x2cb8e98) at pthread_mutex_lock.c:61
#1  0x00007fcc5afc650e in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fcc5afc68fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fcc63f84566 in QEventDispatcherGlib::processEvents (this=0x320cbe0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fcc63f59992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fcc63f59d6c in QEventLoop::exec (this=0x7fcc450dccd0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fcc63e63d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fcc42b38440 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007fcc63e66775 in QThreadPrivate::start (arg=0x3892530) at thread/qthread_unix.cpp:248
#9  0x00007fcc61a6f9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fcc6362570d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fcc36307710 (LWP 16615)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fcc428dc081 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fcc61a6f9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fcc6362570d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fcc2dc12710 (LWP 16628)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fcc428dc081 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fcc61a6f9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fcc6362570d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fcc66b0c820 (LWP 16157)):
[KCrash Handler]
#5  MessageList::Core::Manager::saveSortOrderForStorageModel (this=<value optimized out>, storageModel=0x0, order=..., storageUsesPrivateSortOrder=false) at ../../messagelist/core/manager.cpp:467
#6  0x00007fcc5f52eb2b in MessageList::Core::Widget::messageSortingSelected (this=0x21f3660, action=<value optimized out>) at ../../messagelist/core/widgetbase.cpp:799
#7  0x00007fcc5f4e7d12 in MessageList::Core::Widget::qt_metacall (this=0x21f3660, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa87c51d0) at moc_widgetbase.cpp:130
#8  0x00007fcc653bbff0 in KMail::MessageListView::Widget::qt_metacall (this=0x2b6e580, _c=58861008, _id=1, _a=0x54) at moc_widget.cpp:81
#9  0x00007fcc63f6de3f in QMetaObject::activate (sender=0x3d31c90, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x54) at kernel/qobject.cpp:3293
#10 0x00007fcc6442ca3f in QActionGroup::triggered (this=0x2b6e580, _t1=0x3657bc0) at .moc/release-shared/moc_qactiongroup.cpp:146
#11 0x00007fcc6442d247 in QActionGroupPrivate::_q_actionTriggered (this=<value optimized out>) at kernel/qactiongroup.cpp:93
#12 0x00007fcc6442d4a1 in QActionGroup::qt_metacall (this=0x3d31c90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa87c5330) at .moc/release-shared/moc_qactiongroup.cpp:101
#13 0x00007fcc63f6de3f in QMetaObject::activate (sender=0x3657bc0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x54) at kernel/qobject.cpp:3293
#14 0x00007fcc64428032 in QAction::triggered (this=0x2b6e580, _t1=true) at .moc/release-shared/moc_qaction.cpp:263
#15 0x00007fcc6442a0ab in QAction::activate (this=0x3657bc0, event=<value optimized out>) at kernel/qaction.cpp:1255
#16 0x00007fcc6486939d in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x3657bc0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#17 0x00007fcc6486edda in QMenuPrivate::activateAction (this=0x243f4c0, action=0x3657bc0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#18 0x00007fcc6660ccee in KMenu::mouseReleaseEvent (this=0x2468130, e=0x38225d0) at ../../kdeui/widgets/kmenu.cpp:471
#19 0x00007fcc64484582 in QWidget::event (this=0x2468130, event=0x7fffa87c5f80) at kernel/qwidget.cpp:7998
#20 0x00007fcc64870f9b in QMenu::event (this=0x2468130, e=0x7fffa87c5f80) at widgets/qmenu.cpp:2414
#21 0x00007fcc6442e22c in QApplicationPrivate::notify_helper (this=0x21af190, receiver=0x2468130, e=0x7fffa87c5f80) at kernel/qapplication.cpp:4300
#22 0x00007fcc64434ecb in QApplication::notify (this=0x7fffa87c6da0, receiver=0x2468130, e=0x7fffa87c5f80) at kernel/qapplication.cpp:3865
#23 0x00007fcc66530526 in KApplication::notify (this=0x7fffa87c6da0, receiver=0x2468130, event=0x7fffa87c5f80) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00007fcc63f5b06c in QCoreApplication::notifyInternal (this=0x7fffa87c6da0, receiver=0x2468130, event=0x7fffa87c5f80) at kernel/qcoreapplication.cpp:704
#25 0x00007fcc644340ae in QCoreApplication::sendEvent (receiver=0x2468130, event=0x7fffa87c5f80, alienWidget=0x0, nativeWidget=0x2468130, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QApplicationPrivate::sendMouseEvent (receiver=0x2468130, event=0x7fffa87c5f80, alienWidget=0x0, nativeWidget=0x2468130, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:2965
#27 0x00007fcc644b43dd in QETWidget::translateMouseEvent (this=0x2468130, event=<value optimized out>) at kernel/qapplication_x11.cpp:4302
#28 0x00007fcc644b28ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffa87c68a0) at kernel/qapplication_x11.cpp:3501
#29 0x00007fcc644de882 in x11EventSourceDispatch (s=0x21b43f0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00007fcc5afc28c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x00007fcc5afc6748 in ?? () from /lib/libglib-2.0.so.0
#32 0x00007fcc5afc68fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0x00007fcc63f84513 in QEventDispatcherGlib::processEvents (this=0x2172000, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#34 0x00007fcc644de46e in QGuiEventDispatcherGlib::processEvents (this=0x2b6e580, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007fcc63f59992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#36 0x00007fcc63f59d6c in QEventLoop::exec (this=0x7fffa87c6bd0, flags=) at kernel/qeventloop.cpp:201
#37 0x00007fcc63f5daab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#38 0x0000000000403482 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:156

Possible duplicates by query: bug 223058.

Reported using DrKonqi
Comment 1 Laurent Montel 2010-12-08 13:27:47 UTC
SVN commit 1204618 by mlaurent:

Fix Bug 259147 - kmail crashed when sorting multiple gmail accounts
sometime model can be null
BUG: 259147


 M  +16 -0     widgetbase.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1204618
Comment 2 Laurent Montel 2010-12-08 13:28:02 UTC
SVN commit 1204619 by mlaurent:

Backport :Fix Bug 259147 - kmail crashed when sorting multiple gmail accounts
sometime model can be null
BUG: 259147



 M  +16 -0     widgetbase.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1204619
Comment 3 Christophe Marin 2011-02-22 01:15:41 UTC
*** Bug 266855 has been marked as a duplicate of this bug. ***