Bug 191746

Summary: KJots launched as separate application crashed on changing widgets style
Product: [Unmaintained] kjots Reporter: Sergei Andreev <seajey.serg>
Component: generalAssignee: Stephen Kelly <steveire>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, kdelibs-bugs-null, seajey.serg
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sergei Andreev 2009-05-05 22:14:28 UTC
Version:           4.2.2 (KDE 4.2.2) (using 4.2.2 (KDE 4.2.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.28-11-generic

KJots launched as separate application crashed on changing widgets style from Oxygen to QtCurve

Приложение: KJots (kjots), сигнал SIGSEGV
0x00007f9364b06cf0 in __nanosleep_nocancel () from /lib/libc.so.6

Thread 1 (Thread 0x7f9369734750 (LWP 4230)):
[KCrash Handler]
#5  QIcon::actualSize (this=<value optimized out>, size=@0x7fff7176cbb0, mode=QIcon::Normal, state=QIcon::Off) at image/qicon.cpp:744
#6  0x00007f936766c7ec in KFontComboBox::event (this=0x19ad9d0, e=0x7fff7176d0c0) at /build/buildd/kde4libs-4.2.2/kdeui/fonts/kfontcombobox.cpp:373
#7  0x00007f936627983d in QApplicationPrivate::notify_helper (this=0x17be9a0, receiver=0x19ad9d0, e=0x7fff7176d0c0) at kernel/qapplication.cpp:4084
#8  0x00007f9366281a2a in QApplication::notify (this=0x7fff7176fc50, receiver=0x19ad9d0, e=0x7fff7176d0c0) at kernel/qapplication.cpp:4049
#9  0x00007f93676ae26b in KApplication::notify (this=0x7fff7176fc50, receiver=0x19ad9d0, event=0x7fff7176d0c0) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#10 0x00007f93656d075c in QCoreApplication::notifyInternal (this=0x7fff7176fc50, receiver=0x19ad9d0, event=0x7fff7176d0c0) at kernel/qcoreapplication.cpp:602
#11 0x00007f93663074fd in QWidgetPrivate::setGeometry_sys (this=0x19add20, x=<value optimized out>, y=4, w=<value optimized out>, h=0, isMove=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#12 0x00007f93662c9637 in QWidget::setGeometry (this=0x19ad9d0, r=@0x7fff7176d340) at kernel/qwidget.cpp:6198
#13 0x00007f93662a94ec in QWidgetItem::setGeometry (this=0x1869200, rect=<value optimized out>) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:970
#14 0x00007f93666eb9d3 in QToolBarLayout::layoutActions (this=0x1971300, size=<value optimized out>) at widgets/qtoolbarlayout.cpp:535
#15 0x00007f93666ec792 in QToolBarLayout::setGeometry (this=0x1971300, rect=@0x7fff7176d6b0) at widgets/qtoolbarlayout.cpp:383
#16 0x00007f93662a4827 in QLayoutPrivate::doResize (this=0x196e9c0, r=@0x7fff7176d730) at kernel/qlayout.cpp:637
#17 0x00007f93662a497e in QLayout::activate (this=0x1971300) at kernel/qlayout.cpp:1210
#18 0x00007f93662797fe in QApplicationPrivate::notify_helper (this=0x17be9a0, receiver=0x1979dc0, e=0x7fff7176dc10) at kernel/qapplication.cpp:4075
#19 0x00007f9366281a2a in QApplication::notify (this=0x7fff7176fc50, receiver=0x1979dc0, e=0x7fff7176dc10) at kernel/qapplication.cpp:4049
#20 0x00007f93676ae26b in KApplication::notify (this=0x7fff7176fc50, receiver=0x1979dc0, event=0x7fff7176dc10) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#21 0x00007f93656d075c in QCoreApplication::notifyInternal (this=0x7fff7176fc50, receiver=0x1979dc0, event=0x7fff7176dc10) at kernel/qcoreapplication.cpp:602
#22 0x00007f93663074fd in QWidgetPrivate::setGeometry_sys (this=0x19a9810, x=<value optimized out>, y=23, w=<value optimized out>, h=0, isMove=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#23 0x00007f93662c9637 in QWidget::setGeometry (this=0x1979dc0, r=@0x7fff7176df20) at kernel/qwidget.cpp:6198
#24 0x00007f9366709e1a in QWidgetAnimator::animate (this=0x18576e0, widget=0x19bd428, _final_geometry=<value optimized out>, animate=<value optimized out>) at widgets/qwidgetanimator.cpp:141
#25 0x00007f936670b35a in QToolBarAreaLayout::apply (this=0x17cd0b8, animate=<value optimized out>) at widgets/qtoolbararealayout.cpp:923
#26 0x00007f93666814b8 in QMainWindowLayoutState::apply (this=<value optimized out>, animated=<value optimized out>) at widgets/qmainwindowlayout.cpp:230
#27 0x00007f9366682956 in QMainWindowLayout::applyState (this=0x17cd080, newState=@0x17cd0a0, animate=false) at widgets/qmainwindowlayout.cpp:1925
#28 0x00007f9366683155 in QMainWindowLayout::setGeometry (this=0x17cd080, _r=<value optimized out>) at widgets/qmainwindowlayout.cpp:1434
#29 0x00007f93662a4827 in QLayoutPrivate::doResize (this=0x1856ff0, r=@0x7fff7176e2a0) at kernel/qlayout.cpp:637
#30 0x00007f93662a497e in QLayout::activate (this=0x17cd080) at kernel/qlayout.cpp:1210
#31 0x00007f93662d001b in QWidget::setVisible (this=0x1988550, visible=<value optimized out>) at kernel/qwidget.cpp:6913
#32 0x00007f93666ebfc0 in QToolBarLayout::layoutActions (this=0x197b8b0, size=<value optimized out>) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:473
#33 0x00007f93666ec792 in QToolBarLayout::setGeometry (this=0x197b8b0, rect=@0x7fff7176e6a0) at widgets/qtoolbarlayout.cpp:383
#34 0x00007f93662a4827 in QLayoutPrivate::doResize (this=0x1993e70, r=@0x7fff7176eb74) at kernel/qlayout.cpp:637
#35 0x00007f93662797fe in QApplicationPrivate::notify_helper (this=0x17be9a0, receiver=0x196fd40, e=0x7fff7176eb60) at kernel/qapplication.cpp:4075
#36 0x00007f9366281a2a in QApplication::notify (this=0x7fff7176fc50, receiver=0x196fd40, e=0x7fff7176eb60) at kernel/qapplication.cpp:4049
#37 0x00007f93676ae26b in KApplication::notify (this=0x7fff7176fc50, receiver=0x196fd40, event=0x7fff7176eb60) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#38 0x00007f93656d075c in QCoreApplication::notifyInternal (this=0x7fff7176fc50, receiver=0x196fd40, event=0x7fff7176eb60) at kernel/qcoreapplication.cpp:602
#39 0x00007f93663074fd in QWidgetPrivate::setGeometry_sys (this=0x198cc20, x=<value optimized out>, y=23, w=<value optimized out>, h=0, isMove=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#40 0x00007f93662c9637 in QWidget::setGeometry (this=0x196fd40, r=@0x7fff7176ee70) at kernel/qwidget.cpp:6198
#41 0x00007f9366709e1a in QWidgetAnimator::animate (this=0x18576e0, widget=0x19bd428, _final_geometry=<value optimized out>, animate=<value optimized out>) at widgets/qwidgetanimator.cpp:141
#42 0x00007f936670b35a in QToolBarAreaLayout::apply (this=0x17cd0b8, animate=<value optimized out>) at widgets/qtoolbararealayout.cpp:923
#43 0x00007f93666814b8 in QMainWindowLayoutState::apply (this=<value optimized out>, animated=<value optimized out>) at widgets/qmainwindowlayout.cpp:230
#44 0x00007f9366682956 in QMainWindowLayout::applyState (this=0x17cd080, newState=@0x17cd0a0, animate=false) at widgets/qmainwindowlayout.cpp:1925
#45 0x00007f9366683155 in QMainWindowLayout::setGeometry (this=0x17cd080, _r=<value optimized out>) at widgets/qmainwindowlayout.cpp:1434
#46 0x00007f93662a4827 in QLayoutPrivate::doResize (this=0x1856ff0, r=@0x7fff7176f1f0) at kernel/qlayout.cpp:637
#47 0x00007f93662a497e in QLayout::activate (this=0x17cd080) at kernel/qlayout.cpp:1210
#48 0x00007f93662d001b in QWidget::setVisible (this=0x197b2f0, visible=<value optimized out>) at kernel/qwidget.cpp:6913
#49 0x00007f93666ec81b in QToolBarLayout::setGeometry (this=0x197b8b0, rect=@0x7fff7176f410) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:473
#50 0x00007f93662a4827 in QLayoutPrivate::doResize (this=0x1993e70, r=@0x7fff7176f490) at kernel/qlayout.cpp:637
#51 0x00007f93662a497e in QLayout::activate (this=0x197b8b0) at kernel/qlayout.cpp:1210
#52 0x00007f93662797fe in QApplicationPrivate::notify_helper (this=0x17be9a0, receiver=0x196fd40, e=0x19d2290) at kernel/qapplication.cpp:4075
#53 0x00007f9366281a2a in QApplication::notify (this=0x7fff7176fc50, receiver=0x196fd40, e=0x19d2290) at kernel/qapplication.cpp:4049
#54 0x00007f93676ae26b in KApplication::notify (this=0x7fff7176fc50, receiver=0x196fd40, event=0x19d2290) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#55 0x00007f93656d075c in QCoreApplication::notifyInternal (this=0x7fff7176fc50, receiver=0x196fd40, event=0x19d2290) at kernel/qcoreapplication.cpp:602
#56 0x00007f93656d13ca in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1799470) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#57 0x00007f93656fa1e3 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#58 0x00007f935f9aa20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#59 0x00007f935f9ad8e0 in ?? () from /usr/lib/libglib-2.0.so.0
#60 0x00007f935f9ada7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#61 0x00007f93656f9e6f in QEventDispatcherGlib::processEvents (this=0x179e8a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#62 0x00007f9366311c9f in QGuiEventDispatcherGlib::processEvents (this=0x500000753, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#63 0x00007f93656cf002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1903623104}) at kernel/qeventloop.cpp:149
#64 0x00007f93656cf3cd in QEventLoop::exec (this=0x7fff7176fc00, flags={i = 1903623184}) at kernel/qeventloop.cpp:200
#65 0x00007f93656d1694 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#66 0x000000000041cb1f in _start ()
Comment 1 Dario Andres 2009-05-06 14:24:48 UTC
Seems to be a kdelibs/kdeui bug. What is your Qt4 version ?
Thanks
Comment 2 Sergei Andreev 2009-05-06 14:57:12 UTC
>What is your Qt4 version? 

Standart for Kubuntu 9.04 -- Qt 4.5.0
Comment 3 Sergei Andreev 2009-05-06 21:59:48 UTC
Changing QtCurve to Skulpture and another KJots crash, this time though without useful backtrace.
Comment 4 Dario Andres 2009-05-06 22:42:35 UTC
I can reproduce the crash here using:

Qt: 4.5.1 (qt-copy  960517)
KDE: 4.2.71 (KDE 4.2.71 (KDE 4.3 >= 20090428))
kdelibs svn rev. 963904 / kdebase svn rev. 963904
on ArchLinux i686 - Kernel 2.6.29.1
Comment 5 Stephen Kelly 2009-09-30 00:31:55 UTC
I can't reproduce this using kde trunk/Qt 4.5 or using stable kubuntu 9.04.

Can you re-test and close the bug if you can no longer reproduce?
Comment 6 Sergei Andreev 2009-09-30 08:55:25 UTC
I will do it.
Comment 7 Sergei Andreev 2009-09-30 18:48:40 UTC
Cool, the bug is fixed now, my configuration:

Qt: 4.5.2
KDE: 4.3.1 (KDE 4.3.1)
KJots: 4.3.1