[Bug 160284] bad mmap causes cores in KPCMemoryDevice

Matthew Woehlke mw_triad at users.sourceforge.net
Thu Apr 3 02:28:37 CEST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=160284         




------- Additional Comments From mw_triad users sourceforge net  2008-04-03 02:28 -------
Ok, this just went from "annoying but tolerable" to "must now give serious consideration to ditching KDE4 until this is fixed".

This looks related (also KPixmapCache, also involving mmap), and is from Konsole. For me, Konsole dying is very nearly as bad as X dying, which is to say it has a *grave* impact on my ability to Work productively. As this affects all KDE applications and can cause data loss, I'm considering upgrading the severity to "grave"... but I won't without a second recommendation, as it seems rather self-serving :-).

Anyway...

#0  0xb7911b5e in KPixmapCache::Private::mmapFile (this=0xbf9e7ea8, filename= 0xb4bf6000, info=0x808aae0, newsize=16240640)                                                                         
    at /usr/local/kde/home/src/kde-trunk-svn/kdelibs/kdeui/icons/kpixmapcache.cpp:436                                                                                                               
#1  0xb7911edf in KPixmapCache::Private::invalidateMmapFiles (this=0x808aa98) at /usr/local/kde/home/src/kde-trunk-svn/kdelibs/kdeui/icons/kpixmapcache.cpp:424                                     
#2  0xb7913603 in KPixmapCache::Private::dataDevice (this=0x808aa98) at /usr/local/kde/home/src/kde-trunk-svn/kdelibs/kdeui/icons/kpixmapcache.cpp:555                                              
#3  0xb7912ccf in KPixmapCache::size (this=0x808aa98) at /usr/local/kde/home/src/kde-trunk-svn/kdelibs/kdeui/icons/kpixmapcache.cpp:1074                                                            
#4  0xb7912d35 in KPixmapCache::loadFromSvg (this=0x80bc780, filename= 0x80bc77c, size= 0xb710b041) at /usr/local/kde/home/src/kde-trunk-svn/kdelibs/kdeui/icons/kpixmapcache.cpp:1401              
#5  0xb7910522 in operator<< <QString> (out= 0x80bc760, set= 0x83f89bc) at /usr/local/kde/qt-copy/include/QtCore/qdatastream.h:328                                                                  
#6  0xb790e7ee in KIconCache::setThemeInfo (this=0x80c5a78, themes= 0xbf9e80e4) at /usr/local/kde/home/src/kde-trunk-svn/kdelibs/kdeui/icons/kiconcache.cpp:253                                     
#7  0xb7901f41 in KIconLoader::loadIcon (this=0x80bc310, _name= 0x83f89b8, group=KIconLoader::Desktop, size=16, state=0, overlays= 0x83f89bc, path_store=0x0, canReturnNull=false)                  
    at /usr/local/kde/home/src/kde-trunk-svn/kdelibs/kdeui/icons/kiconloader.cpp:1015                                                                                                               
#8  0xb78fcdc0 in KIconEngine::pixmap (this=0x837d108, size= 0xbf9e8520, mode=QIcon::Normal, state=QIcon::Off) at /usr/local/kde/home/src/kde-trunk-svn/kdelibs/kdeui/icons/kiconengine.cpp:126     
#9  0xb6848b67 in QIcon::pixmap (this=0xbf9e9de4, size= 0xbf9e8520, mode=QIcon::Normal, state=QIcon::Off) at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/image/qicon.cpp:660                   
#10 0xb7957d81 in KStyle::drawKStylePrimitive (this=0x80bc488, widgetType=KStyle::WT_TabBar, primitive=65536, opt=0xbf9ec1fc, r= 0xbf9e9dcc, pal= 0xbf9ea0f8, flags= 0xbf9e9a28, p=0xbf9ec384,      
    widget=0x815a490, kOpt=0xbf9e9ddc) at /usr/local/kde/home/src/kde-trunk-svn/kdelibs/kdeui/kernel/kstyle.cpp:581                                                                                 
#11 0xb5fc644d in OxygenStyle::drawKStylePrimitive (this=0x80bc488, widgetType=KStyle::WT_TabBar, primitive=65536, opt=0xbf9ec1fc, r= 0xbf9e9dcc, pal= 0xbf9ea0f8, flags= 0xbf9ea5a8,               
    p=0xbf9ec384, widget=0x815a490, kOpt=0xbf9e9ddc) at /usr/local/kde/home/src/kde-trunk-svn/kdebase/runtime/kstyles/oxygen/oxygen.cpp:1784                                                        
#12 0xb7953e56 in KStyle::drawControl (this=0x80bc488, element=QStyle::CE_TabBarTabLabel, option=0xbf9ec1fc, p=0xbf9ec384, widget=0x815a490)                                                        
    at /usr/local/kde/home/src/kde-trunk-svn/kdelibs/kdeui/kernel/kstyle.cpp:2067                                                                                                                   
#13 0xb5fc662c in OxygenStyle::drawKStylePrimitive (this=0x80bc488, widgetType=KStyle::WT_Menu, primitive=-1080114692, opt=0xbf9ec384, r= 0x815a490, pal= 0x0, flags= 0x0, p=0x0, widget=0x0,       
    kOpt=0x21) at /usr/local/kde/home/src/kde-trunk-svn/kdebase/runtime/kstyles/oxygen/oxygen.cpp:1795                                                                                              
#14 0xb6a8f23b in QCommonStyle::drawControl (this=0x80bc488, element=QStyle::CE_TabBarTab, opt=0xbf9ec1fc, p=0xbf9ec384, widget=0x815a490)                                                          
    at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/styles/qcommonstyle.cpp:1580                                                                                                                
#15 0xb79547f2 in KStyle::drawPrimitive (this=0x80bc488, elem=QStyle::PE_FrameDockWidget, option=0xbf9ec1fc, painter=0xbf9ec384, widget=0x815a490)                                                  
    at /usr/local/kde/home/src/kde-trunk-svn/kdelibs/kdeui/kernel/kstyle.cpp:713                                                                                                                    
#16 0xb5fc662c in OxygenStyle::drawKStylePrimitive (this=0x80bc488, widgetType=KStyle::WT_MenuBar, primitive=-1080114692, opt=0xbf9ec384, r= 0x815a490, pal= 0x0, flags= 0xe4, p=0x22, widget=0x0,  
    kOpt=0x805e2c8) at /usr/local/kde/home/src/kde-trunk-svn/kdebase/runtime/kstyles/oxygen/oxygen.cpp:1795                                                                                         
#17 0xb6b7999d in QStylePainter::drawControl (this=0xbf9ec384, ce=QStyle::CE_TabBarTab, opt= 0xbf9ec1fc)
    at ../../include/QtGui/../../../../../../../src/kde/kde-trunk-svn/qt-copy/src/gui/painting/qstylepainter.h:91
#18 0xb6c413cf in QTabBar::paintEvent (this=0x815a490) at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/widgets/qtabbar.cpp:1284
#19 0xb67f745b in QWidget::event (this=0x815a490, event=0xbf9eca70) at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/kernel/qwidget.cpp:6988
#20 0xb6c3f9e1 in QTabBar::event (this=0x815a490, e=0xbf9eca70) at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/widgets/qtabbar.cpp:1204
#21 0xb678d69f in QApplicationPrivate::notify_helper (this=0x805bf40, receiver=0x815a490, e=0xbf9eca70) at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/kernel/qapplication.cpp:3735
#22 0xb678f4f9 in QApplication::notify (this=0xbf9ee018, receiver=0x815a490, e=0xbf9eca70) at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/kernel/qapplication.cpp:3702
#23 0xb793d54c in QEvent::isAccepted (this=0xbf9ee018) at /usr/local/kde/qt-copy/include/QtCore/qcoreevent.h:279
#24 0xb71c35d1 in QCoreApplication::notifyInternal (this=0xbf9ee018, receiver=0x815a490, event=0xbf9eca70) at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:586
#25 0xb679b1b7 in QCoreApplication::sendSpontaneousEvent (receiver=0x815a490, event=0xbf9eca70)
    at ../../include/QtCore/../../../../../../../src/kde/kde-trunk-svn/qt-copy/src/corelib/kernel/qcoreapplication.h:218
#26 0xb6804a32 in qt_sendSpontaneousEvent (receiver=0x815a490, event=0xbf9eca70) at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/kernel/qapplication_x11.cpp:4698
#27 0xb67f5c8c in QWidgetPrivate::drawWidget (this=0x8120fd0, pdev=0x807962c, rgn= 0xbf9ecbfc, offset= 0xbf9ecc34, flags=4, sharedPainter=0xab26aa8)
    at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/kernel/qwidget.cpp:4421
#28 0xb67f6554 in QWidgetPrivate::paintSiblingsRecursive (this=0x81c8918, pdev=0x807962c, siblings= 0xbf9ecce4, index=2, rgn= 0xbf9ece4c, offset= 0xbf9ece84, flags=4, sharedPainter=0xab26aa8)
    at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/kernel/qwidget.cpp:4519
#29 0xb67f60b0 in QWidgetPrivate::drawWidget (this=0x81c8918, pdev=0x807962c, rgn= 0xbf9ece4c, offset= 0xbf9ece84, flags=4, sharedPainter=0xab26aa8)
    at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/kernel/qwidget.cpp:4462
#30 0xb67f6554 in QWidgetPrivate::paintSiblingsRecursive (this=0x8107ee0, pdev=0x807962c, siblings= 0xbf9ecf34, index=1, rgn= 0xbf9ed09c, offset= 0xbf9ed0d4, flags=4, sharedPainter=0xab26aa8)
    at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/kernel/qwidget.cpp:4519
#31 0xb67f60b0 in QWidgetPrivate::drawWidget (this=0x8107ee0, pdev=0x807962c, rgn= 0xbf9ed09c, offset= 0xbf9ed0d4, flags=4, sharedPainter=0xab26aa8)
    at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/kernel/qwidget.cpp:4462
#32 0xb67f6554 in QWidgetPrivate::paintSiblingsRecursive (this=0x8120828, pdev=0x807962c, siblings= 0xbf9ed184, index=1, rgn= 0xbf9ed2ec, offset= 0xbf9ed324, flags=4, sharedPainter=0xab26aa8)
    at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/kernel/qwidget.cpp:4519
#33 0xb67f60b0 in QWidgetPrivate::drawWidget (this=0x8120828, pdev=0x807962c, rgn= 0xbf9ed2ec, offset= 0xbf9ed324, flags=4, sharedPainter=0xab26aa8)
    at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/kernel/qwidget.cpp:4462
#34 0xb67f6554 in QWidgetPrivate::paintSiblingsRecursive (this=0x805b2c0, pdev=0x807962c, siblings= 0xbf9ed3d4, index=10, rgn= 0xbf9ed558, offset= 0x80e2564, flags=4, sharedPainter=0xab26aa8)
    at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/kernel/qwidget.cpp:4519
#35 0xb67f60b0 in QWidgetPrivate::drawWidget (this=0x805b2c0, pdev=0x807962c, rgn= 0xbf9ed558, offset= 0x80e2564, flags=5, sharedPainter=0xab26aa8)
    at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/kernel/qwidget.cpp:4462
#36 0xb6983fe0 in QWidgetBackingStore::cleanRegion (this=0x80e2558, rgn= 0xbf9ed624, widget=0x80eaa40, recursiveCopyToScreen=true)
    at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/painting/qbackingstore.cpp:1041
#37 0xb6984365 in qt_syncBackingStore (widget=0x80eaa40) at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/painting/qbackingstore.cpp:315
#38 0xb67f79e8 in QWidget::event (this=0x80eaa40, event=0x95c6700) at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/kernel/qwidget.cpp:7132
---Type <return> to continue, or q <return> to quit---
#39 0xb6bdc40a in QMainWindow::event (this=0x80eaa40, event=0x95c6700) at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/widgets/qmainwindow.cpp:1252
#40 0xb7a010cb in ~DockResizeListener (this=0x80eaa40) at /usr/local/kde/home/src/kde-trunk-svn/kdelibs/kdeui/widgets/kmainwindow.cpp:112
#41 0xb7a38d3f in ~KXmlGuiWindow (this=0x80eaa40) at /usr/local/kde/home/src/kde-trunk-svn/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:119
#42 0xb678d69f in QApplicationPrivate::notify_helper (this=0x805bf40, receiver=0x80eaa40, e=0x95c6700) at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/kernel/qapplication.cpp:3735
#43 0xb678f4f9 in QApplication::notify (this=0xbf9ee018, receiver=0x80eaa40, e=0x95c6700) at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/kernel/qapplication.cpp:3702
#44 0xb793d54c in QEvent::isAccepted (this=0xbf9ee018) at /usr/local/kde/qt-copy/include/QtCore/qcoreevent.h:279
#45 0xb71c35d1 in QCoreApplication::notifyInternal (this=0xbf9ee018, receiver=0x80eaa40, event=0x95c6700) at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:586
#46 0xb71c780b in QCoreApplication::sendEvent (receiver=0x80eaa40, event=0x95c6700)
    at ../../include/QtCore/../../../../../../../src/kde/kde-trunk-svn/qt-copy/src/corelib/kernel/qcoreapplication.h:215
#47 0xb71c3b68 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x804aad8) at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1191
#48 0xb71c3ddb in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1084
#49 0xb71f89cc in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../../../../src/kde/kde-trunk-svn/qt-copy/src/corelib/kernel/qcoreapplication.h:220
#50 0xb71f7885 in postEventSourceDispatch (s=0x805e2c8) at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:211
#51 0xb6436f85 in IA__g_main_context_dispatch (context=0x805e240) at gmain.c:2045
#52 0xb6438835 in g_main_context_iterate (context=0x805e240, block=1, dispatch=1, self=0x805c0a0) at gmain.c:2677
#53 0xb6438c42 in IA__g_main_context_iteration (context=0x805e240, may_block=1) at gmain.c:2736
#54 0xb71f6eca in QEventDispatcherGlib::processEvents (this=0x80564b0, flags= 0xbf9edef8) at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:325
#55 0xb6845a88 in QGuiEventDispatcherGlib::processEvents (this=0x80564b0, flags= 0xbf9edf2c) at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#56 0xb71bfbe0 in QEventLoop::processEvents (this=0xbf9edfac, flags= 0xbf9edf64) at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/corelib/kernel/qeventloop.cpp:146
#57 0xb71bfd8b in QEventLoop::exec (this=0xbf9edfac, flags= 0xbf9edfb4) at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/corelib/kernel/qeventloop.cpp:197
#58 0xb71c3efa in QCoreApplication::exec () at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:838
#59 0xb678d3bc in QApplication::exec () at /usr/local/src/kde/kde-trunk-svn/qt-copy/src/gui/kernel/qapplication.cpp:3267
#60 0xb7fa1bd7 in ZModemDialog (this=0x1, parent=0xbf9ee164, modal=40, caption= 0x8048806) at /usr/local/kde/home/src/kde-trunk-svn/kdebase/apps/konsole/src/ZModemDialog.cpp:37
#61 0x080487c6 in main (argc=Cannot access memory at address 0x0
) at /usr/local/kde/home/build/kde-trunk-svn/kdebase/apps/konsole/src/konsole_dummy.cpp:3


More information about the Kdelibs-bugs mailing list