Bug 230170 - Crash after enabling another monitor and scrolling on desktop at the same time [KPixmapCache::Private::mmapFile, KPixmapCache::Private::checkFileVersion, KPixmapCache::Private::init, KPixmapCache::timestamp]
Summary: Crash after enabling another monitor and scrolling on desktop at the same tim...
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdeui (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 230929 232620 232788 232846 233128 233959 233960 234700 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-10 09:14 UTC by Pascal d'Hermilly
Modified: 2012-10-05 01:41 UTC (History)
11 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 Pascal d'Hermilly 2010-03-10 09:14:39 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-20-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
I was using nvidia-settings to enable another monitor in twinview. At the same time, right after I pressed apply, I accidentily scrolled on the desktop (plasma). Then plasma died.

 -- Backtrace:
Application: Plasma Workspace (kdeinit4), signal: Bus error
The current source language is "auto; currently c".
[KCrash Handler]
#5  0x00007fe30fc6f780 in KPixmapCache::Private::mmapFile (this=0x1a52fb0, filename=..., info=0x1a53000, newsize=33656832) at ../../kdeui/util/kpixmapcache.cpp:491
#6  0x00007fe30fc71084 in KPixmapCache::Private::mmapFiles (this=0x1a52fb0) at ../../kdeui/util/kpixmapcache.cpp:419
#7  0x00007fe30fc70307 in KPixmapCache::recreateCacheFiles (this=0x224f580) at ../../kdeui/util/kpixmapcache.cpp:1247
#8  0x00007fe30fc70850 in KPixmapCache::Private::checkFileVersion (this=0x1a52fb0, filename=...) at ../../kdeui/util/kpixmapcache.cpp:741
#9  0x00007fe30fc70e30 in KPixmapCache::Private::init (this=0x1a52fb0) at ../../kdeui/util/kpixmapcache.cpp:1052
#10 0x00007fe30fc70fb9 in KPixmapCache::timestamp (this=0x200ce40) at ../../kdeui/util/kpixmapcache.cpp:1102
#11 0x00007fe3076eb890 in Plasma::Theme::findInCache (this=0x16642e0, key=..., pix=..., lastModified=0) at ../../plasma/theme.cpp:690
#12 0x00007fe3076e9f68 in Plasma::SvgPrivate::findInCache(QString const&, QSizeF const&) () from /usr/lib/libplasma.so.3
#13 0x00007fe3076e6e05 in Plasma::Svg::pixmap (this=0x21cf7f0, elementID=...) at ../../plasma/svg.cpp:447
#14 0x00007fe307674807 in Plasma::ExtenderGroupPrivate::themeChanged (this=0x21cf3e0) at ../../plasma/extenders/extendergroup.cpp:232
#15 0x00007fe307674f19 in Plasma::ExtenderGroup::qt_metacall (this=0x21cc770, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7313e720) at ./extendergroup.moc:93
#16 0x00007fe30f6bac0f in QMetaObject::activate (sender=0x16642e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2) at kernel/qobject.cpp:3293
#17 0x00007fe3076f13a2 in Plasma::Theme::qt_metacall (this=0x16642e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7313e8a0) at ./theme.moc:108
#18 0x00007fe30f6bac0f in QMetaObject::activate (sender=0x16d6c80, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2) at kernel/qobject.cpp:3293
#19 0x00007fe30fc6957d in KSelectionWatcher::Private::x11Event (this=<value optimized out>, ev_P=0x0) at ../../kdeui/util/kmanagerselection.cpp:395
#20 0x00007fe30fbef556 in KAppX11HackWidget::publicx11Event (this=<value optimized out>, _event=0x7fff7313f040) at ../../kdeui/kernel/kapplication.cpp:903
#21 KApplication::x11EventFilter (this=<value optimized out>, _event=0x7fff7313f040) at ../../kdeui/kernel/kapplication.cpp:953
#22 0x00007fe302f54777 in PlasmaApp::x11EventFilter (this=0x151a530, event=0x7fff7313f040) at ../../../../plasma/desktop/shell/plasmaapp.cpp:600
#23 0x00007fe30e8bb3b1 in qt_x11EventFilter (ev=0x7fff7313f040) at kernel/qapplication_x11.cpp:399
#24 0x00007fe30e8c9ec1 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff7313f040) at kernel/qapplication_x11.cpp:3231
#25 0x00007fe30e8f6322 in x11EventSourceDispatch (s=0x155a030, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#26 0x00007fe30a8aabce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x00007fe30a8ae598 in ?? () from /lib/libglib-2.0.so.0
#28 0x00007fe30a8ae6c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x00007fe30f6d1333 in QEventDispatcherGlib::processEvents (this=0x14cd1c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#30 0x00007fe30e8f5f0e in QGuiEventDispatcherGlib::processEvents (this=0x200ce40, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007fe30f6a6732 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007fe30f6a6b0c in QEventLoop::exec (this=0x7fff7313f370, flags=) at kernel/qeventloop.cpp:201
#33 0x00007fe30f6aa84b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#34 0x00007fe302f430a2 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../plasma/desktop/shell/main.cpp:112
#35 0x0000000000406fb8 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=0x40a499 "0") at ../../kinit/kinit.cpp:717
#36 0x0000000000407c70 in handle_launcher_request (sock=9, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#37 0x0000000000408121 in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1402
#38 0x0000000000408df2 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1841

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

Possible duplicates by query: bug 229354, bug 223784.

Reported using DrKonqi
Comment 1 Jonathan Thomas 2010-03-10 17:15:24 UTC

*** This bug has been marked as a duplicate of bug 182026 ***
Comment 2 Dario Andres 2010-03-21 01:02:33 UTC
*** Bug 230929 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2010-04-04 17:42:26 UTC
Reopening as this seems to be a separate issue (doesn't have "discard()" in the backtrace, and it is still unfixed in KDE SC 4.4.2: bug 233128)
Comment 4 Dario Andres 2010-04-04 17:42:57 UTC
From bug 233128:
-- Information about the crash:
Probably related to other bug reports.  Appears that after a number of kwin
crashes that kwin effects were turned off which seems to have a connection. 
Now plasma desktop, kwin and krunner all crash leaving black desktop.
The crash can be reproduced every time.
Comment 5 Dario Andres 2010-04-04 17:45:27 UTC
More information from bug 233128 (also contains a .xsession-errors log):
---
I figured out that my /var partition had filled up with package cache.  After
expanding it I'm back in KDE heaven.  I loaded up Gnome to have a desktop until
I figured out what the problem was.  Gnome actually warned me about the full
/var partition.  That would probably be a nice check for KDE to do.
Comment 6 Dario Andres 2010-04-04 17:45:45 UTC
*** Bug 233128 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2010-04-10 23:47:56 UTC
From bug 233959:
-- Information about the crash:
Plasma crashed when browsing the internet, using Chrome and viewing video in
flash, I can support other info if you tell me what sort of :)
The crash can be reproduced some of the time.
Comment 8 Dario Andres 2010-04-10 23:47:57 UTC
*** Bug 233959 has been marked as a duplicate of this bug. ***
Comment 9 Dario Andres 2010-04-11 00:07:28 UTC
From bug 232620:
-- Information about the crash:
Directly after update krunner fails every 2 second

From bug 232846 (4.4.2):
-- Information about the crash:
Plasma crashed when I activate "Composite image". Every time I'm changing this option, the Plasma crashes.

From bug 233960 (4.4.2):
-- Information about the crash:
KRunner crashes randomly on my PC, sometimes it takes the whole
plasma-desktop with it...
Comment 10 Dario Andres 2010-04-11 00:07:45 UTC
*** Bug 233960 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2010-04-11 00:07:46 UTC
*** Bug 232846 has been marked as a duplicate of this bug. ***
Comment 12 Dario Andres 2010-04-11 00:07:48 UTC
*** Bug 232620 has been marked as a duplicate of this bug. ***
Comment 13 Dario Andres 2010-04-11 00:08:16 UTC
Bug 232788 looks also related...
Comment 14 Jonathan Thomas 2010-04-15 19:28:39 UTC
*** Bug 232788 has been marked as a duplicate of this bug. ***
Comment 15 Jonathan Thomas 2010-04-18 22:04:21 UTC
*** Bug 234700 has been marked as a duplicate of this bug. ***
Comment 16 Christoph Feck 2012-10-05 01:41:04 UTC
Plasma::Theme no longer uses KPixmapCache, so this crash can no longer happen.