Application that crashed: konqueror Version of the application: 4.2.98 (KDE 4.2.98 (KDE 4.3 RC3)) KDE Version: 4.2.98 (KDE 4.2.98 (KDE 4.3 RC3)) Qt Version: 4.5.0 Operating System: Linux 2.6.28-14-generic x86_64 Distribution: Ubuntu 9.04 What I was doing when the application crashed: Went to a website as the first page straight after loading konqueror. Server detected error with request and set back a response which gives a popup, the text was "ID does not exist. Returning to Previous screen". The response is not the responsibility of konqueror, but the text suggests that the javascript would invoke the back in your history functionality of the browser. I'm not sure if that's permitted, but since I hadn't gone to any other pages, perhaps there's a bug in the "back" functionality if there is nothing to go back to. Using wireshark to capture the TCP conversation with the server, then looking at the HTML response I see the following javascript: <SCRIPT LANGUAGE="JavaScript"> <!-- alert("ID does not exist. Returning to Previous screen."); history.back(); //--> </SCRIPT> When I click OK on the popup, konqueror crashes. This may be due to bugs invoking history.back() when there is no history to rewind. I did some further testing, loaded konqueror, went to some pages to populate the history list. Then went to the problem web site. Got the popup again, but still saw the crash. Therefore whether the history list is empty or not does not seem to be the problem here. Hope the stack trace gives you more clues. -- Backtrace: Application: Konqueror (kdeinit4), signal: Segmentation fault [KCrash Handler] #5 khtml::HTMLTokenizer::scriptHandler (this=0x2006190) at /build/buildd/kde4libs-4.2.98a/khtml/html/htmltokenizer.cpp:469 #6 0x00007f48da4702a5 in khtml::HTMLTokenizer::parseSpecial (this=0x2006190, src=@0x20066f8) at /build/buildd/kde4libs-4.2.98a/khtml/html/htmltokenizer.cpp:369 #7 0x00007f48da471f10 in khtml::HTMLTokenizer::parseTag (this=0x2006190, src=@0x20066f8) at /build/buildd/kde4libs-4.2.98a/khtml/html/htmltokenizer.cpp:1550 #8 0x00007f48da473412 in khtml::HTMLTokenizer::write (this=0x2006190, str=@0x7ffff949be80, appendData=true) at /build/buildd/kde4libs-4.2.98a/khtml/html/htmltokenizer.cpp:1810 #9 0x00007f48da3b5ff9 in KHTMLPart::write (this=0x267ac40, str=@0x7ffff949bef0) at /build/buildd/kde4libs-4.2.98a/khtml/khtml_part.cpp:2125 #10 0x00007f48da3ad0d4 in KHTMLPart::end (this=0x267ac40) at /build/buildd/kde4libs-4.2.98a/khtml/khtml_part.cpp:2137 #11 0x00007f48da3b4762 in KHTMLPart::slotFinished (this=0x267ac40, job=0x3509da0) at /build/buildd/kde4libs-4.2.98a/khtml/khtml_part.cpp:1986 #12 0x00007f48da3db4a1 in KHTMLPart::qt_metacall (this=0x267ac40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff949c1c0) at /build/buildd/kde4libs-4.2.98a/obj-x86_64-linux-gnu/khtml/khtml_part.moc:269 #13 0x00007f48f0f9e1f2 in QMetaObject::activate (sender=0x3509da0, from_signal_index=<value optimized out>, to_signal_index=7, argv=0x1) at kernel/qobject.cpp:3069 #14 0x00007f48f0aa9512 in KJob::result (this=0x7ffff949b7b0, _t1=0x3509da0) at /build/buildd/kde4libs-4.2.98a/obj-x86_64-linux-gnu/kdecore/kjob.moc:188 #15 0x00007f48f0aa988f in KJob::emitResult (this=0x3509da0) at /build/buildd/kde4libs-4.2.98a/kdecore/jobs/kjob.cpp:304 #16 0x00007f48f00a4290 in KIO::SimpleJob::slotFinished (this=0x3509da0) at /build/buildd/kde4libs-4.2.98a/kio/kio/job.cpp:477 #17 0x00007f48f00a4743 in KIO::TransferJob::slotFinished (this=0x3509da0) at /build/buildd/kde4libs-4.2.98a/kio/kio/job.cpp:948 #18 0x00007f48f009f535 in KIO::TransferJob::qt_metacall (this=0x3509da0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff949c5c0) at /build/buildd/kde4libs-4.2.98a/obj-x86_64-linux-gnu/kio/jobclasses.moc:343 #19 0x00007f48f0f9e1f2 in QMetaObject::activate (sender=0x3317750, from_signal_index=<value optimized out>, to_signal_index=8, argv=0x1) at kernel/qobject.cpp:3069 #20 0x00007f48f0160a01 in KIO::SlaveInterface::dispatch (this=0x3317750, _cmd=104, rawdata=<value optimized out>) at /build/buildd/kde4libs-4.2.98a/kio/kio/slaveinterface.cpp:175 #21 0x00007f48f015d552 in KIO::SlaveInterface::dispatch (this=0x3317750) at /build/buildd/kde4libs-4.2.98a/kio/kio/slaveinterface.cpp:91 #22 0x00007f48f01500d3 in KIO::Slave::gotInput (this=0x3317750) at /build/buildd/kde4libs-4.2.98a/kio/kio/slave.cpp:322 #23 0x00007f48f0152338 in KIO::Slave::qt_metacall (this=0x3317750, _c=QMetaObject::InvokeMetaMethod, _id=6337920, _a=0x7ffff949c9e0) at /build/buildd/kde4libs-4.2.98a/obj-x86_64-linux-gnu/kio/slave.moc:76 #24 0x00007f48f0f9e1f2 in QMetaObject::activate (sender=0x3437e80, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x1) at kernel/qobject.cpp:3069 #25 0x00007f48f006d761 in KIO::ConnectionPrivate::dequeue (this=0x33288c0) at /build/buildd/kde4libs-4.2.98a/kio/kio/connection.cpp:82 #26 0x00007f48f006dbba in KIO::Connection::qt_metacall (this=0x3437e80, _c=QMetaObject::InvokeMetaMethod, _id=6337920, _a=0x2d11b30) at /build/buildd/kde4libs-4.2.98a/obj-x86_64-linux-gnu/kio/connection.moc:73 #27 0x00007f48f0f98848 in QObject::event (this=0x3437e80, e=0x29d03e0) at kernel/qobject.cpp:1118 #28 0x00007f48ee51078d in QApplicationPrivate::notify_helper (this=0x16d7ed0, receiver=0x3437e80, e=0x29d03e0) at kernel/qapplication.cpp:4084 #29 0x00007f48ee51897a in QApplication::notify (this=0x7ffff949d620, receiver=0x3437e80, e=0x29d03e0) at kernel/qapplication.cpp:4049 #30 0x00007f48ef65371b in KApplication::notify (this=0x7ffff949d620, receiver=0x3437e80, event=0x29d03e0) at /build/buildd/kde4libs-4.2.98a/kdeui/kernel/kapplication.cpp:302 #31 0x00007f48f0f8875c in QCoreApplication::notifyInternal (this=0x7ffff949d620, receiver=0x3437e80, event=0x29d03e0) at kernel/qcoreapplication.cpp:602 #32 0x00007f48f0f893ca in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1641320) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213 #33 0x00007f48f0fb21e3 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #34 0x00007f48ecf6e20a in IA__g_main_context_dispatch (context=0x16da920) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814 #35 0x00007f48ecf718e0 in g_main_context_iterate (context=0x16da920, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448 #36 0x00007f48ecf71a7c in IA__g_main_context_iteration (context=0x16da920, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511 #37 0x00007f48f0fb1e6f in QEventDispatcherGlib::processEvents (this=0x16d75e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323 #38 0x00007f48ee5a8bef in QGuiEventDispatcherGlib::processEvents (this=0x7ffff949b7b0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202 #39 0x00007f48f0f87002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -112602272}) at kernel/qeventloop.cpp:149 #40 0x00007f48f0f873cd in QEventLoop::exec (this=0x7ffff949d3a0, flags={i = -112602192}) at kernel/qeventloop.cpp:200 #41 0x00007f48f0f89694 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880 #42 0x00007f48e5b69d02 in kdemain () from /usr/lib/libkdeinit4_konqueror.so #43 0x0000000000407215 in launch (argc=2, _name=0x167c588 "/usr/bin/konqueror", args=<value optimized out>, cwd=0x0, envc=0, envs=0x167c5ac "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x167c5b4 "opwv-pfee-t400;1248857691;529749;4758_TIME184701") at /build/buildd/kde4libs-4.2.98a/kinit/kinit.cpp:676 #44 0x0000000000407a38 in handle_launcher_request (sock=7, who=<value optimized out>) at /build/buildd/kde4libs-4.2.98a/kinit/kinit.cpp:1168 #45 0x0000000000407fe5 in handle_requests (waitForPid=0) at /build/buildd/kde4libs-4.2.98a/kinit/kinit.cpp:1361 #46 0x0000000000408b26 in main (argc=2, argv=0x7ffff949ed08, envp=0x7ffff949ed20) at /build/buildd/kde4libs-4.2.98a/kinit/kinit.cpp:1788 Reported using DrKonqi
Backtrace looks related to bug 199377 too. Thanks
Agreed, stack traces match. *** This bug has been marked as a duplicate of bug 199377 ***