Bug 253213

Summary: [konqueror] crash when pressing back button
Product: [Applications] konqueror Reporter: Steffen Möller <steffen_moeller>
Component: khtml ecmaAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: andrew.crouthamel, rasasi78
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Valgrind log.
Saved session file trigerring crash.

Description Steffen Möller 2010-10-04 12:03:47 UTC
Application: konqueror (4.4.5 (KDE 4.4.5))
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu maverick (development branch)

-- Information about the crash:
Hello,

I was reading through a sufficiently bad article on www.spiegel.de, followed to the second of two pages and then pressed the back button. I cannot tell if I pressed it twice in a row or just once.

Thanks

SM

 -- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7f317a324760 (LWP 11920))]

Thread 2 (Thread 0x7f316a6eb710 (LWP 11938)):
#0  0x00007f3179bb0113 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3172ce54a9 in g_main_context_poll (context=0x122c790, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.25.15/glib/gmain.c:3063
#2  g_main_context_iterate (context=0x122c790, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2745
#3  0x00007f3172ce58fc in g_main_context_iteration (context=0x122c790, may_block=1) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2813
#4  0x00007f31779ab1e6 in QEventDispatcherGlib::processEvents (this=0x1935250, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007f317797da02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f317797ddec in QEventLoop::exec (this=0x7f316a6eade0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f31778882fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007f317795d5f8 in QInotifyFileSystemWatcherEngine::run (this=0x122e440) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f317788b27e in QThreadPrivate::start (arg=0x122e440) at thread/qthread_unix.cpp:266
#10 0x00007f31733958ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f3179bbb02d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f317a324760 (LWP 11920)):
[KCrash Handler]
#5  0x00007f3166f7e4ae in KJS::JSValue::marked (this=<value optimized out>) at ../../kjs/collector.h:133
#6  KJS::JSVariableObject::mark (this=<value optimized out>) at ../../kjs/JSVariableObject.cpp:84
#7  0x00007f3166f3e37f in KJS::Collector::markStackObjectsConservatively (start=<value optimized out>, end=<value optimized out>) at ../../kjs/collector.cpp:473
#8  0x00007f3166f3e902 in KJS::Collector::markCurrentThreadConservatively () at ../../kjs/collector.cpp:553
#9  0x00007f3166f3e963 in KJS::Collector::collect () at ../../kjs/collector.cpp:687
#10 0x00007f3167ad3f15 in ~KJSProxyImpl (this=0x1fba270, __in_chrg=<value optimized out>) at ../../khtml/ecma/kjs_proxy.cpp:114
#11 0x00007f31678a4f17 in ~ChildFrame (this=0x40406f0, __in_chrg=<value optimized out>) at ../../khtml/khtmlpart_p.h:99
#12 0x00007f316788d28f in ~KHTMLPart (this=0x3135150, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../khtml/khtml_part.cpp:617
#13 0x00007f31794699a0 in KParts::Part::slotWidgetDestroyed (this=0x3135150) at ../../kparts/part.cpp:354
#14 0x00007f3179469a9c in KParts::Part::qt_metacall (this=0x3135150, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff837fcdd0) at ./part.moc:82
#15 0x00007f317946a985 in KParts::ReadOnlyPart::qt_metacall (this=0x0, _c=QMetaObject::ReadProperty, _id=0, _a=0x1) at ./part.moc:166
#16 0x00007f31678a0f2e in KHTMLPart::qt_metacall (this=0x0, _c=QMetaObject::ReadProperty, _id=0, _a=0x1) at ./khtml_part.moc:252
#17 0x00007f3177996b27 in QMetaObject::activate (sender=0x19b6200, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3280
#18 0x00007f317799706f in QObject::destroyed (this=0x0, _t1=0x19b6200) at .moc/release-shared/moc_qobject.cpp:149
#19 0x00007f3177997fd7 in ~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:842
#20 0x00007f3176ac6f6a in ~QWidget (this=0x19b6200, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1580
#21 0x00007f316786e223 in ~KHTMLView (this=0x19b6200, __in_chrg=<value optimized out>) at ../../khtml/khtmlview.cpp:585
#22 0x00007f3177990d5f in QObjectPrivate::deleteChildren (this=0x205a640) at kernel/qobject.cpp:1957
#23 0x00007f3176ac623c in ~QWidget (this=0x3cd4300, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1560
#24 0x00007f3177990d5f in QObjectPrivate::deleteChildren (this=0x1bbbb50) at kernel/qobject.cpp:1957
#25 0x00007f3176ac6ed8 in ~QWidget (this=0x3790620, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1560
#26 0x00007f316786e223 in ~KHTMLView (this=0x3790620, __in_chrg=<value optimized out>) at ../../khtml/khtmlview.cpp:585
#27 0x00007f3179469f9d in ~Part (this=0x14c9c10, __vtt_parm=0x7f3167f4a370, __in_chrg=<value optimized out>) at ../../kparts/part.cpp:208
#28 0x00007f316788d238 in ~KHTMLPart (this=0x14c9c10, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../khtml/khtml_part.cpp:620
#29 0x00007f316788a347 in KHTMLPart::clear (this=0x31948b0) at ../../khtml/khtml_part.cpp:1592
#30 0x00007f316788a80c in KHTMLPart::begin (this=0x31948b0, url=..., xOffset=0, yOffset=1920) at ../../khtml/khtml_part.cpp:2008
#31 0x00007f3167886c38 in KHTMLPart::slotData (this=0x31948b0, kio_job=<value optimized out>, data=...) at ../../khtml/khtml_part.cpp:1699
#32 0x00007f31678a13e8 in KHTMLPart::qt_metacall (this=0x31948b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff837fda20) at ./khtml_part.moc:277
#33 0x00007f3177996b27 in QMetaObject::activate (sender=0x1f3beb0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3280
#34 0x00007f3178acff44 in KIO::TransferJob::data (this=0x0, _t1=0x1f3beb0, _t2=<value optimized out>) at ./jobclasses.moc:388
#35 0x00007f3178ad2760 in KIO::TransferJob::slotData (this=0x1f3beb0, _data=...) at ../../kio/kio/job.cpp:984
#36 0x00007f3178ad62f6 in KIO::TransferJob::qt_metacall (this=0x1f3beb0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff837fdc00) at ./jobclasses.moc:368
#37 0x00007f3177996b27 in QMetaObject::activate (sender=0x286bbe0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3280
#38 0x00007f3178b967d2 in KIO::SlaveInterface::data (this=0x0, _t1=<value optimized out>) at ./slaveinterface.moc:146
#39 0x00007f3178b997c0 in KIO::SlaveInterface::dispatch (this=0x286bbe0, _cmd=100, rawdata=...) at ../../kio/kio/slaveinterface.cpp:163
#40 0x00007f3178b96a83 in KIO::SlaveInterface::dispatch (this=0x286bbe0) at ../../kio/kio/slaveinterface.cpp:91
#41 0x00007f3178b8aef6 in KIO::Slave::gotInput (this=0x286bbe0) at ../../kio/kio/slave.cpp:324
#42 0x00007f3178b8b0dc in KIO::Slave::qt_metacall (this=0x286bbe0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff837fdff0) at ./slave.moc:82
#43 0x00007f3177996b27 in QMetaObject::activate (sender=0x24739b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3280
#44 0x00007f3178aa6ae7 in KIO::ConnectionPrivate::dequeue (this=0x2473b70) at ../../kio/kio/connection.cpp:82
#45 0x00007f3178aa6c0d in KIO::Connection::qt_metacall (this=0x24739b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x35898c0) at ./connection.moc:79
#46 0x00007f3177990bde in QObject::event (this=0x24739b0, e=0x0) at kernel/qobject.cpp:1219
#47 0x00007f3176a6c04c in QApplicationPrivate::notify_helper (this=0x11c1570, receiver=0x24739b0, e=0x1912780) at kernel/qapplication.cpp:4396
#48 0x00007f3176a71b5d in QApplication::notify (this=0x7fff838020b0, receiver=0x24739b0, e=0x1912780) at kernel/qapplication.cpp:4277
#49 0x00007f3178382836 in KApplication::notify (this=0x7fff838020b0, receiver=0x24739b0, event=0x1912780) at ../../kdeui/kernel/kapplication.cpp:302
#50 0x00007f317797ecdc in QCoreApplication::notifyInternal (this=0x7fff838020b0, receiver=0x24739b0, event=0x1912780) at kernel/qcoreapplication.cpp:732
#51 0x00007f3177981c22 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x11a5350) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#52 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x11a5350) at kernel/qcoreapplication.cpp:1373
#53 0x00007f31779ab653 in QCoreApplication::sendPostedEvents (s=0x11c51c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#54 postEventSourceDispatch (s=0x11c51c0) at kernel/qeventdispatcher_glib.cpp:277
#55 0x00007f3172ce17e2 in g_main_dispatch (context=0x11c4120) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2119
#56 g_main_context_dispatch (context=0x11c4120) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2672
#57 0x00007f3172ce5748 in g_main_context_iterate (context=0x11c4120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2750
#58 0x00007f3172ce58fc in g_main_context_iteration (context=0x11c4120, may_block=1) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2813
#59 0x00007f31779ab193 in QEventDispatcherGlib::processEvents (this=0x11a4e60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#60 0x00007f3176b1e85e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#61 0x00007f317797da02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#62 0x00007f317797ddec in QEventLoop::exec (this=0x7fff837fea40, flags=) at kernel/qeventloop.cpp:201
#63 0x00007f3178b6f51c in KIO::NetAccess::enter_loop (this=0x7fff837feae0) at ../../kio/kio/netaccess.cpp:502
#64 0x00007f3178b6fb6f in KIO::NetAccess::synchronousRunInternal (this=0x7fff837feae0, job=0x326cc90, window=<value optimized out>, data=0x7fff837fec90, finalURL=0x7fff837febf0, 
    metaData=0x7fff837fec70) at ../../kio/kio/netaccess.cpp:487
#65 0x00007f3178b70321 in KIO::NetAccess::synchronousRun (job=0x326cc90, window=0x0, data=0x7fff837fec90, finalURL=0x7fff837febf0, metaData=<value optimized out>) at ../../kio/kio/netaccess.cpp:277
#66 0x00007f3167af8d17 in KJS::XMLHttpRequest::send (this=0x7f3160b40180, _body=<value optimized out>, ec=<value optimized out>) at ../../khtml/ecma/xmlhttprequest.cpp:509
#67 0x00007f3167af9ffa in KJS::XMLHttpRequestProtoFunc::callAsFunction (this=<value optimized out>, exec=0x7fff837ff870, thisObj=0x7f3160b40180, args=...) at ../../khtml/ecma/xmlhttprequest.cpp:912
#68 0x00007f3166f6e3f9 in KJS::JSObject::call (this=0x0, exec=0x7f31671c2850, thisObj=0x0, args=...) at ../../kjs/object.cpp:70
#69 0x00007f3166f8a584 in KJS::Machine::runBlock (exec=0x7fff837ff870, codeBlock=<value optimized out>, parentExec=<value optimized out>) at codes.def:1192
#70 0x00007f3166f6ab47 in KJS::FunctionImp::callAsFunction (this=0x7f3160b3b100, exec=0x7fff838002f0, thisObj=<value optimized out>, args=<value optimized out>) at ../../kjs/function.cpp:144
#71 0x00007f3166f6e3f9 in KJS::JSObject::call (this=0x0, exec=0x7f31671c2850, thisObj=0x0, args=...) at ../../kjs/object.cpp:70
#72 0x00007f3166f8a584 in KJS::Machine::runBlock (exec=0x7fff838002f0, codeBlock=<value optimized out>, parentExec=<value optimized out>) at codes.def:1192
#73 0x00007f3166f403a3 in KJS::FunctionBodyNode::execute (this=0x1fa4430, exec=0x7fff838002f0) at ../../kjs/nodes.cpp:927
#74 0x00007f3166f712ea in KJS::Interpreter::evaluate (this=0x1b22df0, sourceURL=..., startingLineNumber=9, code=<value optimized out>, codeLength=<value optimized out>, thisV=0x7f3160b40080)
    at ../../kjs/interpreter.cpp:556
#75 0x00007f3166f71433 in KJS::Interpreter::evaluate (this=0x1, sourceURL=..., startingLineNumber=1, code=<value optimized out>, thisV=<value optimized out>) at ../../kjs/interpreter.cpp:496
#76 0x00007f3167ad4720 in KJS::KJSProxyImpl::evaluate (this=0x1fba270, filename=) at ../../khtml/ecma/kjs_proxy.cpp:158
#77 0x00007f316787bae0 in KHTMLPart::executeScript (this=0x3135150, filename=..., baseLine=9, n=<value optimized out>, script=<value optimized out>) at ../../khtml/khtml_part.cpp:1323
#78 0x00007f316792c702 in khtml::HTMLTokenizer::scriptExecution (this=0x19fb4b0, str=<value optimized out>, scriptURL=<value optimized out>, baseLine=9) at ../../khtml/html/htmltokenizer.cpp:501
#79 0x00007f3167931d16 in khtml::HTMLTokenizer::scriptHandler (this=0x19fb4b0) at ../../khtml/html/htmltokenizer.cpp:454
#80 0x00007f3167933bad in khtml::HTMLTokenizer::parseSpecial (this=0x19fb4b0, src=...) at ../../khtml/html/htmltokenizer.cpp:369
#81 0x00007f3167935f0e in khtml::HTMLTokenizer::parseTag (this=0x19fb4b0, src=...) at ../../khtml/html/htmltokenizer.cpp:1550
#82 0x00007f3167936ae0 in khtml::HTMLTokenizer::write (this=0x19fb4b0, str=<value optimized out>, appendData=<value optimized out>) at ../../khtml/html/htmltokenizer.cpp:1810
#83 0x00007f31678842f3 in KHTMLPart::write (this=<value optimized out>, 
    data=0x368ef48 "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" >\n<head>\n</head>\n<body style=\"margi"..., len=<value optimized out>) at ../../khtml/khtml_part.cpp:2099
#84 0x00007f31678774a4 in KHTMLPart::slotRestoreData (this=0x3135150, data=...) at ../../khtml/khtml_part.cpp:1804
#85 0x00007f31678a13a0 in KHTMLPart::qt_metacall (this=0x3135150, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff83801470) at ./khtml_part.moc:279
#86 0x00007f3177996b27 in QMetaObject::activate (sender=0x1ebd110, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3280
#87 0x00007f31678c5492 in KHTMLPageCacheDelivery::emitData (this=0x0, _t1=<value optimized out>) at ./khtml_pagecache.moc:147
#88 0x00007f31678c5aa6 in KHTMLPageCache::sendData (this=0x14c1d90) at ../../khtml/khtml_pagecache.cpp:250
#89 0x00007f31678c65c9 in KHTMLPageCache::qt_metacall (this=0x14c1d90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1d21fe0) at ./khtml_pagecache.moc:75
#90 0x00007f3177990bde in QObject::event (this=0x14c1d90, e=0x0) at kernel/qobject.cpp:1219
#91 0x00007f3176a6c04c in QApplicationPrivate::notify_helper (this=0x11c1570, receiver=0x14c1d90, e=0x16780c0) at kernel/qapplication.cpp:4396
#92 0x00007f3176a71b5d in QApplication::notify (this=0x7fff838020b0, receiver=0x14c1d90, e=0x16780c0) at kernel/qapplication.cpp:4277
#93 0x00007f3178382836 in KApplication::notify (this=0x7fff838020b0, receiver=0x14c1d90, event=0x16780c0) at ../../kdeui/kernel/kapplication.cpp:302
#94 0x00007f317797ecdc in QCoreApplication::notifyInternal (this=0x7fff838020b0, receiver=0x14c1d90, event=0x16780c0) at kernel/qcoreapplication.cpp:732
#95 0x00007f3177981c22 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x11a5350) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#96 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x11a5350) at kernel/qcoreapplication.cpp:1373
#97 0x00007f31779ab653 in QCoreApplication::sendPostedEvents (s=0x11c51c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#98 postEventSourceDispatch (s=0x11c51c0) at kernel/qeventdispatcher_glib.cpp:277
#99 0x00007f3172ce17e2 in g_main_dispatch (context=0x11c4120) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2119
#100 g_main_context_dispatch (context=0x11c4120) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2672
#101 0x00007f3172ce5748 in g_main_context_iterate (context=0x11c4120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2750
#102 0x00007f3172ce58fc in g_main_context_iteration (context=0x11c4120, may_block=1) at /build/buildd/glib2.0-2.25.15/glib/gmain.c:2813
#103 0x00007f31779ab193 in QEventDispatcherGlib::processEvents (this=0x11a4e60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#104 0x00007f3176b1e85e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#105 0x00007f317797da02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#106 0x00007f317797ddec in QEventLoop::exec (this=0x7fff83801ea0, flags=) at kernel/qeventloop.cpp:201
#107 0x00007f3177981ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#108 0x00007f3179f1075b in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../apps/konqueror/src/konqmain.cpp:257
#109 0x00007f3179b0ac4d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff83802a88) at libc-start.c:228
#110 0x0000000000400679 in _start ()
The current source language is "auto; currently c".
The current source language is "auto; currently asm".

Possible duplicates by query: bug 244235, bug 226204, bug 219439, bug 212248, bug 209812.

Reported using DrKonqi
Comment 1 Raúl 2011-04-29 11:51:59 UTC
Created attachment 59416 [details]
Valgrind log.

KDE 4.4.5 on Debian Squeeze
Comment 2 Raúl 2011-04-29 12:26:02 UTC
Created attachment 59418 [details]
Saved session file trigerring crash.

Steps to reproduce:
1- Make sure you cleanly exit konqueror so ~/.kde/share/apps/konqueror/autosave dir is empty
2- Copy attached _1.2786 file to ~/.kde/share/apps/konqueror/autosave dir
3- run konqueror (preferably on a konsole)
4- Let it load and see the crash.

If the crash you have is not the one from this bug, just exit DrKonqi normally and repeat steps 3 and 4.
Comment 3 Andrew Crouthamel 2018-10-29 22:41:10 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Steffen Möller 2018-10-29 23:54:48 UTC
Please close the bug without further investigation.
Comment 5 Andrew Crouthamel 2018-10-30 13:10:19 UTC
Thanks for the update!