Bug 296393

Summary: Konqueror crashes when openint /etc as root
Product: [Applications] konqueror Reporter: jh800
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: lst_manage
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description jh800 2012-03-19 21:42:52 UTC
Application: konqueror (4.8.1 (4.8.1))
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
Operating System: Linux 3.2.10-3.fc16.i686.PAE i686
Distribution: "Fedora release 16 (Verne)"

-- Information about the crash:
- What I was doing when the application crashed:
I started Konqueror as root and wanted to enter /etc directory.

The crash can be reproduced every time.

-- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[KCrash Handler]
#7  0xb710fbf7 in ?? () from /usr/lib/kde4/plugins/styles/libpolyester.so
#8  0x44b6d653 in QCommonStyle::drawControl (this=0x88678b0, element=QStyle::CE_PushButton, opt=0xbf848548, p=0xbf849b48, widget=0x0) at styles/qcommonstyle.cpp:2054
#9  0x41c301c0 in KStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib/libkdeui.so.5
#10 0xb710ba9a in ?? () from /usr/lib/kde4/plugins/styles/libpolyester.so
#11 0xb5facfc9 in KItemListHeader::paintRole(QPainter*, QByteArray const&, QRectF const&, int) () from /usr/lib/libdolphinprivate.so.4
#12 0xb5fae030 in KItemListHeader::paint(QPainter*, QStyleOptionGraphicsItem const*, QWidget*) () from /usr/lib/libdolphinprivate.so.4
#13 0x44eaeb45 in _q_paintItem (item=<optimized out>, painter=0xbf849b48, option=0x8a4cfc0, widget=0x8a64838, useWindowOpacity=true, painterStateProtection=true) at graphicsview/qgraphicsscene.cpp:4331
#14 0x44ec6baf in QGraphicsScenePrivate::drawItemHelper (this=0x8a4ce70, item=0x8a4ebb0, painter=0xbf849b48, option=0x8a4cfc0, widget=0x8a64838, painterStateProtection=true) at graphicsview/qgraphicsscene.cpp:4427
#15 0x44ec9774 in QGraphicsScenePrivate::draw (this=0x8a4ce70, item=0x8a4ebb0, painter=0xbf849b48, viewTransform=0x0, transformPtr=0x8b786f0, exposedRegion=0x8a5e8dc, widget=0x8a64838, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=false) at graphicsview/qgraphicsscene.cpp:4962
#16 0x44eca77f in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x8a4ce70, item=0x8a4ebb0, painter=0xbf849b48, viewTransform=0x0, exposedRegion=0x8a5e8dc, widget=0x8a64838, parentOpacity=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4853
#17 0x44ec95a7 in QGraphicsScenePrivate::draw (this=0x8a4ce70, item=0x8a4bc68, painter=0xbf849b48, viewTransform=0x0, transformPtr=0x8a616d8, exposedRegion=0x8a5e8dc, widget=0x8a64838, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=false) at graphicsview/qgraphicsscene.cpp:4992
#18 0x44eca77f in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x8a4ce70, item=0x8a4bc68, painter=0xbf849b48, viewTransform=0x0, exposedRegion=0x8a5e8dc, widget=0x8a64838, parentOpacity=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4853
#19 0x44ecb027 in QGraphicsScenePrivate::drawItems (this=0x8a4ce70, painter=0xbf849b48, viewTransform=0x0, exposedRegion=0x8a5e8dc, widget=0x8a64838) at graphicsview/qgraphicsscene.cpp:4735
#20 0x44ee78b1 in QGraphicsView::paintEvent (this=0x8a553b8, event=0xb710d9f8) at graphicsview/qgraphicsview.cpp:3471
#21 0x44864f03 in QWidget::event (this=0x8a553b8, event=0xbf84a204) at kernel/qwidget.cpp:8507
#22 0x44c7fe76 in QFrame::event (this=0x8a553b8, e=0xbf84a204) at widgets/qframe.cpp:557
#23 0x44d13da2 in QAbstractScrollArea::viewportEvent (this=0x8a553b8, e=0xbf84a204) at widgets/qabstractscrollarea.cpp:1043
#24 0x44ee8d0c in QGraphicsView::viewportEvent (this=0x8a553b8, event=0xbf84a204) at graphicsview/qgraphicsview.cpp:2866
#25 0x44d165a6 in viewportEvent (this=<optimized out>, event=0xbf84a204) at widgets/qabstractscrollarea_p.h:100
#26 eventFilter (e=0xbf84a204, this=<optimized out>, o=<optimized out>) at widgets/qabstractscrollarea_p.h:116
#27 QAbstractScrollAreaFilter::eventFilter (this=0x8a65bf0, o=0x8a64838, e=0xbf84a204) at widgets/qabstractscrollarea_p.h:115
#28 0x500ef7a6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8833a48, receiver=0x8a64838, event=0xbf84a204) at kernel/qcoreapplication.cpp:986
#29 0x4480a103 in notify_helper (e=0xbf84a204, receiver=0x8a64838, this=0x8833a48) at kernel/qapplication.cpp:4546
#30 QApplicationPrivate::notify_helper (this=0x8833a48, receiver=0x8a64838, e=0xbf84a204) at kernel/qapplication.cpp:4522
#31 0x4480f67b in QApplication::notify (this=0x8833a48, receiver=0x8a64838, e=0xbf84a204) at kernel/qapplication.cpp:4515
#32 0x41c200d2 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#33 0x500ef5fe in QCoreApplication::notifyInternal (this=0xbf84d284, receiver=0x8a64838, event=0xbf84a204) at kernel/qcoreapplication.cpp:876
#34 0x4486080b in sendSpontaneousEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:234
#35 QWidgetPrivate::drawWidget (this=0x8a66558, pdev=0x8ab6838, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8a15c38) at kernel/qwidget.cpp:5584
#36 0x448615b2 in QWidgetPrivate::paintSiblingsRecursive (this=0x8a5e590, pdev=0x8ab6838, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8a15c38) at kernel/qwidget.cpp:5793
#37 0x44860569 in QWidgetPrivate::drawWidget (this=0x8a5e590, pdev=0x8ab6838, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8a15c38) at kernel/qwidget.cpp:5637
#38 0x448615b2 in QWidgetPrivate::paintSiblingsRecursive (this=0x8a4d830, pdev=0x8ab6838, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8a15c38) at kernel/qwidget.cpp:5793
#39 0x448612ea in QWidgetPrivate::paintSiblingsRecursive (this=0x8a4d830, pdev=0x8ab6838, siblings=..., index=7, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8a15c38) at kernel/qwidget.cpp:5780
#40 0x448612ea in QWidgetPrivate::paintSiblingsRecursive (this=0x8a4d830, pdev=0x8ab6838, siblings=..., index=8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8a15c38) at kernel/qwidget.cpp:5780
#41 0x448612ea in QWidgetPrivate::paintSiblingsRecursive (this=0x8a4d830, pdev=0x8ab6838, siblings=..., index=9, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8a15c38) at kernel/qwidget.cpp:5780
#42 0x448612ea in QWidgetPrivate::paintSiblingsRecursive (this=0x8a4d830, pdev=0x8ab6838, siblings=..., index=10, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8a15c38) at kernel/qwidget.cpp:5780
#43 0x44860569 in QWidgetPrivate::drawWidget (this=0x8a4d830, pdev=0x8ab6838, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8a15c38) at kernel/qwidget.cpp:5637
#44 0x448615b2 in QWidgetPrivate::paintSiblingsRecursive (this=0x8a55b58, pdev=0x8ab6838, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8a15c38) at kernel/qwidget.cpp:5793
#45 0x44860569 in QWidgetPrivate::drawWidget (this=0x8a55b58, pdev=0x8ab6838, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8a15c38) at kernel/qwidget.cpp:5637
#46 0x448615b2 in QWidgetPrivate::paintSiblingsRecursive (this=0x8a47788, pdev=0x8ab6838, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8a15c38) at kernel/qwidget.cpp:5793
#47 0x44860569 in QWidgetPrivate::drawWidget (this=0x8a47788, pdev=0x8ab6838, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8a15c38) at kernel/qwidget.cpp:5637
#48 0x448615b2 in QWidgetPrivate::paintSiblingsRecursive (this=0x8a3ad98, pdev=0x8ab6838, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8a15c38) at kernel/qwidget.cpp:5793
#49 0x44860569 in QWidgetPrivate::drawWidget (this=0x8a3ad98, pdev=0x8ab6838, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8a15c38) at kernel/qwidget.cpp:5637
#50 0x448615b2 in QWidgetPrivate::paintSiblingsRecursive (this=0x8a3aa98, pdev=0x8ab6838, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8a15c38) at kernel/qwidget.cpp:5793
#51 0x44860569 in QWidgetPrivate::drawWidget (this=0x8a3aa98, pdev=0x8ab6838, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8a15c38) at kernel/qwidget.cpp:5637
#52 0x448615b2 in QWidgetPrivate::paintSiblingsRecursive (this=0x89d0248, pdev=0x8ab6838, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8a15c38) at kernel/qwidget.cpp:5793
#53 0x44860569 in QWidgetPrivate::drawWidget (this=0x89d0248, pdev=0x8ab6838, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8a15c38) at kernel/qwidget.cpp:5637
#54 0x448615b2 in QWidgetPrivate::paintSiblingsRecursive (this=0x891d050, pdev=0x8ab6838, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8a15c38) at kernel/qwidget.cpp:5793
#55 0x44860569 in QWidgetPrivate::drawWidget (this=0x891d050, pdev=0x8ab6838, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x8a15c38) at kernel/qwidget.cpp:5637
#56 0x44a56a42 in QWidgetBackingStore::sync (this=0x8a15c38) at painting/qbackingstore.cpp:1373
#57 0x44855fbb in QWidgetPrivate::syncBackingStore (this=0x891d050) at kernel/qwidget.cpp:1890
#58 0x448658a3 in QWidget::event (this=0x8926f88, event=0x8a14a90) at kernel/qwidget.cpp:8654
#59 0x44c9d784 in QMainWindow::event (this=0x8926f88, event=0x8a14a90) at widgets/qmainwindow.cpp:1478
#60 0x41cfed44 in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#61 0x41d488c3 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#62 0x4197fdcb in ?? () from /usr/lib/libkdeinit4_konqueror.so
#63 0x4480a134 in notify_helper (e=0x8a14a90, receiver=0x8926f88, this=0x8833a48) at kernel/qapplication.cpp:4550
#64 QApplicationPrivate::notify_helper (this=0x8833a48, receiver=0x8926f88, e=0x8a14a90) at kernel/qapplication.cpp:4522
#65 0x4480f67b in QApplication::notify (this=0x8833a48, receiver=0x8926f88, e=0x8a14a90) at kernel/qapplication.cpp:4515
#66 0x41c200d2 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#67 0x500ef5fe in QCoreApplication::notifyInternal (this=0xbf84d284, receiver=0x8926f88, event=0x8a14a90) at kernel/qcoreapplication.cpp:876
#68 0x500f3558 in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#69 QCoreApplicationPrivate::sendPostedEvents (receiver=0x8926f88, event_type=77, data=0x8811c90) at kernel/qcoreapplication.cpp:1500
#70 0x500f388d in QCoreApplication::sendPostedEvents (receiver=0x8926f88, event_type=77) at kernel/qcoreapplication.cpp:1393
#71 0x44ebf336 in dispatchPendingUpdateRequests (this=0x8a5e590) at ../../src/gui/graphicsview/qgraphicsview_p.h:200
#72 QGraphicsScenePrivate::_q_processDirtyItems (this=0x8a4ce70) at graphicsview/qgraphicsscene.cpp:515
#73 0x44ebf47b in qt_static_metacall (_a=0x89333e0, _id=14, _o=0x8a4eb70, _c=<optimized out>) at .moc/release-shared/moc_qgraphicsscene.cpp:107
#74 QGraphicsScene::qt_static_metacall (_o=0x8a4eb70, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x89333e0) at .moc/release-shared/moc_qgraphicsscene.cpp:86
#75 0x50101752 in QMetaCallEvent::placeMetaCall (this=0x8b6ec38, object=0x8a4eb70) at kernel/qobject.cpp:525
#76 0x5010a42b in QObject::event (this=0x8a4eb70, e=0x8b6ec38) at kernel/qobject.cpp:1195
#77 0x44ec6308 in QGraphicsScene::event (this=0x8a4eb70, event=0x8b6ec38) at graphicsview/qgraphicsscene.cpp:3561
#78 0x4480a134 in notify_helper (e=0x8b6ec38, receiver=0x8a4eb70, this=0x8833a48) at kernel/qapplication.cpp:4550
#79 QApplicationPrivate::notify_helper (this=0x8833a48, receiver=0x8a4eb70, e=0x8b6ec38) at kernel/qapplication.cpp:4522
#80 0x4480f5d3 in QApplication::notify (this=0x8b6ec38, receiver=0x8a4eb70, e=0x8b6ec38) at kernel/qapplication.cpp:4279
#81 0x41c200d2 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#82 0x500ef5fe in QCoreApplication::notifyInternal (this=0xbf84d284, receiver=0x8a4eb70, event=0x8b6ec38) at kernel/qcoreapplication.cpp:876
#83 0x500f3558 in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#84 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8811c90) at kernel/qcoreapplication.cpp:1500
#85 0x500f388d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#86 0x50121eb5 in sendPostedEvents () at kernel/qcoreapplication.h:236
#87 postEventSourceDispatch (s=0x8833640) at kernel/qeventdispatcher_glib.cpp:279
#88 0x4f2f862f in g_main_dispatch (context=0x8836470) at gmain.c:2441
#89 g_main_context_dispatch (context=0x8836470) at gmain.c:3011
#90 0x4f2f8d70 in g_main_context_iterate (context=0x8836470, block=1328576528, dispatch=1, self=0x8836a00) at gmain.c:3089
#91 0x4f2f901f in g_main_context_iteration (context=0x8836470, may_block=1) at gmain.c:3152
#92 0x501222b8 in QEventDispatcherGlib::processEvents (this=0x8812828, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#93 0x448bea9b in QGuiEventDispatcherGlib::processEvents (this=0x8812828, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#94 0x500ee4ee in QEventLoop::processEvents (this=0xbf84d144, flags=...) at kernel/qeventloop.cpp:149
#95 0x500ee799 in QEventLoop::exec (this=0xbf84d144, flags=...) at kernel/qeventloop.cpp:204
#96 0x500f393b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#97 0x44807f35 in QApplication::exec () at kernel/qapplication.cpp:3811
#98 0x419c5080 in kdemain () from /usr/lib/libkdeinit4_konqueror.so
#99 0x0804869c in ?? ()
#100 0x4f0686b3 in __libc_start_main () from /lib/libc.so.6
#101 0x080486c1 in _start ()

Reported using DrKonqi
Comment 1 Tommi Tervo 2012-03-20 09:00:08 UTC
Can you reproduce this crash with different style, e.g. with default oxygen?

/usr/lib/kde4/plugins/styles/libpolyester.so
Comment 2 Tommi Tervo 2012-03-20 21:59:32 UTC
Seems that Peter just fixed this crash, so KDE 4.8.2 shouldn't crash. Meanwhile you can use some other style.

*** This bug has been marked as a duplicate of bug 296453 ***
Comment 3 Jekyll Wu 2012-03-30 07:37:18 UTC
*** Bug 297088 has been marked as a duplicate of this bug. ***