Bug 215719 - konqueror crashed at printing article list to PDF from a webshop
Summary: konqueror crashed at printing article list to PDF from a webshop
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.6.4
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 277059 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-22 19:33 UTC by Buggi
Modified: 2013-11-02 12:22 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.4


Attachments
New crash information added by DrKonqi (8.11 KB, text/plain)
2011-04-22 10:48 UTC, kavol
Details
New crash information added by DrKonqi (8.25 KB, text/plain)
2011-06-20 12:50 UTC, Diego
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Buggi 2009-11-22 19:33:02 UTC
Application that crashed: konqueror
Version of the application: 4.3.2 (KDE 4.3.2)
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-15-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
At trying to print the buyed article list from a webshop (www.pollin.de) to a PDF-file, Konqueror crashed
I cant say it it is reproducable, because then I would have to buy the articles again.
Trying to print the normal webshop page to PDF after a restart worked.

 -- Backtrace:
Application: Konqueror (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7898700 (LWP 2276))]

Thread 6 (Thread 0xb1bd2b70 (LWP 4259)):
#0  0x00bbc422 in __kernel_vsyscall ()
#1  0x0056b142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x007b67e4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0x03afa9ff in ?? () from /usr/lib/libxine.so.1
#4  0x0056680e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x007a97ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xb07ffb70 (LWP 4260)):
#0  0x007b6965 in pthread_mutex_unlock () from /lib/tls/i686/cmov/libc.so.6
#1  0x004e6f6e in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x004e7341 in ?? () from /lib/libglib-2.0.so.0
#3  0x004e7853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00a1d067 in QEventDispatcherGlib::processEvents (this=0xdde91b0, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#5  0x009f0c79 in QEventLoop::processEvents (this=0xb07ff2b4, flags=) at kernel/qeventloop.cpp:149
#6  0x009f10ca in QEventLoop::exec (this=0xb07ff2b4, flags=...) at kernel/qeventloop.cpp:201
#7  0x008feb73 in QThread::exec (this=0xe2f0748) at thread/qthread.cpp:487
#8  0x0383f20a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#9  0x00901e32 in QThreadPrivate::start (arg=0xe2f0748) at thread/qthread_unix.cpp:188
#10 0x0056680e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0x007a97ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb11ffb70 (LWP 6994)):
#0  0x00bbc422 in __kernel_vsyscall ()
#1  0x0056ae15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x007b678d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x00902e67 in QWaitConditionPrivate::wait (this=0xeb7a690, mutex=0xeb7a68c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xeb7a690, mutex=0xeb7a68c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x034e1dea in QFileInfoGatherer::run (this=0xeb7a684) at dialogs/qfileinfogatherer.cpp:207
#6  0x00901e32 in QThreadPrivate::start (arg=0xeb7a684) at thread/qthread_unix.cpp:188
#7  0x0056680e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x007a97ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xab29eb70 (LWP 6995)):
#0  0x00bbc422 in __kernel_vsyscall ()
#1  0x0079bba6 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x004f453b in g_poll () from /lib/libglib-2.0.so.0
#3  0x004e755b in ?? () from /lib/libglib-2.0.so.0
#4  0x004e7853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00a1d067 in QEventDispatcherGlib::processEvents (this=0xc4020d8, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#6  0x009f0c79 in QEventLoop::processEvents (this=0xab29e2a4, flags=) at kernel/qeventloop.cpp:149
#7  0x009f10ca in QEventLoop::exec (this=0xab29e2a4, flags=...) at kernel/qeventloop.cpp:201
#8  0x008feb73 in QThread::exec (this=0xe97c1f0) at thread/qthread.cpp:487
#9  0x009d36ab in QInotifyFileSystemWatcherEngine::run (this=0xe97c1f0) at io/qfilesystemwatcher_inotify.cpp:214
#10 0x00901e32 in QThreadPrivate::start (arg=0xe97c1f0) at thread/qthread_unix.cpp:188
#11 0x0056680e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x007a97ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa629bb70 (LWP 6996)):
#0  0x00bbc422 in __kernel_vsyscall ()
#1  0x0056ae15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x007b678d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x00902e67 in QWaitConditionPrivate::wait (this=0xd774180, mutex=0xd77417c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xd774180, mutex=0xd77417c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x05f7b922 in QHostInfoAgent::run (this=0xd774170) at kernel/qhostinfo.cpp:260
#6  0x00901e32 in QThreadPrivate::start (arg=0xd774170) at thread/qthread_unix.cpp:188
#7  0x0056680e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x007a97ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7898700 (LWP 2276)):
[KCrash Handler]
#6  0x00000000 in ?? ()
#7  0x07297b80 in khtml::RenderBlock::makePageBreakAvoidBlocks (this=0x9bd9c44) at ../../khtml/rendering/render_block.cpp:535
#8  0x07297b80 in khtml::RenderBlock::makePageBreakAvoidBlocks (this=0x9bd9bc0) at ../../khtml/rendering/render_block.cpp:535
#9  0x07297b80 in khtml::RenderBlock::makePageBreakAvoidBlocks (this=0x9bd9b3c) at ../../khtml/rendering/render_block.cpp:535
#10 0x07297b80 in khtml::RenderBlock::makePageBreakAvoidBlocks (this=0x9bd96ec) at ../../khtml/rendering/render_block.cpp:535
#11 0x07297b80 in khtml::RenderBlock::makePageBreakAvoidBlocks (this=0x9bd95f8) at ../../khtml/rendering/render_block.cpp:535
#12 0x07297b80 in khtml::RenderBlock::makePageBreakAvoidBlocks (this=0x9bd94b0) at ../../khtml/rendering/render_block.cpp:535
#13 0x0715cebc in KHTMLView::print (this=0x95d2390, quick=false) at ../../khtml/khtmlview.cpp:3200
#14 0x073ed91a in KJS::WindowFunc::callAsFunction (this=0xb0929840, exec=0xbfa96ff0, thisObj=0xb1360040, args=...) at ../../khtml/ecma/kjs_window.cpp:2099
#15 0x0180a3fd in KJS::JSObject::call (this=0x2, exec=0xbfa96ff0, thisObj=0xb1360040, args=...) at ../../kjs/object.cpp:69
#16 0x0182865a in KJS::Machine::runBlock (exec=0xbfa96ff0, codeBlock=..., parentExec=0x0) at codes.def:1192
#17 0x017d80aa in KJS::FunctionBodyNode::execute (this=0xebb23b0, exec=0xbfa96ff0) at ../../kjs/nodes.cpp:928
#18 0x0180d622 in KJS::Interpreter::evaluate (this=0x9249a08, sourceURL=..., startingLineNumber=1, code=0xc41a7b8, codeLength=15, thisV=0xb1360040) at ../../kjs/interpreter.cpp:556
#19 0x0180d817 in KJS::Interpreter::evaluate (this=0x9249a08, sourceURL=..., startingLineNumber=1, code=..., thisV=0xb1360040) at ../../kjs/interpreter.cpp:496
#20 0x073fa06f in KJS::KJSProxyImpl::evaluate (this=0x91cd6e8, filename=..., baseLine=1, str=..., n=..., completion=0xbfa971f8) at ../../khtml/ecma/kjs_proxy.cpp:158
#21 0x07189b59 in KHTMLPart::executeScript (this=0x97701b0, n=..., script=...) at ../../khtml/khtml_part.cpp:1377
#22 0x0718a4bf in KHTMLPart::crossFrameExecuteScript (this=0x97701b0, target=..., script=...) at ../../khtml/khtml_part.cpp:1225
#23 0x0719e897 in KHTMLPart::urlSelected (this=0x97701b0, url=..., button=1, state=0, _target=..., _args=..., _browserArgs=...) at ../../khtml/khtml_part.cpp:3698
#24 0x0724e447 in DOM::HTMLAnchorElementImpl::defaultEventHandler (this=0xc66fe30, evt=0x9fc3120) at ../../khtml/html/html_inlineimpl.cpp:157
#25 0x071f4cf8 in DOM::NodeImpl::dispatchGenericEvent (this=0xc66fe30, evt=0x9fc3120) at ../../khtml/xml/dom_nodeimpl.cpp:526
#26 0x071f4ef4 in DOM::NodeImpl::dispatchEvent (this=0xc66fe30, evt=0x9fc3120, exceptioncode=@0xbfa9767c, tempEvent=true) at ../../khtml/xml/dom_nodeimpl.cpp:453
#27 0x0714bf25 in KHTMLView::dispatchMouseEvent (this=0x95d2390, eventId=3, targetNode=0xc66fe30, targetNodeNonShared=0xd0dc6e0, cancelable=<value optimized out>, detail=1, 
    _mouse=<value optimized out>, setUnder=true, mouseEventType=1, orient=0) at ../../khtml/khtmlview.cpp:3717
#28 0x071569d6 in KHTMLView::mouseReleaseEvent (this=0x95d2390, _mouse=0xbfa97dc0) at ../../khtml/khtmlview.cpp:1578
#29 0x0300a012 in QWidget::event (this=0x95d2390, event=0xbfa97dc0) at kernel/qwidget.cpp:7549
#30 0x033b9633 in QFrame::event (this=0x95d2390, e=0xbfa97dc0) at widgets/qframe.cpp:559
#31 0x071550ec in KHTMLView::widgetEvent (this=0x95d2390, e=0xeb373b8) at ../../khtml/khtmlview.cpp:2338
#32 0x071553d5 in KHTMLView::eventFilter (this=0x95d2390, o=0x91fe2a8, e=0xbfa97dc0) at ../../khtml/khtmlview.cpp:2191
#33 0x009f183a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8a8fdf0, receiver=0x91fe2a8, event=0xbfa97dc0) at kernel/qcoreapplication.cpp:726
#34 0x02fb4f2c in QApplicationPrivate::notify_helper (this=0x8a8fdf0, receiver=0x91fe2a8, e=0xbfa97dc0) at kernel/qapplication.cpp:4052
#35 0x02fbd033 in QApplication::notify (this=0xbfa99844, receiver=0x91fe2a8, e=0xbfa97dc0) at kernel/qapplication.cpp:3758
#36 0x01071bfa in KApplication::notify (this=0xbfa99844, receiver=0x91fe2a8, event=0xbfa97dc0) at ../../kdeui/kernel/kapplication.cpp:302
#37 0x009f26cb in QCoreApplication::notifyInternal (this=0xbfa99844, receiver=0x91fe2a8, event=0xbfa97dc0) at kernel/qcoreapplication.cpp:610
#38 0x02fbbf6e in QCoreApplication::sendSpontaneousEvent (receiver=0x91fe2a8, event=0xbfa97dc0, alienWidget=0x91fe2a8, nativeWidget=0x8ddaa00, buttonDown=0x382faa0, lastMouseReceiver=...)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#39 QApplicationPrivate::sendMouseEvent (receiver=0x91fe2a8, event=0xbfa97dc0, alienWidget=0x91fe2a8, nativeWidget=0x8ddaa00, buttonDown=0x382faa0, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#40 0x0302a7c0 in QETWidget::translateMouseEvent (this=0x8ddaa00, event=0xbfa9940c) at kernel/qapplication_x11.cpp:4409
#41 0x03029c4b in QApplication::x11ProcessEvent (this=0xbfa99844, event=0xbfa9940c) at kernel/qapplication_x11.cpp:3428
#42 0x03056502 in x11EventSourceDispatch (s=0x8a92e68, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#43 0x004e3e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#44 0x004e7720 in ?? () from /lib/libglib-2.0.so.0
#45 0x004e7853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#46 0x00a1d02c in QEventDispatcherGlib::processEvents (this=0x8a03a58, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#47 0x03055be5 in QGuiEventDispatcherGlib::processEvents (this=0x8a03a58, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#48 0x009f0c79 in QEventLoop::processEvents (this=0xbfa99704, flags=) at kernel/qeventloop.cpp:149
#49 0x009f10ca in QEventLoop::exec (this=0xbfa99704, flags=...) at kernel/qeventloop.cpp:201
#50 0x009f353f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#51 0x02fb4dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#52 0x0671b59f in kdemain () from /usr/lib/libkdeinit4_konqueror.so
#53 0x0804dde1 in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=0, envs=0x8a578e7 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x80511a5 "0") at ../../kinit/kinit.cpp:677
#54 0x0804ea35 in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at ../../kinit/kinit.cpp:1169
#55 0x0804eeac in handle_requests (waitForPid=<value optimized out>) at ../../kinit/kinit.cpp:1362
#56 0x0804fbaf in main (argc=2, argv=0xbfa9a294, envp=0xbfa9a2a0) at ../../kinit/kinit.cpp:1793

Reported using DrKonqi
Comment 1 kavol 2011-04-22 10:48:37 UTC
Created attachment 59203 [details]
New crash information added by DrKonqi

konqueror (4.6.1 (4.6.1)) on KDE Platform 4.6.1 (4.6.1) using Qt 4.7.1

- What I was doing when the application crashed:

I was trying to print a page from
http://www.geology.cz/aplikace/encyklopedie/term.pl

After choosing the printer and clicking print, Konqueror crashed.

-- Backtrace (Reduced):
#6  0x0000003b1892e6f9 in khtml::RenderBlock::makePageBreakAvoidBlocks (this=0x2d8e4e8) at /usr/src/debug/kdelibs-4.6.1/khtml/rendering/render_block.cpp:581
#7  0x0000003b1892e66d in khtml::RenderBlock::makePageBreakAvoidBlocks (this=0x2d8e420) at /usr/src/debug/kdelibs-4.6.1/khtml/rendering/render_block.cpp:537
#8  0x0000003b1892e66d in khtml::RenderBlock::makePageBreakAvoidBlocks (this=0x2d8de70) at /usr/src/debug/kdelibs-4.6.1/khtml/rendering/render_block.cpp:537
#9  0x0000003b1892e66d in khtml::RenderBlock::makePageBreakAvoidBlocks (this=0x2d8dda8) at /usr/src/debug/kdelibs-4.6.1/khtml/rendering/render_block.cpp:537
#10 0x0000003b1892e66d in khtml::RenderBlock::makePageBreakAvoidBlocks (this=0x2d8dc28) at /usr/src/debug/kdelibs-4.6.1/khtml/rendering/render_block.cpp:537
Comment 2 Diego 2011-06-20 12:50:41 UTC
Created attachment 61171 [details]
New crash information added by DrKonqi

konqueror (4.6.3 (4.6.3)) on KDE Platform 4.6.3 (4.6.3) using Qt 4.7.2

- What I was doing when the application crashed:

Tried to print this page to PDF from Konqueror:
http://kzjblog.appspot.com/2010/11/20/suspend-en.html

After pressing "print" I got the crash.

-- Backtrace (Reduced):
#7  0x0000003c9dd2e79f in khtml::RenderBlock::makePageBreakAvoidBlocks (this=0x10c5438) at /usr/src/debug/kdelibs-4.6.3/khtml/rendering/render_block.cpp:581
#8  0x0000003c9dd2e70d in khtml::RenderBlock::makePageBreakAvoidBlocks (this=0x10c5370) at /usr/src/debug/kdelibs-4.6.3/khtml/rendering/render_block.cpp:537
#9  0x0000003c9dd2e70d in khtml::RenderBlock::makePageBreakAvoidBlocks (this=0x10c4d98) at /usr/src/debug/kdelibs-4.6.3/khtml/rendering/render_block.cpp:537
#10 0x0000003c9dd2e70d in khtml::RenderBlock::makePageBreakAvoidBlocks (this=0x10c4cd0) at /usr/src/debug/kdelibs-4.6.3/khtml/rendering/render_block.cpp:537
#11 0x0000003c9dd2e70d in khtml::RenderBlock::makePageBreakAvoidBlocks (this=0x10c45a8) at /usr/src/debug/kdelibs-4.6.3/khtml/rendering/render_block.cpp:537
Comment 3 Andrea Iacovitti 2011-07-04 13:38:36 UTC
*** Bug 277059 has been marked as a duplicate of this bug. ***
Comment 4 Andrea Iacovitti 2013-11-02 12:22:48 UTC
Git commit 218cce8e53e378ab5f269636d768ac1c7aa1f70b by Andrea Iacovitti.
Committed on 02/11/2013 at 12:16.
Pushed by aiacovitti into branch 'KDE/4.11'.

Remove the object from the floatingObject list too in RenderObject::removeFromObjectLists,
otherwise FloatingObject.node become a dangling pointer.
Related: bug 302519
FIXED-IN: 4.11.4

M  +7    -0    khtml/rendering/render_object.cpp

http://commits.kde.org/kdelibs/218cce8e53e378ab5f269636d768ac1c7aa1f70b