Summary: | kmail crashes when changing kstyle | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | Jacopo De Simoi <jacopods+kde> |
Component: | new message list | Assignee: | Szymon Stefanek <pragma> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | andresbajotierra, christian.gonzalez, christophe, mail, peterix |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Unspecified | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Jacopo De Simoi
2008-12-02 06:04:28 UTC
I can't reproduce this with rev 890719. Can you tell us exactly which change triggers that and/or try with a more recent version? Thanks. I will build from trunk as soon as I have time; as for now, the crash is triggered by a change in the widget style (e.g. from Oxygen to cleanlooks) and happens when applying the change. In fact even a trivial change (e.g. Oxygen to cleanlooks, then back to Oxygen, just to activate the apply button) triggers the crash when clicking on the Apply button. I am on amd64 (as you can tell by the 64bit addresses in the backtrace) here are my (very conservative) CFLAGS: CFLAGS="-mtune=k8 -O2 -pipe -ggdb " It stills crashes for me with kmail built from trunk today. The backtrace is pretty much identical: Application: KMail (kmail), signal SIGSEGV 0x00007f72272d07e1 in nanosleep () from /lib/libc.so.6 Thread 1 (Thread 0x7f7230acc700 (LWP 7508)): [KCrash Handler] #5 QListData::begin (this=0x20) at /usr/include/qt4/QtCore/qlist.h:92 #6 0x00007f722fad5ffc in QList<KMail::MessageListView::Core::Theme::Column*>::constBegin (this=0x20) at /usr/include/qt4/QtCore/qlist.h:240 #7 0x00007f722fad2edc in KMail::MessageListView::Core::Theme::resetCache (this=<value optimized out>) at /var/tmp/portage/kde-base/kmail-9999/work/kmail/kmail/messagelistview/core/theme.cpp:745 #8 0x00007f722fadb8d4 in KMail::MessageListView::Core::ThemeDelegate::setTheme (this=0x8a4770, theme=0x20) at /var/tmp/portage/kde-base/kmail-9999/work/kmail/kmail/messagelistview/core/themedelegate.cpp:72 #9 0x00007f722faeb565 in KMail::MessageListView::Core::View::setTheme (this=0x895990, theme=0x20) at /var/tmp/portage/kde-base/kmail-9999/work/kmail/kmail/messagelistview/core/view.cpp:152 #10 0x00007f722faeb5ec in KMail::MessageListView::Core::View::changeEvent (this=0x895990, e=0x7fff38b14e00) at /var/tmp/portage/kde-base/kmail-9999/work/kmail/kmail/messagelistview/core/view.cpp:1828 #11 0x00007f722816f40e in QWidget::event (this=0x895990, event=0x7fff38b14e00) at kernel/qwidget.cpp:7442 #12 0x00007f72284a5ef6 in QFrame::event (this=0x895990, e=0x7fff38b14e00) at widgets/qframe.cpp:657 #13 0x00007f72285325fd in QAbstractScrollArea::event (this=0x895990, e=0x7fff38b14e00) at widgets/qabstractscrollarea.cpp:905 #14 0x00007f72285c5dcd in QAbstractItemView::event (this=0x895990, event=0x7fff38b14e00) at itemviews/qabstractitemview.cpp:1373 #15 0x00007f722fae5173 in KMail::MessageListView::Core::View::event (this=0x895990, e=0x7fff38b14e00) at /var/tmp/portage/kde-base/kmail-9999/work/kmail/kmail/messagelistview/core/view.cpp:1846 #16 0x00007f722811ed7e in QApplicationPrivate::notify_helper (this=0x647d60, receiver=0x895990, e=0x7fff38b14e00) at kernel/qapplication.cpp:3809 #17 0x00007f7228120c07 in QApplication::notify (this=0x7fff38b15db0, receiver=0x895990, e=0x7fff38b14e00) at kernel/qapplication.cpp:3774 #18 0x00007f72305103a1 in KApplication::notify (this=0x7fff38b15db0, receiver=0x895990, event=0x7fff38b14e00) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:307 #19 0x00007f722918e468 in QCoreApplication::notifyInternal (this=0x7fff38b15db0, receiver=0x895990, event=0x7fff38b14e00) at kernel/qcoreapplication.cpp:593 #20 0x00007f7228125964 in QApplication::setStyle (style=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #21 0x00007f7230533d6d in KGlobalSettings::Private::applyGUIStyle (this=0x68dfd0) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kglobalsettings.cpp:855 #22 0x00007f7230533e19 in KGlobalSettings::Private::kdisplaySetStyle (this=0x68dfd0) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kglobalsettings.cpp:946 #23 0x00007f72305356dc in KGlobalSettings::Private::_k_slotNotifyChange (this=0x68dfd0, changeType=2, arg=0) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kglobalsettings.cpp:774 #24 0x00007f72305357b6 in KGlobalSettings::qt_metacall (this=0x68ea60, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff38b15100) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs_build/kdeui/kglobalsettings.moc:91 #25 0x00007f72294a2237 in QDBusConnectionPrivate::deliverCall (this=0x630ff0, object=0x68ea60, msg=@0xc30918, metaTypes=@0xc30920, slotIdx=13) at qdbusintegrator.cpp:855 #26 0x00007f72294ac18f in QDBusCallDeliveryEvent::placeMetaCall (this=0x2000000000000000, object=0x20) at qdbusintegrator_p.h:136 #27 0x00007f722919fb82 in QObject::event (this=0x68ea60, e=0xc308d0) at kernel/qobject.cpp:1152 #28 0x00007f722811ed7e in QApplicationPrivate::notify_helper (this=0x647d60, receiver=0x68ea60, e=0xc308d0) at kernel/qapplication.cpp:3809 #29 0x00007f7228120c07 in QApplication::notify (this=0x7fff38b15db0, receiver=0x68ea60, e=0xc308d0) at kernel/qapplication.cpp:3774 #30 0x00007f72305103a1 in KApplication::notify (this=0x7fff38b15db0, receiver=0x68ea60, event=0xc308d0) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:307 #31 0x00007f722918e468 in QCoreApplication::notifyInternal (this=0x7fff38b15db0, receiver=0x68ea60, event=0xc308d0) at kernel/qcoreapplication.cpp:593 #32 0x00007f722918f689 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6083b0) at kernel/qcoreapplication.h:215 #33 0x00007f72281abb1d in QEventDispatcherX11::processEvents (this=0x631730, flags=@0x7fff38b15b90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #34 0x00007f722918d825 in QEventLoop::processEvents (this=<value optimized out>, flags=@0x7fff38b15bd0) at kernel/qeventloop.cpp:149 #35 0x00007f722918d98a in QEventLoop::exec (this=0x7fff38b15c10, flags=@0x7fff38b15c20) at kernel/qeventloop.cpp:200 #36 0x00007f722918face in QCoreApplication::exec () at kernel/qcoreapplication.cpp:851 #37 0x00000000004034e8 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kmail-9999/work/kmail/kmail/main.cpp:146 Out of curiosity, how do I get rid of the "<value optimized out>" in the backtrace? Can anyone still reproduce this bug using an updated build? Thanks :) I'll get a new build as soon as I can and see if it works now. Fixed for me on 4.1.96 Thx Closing as WORKSFORME. Please re-open the bug report if you experience this again. Thanks :) *** Bug 181243 has been marked as a duplicate of this bug. *** Look at bug 181243 for another report in KDE4.2RC weird.. can it be a problem with different compilation options? Qt versions? as far as I can tell the reporter of bug 181243 and I should be using the same version of kde... Previously I could reproduce the crash every time I tried, but maybe there is something else that triggers it, I'm gonna investigate more. *** Bug 185070 has been marked as a duplicate of this bug. *** SVN commit 937301 by stefanek: Don't crash when changing KStyle and an empty tab is displayed. Fixes palindrome bug 176671. BUG: 176671 M +4 -0 themedelegate.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=937301 SVN commit 938219 by tmcguire: Backport r937301 by stefanek from trunk to the 4.2 branch: Don't crash when changing KStyle and an empty tab is displayed. Fixes palindrome bug 176671. CCBUG: 176671 M +4 -0 themedelegate.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=938219 |