Bug 228371 - plasma crashed while switching off compositing
Summary: plasma crashed while switching off compositing
Status: RESOLVED DUPLICATE of bug 182026
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-24 21:29 UTC by Piotr Mitas
Modified: 2010-02-24 21:36 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Mitas 2010-02-24 21:29:48 UTC
Version:            (using KDE 4.4.0)
Compiler:          GCC 4.4.3 
OS:                Linux
Installed from:    Gentoo Packages

My laptop came low on battery and compositing was switched off automatically and plasma crashed.

Core was generated by `kdeinit4: plasma-desktop [kdeinit]             '.                                                                                                                       
Program terminated with signal 7, Bus error.
#0  0x00007f630afdfdbf in KPixmapCache::Private::invalidateMmapFiles (this=0xe7b210) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/util/kpixmapcache.cpp:446
446     /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/util/kpixmapcache.cpp: Nie ma takiego pliku ani katalogu.
        in /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/util/kpixmapcache.cpp
(gdb) bt
#0  0x00007f630afdfdbf in KPixmapCache::Private::invalidateMmapFiles (this=0xe7b210) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/util/kpixmapcache.cpp:446
#1  0x00007f630afde9bc in KPixmapCache::recreateCacheFiles (this=0xe757d0) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/util/kpixmapcache.cpp:1198
#2  0x00007f630afdf265 in KPixmapCache::Private::loadIndexHeader (this=0xe7b210) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/util/kpixmapcache.cpp:773
#3  0x00007f630afdfb00 in KPixmapCache::Private::init (this=0xe7b210) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/util/kpixmapcache.cpp:1059
#4  0x00007f630afe15cc in KPixmapCache::discard (this=0xe757d0) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/util/kpixmapcache.cpp:1279
#5  0x00007f630afe1cb8 in KPixmapCache::deleteCache (name=...) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/util/kpixmapcache.cpp:1255
#6  0x00007f6302ac5e2d in Plasma::ThemePrivate::discardCache (this=0xe53bd0) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/plasma/theme.cpp:221
#7  0x00007f6302ac628d in Plasma::ThemePrivate::compositingChanged (this=0xe53bd0) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/plasma/theme.cpp:213
#8  0x00007f6302acbdfa in Plasma::Theme::qt_metacall (this=0xe38050, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4e9ccad0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0_build/plasma/theme.moc:108
#9  0x00007f630a7d030f in QMetaObject::activate (sender=0xe35840, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3285
#10 0x00007f630afd823d in KSelectionWatcher::Private::x11Event (this=<value optimized out>, ev_P=0x1)
    at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/util/kmanagerselection.cpp:395
#11 0x00007f630af5f2d6 in KAppX11HackWidget::publicx11Event (this=<value optimized out>, _event=0x7fff4e9cd280)
    at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/kernel/kapplication.cpp:903
#12 KApplication::x11EventFilter (this=<value optimized out>, _event=0x7fff4e9cd280) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/kernel/kapplication.cpp:953
#13 0x00007f62fef93494 in PlasmaApp::x11EventFilter (this=0xd4d700, event=0x7fff4e9cd280)
    at /var/tmp/portage/kde-base/plasma-workspace-4.4.0/work/plasma-workspace-4.4.0/plasma/desktop/shell/plasmaapp.cpp:600
#14 0x00007f6309874c01 in qt_x11EventFilter (ev=0x7fff4e9cd280) at kernel/qapplication_x11.cpp:399
#15 0x00007f6309880db4 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff4e9cd280) at kernel/qapplication_x11.cpp:3231
#16 0x00007f63098a8124 in x11EventSourceDispatch (s=0xd6ed90, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#17 0x00007f6305a4a4cd in g_main_dispatch (context=0xd6dd20) at gmain.c:1960
#18 IA__g_main_context_dispatch (context=0xd6dd20) at gmain.c:2513
#19 0x00007f6305a4de88 in g_main_context_iterate (context=0xd6dd20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#20 0x00007f6305a4dfb0 in IA__g_main_context_iteration (context=0xd6dd20, may_block=1) at gmain.c:2654
#21 0x00007f630a7e69d3 in QEventDispatcherGlib::processEvents (this=0xd6b0c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#22 0x00007f63098a7a3e in QGuiEventDispatcherGlib::processEvents (this=0xd43c00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007f630a7bbf72 in QEventLoop::processEvents (this=<value optimized out>, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:149
#24 0x00007f630a7bc344 in QEventLoop::exec (this=0x7fff4e9cd5a0, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:201
#25 0x00007f630a7c002b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#26 0x00007f62fef81e42 in kdemain (argc=<value optimized out>, argv=<value optimized out>)
    at /var/tmp/portage/kde-base/plasma-workspace-4.4.0/work/plasma-workspace-4.4.0/plasma/desktop/shell/main.cpp:112
#27 0x0000000000407396 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0,
    avoid_loops=false, startup_id_str=0x40a7dd "0") at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kinit/kinit.cpp:710
#28 0x0000000000407ff0 in handle_launcher_request (sock=8, who=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kinit/kinit.cpp:1202
#29 0x0000000000408530 in handle_requests (waitForPid=6342272) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kinit/kinit.cpp:1395
#30 0x0000000000409141 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kinit/kinit.cpp:1834
Comment 1 Piotr Mitas 2010-02-24 21:34:49 UTC
Interestingly, just after reporting this bug I also found a crash dump from krunner which looks very similar to the plasma dump. Should I file a seperate bug report?

Core was generated by `kdeinit4: krunner [kdeinit]                    '.
Program terminated with signal 7, Bus error.
#0  0x00007f630afde450 in KPixmapCache::Private::mmapFile (this=0xf4dca0, filename=..., info=0xf4dd08, newsize=126341120)
    at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/util/kpixmapcache.cpp:491
491     /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/util/kpixmapcache.cpp: Nie ma takiego pliku ani katalogu.
        in /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/util/kpixmapcache.cpp
(gdb) bt
#0  0x00007f630afde450 in KPixmapCache::Private::mmapFile (this=0xf4dca0, filename=..., info=0xf4dd08, newsize=126341120)
    at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/util/kpixmapcache.cpp:491
#1  0x00007f630afdfd28 in KPixmapCache::Private::mmapFiles (this=0xf4dca0) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/util/kpixmapcache.cpp:424
#2  0x00007f630afdfb13 in KPixmapCache::Private::init (this=0xf4dca0) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/util/kpixmapcache.cpp:1061
#3  0x00007f630afe15cc in KPixmapCache::discard (this=0xfa93b0) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/util/kpixmapcache.cpp:1279
#4  0x00007f630afe1cb8 in KPixmapCache::deleteCache (name=...) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/util/kpixmapcache.cpp:1255
#5  0x00007f6302ac5e2d in Plasma::ThemePrivate::discardCache (this=0xe80610) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/plasma/theme.cpp:221
#6  0x00007f6302ac628d in Plasma::ThemePrivate::compositingChanged (this=0xe80610) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/plasma/theme.cpp:213
#7  0x00007f6302acbdfa in Plasma::Theme::qt_metacall (this=0xeb1130, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4e9ccc50)
    at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0_build/plasma/theme.moc:108
#8  0x00007f630a7d030f in QMetaObject::activate (sender=0xe897d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f630a44318d) at kernel/qobject.cpp:3285
#9  0x00007f630afd823d in KSelectionWatcher::Private::x11Event (this=<value optimized out>, ev_P=0x0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/util/kmanagerselection.cpp:395
#10 0x00007f630af5f2d6 in KAppX11HackWidget::publicx11Event (this=<value optimized out>, _event=0x7fff4e9cd340)
    at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/kernel/kapplication.cpp:903
#11 KApplication::x11EventFilter (this=<value optimized out>, _event=0x7fff4e9cd340) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/kernel/kapplication.cpp:953
#12 0x00007f6309874c01 in qt_x11EventFilter (ev=0x7fff4e9cd340) at kernel/qapplication_x11.cpp:399
#13 0x00007f6309880db4 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff4e9cd340) at kernel/qapplication_x11.cpp:3231
#14 0x00007f63098a8124 in x11EventSourceDispatch (s=0xd6e8f0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#15 0x00007f6305a4a4cd in g_main_dispatch (context=0xd6d920) at gmain.c:1960
#16 IA__g_main_context_dispatch (context=0xd6d920) at gmain.c:2513
#17 0x00007f6305a4de88 in g_main_context_iterate (context=0xd6d920, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#18 0x00007f6305a4dfb0 in IA__g_main_context_iteration (context=0xd6d920, may_block=1) at gmain.c:2654
#19 0x00007f630a7e69d3 in QEventDispatcherGlib::processEvents (this=0xd6a790, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#20 0x00007f63098a7a3e in QGuiEventDispatcherGlib::processEvents (this=0x1307f30, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#21 0x00007f630a7bbf72 in QEventLoop::processEvents (this=<value optimized out>, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:149
#22 0x00007f630a7bc344 in QEventLoop::exec (this=0x7fff4e9cd660, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:201
#23 0x00007f630a7c002b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#24 0x00007f62fef7e854 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/krunner-4.4.0-r1/work/krunner-4.4.0/krunner/main.cpp:65
#25 0x0000000000407396 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0,
    avoid_loops=false, startup_id_str=0x40a7dd "0") at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kinit/kinit.cpp:710
#26 0x0000000000407ff0 in handle_launcher_request (sock=8, who=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kinit/kinit.cpp:1202
#27 0x0000000000408530 in handle_requests (waitForPid=6342272) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kinit/kinit.cpp:1395
#28 0x0000000000409141 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kinit/kinit.cpp:1834
Comment 2 Jonathan Thomas 2010-02-24 21:36:46 UTC
Both crashes are a manifestation of bug 182026 in this case. It's a very annoying bug. :(

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