Bug 236297

Summary: Crash when changing from CDE to Windows KDE style
Product: [Applications] konversation Reporter: Tommy A. Olsen <tommyo>
Component: generalAssignee: Konversation Developers <konversation-devel>
Status: RESOLVED UPSTREAM    
Severity: crash CC: hein
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tommy A. Olsen 2010-05-04 11:32:58 UTC
Application that crashed: konversation
Version of the application: 1.2.3
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-trunk-amd64 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
Konversation crashed when changing from the CDE to the Windows style. Prior to that I had changed between some other styles, not sure if that is relevant.

 -- Backtrace:
Application: Konversation (konversation), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f8344851c5f in QWidget::testAttribute_helper (this=0x14d72a0, attribute=Qt::WA_WState_Polished) at kernel/qwidget.cpp:10533
#6  0x00007f834480bbc3 in QWidget::testAttribute (style=0x7f832c1b7660) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:1026
#7  QApplication::setStyle (style=0x7f832c1b7660) at kernel/qapplication.cpp:1416
#8  0x00007f834632df6d in KGlobalSettings::Private::applyGUIStyle (this=0x14dda90) at ../../kdeui/kernel/kglobalsettings.cpp:903
#9  0x00007f834632e03d in KGlobalSettings::Private::kdisplaySetStyle (this=0x14dda90) at ../../kdeui/kernel/kglobalsettings.cpp:988
#10 0x00007f8346330f57 in KGlobalSettings::Private::_k_slotNotifyChange (this=0x14dda90, changeType=<value optimized out>, arg=0) at ../../kdeui/kernel/kglobalsettings.cpp:811
#11 0x00007f83463311e3 in KGlobalSettings::qt_metacall (this=0x14b3610, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa40f9cb0) at ./kglobalsettings.moc:92
#12 0x00007f83457a7311 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:904
#13 0x00007f83457b1e5f in QDBusCallDeliveryEvent::placeMetaCall (this=0x4, object=0x42) at qdbusintegrator_p.h:101
#14 0x00007f8345479b59 in QObject::event (this=0x14b3610, e=0x7f832c20f6c0) at kernel/qobject.cpp:1248
#15 0x00007f83448088fc in QApplicationPrivate::notify_helper (this=0x145f580, receiver=0x14b3610, e=0x7f832c20f6c0) at kernel/qapplication.cpp:4300
#16 0x00007f834480eddb in QApplication::notify (this=0x7fffa40fa950, receiver=0x14b3610, e=0x7f832c20f6c0) at kernel/qapplication.cpp:4183
#17 0x00007f8346306de6 in KApplication::notify (this=0x7fffa40fa950, receiver=0x14b3610, event=0x7f832c20f6c0) at ../../kdeui/kernel/kapplication.cpp:302
#18 0x00007f8345469f1c in QCoreApplication::notifyInternal (this=0x7fffa40fa950, receiver=0x14b3610, event=0x7f832c20f6c0) at kernel/qcoreapplication.cpp:704
#19 0x00007f834546c697 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x142a2f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x142a2f0) at kernel/qcoreapplication.cpp:1345
#21 0x00007f8345493833 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#22 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#23 0x00007f83406366c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#24 0x00007f834063a538 in ?? () from /lib/libglib-2.0.so.0
#25 0x00007f834063a6ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#26 0x00007f8345493373 in QEventDispatcherGlib::processEvents (this=0x1429fb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#27 0x00007f83448b83de in QGuiEventDispatcherGlib::processEvents (this=0x14d72a0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007f8345468842 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#29 0x00007f8345468c1c in QEventLoop::exec (this=0x7fffa40fa8a0, flags=) at kernel/qeventloop.cpp:201
#30 0x00007f834546c95b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#31 0x00000000004698d0 in _start ()

Reported using DrKonqi
Comment 1 Tommy A. Olsen 2010-05-04 11:35:18 UTC
I can't reproduce this crash at will. Maybe I don't remember the steps correctly :)
Comment 2 Eike Hein 2010-05-04 11:45:53 UTC
Thanks for the report, but looking at the backtrace it doesn't touch Konversation code even once, it's all in kdelibs and then Qt, where it goes boom. Both the CDE and Windows styles are also bundled with Qt. I think this is a Qt bug, or the underlying condition might be hidden even deeper somewhere else. Always pains me to close a nice report without a fix, but I think I have to close this one as UPSTREAM :-/. Can't see what we could do.