Bug 208299 - Crash downloading new theme (KNS::Engine::downloadDialogModal, IconThemesConfig::getNewTheme, IconThemesConfig::qt_metacall)
Summary: Crash downloading new theme (KNS::Engine::downloadDialogModal, IconThemesConf...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_icons (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Marie Loise Nolden
URL:
Keywords:
: 208849 215633 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-23 15:46 UTC by Jonathan Thomas
Modified: 2010-07-01 22:01 UTC (History)
4 users (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 Jonathan Thomas 2009-09-23 15:46:15 UTC
Version:            (using KDE 4.3.1)
OS:                Linux
Installed from:    Ubuntu Packages

Originally reported at https://launchpad.net/bugs/423286

The original reporter reported that the crash occurred while downloading an icon theme from GHNS.


.
Thread 1 (process 3683):
#0  0x042aae6d in KNS::Engine::downloadDialogModal (this=0xbfc7b478)
    at /usr/include/qt4/QtGui/qwidget.h:473
	existingDialog = <value optimized out>
#1  0x0331c56e in IconThemesConfig::getNewTheme (this=0xa2ef788)
    at ../../../kcontrol/icons/iconthemes.cpp:320
	entries = {{p = {static shared_null = {ref = {_q_value = 10834}, 
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
      d = 0xa38a9d8}, d = 0xa38a9d8}}
	item = <value optimized out>
	engine = {d = 0xa35ce98}
	__PRETTY_FUNCTION__ = "void IconThemesConfig::getNewTheme()"
#2  0x0331fc93 in IconThemesConfig::qt_metacall (this=0xa2ef788, 
    _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0xbfc7b5f8)
    at ./iconthemes.moc:74
No locals.
#3  0x006d7253 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#4  0x006d76c8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#5  0x0132b911 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#6  0x01054249 in ?? () from /usr/lib/libQtGui.so.4
#7  0x01055ea4 in ?? () from /usr/lib/libQtGui.so.4
#8  0x01056131 in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#9  0x00cf3f92 in QWidget::event () from /usr/lib/libQtGui.so.4
#10 0x010540ee in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#11 0x010fe34d in QPushButton::event () from /usr/lib/libQtGui.so.4
#12 0x00c9ef44 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#13 0x00ca7023 in QApplication::notify () from /usr/lib/libQtGui.so.4
#14 0x00377f7a in KApplication::notify (this=0xbfc7f7cc, receiver=0xa38a9d8, 
    event=0xbfc7bbf0) at ../../kdeui/kernel/kapplication.cpp:302
No locals.
#15 0x006c16bb in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#16 0x00ca5f5e in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#17 0x00d146e0 in ?? () from /usr/lib/libQtGui.so.4
#18 0x00d13b6b in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#19 0x00d403f2 in ?? () from /usr/lib/libQtGui.so.4
#20 0x04311d78 in IA__g_main_context_dispatch (context=0x9154a90)
    at /build/buildd/glib2.0-2.21.5/glib/gmain.c:1960
No locals.
#21 0x04315620 in g_main_context_iterate (context=0x9154a90, 
    block=<value optimized out>, dispatch=1, self=0x9150020)
    at /build/buildd/glib2.0-2.21.5/glib/gmain.c:2591
	max_priority = 2147483647
	timeout = 996
	some_ready = 1
	nfds = <value optimized out>
	allocated_nfds = <value optimized out>
	fds = <value optimized out>
	__PRETTY_FUNCTION__ = "g_main_context_iterate"
#22 0x04315753 in IA__g_main_context_iteration (context=0x9154a90, 
    may_block=1) at /build/buildd/glib2.0-2.21.5/glib/gmain.c:2654
	retval = <value optimized out>
#23 0x006ec01c in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#24 0x00d3fad5 in ?? () from /usr/lib/libQtGui.so.4
#25 0x006bfc69 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#26 0x006c00ba in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#27 0x042aaad7 in KNS::EnginePrivate::workflow (this=0x9997808)
    at ../../../knewstuff/knewstuff2/engine.cpp:145
	loop = <incomplete type>
#28 0x042aaefd in KNS::Engine::downloadDialogModal (this=0xbfc7d668)
    at ../../../knewstuff/knewstuff2/engine.cpp:199
	existingDialog = (class KDialog *) 0x9984da0
#29 0x0331c56e in IconThemesConfig::getNewTheme (this=0x98fe150)
    at ../../../kcontrol/icons/iconthemes.cpp:320
	entries = {{p = {static shared_null = {ref = {_q_value = 10834}, 
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
      d = 0x5}, d = 0x5}}
	item = <value optimized out>
	engine = {d = 0x9997808}
	__PRETTY_FUNCTION__ = "void IconThemesConfig::getNewTheme()"
#30 0x0331fc93 in IconThemesConfig::qt_metacall (this=0x98fe150, 
    _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0xbfc7d7e8)
    at ./iconthemes.moc:74
No locals.
#31 0x006d7253 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#32 0x006d76c8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#33 0x0132b911 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#34 0x01054249 in ?? () from /usr/lib/libQtGui.so.4
#35 0x01055ea4 in ?? () from /usr/lib/libQtGui.so.4
#36 0x01056131 in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#37 0x00cf3f92 in QWidget::event () from /usr/lib/libQtGui.so.4
#38 0x010540ee in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#39 0x010fe34d in QPushButton::event () from /usr/lib/libQtGui.so.4
#40 0x00c9ef44 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#41 0x00ca7023 in QApplication::notify () from /usr/lib/libQtGui.so.4
#42 0x00377f7a in KApplication::notify (this=0xbfc7f7cc, receiver=0x9967b10, 
    event=0xbfc7dde0) at ../../kdeui/kernel/kapplication.cpp:302
No locals.
#43 0x006c16bb in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#44 0x00ca5f5e in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#45 0x00d146e0 in ?? () from /usr/lib/libQtGui.so.4
#46 0x00d13b6b in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#47 0x00d403f2 in ?? () from /usr/lib/libQtGui.so.4
#48 0x04311d78 in IA__g_main_context_dispatch (context=0x9154a90)
    at /build/buildd/glib2.0-2.21.5/glib/gmain.c:1960
No locals.
#49 0x04315620 in g_main_context_iterate (context=0x9154a90, 
    block=<value optimized out>, dispatch=1, self=0x9150020)
    at /build/buildd/glib2.0-2.21.5/glib/gmain.c:2591
	max_priority = 2147483647
	timeout = 13903
	some_ready = 1
	nfds = <value optimized out>
	allocated_nfds = <value optimized out>
	fds = <value optimized out>
	__PRETTY_FUNCTION__ = "g_main_context_iterate"
#50 0x04315753 in IA__g_main_context_iteration (context=0x9154a90, 
    may_block=1) at /build/buildd/glib2.0-2.21.5/glib/gmain.c:2654
	retval = <value optimized out>
#51 0x006ec01c in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#52 0x00d3fad5 in ?? () from /usr/lib/libQtGui.so.4
#53 0x006bfc69 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#54 0x006c00ba in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#55 0x006c252f in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#56 0x00c9edc7 in QApplication::exec () from /usr/lib/libQtGui.so.4
#57 0x08052ece in main (argc=5, argv=0xbfc7f914)
    at ../../../systemsettings/app/main.cpp:51
	aboutData = {d = 0x9137ba8}
	application = {<KUniqueApplication> = {<KApplication> = {<> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x1500f48, 
          stringdata = 0x4fe860 "KApplication", data = 0x4fea00, 
          extradata = 0x0}}, static loadedByKdeinit = false, 
      static KApp = 0xbfc7f7cc, d = 0x919ccd8}, static staticMetaObject = {
      d = {superdata = 0x571bc0, stringdata = 0x4ff120 "KUniqueApplication", 
        data = 0x4ff220, extradata = 0x0}}, d = 0x9157c70}, 
  static staticMetaObject = {d = {superdata = 0x80565dc, 
      stringdata = 0x80531d0 "SystemSettingsApp", data = 0x8053200, 
      extradata = 0x0}}, window = 0x9212210}
Comment 1 Dario Andres 2009-09-30 17:09:54 UTC
*** Bug 208849 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Feck 2009-11-23 02:42:12 UTC
*** Bug 215633 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2010-02-21 18:31:43 UTC
SVN commit 1093890 by darioandres:

- Port Icon Themes to KHNS3 (which solves a lot of issues (modal dialog problems))

BUG: 212251
BUG: 208299
CCMAIL: gladhorn@kde.org



 M  +1 -1      CMakeLists.txt  
 M  +18 -19    iconthemes.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1093890
Comment 4 Dario Andres 2010-02-21 18:34:44 UTC
SVN commit 1093891 by darioandres:

Backport to 4.4 of:
SVN commit 1093890 by darioandres:

- Port Icon Themes to KHNS3 (which solves a lot of issues (modal dialog
problems))

CCBUG: 212251
CCBUG: 208299
CCMAIL: gladhorn@kde.org



 M  +1 -1      CMakeLists.txt  
 M  +18 -19    iconthemes.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1093891
Comment 5 Dario Andres 2010-02-21 19:42:16 UTC
I had to revert the commits because there is a Klassroom taking place to
properly fix those issues, and backporting to 4.4 doesn't seem to be safe.
Comment 6 Christoph Feck 2010-07-01 18:44:57 UTC
SVN commit 1145066 by cfeck:

Port Icons KCM to KNS3

Re-apply patch by Dario Andres. Appearantly, the Klassroom
session forgot the Icons KCM.

Additionally, use new providers file, so that more than
just 50 themes can be browsed.

BUG: 208299
BUG: 212251
BUG: 228943


 M  +1 -1      CMakeLists.txt  
 M  +3 -2      icons.knsrc  
 M  +11 -12    iconthemes.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1145066
Comment 7 Christoph Feck 2010-07-01 22:01:01 UTC
SVN commit 1145117 by cfeck:

Port Icons KCM to KNS3 (backport r1145066)

CCBUG: 208299
CCBUG: 212251
CCBUG: 228943


 M  +1 -1      CMakeLists.txt  
 M  +3 -2      icons.knsrc  
 M  +11 -12    iconthemes.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1145117