Bug 302747

Summary: konqueror crash on navigation and do not restart again
Product: [Applications] konqueror Reporter: josan_pansa
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: adaptee
Priority: NOR    
Version: 4.8.95 (RC1)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 4.9
Sentry Crash Report:

Description josan_pansa 2012-06-29 14:05:33 UTC
Application: konqueror (4.8.95 (4.8.95))
KDE Platform Version: 4.8.95 (4.8.95) (Compiled from sources)
Qt Version: 4.8.2
Operating System: Linux 3.0.6-gentoo x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
i was navigation trought internet and then crash.i try to restart but everitime crash

The crash can be reproduced every time.

-- Backtrace:
Application: Konqueror (konqueror), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x00007fb63654dbf5 in raise () from /lib64/libc.so.6
#7  0x00007fb63654ef9a in abort () from /lib64/libc.so.6
#8  0x00007fb633c20c78 in qt_message_output (msgType=QtFatalMsg, buf=0x4af0638 "ASSERT: \"uint(i) < uint(size())\" in file /usr/include/qt4/QtCore/qstring.h, line 701") at global/qglobal.cpp:2260
#9  0x00007fb633c20df4 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7fb633ddd398 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fffcf9f2dd0) at global/qglobal.cpp:2306
#10 0x00007fb633c21662 in qFatal (msg=0x7fb633ddd398 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2489
#11 0x00007fb633c2082b in qt_assert (assertion=0x7fb625116b22 "uint(i) < uint(size())", file=0x7fb625116b00 "/usr/include/qt4/QtCore/qstring.h", line=701) at global/qglobal.cpp:2007
#12 0x00007fb624c8656b in QString::operator[] (this=0x4ae7140, i=0) at /usr/include/qt4/QtCore/qstring.h:701
#13 0x00007fb624e826ca in khtml::RenderTextArea::setText (this=0x5167b68, newText=...) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/khtml/rendering/render_form.cpp:2367
#14 0x00007fb624dced2a in DOM::HTMLTextAreaElementImpl::setValue (this=0x4ae70b0, _value=...) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/khtml/html/html_formimpl.cpp:3061
#15 0x00007fb624dcdb1d in DOM::HTMLTextAreaElementImpl::childrenChanged (this=0x4ae70b0) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/khtml/html/html_formimpl.cpp:2912
#16 0x00007fb624d419c6 in DOM::NodeImpl::dispatchSubtreeModifiedEvent (this=0x4ae70b0) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/khtml/xml/dom_nodeimpl.cpp:644
#17 0x00007fb624d45027 in DOM::NodeBaseImpl::removeChild (this=0x4ae70b0, oldChild=0x4af0730, exceptioncode=@0x7fffcf9f31ec: 0) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/khtml/xml/dom_nodeimpl.cpp:1706
#18 0x00007fb624dcf151 in DOM::HTMLTextAreaElementImpl::setDefaultValue (this=0x4ae70b0, _defaultValue=...) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/khtml/html/html_formimpl.cpp:3099
#19 0x00007fb624dcda09 in DOM::HTMLTextAreaElementImpl::restoreState (this=0x4ae70b0, state=...) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/khtml/html/html_formimpl.cpp:2899
#20 0x00007fb624d2d7e2 in DOM::DocumentImpl::attemptRestoreState (this=0x4ed4810, n=0x4ae70b0) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/khtml/xml/dom_docimpl.cpp:1316
#21 0x00007fb624d8ed4a in khtml::KHTMLParser::popOneBlock (this=0x3cb9b60, delBlock=true) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/khtml/html/htmlparser.cpp:1863
#22 0x00007fb624d8eb2d in khtml::KHTMLParser::popBlock (this=0x3cb9b60, _id=96) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/khtml/html/htmlparser.cpp:1806
#23 0x00007fb624d8db2e in khtml::KHTMLParser::processCloseTag (this=0x3cb9b60, t=0x4caa998) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/khtml/html/htmlparser.cpp:1403
#24 0x00007fb624d8947a in khtml::KHTMLParser::parseToken (this=0x3cb9b60, t=0x4caa998) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/khtml/html/htmlparser.cpp:253
#25 0x00007fb624d98171 in khtml::HTMLTokenizer::processToken (this=0x4caa970) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/khtml/html/htmltokenizer.cpp:2037
#26 0x00007fb624d90cf3 in khtml::HTMLTokenizer::parseRawContent (this=0x4caa970, src=...) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/khtml/html/htmltokenizer.cpp:387
#27 0x00007fb624d96164 in khtml::HTMLTokenizer::parseTag (this=0x4caa970, src=...) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/khtml/html/htmltokenizer.cpp:1550
#28 0x00007fb624d96f4c in khtml::HTMLTokenizer::write (this=0x4caa970, str=..., appendData=true) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/khtml/html/htmltokenizer.cpp:1795
#29 0x00007fb624ca43c8 in KHTMLPart::write (this=0x4269760, data=0x50e0078 "n=bottom>\n\t     <font face=\"Verdana, Arial\" size=1><b><a href=\"/TSM100/1.html\">\n\t     <img border=0 src=\"http://images.melodysoft.com/reload2.gif\"><br>Volver al foro</a></b></font>\n\t   </p>\n\n\t<table w"..., len=2289) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/khtml/khtml_part.cpp:2110
#30 0x00007fb624ca10fc in KHTMLPart::slotData (this=0x4269760, kio_job=0x430a560, data=...) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/khtml/khtml_part.cpp:1758
#31 0x00007fb624cc610d in KHTMLPart::qt_static_metacall (_o=0x4269760, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0x7fffcf9f4010) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95_build/khtml/khtml_part.moc:253
#32 0x00007fb633d76ead in QMetaObject::activate (sender=0x430a560, m=0x7fb6355a4f00, local_signal_index=0, argv=0x7fffcf9f4010) at kernel/qobject.cpp:3547
#33 0x00007fb63517f523 in KIO::TransferJob::data (this=0x430a560, _t1=0x430a560, _t2=...) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95_build/kio/jobclasses.moc:447
#34 0x00007fb6351764c0 in KIO::TransferJob::slotData (this=0x430a560, _data=...) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/kio/kio/job.cpp:981
#35 0x00007fb63517f273 in KIO::TransferJob::qt_static_metacall (_o=0x430a560, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fffcf9f4230) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95_build/kio/jobclasses.moc:389
#36 0x00007fb633d76ead in QMetaObject::activate (sender=0x4956f90, m=0x7fb6355aa4c0, local_signal_index=0, argv=0x7fffcf9f4230) at kernel/qobject.cpp:3547
#37 0x00007fb635238037 in KIO::SlaveInterface::data (this=0x4956f90, _t1=...) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95_build/kio/slaveinterface.moc:160
#38 0x00007fb6352354ea in KIO::SlaveInterface::dispatch (this=0x4956f90, _cmd=100, rawdata=...) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/kio/kio/slaveinterface.cpp:160
#39 0x00007fb635235196 in KIO::SlaveInterface::dispatch (this=0x4956f90) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/kio/kio/slaveinterface.cpp:88
#40 0x00007fb63522a4e0 in KIO::Slave::gotInput (this=0x4956f90) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/kio/kio/slave.cpp:344
#41 0x00007fb63522b6c0 in KIO::Slave::qt_static_metacall (_o=0x4956f90, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffcf9f46f0) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95_build/kio/slave.moc:57
#42 0x00007fb633d76ead in QMetaObject::activate (sender=0x41925f0, m=0x7fb6355a37a0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#43 0x00007fb635141f11 in KIO::Connection::readyRead (this=0x41925f0) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95_build/kio/connection.moc:106
#44 0x00007fb63513e898 in KIO::ConnectionPrivate::dequeue (this=0x4ab4ba0) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/kio/kio/connection.cpp:82
#45 0x00007fb635141da7 in KIO::Connection::qt_static_metacall (_o=0x41925f0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x3d8b4a0) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95_build/kio/connection.moc:56
#46 0x00007fb633d706a3 in QMetaCallEvent::placeMetaCall (this=0x48cbf40, object=0x41925f0) at kernel/qobject.cpp:525
#47 0x00007fb633d7193e in QObject::event (this=0x41925f0, e=0x48cbf40) at kernel/qobject.cpp:1195
#48 0x00007fb632b7aba2 in QApplicationPrivate::notify_helper (this=0x24a2cd0, receiver=0x41925f0, e=0x48cbf40) at kernel/qapplication.cpp:4551
#49 0x00007fb632b781c6 in QApplication::notify (this=0x7fffcf9f56f0, receiver=0x41925f0, e=0x48cbf40) at kernel/qapplication.cpp:3933
#50 0x00007fb6348fe4d1 in KApplication::notify (this=0x7fffcf9f56f0, receiver=0x41925f0, event=0x48cbf40) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/kdeui/kernel/kapplication.cpp:311
#51 0x00007fb633d585fd in QCoreApplication::notifyInternal (this=0x7fffcf9f56f0, receiver=0x41925f0, event=0x48cbf40) at kernel/qcoreapplication.cpp:915
#52 0x00007fb633d5c10f in QCoreApplication::sendEvent (receiver=0x41925f0, event=0x48cbf40) at kernel/qcoreapplication.h:231
#53 0x00007fb633d59618 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2483670) at kernel/qcoreapplication.cpp:1539
#54 0x00007fb633d59239 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1432
#55 0x00007fb633d95a97 in QCoreApplication::sendPostedEvents () at kernel/qcoreapplication.h:236
#56 0x00007fb633d949e7 in postEventSourceDispatch (s=0x24a3010) at kernel/qeventdispatcher_glib.cpp:279
#57 0x00007fb62e8977da in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#58 0x00007fb62e897b38 in g_main_context_iterate.clone.6 () from /usr/lib64/libglib-2.0.so.0
#59 0x00007fb62e897bec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#60 0x00007fb633d952ad in QEventDispatcherGlib::processEvents (this=0x24a2a30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#61 0x00007fb632c53bde in QGuiEventDispatcherGlib::processEvents (this=0x24a2a30, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#62 0x00007fb633d55ace in QEventLoop::processEvents (this=0x7fffcf9f5520, flags=...) at kernel/qeventloop.cpp:149
#63 0x00007fb633d55c58 in QEventLoop::exec (this=0x7fffcf9f5520, flags=...) at kernel/qeventloop.cpp:204
#64 0x00007fb633d58c7e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#65 0x00007fb632b77db0 in QApplication::exec () at kernel/qapplication.cpp:3812
#66 0x00007fb63699f674 in kdemain (argc=1, argv=0x7fffcf9f5da8) at /var/tmp/portage/kde-base/konqueror-4.8.95/work/konqueror-4.8.95/konqueror/src/konqmain.cpp:227
#67 0x00000000004008a6 in main (argc=1, argv=0x7fffcf9f5da8) at /var/tmp/portage/kde-base/konqueror-4.8.95/work/konqueror-4.8.95_build/konqueror/src/konqueror_dummy.cpp:3

Reported using DrKonqi
Comment 1 Andrea Iacovitti 2012-06-29 17:46:41 UTC
Git commit e494acab4a2217e169c5567383bd5240f6f503ed by Andrea Iacovitti.
Committed on 29/06/2012 at 19:42.
Pushed by aiacovitti into branch 'KDE/4.9'.

Fix crash in setText.

M  +2    -1    khtml/rendering/render_form.cpp

http://commits.kde.org/kdelibs/e494acab4a2217e169c5567383bd5240f6f503ed
Comment 2 Andrea Iacovitti 2012-06-29 17:48:07 UTC
Git commit 8969e8c3e11315fc75235a54c52c585b1c09053b by Andrea Iacovitti.
Committed on 29/06/2012 at 19:42.
Pushed by aiacovitti into branch 'KDE/4.8'.

Fix crash in setText.
(cherry picked from commit e494acab4a2217e169c5567383bd5240f6f503ed)

M  +2    -1    khtml/rendering/render_form.cpp

http://commits.kde.org/kdelibs/8969e8c3e11315fc75235a54c52c585b1c09053b