Bug 139005 - crash in KHTML with bt referring to plastik
Summary: crash in KHTML with bt referring to plastik
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kstyle (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Karol Szwed
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-19 12:17 UTC by András Manţia
Modified: 2008-05-10 17:13 UTC (History)
1 user (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 András Manţia 2006-12-19 12:17:21 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

Konqueror crashed while browsing the web with the below backtrace indicating a possible problem in the Plastik style. I had several tabs opened, most of them from www.rdi-board.com.



Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 47739589972064 (LWP 16920)]
[KCrash handler]
#5  0x00002b6b3e1b3c82 in QGList::~QGList ()
   from /opt/kde-35/lib64/kde3/plugins/styles/plastik.so
#6  0x00002b6b3e19f7e5 in PlastikStyle::renderContour (this=0x6b7d10, 
    p=0x58f8a60, r=@0x7fff73f13850, backgroundColor=@0x6accd8, 
    contour=<value optimized out>, flags=253967)
    at /data/development/sources/kde-3.5/kdelibs/kstyles/plastik/plastik.cpp:434
#7  0x00002b6b3e1a88a9 in PlastikStyle::renderButton (this=0x6b7d10, 
    p=0x58f8a60, r=@0x7fff73f13850, g=@0x7fff73f137b0, sunken=false, 
    mouseOver=false, horizontal=true, enabled=true, khtmlMode=true)
    at /data/development/sources/kde-3.5/kdelibs/kstyles/plastik/plastik.cpp:749
#8  0x00002b6b3e1ab496 in PlastikStyle::drawPrimitive (this=0x6b7d10, 
    pe=PE_ButtonBevel, p=0x58f8a60, r=@0x7fff73f13850, cg=@0x7fff73f137b0, 
    flags=3, opt=@0x7fff73f13440)
    at /data/development/sources/kde-3.5/kdelibs/kstyles/plastik/plastik.cpp:1970
#9  0x00002b6b3e1a6829 in PlastikStyle::drawControl (this=0x6b7d10, 
    element=<value optimized out>, p=0x58f8a60, widget=0x44f39f0, 
    r=@0x7fff73f13c70, cg=@0x44f3fe8, flags=3, opt=@0x7fff73f13c00)
    at /data/development/sources/kde-3.5/kdelibs/kstyles/plastik/plastik.cpp:2361
#10 0x00002b6b3952e5f1 in QPushButton::drawButton ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#11 0x00002b6b394c0636 in QButton::paintEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#12 0x00002b6b3946c687 in QWidget::event ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#13 0x00002b6b393e2eb5 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#14 0x00002b6b393e3c40 in QApplication::notify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#15 0x00002b6b38052d82 in KApplication::notify (this=0x7fff73f15b50, 
    receiver=0x44f39f0, event=0x7fff73f141f0)
    at /data/development/sources/kde-3.5/kdelibs/kdecore/kapplication.cpp:550
#16 0x00002b6b36de5ae0 in QApplication::sendEvent (receiver=0x6e, 
    event=0x7fff73f12120) at /usr/lib64/qt3/include/qapplication.h:520
#17 0x00002b6b3fe5dbe2 in copyWidget (r=@0x7fff73f14380, p=0x283be90, 
    widget=0x44f39f0, tx=639, ty=2599)
    at /data/development/sources/kde-3.5/kdelibs/khtml/rendering/render_replaced.cpp:576
#18 0x00002b6b3fe5df83 in khtml::RenderWidget::paintWidget (
    pI=<value optimized out>, widget=0x44f39f0, tx=639, ty=2599)
    at /data/development/sources/kde-3.5/kdelibs/khtml/rendering/render_replaced.cpp:606
#19 0x00002b6b3fe5e29b in khtml::RenderWidget::paint (this=0x6229eb8, 
    paintInfo=@0x7fff73f14460, _tx=639, _ty=<value optimized out>)
    at /data/development/sources/kde-3.5/kdelibs/khtml/rendering/render_replaced.cpp:439
#20 0x00002b6b3fe79543 in khtml::InlineBox::paint (this=0x4f88e60, 
    i=@0x7fff73f14af0, tx=43, ty=2599)
    at /data/development/sources/kde-3.5/kdelibs/khtml/rendering/render_line.cpp:134
#21 0x00002b6b3fe7861a in khtml::InlineFlowBox::paint (this=0x4f88ea0, 
    i=@0x7fff73f14af0, tx=43, ty=2599)
    at /data/development/sources/kde-3.5/kdelibs/khtml/rendering/render_line.cpp:679
#22 0x00002b6b3fe786b8 in khtml::RootInlineBox::paint (this=0x6b7d10, 
    i=@0x58f8a60, tx=1945182496, ty=110)
    at /data/development/sources/kde-3.5/kdelibs/khtml/rendering/render_line.cpp:982
#23 0x00002b6b3fe40e01 in khtml::RenderFlow::paintLines (
    this=<value optimized out>, i=@0x7fff73f14af0, _tx=43, _ty=2599)
    at /data/development/sources/kde-3.5/kdelibs/khtml/rendering/render_flow.cpp:221
#24 0x00002b6b3fe2023a in khtml::RenderBlock::paintObject (this=0x6229df0, 
    pI=@0x7fff73f14af0, _tx=43, _ty=2599, shouldPaintOutline=true)
    at /data/development/sources/kde-3.5/kdelibs/khtml/rendering/render_block.cpp:1641
#25 0x00002b6b3fe20283 in khtml::RenderBlock::paintObject (this=0x6228f30, 
    pI=@0x7fff73f14af0, _tx=37, _ty=2362, shouldPaintOutline=false)
    at /data/development/sources/kde-3.5/kdelibs/khtml/rendering/render_block.cpp:1645
#26 0x00002b6b3fe5294f in khtml::RenderTableCell::paint (this=0x6228f30, 
    pI=@0x7fff73f14af0, _tx=37, _ty=2362)
    at /data/development/sources/kde-3.5/kdelibs/khtml/rendering/render_table.cpp:2734
#27 0x00002b6b3fe53739 in khtml::RenderTableSection::paint (this=0x6228e40, 
    pI=@0x7fff73f14af0, tx=36, ty=2361)
    at /data/development/sources/kde-3.5/kdelibs/khtml/rendering/render_table.cpp:1752
#28 0x00002b6b3fe556a5 in khtml::RenderTable::paint (this=0x52c0438, 
    pI=@0x7fff73f14af0, _tx=35, _ty=2323)
    at /data/development/sources/kde-3.5/kdelibs/khtml/rendering/render_table.cpp:470
#29 0x00002b6b3fe20283 in khtml::RenderBlock::paintObject (this=0x52c0558, 
    pI=@0x7fff73f14af0, _tx=35, _ty=2323, shouldPaintOutline=true)
    at /data/development/sources/kde-3.5/kdelibs/khtml/rendering/render_block.cpp:1645
#30 0x00002b6b3fe20283 in khtml::RenderBlock::paintObject (this=0x426ea28, 
    pI=@0x7fff73f14af0, _tx=10, _ty=2232, shouldPaintOutline=true)
    at /data/development/sources/kde-3.5/kdelibs/khtml/rendering/render_block.cpp:1645
#31 0x00002b6b3fe20283 in khtml::RenderBlock::paintObject (this=0x426e960, 
    pI=@0x7fff73f14af0, _tx=10, _ty=2232, shouldPaintOutline=true)
    at /data/development/sources/kde-3.5/kdelibs/khtml/rendering/render_block.cpp:1645
#32 0x00002b6b3fe20283 in khtml::RenderBlock::paintObject (this=0x5360860, 
    pI=@0x7fff73f14af0, _tx=10, _ty=2232, shouldPaintOutline=true)
    at /data/development/sources/kde-3.5/kdelibs/khtml/rendering/render_block.cpp:1645
#33 0x00002b6b3fe20283 in khtml::RenderBlock::paintObject (this=0x2e0b538, 
    pI=@0x7fff73f14af0, _tx=10, _ty=5, shouldPaintOutline=true)
    at /data/development/sources/kde-3.5/kdelibs/khtml/rendering/render_block.cpp:1645
#34 0x00002b6b3fe20283 in khtml::RenderBlock::paintObject (this=0x2e0b3d0, 
    pI=@0x7fff73f14af0, _tx=0, _ty=0, shouldPaintOutline=true)
    at /data/development/sources/kde-3.5/kdelibs/khtml/rendering/render_block.cpp:1645
#35 0x00002b6b3fe49de3 in khtml::RenderLayer::paintLayer (this=0x2e0b498, 
    rootLayer=0x2e0b330, p=0x283be90, paintDirtyRect=@0x7fff73f14e00, 
    selectionOnly=false)
    at /data/development/sources/kde-3.5/kdelibs/khtml/rendering/render_layer.cpp:916
#36 0x00002b6b3fe49f45 in khtml::RenderLayer::paintLayer (this=0x2e0b330, 
    rootLayer=0x2e0b330, p=0x283be90, paintDirtyRect=@0x7fff73f14e00, 
    selectionOnly=false)
    at /data/development/sources/kde-3.5/kdelibs/khtml/rendering/render_layer.cpp:942
#37 0x00002b6b3fd754cd in KHTMLView::drawContents (this=0x3957e90, 
    p=0x7fff73f14f40, ex=0, ey=2584, ew=1580, eh=60)
    at /data/development/sources/kde-3.5/kdelibs/khtml/khtmlview.cpp:720
#38 0x00002b6b3953413e in QScrollView::viewportPaintEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#39 0x00002b6b39535aef in QScrollView::eventFilter ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#40 0x00002b6b3fd6f40e in KHTMLView::eventFilter (this=0x3957e90, o=0x2d03450, 
    e=0x7fff73f155f0)
    at /data/development/sources/kde-3.5/kdelibs/khtml/khtmlview.cpp:1940
#41 0x00002b6b394394e2 in QObject::activate_filters ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#42 0x00002b6b39439537 in QObject::event ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#43 0x00002b6b3946c418 in QWidget::event ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#44 0x00002b6b393e2eb5 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#45 0x00002b6b393e3c40 in QApplication::notify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#46 0x00002b6b38052d82 in KApplication::notify (this=0x7fff73f15b50, 
    receiver=0x2d03450, event=0x7fff73f155f0)
    at /data/development/sources/kde-3.5/kdelibs/kdecore/kapplication.cpp:550
#47 0x00002b6b39380f0a in QETWidget::translatePaintEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#48 0x00002b6b3938a75e in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#49 0x00002b6b3939940f in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#50 0x00002b6b393f7963 in QEventLoop::enterLoop ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#51 0x00002b6b393f7812 in QEventLoop::exec ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#52 0x00002b6b3db1a03e in kdemain ()
   from /opt/kde-35/lib64/libkdeinit_konqueror.so
#53 0x00000000004079a0 in launch (argc=2, _name=0x6524c8 "konqueror", 
    args=0x6524da "", cwd=0x0, envc=1, envs=0x6524ef "", reset_env=false, 
    tty=0x0, avoid_loops=false, 
    startup_id_str=0x6524f8 "stein;1166464986;64620;16213_TIME337845885")
    at /data/development/sources/kde-3.5/kdelibs/kinit/kinit.cpp:673
#54 0x00000000004084d4 in handle_launcher_request (sock=9)
    at /data/development/sources/kde-3.5/kdelibs/kinit/kinit.cpp:1240
#55 0x00000000004088cf in handle_requests (waitForPid=0)
    at /data/development/sources/kde-3.5/kdelibs/kinit/kinit.cpp:1443
#56 0x000000000040919c in main (argc=5, argv=<value optimized out>, 
    envp=0x7fff73f16e18)
    at /data/development/sources/kde-3.5/kdelibs/kinit/kinit.cpp:1909
Comment 1 András Manţia 2006-12-22 09:48:50 UTC
I got a similar crash now in KMail when checking for mails.

Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 47467223191936 (LWP 14162)]
[New Thread 1107310912 (LWP 14166)]
[New Thread 1098918208 (LWP 14165)]
[New Thread 1090525504 (LWP 14164)]
[New Thread 1082132800 (LWP 14163)]
[KCrash handler]
#5  0x00002b2bd3929c82 in QGList::~QGList ()
   from /opt/kde-35/lib64/kde3/plugins/styles/plastik.so
#6  0x00002b2bd39157e5 in PlastikStyle::renderContour (this=0x844b80, 
    p=0x1de5070, r=@0x7fffe2ea5840, backgroundColor=@0x846928, 
    contour=<value optimized out>, flags=122895)
    
at /data/development/sources/kde-3.5/kdelibs/kstyles/plastik/plastik.cpp:434
#7  0x00002b2bd391b547 in PlastikStyle::drawControl (this=0x844b80, 
    element=<value optimized out>, p=0x1de5070, widget=0xffad00, 
    r=@0x7fffe2ea5840, cg=@0x8421b8, flags=1, opt=@0x7fffe2ea56a0)
    
at /data/development/sources/kde-3.5/kdelibs/kstyles/plastik/plastik.cpp:2159
#8  0x00002b2bceff59b0 in QProgressBar::drawContents ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#9  0x00002b2bcefa41d8 in QFrame::paintEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#10 0x00002b2bcef34687 in QWidget::event ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#11 0x00002b2bceeaaeb5 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#12 0x00002b2bceeabc40 in QApplication::notify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#13 0x00002b2bcdb4dd82 in KApplication::notify (this=0x7fffe2ea6120, 
    receiver=0xffad00, event=0x7fffe2ea5e60)
    
at /data/development/sources/kde-3.5/kdelibs/kdecore/kapplication.cpp:550
#14 0x00002b2bcee814e7 in QWidget::repaint ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#15 0x00002b2bceeac4c8 in QApplication::sendPostedEvents ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#16 0x00002b2bcee61395 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#17 0x00002b2bceebf963 in QEventLoop::enterLoop ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#18 0x00002b2bceebf812 in QEventLoop::exec ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#19 0x00000000004030fd in main ()
Comment 2 András Manţia 2007-01-23 16:03:40 UTC
Today KMail crashed at least 5 times, with a backtrace similar to #1. My svn checkout was updated of 6th of January.
Comment 3 András Manţia 2008-05-10 17:13:34 UTC
Let's close it, I don't remember seeing it in KDE3 lately, and definitely not in KDE4. :)