Bug 246371

Summary: KTorrent crashes related to KHTML [khtml::RenderFlow::repaint, khtml::RenderObject::repaintDuringLayout, khtml::RenderBlock::layoutInlineChildren]
Product: [Applications] konqueror Reporter: Marcio Gonçalves <marcio.gonsil>
Component: khtml rendererAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, aplalith1984, jimwalsh3, kpuumala666
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: KDE SC 4.4.x
Sentry Crash Report:

Description Marcio Gonçalves 2010-07-31 20:29:07 UTC
Application that crashed: ktorrent
Version of the application: 3.2.4
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-22-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
ktorrent starts but crashes rigt after trying to create the cache
only different thing: I finished one torrent that was at 0 downloaded

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f23b8a1a750 (LWP 2492))]

Thread 2 (Thread 0x7f239f4ee910 (LWP 2511)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f23b678c462 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x17876a0, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x17876a0, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f23b67824f2 in QThreadPoolThread::run (this=<value optimized out>) at concurrent/qthreadpool.cpp:140
#4  0x00007f23b678b445 in QThreadPrivate::start (arg=0x1fb4470) at thread/qthread_unix.cpp:188
#5  0x00007f23b1dbda04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f23b513dd4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f23b8a1a750 (LWP 2492)):
[KCrash Handler]
#5  0x0000000000000000 in ?? ()
#6  0x00007f23a4dce459 in khtml::RenderFlow::repaint (this=0x26715c0, prior=NormalPriority) at ../../khtml/rendering/render_flow.cpp:446
#7  0x00007f23a4db7d59 in khtml::RenderObject::repaintDuringLayout (this=0x26715c0) at ../../khtml/rendering/render_object.cpp:2193
#8  0x00007f23a4d9ff7d in khtml::RenderBlock::layoutInlineChildren (this=0x214c2e8, relayoutChildren=<value optimized out>, breakBeforeLine=<value optimized out>)
    at ../../khtml/rendering/bidi.cpp:1393
#9  0x00007f23a4dab9ed in khtml::RenderBlock::layoutBlock (this=0x214c2e8, relayoutChildren=false) at ../../khtml/rendering/render_block.cpp:833
#10 0x00007f23a4dab09c in khtml::RenderObject::layoutIfNeeded (this=0x2623820, relayoutChildren=<value optimized out>) at ../../khtml/rendering/render_object.h:477
#11 khtml::RenderBlock::layoutBlockChildren (this=0x2623820, relayoutChildren=<value optimized out>) at ../../khtml/rendering/render_block.cpp:1555
#12 0x00007f23a4dab7fd in khtml::RenderBlock::layoutBlock (this=0x2623820, relayoutChildren=false) at ../../khtml/rendering/render_block.cpp:835
#13 0x00007f23a4dde6f7 in khtml::RenderTableCell::layout (this=0x2541ec8) at ../../khtml/rendering/render_table.cpp:2527
#14 0x00007f23a4de1830 in khtml::RenderTableRow::layout (this=0x26237a0) at ../../khtml/rendering/render_table.cpp:2308
#15 0x00007f23a4dc2244 in khtml::RenderObject::layoutIfNeeded (this=0x26236f8) at ../../khtml/rendering/render_object.h:477
#16 khtml::RenderContainer::layout (this=0x26236f8) at ../../khtml/rendering/render_container.cpp:638
#17 0x00007f23a4de4f27 in khtml::RenderTable::layout (this=0x26235e8) at ../../khtml/rendering/render_table.cpp:347
#18 0x00007f23a4dab09c in khtml::RenderObject::layoutIfNeeded (this=0x20faf08, relayoutChildren=<value optimized out>) at ../../khtml/rendering/render_object.h:477
#19 khtml::RenderBlock::layoutBlockChildren (this=0x20faf08, relayoutChildren=<value optimized out>) at ../../khtml/rendering/render_block.cpp:1555
#20 0x00007f23a4dab7fd in khtml::RenderBlock::layoutBlock (this=0x20faf08, relayoutChildren=false) at ../../khtml/rendering/render_block.cpp:835
#21 0x00007f23a4dde6f7 in khtml::RenderTableCell::layout (this=0x2541ec8) at ../../khtml/rendering/render_table.cpp:2527
#22 0x00007f23a4de1830 in khtml::RenderTableRow::layout (this=0x20fae88) at ../../khtml/rendering/render_table.cpp:2308
#23 0x00007f23a4dc2244 in khtml::RenderObject::layoutIfNeeded (this=0x20fade0) at ../../khtml/rendering/render_object.h:477
#24 khtml::RenderContainer::layout (this=0x20fade0) at ../../khtml/rendering/render_container.cpp:638
#25 0x00007f23a4de4f27 in khtml::RenderTable::layout (this=0x20facd0) at ../../khtml/rendering/render_table.cpp:347
#26 0x00007f23a4dab09c in khtml::RenderObject::layoutIfNeeded (this=0x20fa368, relayoutChildren=<value optimized out>) at ../../khtml/rendering/render_object.h:477
#27 khtml::RenderBlock::layoutBlockChildren (this=0x20fa368, relayoutChildren=<value optimized out>) at ../../khtml/rendering/render_block.cpp:1555
#28 0x00007f23a4dab7fd in khtml::RenderBlock::layoutBlock (this=0x20fa368, relayoutChildren=false) at ../../khtml/rendering/render_block.cpp:835
#29 0x00007f23a4e09dcc in khtml::RenderBody::layout (this=0x20fa368) at ../../khtml/rendering/render_body.cpp:91
#30 0x00007f23a4dab09c in khtml::RenderObject::layoutIfNeeded (this=0x20fa1e8, relayoutChildren=<value optimized out>) at ../../khtml/rendering/render_object.h:477
#31 khtml::RenderBlock::layoutBlockChildren (this=0x20fa1e8, relayoutChildren=<value optimized out>) at ../../khtml/rendering/render_block.cpp:1555
#32 0x00007f23a4dab7fd in khtml::RenderBlock::layoutBlock (this=0x20fa1e8, relayoutChildren=false) at ../../khtml/rendering/render_block.cpp:835
#33 0x00007f23a4dab09c in khtml::RenderObject::layoutIfNeeded (this=0x20f9ff0, relayoutChildren=<value optimized out>) at ../../khtml/rendering/render_object.h:477
#34 khtml::RenderBlock::layoutBlockChildren (this=0x20f9ff0, relayoutChildren=<value optimized out>) at ../../khtml/rendering/render_block.cpp:1555
#35 0x00007f23a4dab7fd in khtml::RenderBlock::layoutBlock (this=0x20f9ff0, relayoutChildren=false) at ../../khtml/rendering/render_block.cpp:835
#36 0x00007f23a4e04d62 in khtml::RenderCanvas::layout (this=0x20f9ff0) at ../../khtml/rendering/render_canvas.cpp:187
#37 0x00007f23a4c75566 in KHTMLView::layout (this=0x1f655a0) at ../../khtml/khtmlview.cpp:1010
#38 0x00007f23a4c75b7e in KHTMLView::timerEvent (this=0x1f655a0, e=<value optimized out>) at ../../khtml/khtmlview.cpp:4160
#39 0x00007f23b6880d83 in QObject::event (this=0x1f655a0, e=0x1) at kernel/qobject.cpp:1075
#40 0x00007f23b5d6815f in QWidget::event (this=0x1f655a0, event=0x7ffff5345470) at kernel/qwidget.cpp:7946
#41 0x00007f23b60c42a6 in QFrame::event (this=0x1f655a0, e=0x7ffff5345470) at widgets/qframe.cpp:559
#42 0x00007f23b6153bc9 in QAbstractScrollArea::event (this=0x1f655a0, e=0x7ffff5345470) at widgets/qabstractscrollarea.cpp:918
#43 0x00007f23a4c77dd7 in KHTMLView::event (this=0x1f655a0, e=<value optimized out>) at ../../khtml/khtmlview.cpp:546
#44 0x00007f23b5d19efc in QApplicationPrivate::notify_helper (this=0x16c4a20, receiver=0x1f655a0, e=0x7ffff5345470) at kernel/qapplication.cpp:4056
#45 0x00007f23b5d211ce in QApplication::notify (this=0x7ffff53457a0, receiver=0x1f655a0, e=0x7ffff5345470) at kernel/qapplication.cpp:4021
#46 0x00007f23b7743ab6 in KApplication::notify (this=0x7ffff53457a0, receiver=0x1f655a0, event=0x7ffff5345470) at ../../kdeui/kernel/kapplication.cpp:302
#47 0x00007f23b6871c2c in QCoreApplication::notifyInternal (this=0x7ffff53457a0, receiver=0x1f655a0, event=0x7ffff5345470) at kernel/qcoreapplication.cpp:610
#48 0x00007f23b689c862 in QCoreApplication::sendEvent (this=0x16bdb00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#49 QTimerInfoList::activateTimers (this=0x16bdb00) at kernel/qeventdispatcher_unix.cpp:572
#50 0x00007f23b689a25d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#51 0x00007f23b10e8bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#52 0x00007f23b10ec598 in ?? () from /lib/libglib-2.0.so.0
#53 0x00007f23b10ec6c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#54 0x00007f23b689a1a6 in QEventDispatcherGlib::processEvents (this=0x168c530, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#55 0x00007f23b5dae4be in QGuiEventDispatcherGlib::processEvents (this=0x2541ec8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#56 0x00007f23b6870532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#57 0x00007f23b6870904 in QEventLoop::exec (this=0x7ffff5345710, flags=) at kernel/qeventloop.cpp:201
#58 0x00007f23b6872ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#59 0x0000000000424ef2 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:171
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Joris Guisson 2010-08-01 11:19:35 UTC
*** Bug 246400 has been marked as a duplicate of this bug. ***
Comment 2 Joris Guisson 2010-08-01 11:23:11 UTC
This is a crash in KHTML, reassigning
Comment 3 Tommi Tervo 2010-08-04 20:32:02 UTC
*** Bug 246679 has been marked as a duplicate of this bug. ***
Comment 4 Tommi Tervo 2010-09-07 19:51:41 UTC
*** Bug 248814 has been marked as a duplicate of this bug. ***
Comment 5 Tommi Tervo 2010-09-07 19:51:55 UTC
*** Bug 250389 has been marked as a duplicate of this bug. ***
Comment 6 Tommi Tervo 2010-09-07 19:55:03 UTC
Can anyone reproduce this bug with current KDE versions (4.5.x or 4.4.4/5)? I believe that this is already fixed:
https://bugs.kde.org/show_bug.cgi?id=220360
Comment 7 Dario Andres 2010-12-15 15:29:14 UTC
*** Bug 250519 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2010-12-15 15:31:31 UTC
[Comment from a bug triager]
Actually, I would suggest to close this bug because:
- the last added duplicate is from KDE SC 4.3.2
- nobody else replied comment 6
- bug 220360 which contained a similar backtrace was fixed just in time for some release of KDE SC 4.4.x
Regards
Comment 9 Myriam Schweingruber 2012-06-18 21:29:01 UTC
*** Bug 270533 has been marked as a duplicate of this bug. ***