Bug 188331 - Konqueror crashes on mininova.org
Summary: Konqueror crashes on mininova.org
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-28 13:07 UTC by Christophe Marin
Modified: 2009-03-29 18:09 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Marin 2009-03-28 13:07:43 UTC
Version:           4.2.68 (KDE 4.2.68 (KDE 4.3 >= 20090327)) "release 1.1" (using 4.2.68 (KDE 4.2.68 (KDE 4.3 >= 20090327)) "release 1.1", KDE:KDE4:UNSTABLE:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (i686) release 2.6.29-mokona

The crash is reproducible. Only loading the homepage will trigger it.

IIRC, it didn't crash 2 weeks ago.

BT:

Thread 1 (Thread 0xb5d91710 (LWP 26536)):
[KCrash Handler]
#6  QPaintEngine::hasFeature (feature=<value optimized out>, this=<value optimized out>) at /usr/include/QtGui/qpaintengine.h:225
#7  khtml::BufferedPainter::transfer (opacity=<value optimized out>, this=<value optimized out>) at /usr/src/debug/kdelibs-4.2.68.svn945504/khtml/misc/paintbuffer.h:127
#8  khtml::BufferedPainter::end (p=@0xbf8831c8, bp=0xa213ec0, opacity=0.899999976) at /usr/src/debug/kdelibs-4.2.68.svn945504/khtml/misc/paintbuffer.cpp:241
#9  0xb3f3dd15 in khtml::RenderLayer::paintLayer (this=0x9f814a4, rootLayer=0x9f81240, p=0xa213ee0, paintDirtyRect=@0xbf883434, selectionOnly=false)
    at /usr/src/debug/kdelibs-4.2.68.svn945504/khtml/rendering/render_layer.cpp:1124
#10 0xb3f3e099 in khtml::RenderLayer::paintLayer (this=0x9f81330, rootLayer=0x9f81240, p=0xbf883474, paintDirtyRect=@0xbf883434, selectionOnly=false)
    at /usr/src/debug/kdelibs-4.2.68.svn945504/khtml/rendering/render_layer.cpp:1107
#11 0xb3f3e099 in khtml::RenderLayer::paintLayer (this=0x9f81240, rootLayer=0x9f81240, p=0xbf883474, paintDirtyRect=@0xbf883434, selectionOnly=false)
    at /usr/src/debug/kdelibs-4.2.68.svn945504/khtml/rendering/render_layer.cpp:1107
#12 0xb3f3e387 in khtml::RenderLayer::paint (this=0x9f81240, p=0xbf883474, damageRect=@0xbf883434, selectionOnly=<value optimized out>)
    at /usr/src/debug/kdelibs-4.2.68.svn945504/khtml/rendering/render_layer.cpp:974
#13 0xb3dd2816 in KHTMLView::paintEvent (this=0xa123e08, e=0xbf8834b8) at /usr/src/debug/kdelibs-4.2.68.svn945504/khtml/khtmlview.cpp:912
#14 0xb3dbdb8e in KHTMLView::viewportEvent (this=0xa123e08, e=0xbf8838c4) at /usr/src/debug/kdelibs-4.2.68.svn945504/khtml/khtmlview.cpp:2106
#15 0xb6d8f795 in QAbstractScrollAreaPrivate::viewportEvent (event=<value optimized out>, this=<value optimized out>) at widgets/qabstractscrollarea_p.h:100
#16 QAbstractScrollAreaFilter::eventFilter (this=0xa127e18, o=0xa126490, e=0xbf8838c4) at widgets/qabstractscrollarea_p.h:111
#17 0xb72c8bea in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9b7d880, receiver=0xa126490, event=0xbf8838c4) at kernel/qcoreapplication.cpp:718
#18 0xb68d9eca in QApplicationPrivate::notify_helper (this=0x9b7d880, receiver=0xa126490, e=0xbf8838c4) at kernel/qapplication.cpp:4080
#19 0xb68e2292 in QApplication::notify (this=0xbf8859f8, receiver=0xa126490, e=0xbf8838c4) at kernel/qapplication.cpp:4049
#20 0xb78a50ed in KApplication::notify (this=0xbf8859f8, receiver=0xa126490, event=0xbf8838c4) at /usr/src/debug/kdelibs-4.2.68.svn945504/kdeui/kernel/kapplication.cpp:307
#21 0xb72c99db in QCoreApplication::notifyInternal (this=0xbf8859f8, receiver=0xa126490, event=0xbf8838c4) at kernel/qcoreapplication.cpp:602
#22 0xb68e4ffe in QCoreApplication::sendSpontaneousEvent (receiver=0xa126490, event=0xa213ee0) at ../../src/corelib/kernel/qcoreapplication.h:216
#23 0xb6938699 in QWidgetPrivate::drawWidget (this=0xa121dd8, pdev=0x9c25484, rgn=@0xbf883a24, offset=@0xbf883a1c, flags=4, sharedPainter=0x0, backingStore=0x9c75488) at kernel/qwidget.cpp:5046
#24 0xb6938e3e in QWidgetPrivate::paintSiblingsRecursive (this=0xa1232b0, pdev=0x9c25484, siblings=@0xa1232bc, index=0, rgn=@0xbf883c04, offset=@0xbf883bfc, flags=4, sharedPainter=0x0, 
    backingStore=0x9c75488) at kernel/qwidget.cpp:5156
#25 0xb693828a in QWidgetPrivate::drawWidget (this=0xa1232b0, pdev=0x9c25484, rgn=@0xbf883c04, offset=@0xbf883bfc, flags=4, sharedPainter=0x0, backingStore=0x9c75488) at kernel/qwidget.cpp:5095
#26 0xb6938e3e in QWidgetPrivate::paintSiblingsRecursive (this=0xa12a978, pdev=0x9c25484, siblings=@0xa12a984, index=3, rgn=@0xbf883de4, offset=@0xbf883ddc, flags=4, sharedPainter=0x0, 
    backingStore=0x9c75488) at kernel/qwidget.cpp:5156
#27 0xb693828a in QWidgetPrivate::drawWidget (this=0xa12a978, pdev=0x9c25484, rgn=@0xbf883de4, offset=@0xbf883ddc, flags=4, sharedPainter=0x0, backingStore=0x9c75488) at kernel/qwidget.cpp:5095
#28 0xb6938e3e in QWidgetPrivate::paintSiblingsRecursive (this=0x9e9d6f8, pdev=0x9c25484, siblings=@0x9e9d704, index=1, rgn=@0xbf883fc4, offset=@0xbf883fbc, flags=4, sharedPainter=0x0, 
    backingStore=0x9c75488) at kernel/qwidget.cpp:5156
#29 0xb693828a in QWidgetPrivate::drawWidget (this=0x9e9d6f8, pdev=0x9c25484, rgn=@0xbf883fc4, offset=@0xbf883fbc, flags=4, sharedPainter=0x0, backingStore=0x9c75488) at kernel/qwidget.cpp:5095
#30 0xb6938e3e in QWidgetPrivate::paintSiblingsRecursive (this=0x9e9fb10, pdev=0x9c25484, siblings=@0x9e9fb1c, index=1, rgn=@0xbf8841a4, offset=@0xbf88419c, flags=4, sharedPainter=0x0, 
    backingStore=0x9c75488) at kernel/qwidget.cpp:5156
#31 0xb693828a in QWidgetPrivate::drawWidget (this=0x9e9fb10, pdev=0x9c25484, rgn=@0xbf8841a4, offset=@0xbf88419c, flags=4, sharedPainter=0x0, backingStore=0x9c75488) at kernel/qwidget.cpp:5095
#32 0xb6938e3e in QWidgetPrivate::paintSiblingsRecursive (this=0x9e9f7d8, pdev=0x9c25484, siblings=@0x9e9f7e4, index=0, rgn=@0xbf884384, offset=@0xbf88437c, flags=4, sharedPainter=0x0, 
    backingStore=0x9c75488) at kernel/qwidget.cpp:5156
#33 0xb693828a in QWidgetPrivate::drawWidget (this=0x9e9f7d8, pdev=0x9c25484, rgn=@0xbf884384, offset=@0xbf88437c, flags=4, sharedPainter=0x0, backingStore=0x9c75488) at kernel/qwidget.cpp:5095
#34 0xb6938e3e in QWidgetPrivate::paintSiblingsRecursive (this=0x9bb83c8, pdev=0x9c25484, siblings=@0x9bb83d4, index=48, rgn=@0xbf884638, offset=@0x9c754ac, flags=4, sharedPainter=0x0, 
    backingStore=0x9c75488) at kernel/qwidget.cpp:5156
#35 0xb693828a in QWidgetPrivate::drawWidget (this=0x9bb83c8, pdev=0x9c25484, rgn=@0xbf884638, offset=@0x9c754ac, flags=4, sharedPainter=0x0, backingStore=0x9c75488) at kernel/qwidget.cpp:5095
#36 0xb6af423a in QWidgetBackingStore::sync (this=0x9c75488) at painting/qbackingstore.cpp:1266
#37 0xb6928b76 in QWidgetPrivate::syncBackingStore (this=0x9bb83c8) at kernel/qwidget.cpp:1603
#38 0xb6930d35 in QWidget::event (this=0x9bb81e0, event=0xbf884ca0) at kernel/qwidget.cpp:7794
#39 0xb6d0a7b7 in QMainWindow::event (this=0x9bb81e0, event=0xbf884ca0) at widgets/qmainwindow.cpp:1396
#40 0xb79880d7 in KMainWindow::event (this=0x9bb81e0, ev=0xbf884ca0) at /usr/src/debug/kdelibs-4.2.68.svn945504/kdeui/widgets/kmainwindow.cpp:1094
#41 0xb79cc63c in KXmlGuiWindow::event (this=0x9bb81e0, ev=0xbf884ca0) at /usr/src/debug/kdelibs-4.2.68.svn945504/kdeui/xmlgui/kxmlguiwindow.cpp:131
#42 0xb800994d in ?? () from /usr/lib/libkdeinit4_konqueror.so
#43 0xb68d9eec in QApplicationPrivate::notify_helper (this=0x9b7d880, receiver=0x9bb81e0, e=0xbf884ca0) at kernel/qapplication.cpp:4084
#44 0xb68e2292 in QApplication::notify (this=0xbf8859f8, receiver=0x9bb81e0, e=0xbf884ca0) at kernel/qapplication.cpp:4049
#45 0xb78a50ed in KApplication::notify (this=0xbf8859f8, receiver=0x9bb81e0, event=0xbf884ca0) at /usr/src/debug/kdelibs-4.2.68.svn945504/kdeui/kernel/kapplication.cpp:307
#46 0xb72c99db in QCoreApplication::notifyInternal (this=0xbf8859f8, receiver=0x9bb81e0, event=0xbf884ca0) at kernel/qcoreapplication.cpp:602
#47 0xb6af1647 in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:213
#48 sendUpdateRequest (widget=0x9bb81e0, updateImmediately=<value optimized out>) at painting/qbackingstore.cpp:507
#49 0xb6af49e7 in QWidgetBackingStore::markDirty (this=0x9c75488, rect=@0xbf884d7c, widget=0xa127b40, updateImmediately=true, invalidateBuffer=false) at painting/qbackingstore.cpp:650
#50 0xb692ba95 in QWidget::repaint (this=0xa127b40, rect=@0xbf884d7c) at kernel/qwidget.cpp:9413
#51 0xb692bb42 in QWidget::repaint (this=0xa127b40, x=0, y=0, w=1600, h=1017) at kernel/qwidget.cpp:9391
#52 0xb3dbdf78 in KHTMLView::repaintContents (this=0xa123e08, x=0, y=0, w=1600, h=1017) at /usr/src/debug/kdelibs-4.2.68.svn945504/khtml/khtmlview.cpp:793
#53 0xb3dbe02a in KHTMLView::repaintContents (this=0xa123e08, r=@0xbf884e44) at /usr/src/debug/kdelibs-4.2.68.svn945504/khtml/khtmlview.cpp:798
#54 0xb3dc5291 in KHTMLView::timerEvent (this=0xa123e08, e=0xbf885580) at /usr/src/debug/kdelibs-4.2.68.svn945504/khtml/khtmlview.cpp:4146
#55 0xb72da12f in QObject::event (this=0xa123e08, e=0xbf885580) at kernel/qobject.cpp:1082
#56 0xb69303f0 in QWidget::event (this=0xa123e08, event=0xbf885580) at kernel/qwidget.cpp:7913
#57 0xb6ced0a3 in QFrame::event (this=0xa123e08, e=0xbf885580) at widgets/qframe.cpp:559
#58 0xb6d8dc8d in QAbstractScrollArea::event (this=0xa123e08, e=0xbf885580) at widgets/qabstractscrollarea.cpp:918
#59 0xb6d92c6d in QScrollArea::event (this=0xa123e08, e=0xbf885580) at widgets/qscrollarea.cpp:314
#60 0xb3dc81b1 in KHTMLView::event (this=0xa123e08, e=0xbf885580) at /usr/src/debug/kdelibs-4.2.68.svn945504/khtml/khtmlview.cpp:536
#61 0xb68d9eec in QApplicationPrivate::notify_helper (this=0x9b7d880, receiver=0xa123e08, e=0xbf885580) at kernel/qapplication.cpp:4084
#62 0xb68e2292 in QApplication::notify (this=0xbf8859f8, receiver=0xa123e08, e=0xbf885580) at kernel/qapplication.cpp:4049
#63 0xb78a50ed in KApplication::notify (this=0xbf8859f8, receiver=0xa123e08, event=0xbf885580) at /usr/src/debug/kdelibs-4.2.68.svn945504/kdeui/kernel/kapplication.cpp:307
#64 0xb72c99db in QCoreApplication::notifyInternal (this=0xbf8859f8, receiver=0xa123e08, event=0xbf885580) at kernel/qcoreapplication.cpp:602
#65 0xb72f9026 in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#66 QTimerInfoList::activateTimers (this=0x9b8075c) at kernel/qeventdispatcher_unix.cpp:586
#67 0xb72f54d0 in timerSourceDispatch (source=0x9b80728) at kernel/qeventdispatcher_glib.cpp:164
#68 0xb617b9a8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#69 0xb617f063 in ?? () from /usr/lib/libglib-2.0.so.0
#70 0xb617f221 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#71 0xb72f5428 in QEventDispatcherGlib::processEvents (this=0x9b7d860, flags={i = -1081583832}) at kernel/qeventdispatcher_glib.cpp:323
#72 0xb6979ac5 in QGuiEventDispatcherGlib::processEvents (this=0x9b7d860, flags={i = -1081583784}) at kernel/qguieventdispatcher_glib.cpp:202
#73 0xb72c7ffa in QEventLoop::processEvents (this=0xbf8857d0, flags={i = -1081583720}) at kernel/qeventloop.cpp:149
#74 0xb72c843a in QEventLoop::exec (this=0xbf8857d0, flags={i = -1081583656}) at kernel/qeventloop.cpp:200
#75 0xb72ca8e9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#76 0xb68d9d67 in QApplication::exec () at kernel/qapplication.cpp:3553
#77 0xb803a09f in kdemain () from /usr/lib/libkdeinit4_konqueror.so
#78 0x08048772 in _start ()


console output :
konqueror(28600) FixHostUriFilter::filterUri: FixHostUriFilter::filterUri:  KUrl("http://www.mininova.org/")                                                  
konqueror(28600) khtmlImLoad::Image::notifyPerformUpdate: 0 419 1                                                                                             
konqueror(28600) khtmlImLoad::Image::notifyPerformUpdate: 0 7 8                                                                                               
konqueror(28600) khtmlImLoad::Image::notifyPerformUpdate: 0 9 10                                                                                              
konqueror(28600) khtmlImLoad::Image::notifyPerformUpdate: 0 7 12                                                                                              
konqueror(28600) khtmlImLoad::Image::notifyPerformUpdate: 0 7 13                                                                                              
konqueror(28600) khtmlImLoad::Image::notifyPerformUpdate: 0 34 204                                                                                            
konqueror(28600) khtmlImLoad::Image::notifyPerformUpdate: 0 119 120                                                                                           
QPainter::begin: Widget painting can only begin as a result of a paintEvent                                                                                   
QPainter::translate: Painter not active                                                                                                                       
QPainter::setClipRect: Painter not active                                                                                                                     
QPainter::hasClipping: Painter not active                                                                                                                     
QPainter::setPen: Painter not active                                                                                                                          
QPainter::setBrush: Painter not active                                                                                                                        
QPainter::drawRects: Painter not active                                                                                                                       
QPainter::hasClipping: Painter not active                                                                                                                     
QPainter::setPen: Painter not active                                                                                                                          
QPainter::setBrush: Painter not active                                                                                                                        
QPainter::drawRects: Painter not active                                                                                                                       
QPainter::setPen: Painter not active                                                                                                                          
QPainter::worldTransform: Painter not active                                                                                                                  
QPainter::hasClipping: Painter not active                                                                                                                     
QPainter::setPen: Painter not active                                                                                                                          
QPainter::setBrush: Painter not active                                                                                                                        
QPainter::drawRects: Painter not active                                                                                                                       
QPainter::hasClipping: Painter not active                                                                                                                     
QPainter::setPen: Painter not active                                                                                                                          
QPainter::setBrush: Painter not active                                                                                                                        
QPainter::drawRects: Painter not active                                                                                                                       
QPainter::hasClipping: Painter not active                                                                                                                     
QPainter::setPen: Painter not active                                                                                                                          
QPainter::setBrush: Painter not active                                                                                                                        
QPainter::hasClipping: Painter not active                                                                                                                     
QPainter::setPen: Painter not active                                                                                                                          
QPainter::setBrush: Painter not active                                                                                                                        
QPainter::hasClipping: Painter not active                                                                                                                     
QPainter::setPen: Painter not active                                                                                                                          
QPainter::setBrush: Painter not active                                                                                                                        
QPainter::hasClipping: Painter not active                                                                                                                     
QPainter::setPen: Painter not active                                                                                                                          
QPainter::setBrush: Painter not active                                                                                                                        
QPainter::hasClipping: Painter not active                                                                                                                     
QPainter::worldTransform: Painter not active                                                                                                                  
QPainter::worldTransform: Painter not active                                                                                                                  
QPainter::worldTransform: Painter not active                                                                                                                  
QPainter::compositionMode: Painter not active                                                                                                                 
QPainter::font: Painter not active                                                                                                                            
QPainter::brush: Painter not active                                                                                                                           
QPainter::pen: Painter not active                                                                                                                             
QPainter::background: Painter not active                                                                                                                      
KCrash: Application 'konqueror' crashing...
Comment 1 Christophe Marin 2009-03-28 13:14:06 UTC
Note to Dario: I suspect this one is a dup of #186949.
Comment 2 Germain Garand 2009-03-28 15:26:09 UTC
can't reproduce... could you try to svn up?
I commited a symptomatic fix for a crash that looks like this one yesterday.
Comment 3 Dario Andres 2009-03-28 22:46:10 UTC
Here using:

Qt: 4.5.0 + qt-copy-patches-936035
KDE: 4.2.68 (KDE 4.2.68 (KDE 4.3 >= 20090327))
kdelibs svn rev. 946159 / kdebase svn rev. 946160
on ArchLinux i686 - Kernel 2.6.28.7

I can't reproduce the crash even when using the Raster graphicssystem

@Christophe: I'm going to take a look at it.

Thanks
Comment 4 Dario Andres 2009-03-28 22:52:41 UTC
The only connection I saw was: "khtml::RenderLayer::paintLayer" and may be the QPainter/QPaintEngine functions at the top. But bug 186949 sounds like it's crashing everytime (or may be it has the offending site as home... ), and this is related to a site.

There are no other reports with "QPaintEngine::hasFeature" or "khtml::BufferedPainter::transfer" on it.
Comment 5 Christophe Marin 2009-03-29 18:09:30 UTC
Thanks for the tips. 
I can't reproduce the crash with Khtml from trunk (except if I try to compile it with GCC 4.4 but that's another issue :)).

Closing.