Bug 232393 - Plasma Crash Changing or Customizing Theme
Summary: Plasma Crash Changing or Customizing Theme
Status: RESOLVED DUPLICATE of bug 182026
Alias: None
Product: kmix
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Christian Esken
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-27 21:32 UTC by Rehan Khamaruddin
Modified: 2010-03-27 22:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (4.87 KB, text/plain)
2010-03-27 21:41 UTC, Rehan Khamaruddin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rehan Khamaruddin 2010-03-27 21:32:02 UTC
Application: kmix (3.6-alpha2)
KDE Platform Version: 4.4.1 (KDE 4.4.1) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-gentoo-r10 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
First off, regarding platform: Reproducible on Kubuntu karmic, Gentoo and Arch (x64 all).
There are several threads in the Kubuntu forums regarding plasma crashes on upgrade to 4.4 and I suspect a lot of them involved themes. 

Plasma (and on Kubuntu and Arch, kwin) crashes any time I try to customize a widget theme. For an example, lets take BlackGlass from kde-look.org (http://kde-look.org/content/show.php/BlackGlass?content=110034). Note that this can be reproduced by most themes, including the most popular Glassified. Let's start with one of the standard pre-installed themes, say slim glow. Now go to SystemSettings -> Appearance -> Workspace and select the newly install BlackGlass. Wait a few secs for the crash. On gentoo, my desktop recovers by itself. On Kubuntu and Arch, I have to do Alt+F2 -> plasma-workspace (and sometimes kwin --replace). 

It took me absolutely ages to figure out how to get the debugging symbols installed to be able to report this crash and I do hope this is useful. BTW, I can get plasma to crash by customizing any of the above themes in 4.3.5. For example, change  Advanced -> Desktop Theme Details -> Panel Background to use BlackGlass Background or Glassified results in a similar Plasma and/or Kwin crash.

The crash can be reproduced every time.

 -- Backtrace:
Application: KMix (kdeinit4), signal: Bus error
[KCrash Handler]
#5  0x00007f7f7307d6f7 in KPixmapCache::Private::mmapFile (this=0xf92f60, filename=..., info=0xf92fc8, newsize=126341120)
    at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/kdeui/util/kpixmapcache.cpp:491
#6  0x00007f7f7307e85c in KPixmapCache::Private::mmapFiles (this=0xf92f60) at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/kdeui/util/kpixmapcache.cpp:424
#7  0x00007f7f7307df5c in KPixmapCache::recreateCacheFiles (this=0x10675b0) at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/kdeui/util/kpixmapcache.cpp:1247
#8  0x00007f7f7307e227 in KPixmapCache::Private::checkFileVersion (this=0xf92f60, filename=...) at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/kdeui/util/kpixmapcache.cpp:741
#9  0x00007f7f7307e63c in KPixmapCache::Private::init (this=0xf92f60) at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/kdeui/util/kpixmapcache.cpp:1052
#10 0x00007f7f7307f8b3 in KPixmapCache::discard (this=0x10675b0) at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/kdeui/util/kpixmapcache.cpp:1279
#11 0x00007f7f7307fe6e in KPixmapCache::deleteCache (name=...) at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/kdeui/util/kpixmapcache.cpp:1255
#12 0x00007f7f6bec0fbe in Plasma::ThemePrivate::discardCache (this=0xf8dbd0) at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/plasma/theme.cpp:221
#13 0x00007f7f6bec11f1 in Plasma::ThemePrivate::compositingChanged (this=0xf8dbd0) at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/plasma/theme.cpp:213
#14 0x00007f7f6bec25e4 in Plasma::Theme::qt_metacall (this=0xf8db10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa242ca40)
    at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1_build/plasma/theme.moc:108
#15 0x00007f7f728a99f0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007f7f730788a3 in KSelectionWatcher::Private::x11Event (this=<value optimized out>, ev_P=0x0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/kdeui/util/kmanagerselection.cpp:395
#17 0x00007f7f73016641 in KApplication::x11EventFilter (this=<value optimized out>, _event=0x7fffa242d190)
    at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/kdeui/kernel/kapplication.cpp:953
#18 0x00007f7f718e676e in ?? () from /usr/lib64/qt4/libQtGui.so.4
#19 0x00007f7f718f6b1d in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#20 0x00007f7f7191d78a in ?? () from /usr/lib64/qt4/libQtGui.so.4
#21 0x00007f7f6dd02073 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0x00007f7f6dd0516c in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x00007f7f6dd052ee in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0x00007f7f728bdc74 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007f7f7191d3a6 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007f7f72896fb4 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#27 0x00007f7f728972ff in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#28 0x00007f7f728992de in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00007f7f680cc536 in kdemain () from /usr/lib64/libkdeinit4_kmix.so
#30 0x000000000040726a in launch (argc=1, _name=0xe9d7e8 "/usr/bin/kmix", args=0xe9d7f6 "", cwd=0x0, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=
    0x40a9ac "0") at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/kinit/kinit.cpp:710
#31 0x0000000000407d0e in handle_launcher_request (sock=8, who=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/kinit/kinit.cpp:1202
#32 0x000000000040830a in handle_requests (waitForPid=0) at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/kinit/kinit.cpp:1395
#33 0x0000000000408841 in main (argc=4, argv=0x7fffa242e338, envp=0x7fffa242e360) at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/kinit/kinit.cpp:1834

This bug may be a duplicate of or related to bug 182026.

Possible duplicates by query: bug 231169.

Reported using DrKonqi
Comment 1 Rehan Khamaruddin 2010-03-27 21:37:14 UTC
Additional Trace: 

Application: KWin (kwin), signal: Bus error
[KCrash Handler]
#5  0x00007fdc7c55e6f7 in KPixmapCache::Private::mmapFile (this=0x1bcdeb0, filename=..., info=0x1bcdf00, newsize=33656832)
    at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/kdeui/util/kpixmapcache.cpp:491
#6  0x00007fdc7c55f82c in KPixmapCache::Private::mmapFiles (this=0x1bcdeb0) at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/kdeui/util/kpixmapcache.cpp:419
#7  0x00007fdc7c55f6a1 in KPixmapCache::Private::init (this=0x1bcdeb0) at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/kdeui/util/kpixmapcache.cpp:1061
#8  0x00007fdc7c5608b3 in KPixmapCache::discard (this=0x1bde5b0) at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/kdeui/util/kpixmapcache.cpp:1279
#9  0x00007fdc7c560e6e in KPixmapCache::deleteCache (name=...) at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/kdeui/util/kpixmapcache.cpp:1255
#10 0x00007fdc7caa5fbe in Plasma::ThemePrivate::discardCache (this=0x1bce0d0) at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/plasma/theme.cpp:221
#11 0x00007fdc7caa66de in Plasma::ThemePrivate::setThemeName (this=0x1bce0d0, tempThemeName=<value optimized out>, writeSettings=false)
    at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/plasma/theme.cpp:377
#12 0x00007fdc7caa726b in Plasma::Theme::settingsChanged (this=0x1bb3660) at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/plasma/theme.cpp:338
#13 0x00007fdc7caa734e in Plasma::ThemePrivate::settingsFileChanged (this=0x1bce0d0, file=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/plasma/theme.cpp:332
#14 0x00007fdc7caa75c8 in Plasma::Theme::qt_metacall (this=0x1bb3660, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff84b33a0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1_build/plasma/theme.moc:110
#15 0x00007fdc7b92d9f0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007fdc76fa9141 in KDirWatch::created (this=0x20ad910, _t1=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1_build/kio/kdirwatch.moc:106
#17 0x00007fdc76fa92af in KDirWatch::setCreated (this=0x1bd53b0, _file=...) at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/kio/kio/kdirwatch.cpp:1786
#18 0x00007fdc76fa93ae in KDirWatch::qt_metacall (this=0x1bd53b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1df8fd0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1_build/kio/kdirwatch.moc:85
#19 0x00007fdc7b92aa8e in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007fdc7a9003d6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#21 0x00007fdc7a906e74 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007fdc7c4f9dbe in KApplication::notify (this=0x7ffff84b3f70, receiver=0x1bd53b0, event=0x1ea3ce0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.1-r1/work/kdelibs-4.4.1/kdeui/kernel/kapplication.cpp:302
#23 0x00007fdc7b91c2f4 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007fdc7b91d0a3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007fdc7b942073 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#26 0x00007fdc77367073 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x00007fdc7736a16c in ?? () from /usr/lib/libglib-2.0.so.0
#28 0x00007fdc7736a2ee in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0x00007fdc7b941c74 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#30 0x00007fdc7a9a13a6 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007fdc7b91afb4 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#32 0x00007fdc7b91b2ff in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007fdc7b91d2de in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00007fdc7d70ebc5 in kdemain (argc=1, argv=0x7ffff84b4478) at /var/tmp/portage/kde-base/kwin-4.4.1/work/kwin-4.4.1/kwin/main.cpp:526
#35 0x00007fdc77a37a26 in __libc_start_main () from /lib/libc.so.6
#36 0x0000000000400949 in _start ()
Comment 2 Rehan Khamaruddin 2010-03-27 21:41:25 UTC
Created attachment 42300 [details]
New crash information added by DrKonqi

Kwin crash report that followed/preceded plasma crash.
Comment 3 Dario Andres 2010-03-27 22:39:38 UTC
Those are fixed in KDE SC 4.4.2 and later.
Regards

*** This bug has been marked as a duplicate of bug 182026 ***