Bug 315014 - Konqueror crashes when reloading changes javascript that is being debugged
Summary: Konqueror crashes when reloading changes javascript that is being debugged
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.9.5
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-12 19:24 UTC by Jos van den Oever
Modified: 2021-01-12 04:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jos van den Oever 2013-02-12 19:24:39 UTC
Application: konqueror (4.9.5)
KDE Platform Version: 4.9.5
Qt Version: 4.8.4
Operating System: Linux 3.7.3-101.fc17.x86_64 x86_64
Distribution: "Fedora release 17 (Beefy Miracle)"

-- Information about the crash:
- What I was doing when the application crashed:

Loaded a web page from a local server in konqueror which reported a javascript bug. Pressed 'Debug' to open the debugger. Stepped through a few lines. Changed the underlying javascript and reloaded by pressing F5 in the konqueror window. This crashed konqueror.

The crash can be reproduced every time.

-- Backtrace:
Application: Konqueror (konqueror), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f5c2907a880 (LWP 9896))]

Thread 2 (Thread 0x7f5c197c0700 (LWP 9906)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x0000003ce1386797 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x3ce1694640) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x0000003ce13867c9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x0000003d32807d14 in start_thread (arg=0x7f5c197c0700) at pthread_create.c:309
#4  0x000000396d6f168d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f5c2907a880 (LWP 9896)):
[KCrash Handler]
#6  0x000000396d635935 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x000000396d6370e8 in __GI_abort () at abort.c:91
#8  0x0000003cd3471524 in qt_message_output (msgType=<optimized out>, buf=<optimized out>) at global/qglobal.cpp:2323
#9  0x0000003ce8a9eaa8 in ~QDebug (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/QtCore/qdebug.h:85
#10 fatalAssert (shouldBeTrue=168, error=0x1a6e490 "\320\350\214\323<") at /usr/src/debug/kdelibs-4.9.5/khtml/ecma/debugger/debugwindow.cpp:452
#11 0x0000003ce8aa28e0 in KJSDebugger::DebugWindow::clearInterpreter (this=0x1a70cb0, interp=0x26a8) at /usr/src/debug/kdelibs-4.9.5/khtml/ecma/debugger/debugwindow.cpp:486
#12 0x0000003ce8a60eb3 in KJSProxy::clear (this=0x1ab3810) at /usr/src/debug/kdelibs-4.9.5/khtml/ecma/kjs_proxy.cpp:182
#13 0x0000003ce882cd8a in KHTMLPart::clear (this=this@entry=0x1863000) at /usr/src/debug/kdelibs-4.9.5/khtml/khtml_part.cpp:1528
#14 0x0000003ce882d320 in KHTMLPart::begin (this=this@entry=0x1863000, url=..., xOffset=0, yOffset=yOffset@entry=0) at /usr/src/debug/kdelibs-4.9.5/khtml/khtml_part.cpp:2014
#15 0x0000003ce88028d7 in KHTMLPart::slotData (this=0x1863000, kio_job=<optimized out>, data=...) at /usr/src/debug/kdelibs-4.9.5/khtml/khtml_part.cpp:1676
#16 0x0000003ce882c4cf in KHTMLPart::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdelibs-4.9.5/x86_64-redhat-linux-gnu/khtml/khtml_part.moc:252
#17 0x0000003cd358cdbf in QMetaObject::activate (sender=0x1987530, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa0e5f6c0) at kernel/qobject.cpp:3539
#18 0x0000003cd8ef8944 in KIO::TransferJob::data (this=this@entry=0x1987530, _t1=_t1@entry=0x1987530, _t2=...) at /usr/src/debug/kdelibs-4.9.5/x86_64-redhat-linux-gnu/kio/jobclasses.moc:446
#19 0x0000003cd8ef89a3 in KIO::TransferJob::slotData (this=0x1987530, _data=...) at /usr/src/debug/kdelibs-4.9.5/kio/kio/job.cpp:981
#20 0x0000003cd358cdbf in QMetaObject::activate (sender=0x15baab0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa0e5f870) at kernel/qobject.cpp:3539
#21 0x0000003cd8f97532 in KIO::SlaveInterface::data (this=this@entry=0x15baab0, _t1=...) at /usr/src/debug/kdelibs-4.9.5/x86_64-redhat-linux-gnu/kio/slaveinterface.moc:159
#22 0x0000003cd8f9a040 in KIO::SlaveInterface::dispatch (this=0x15baab0, _cmd=100, rawdata=...) at /usr/src/debug/kdelibs-4.9.5/kio/kio/slaveinterface.cpp:160
#23 0x0000003cd8f96e6a in KIO::SlaveInterface::dispatch (this=0x15baab0) at /usr/src/debug/kdelibs-4.9.5/kio/kio/slaveinterface.cpp:88
#24 0x0000003cd8f8b2ce in KIO::Slave::gotInput (this=0x15baab0) at /usr/src/debug/kdelibs-4.9.5/kio/kio/slave.cpp:344
#25 0x0000003cd358cdbf in QMetaObject::activate (sender=0x15a6a40, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#26 0x0000003cd8ecc1c2 in dequeue (this=<optimized out>) at /usr/src/debug/kdelibs-4.9.5/kio/kio/connection.cpp:82
#27 KIO::ConnectionPrivate::dequeue (this=0x1713eb0) at /usr/src/debug/kdelibs-4.9.5/kio/kio/connection.cpp:71
#28 0x0000003cd358c29e in QObject::event (this=0x15a6a40, e=<optimized out>) at kernel/qobject.cpp:1194
#29 0x0000003cd4dca5ac in QApplicationPrivate::notify_helper (this=this@entry=0x13c1650, receiver=receiver@entry=0x15a6a40, e=e@entry=0x2122510) at kernel/qapplication.cpp:4562
#30 0x0000003cd4dcea2a in QApplication::notify (this=0x7fffa0e630d0, receiver=0x15a6a40, e=0x2122510) at kernel/qapplication.cpp:4423
#31 0x0000003cd60468c6 in KApplication::notify (this=0x7fffa0e630d0, receiver=0x15a6a40, event=0x2122510) at /usr/src/debug/kdelibs-4.9.5/kdeui/kernel/kapplication.cpp:311
#32 0x0000003cd357799e in QCoreApplication::notifyInternal (this=0x7fffa0e630d0, receiver=receiver@entry=0x15a6a40, event=event@entry=0x2122510) at kernel/qcoreapplication.cpp:946
#33 0x0000003cd357b451 in sendEvent (event=0x2122510, receiver=0x15a6a40) at kernel/qcoreapplication.h:231
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x138b150) at kernel/qcoreapplication.cpp:1570
#35 0x0000003cd35a5e33 in sendPostedEvents () at kernel/qcoreapplication.h:236
#36 postEventSourceDispatch (s=s@entry=0x13b8760) at kernel/qeventdispatcher_glib.cpp:279
#37 0x00000031dce47825 in g_main_dispatch (context=0x13c3300) at gmain.c:2539
#38 g_main_context_dispatch (context=context@entry=0x13c3300) at gmain.c:3075
#39 0x00000031dce47b58 in g_main_context_iterate (context=context@entry=0x13c3300, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146
#40 0x00000031dce47c14 in g_main_context_iteration (context=0x13c3300, may_block=1) at gmain.c:3207
#41 0x0000003cd35a5fc6 in QEventDispatcherGlib::processEvents (this=0x138c610, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#42 0x0000003cd4e6a5ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#43 0x0000003cd35766ef in QEventLoop::processEvents (this=this@entry=0x7fffa0e60580, flags=...) at kernel/qeventloop.cpp:149
#44 0x0000003cd3576978 in QEventLoop::exec (this=0x7fffa0e60580, flags=...) at kernel/qeventloop.cpp:204
#45 0x0000003ce8aa40b7 in KJSDebugger::DebugWindow::enterLoop (this=this@entry=0x1a70cb0) at /usr/src/debug/kdelibs-4.9.5/khtml/ecma/debugger/debugwindow.cpp:1065
#46 0x0000003ce8aa429d in KJSDebugger::DebugWindow::enterDebugSession (this=this@entry=0x1a70cb0, exec=exec@entry=0x7fffa0e609c0, document=<optimized out>, line=line@entry=6) at /usr/src/debug/kdelibs-4.9.5/khtml/ecma/debugger/debugwindow.cpp:1017
#47 0x0000003ce8aa44fb in KJSDebugger::DebugWindow::checkSourceLocation (this=this@entry=0x1a70cb0, exec=exec@entry=0x7fffa0e609c0, sourceId=sourceId@entry=3, firstLine=firstLine@entry=6, lastLine=lastLine@entry=5) at /usr/src/debug/kdelibs-4.9.5/khtml/ecma/debugger/debugwindow.cpp:728
#48 0x0000003ce8aa473b in KJSDebugger::DebugWindow::atStatement (this=0x1a70cb0, exec=0x7fffa0e609c0, sourceId=3, firstLine=6, lastLine=5) at /usr/src/debug/kdelibs-4.9.5/khtml/ecma/debugger/debugwindow.cpp:693
#49 0x0000003ce3073d3f in KJS::Machine::runBlock (exec=0x7fffa0e609c0, codeBlock=..., parentExec=0x7fffa0e60e50) at codes.def:230
#50 0x0000003ce305db88 in KJS::FunctionImp::callAsFunction (this=0x7f5c1a9822c0, exec=0x7fffa0e60e50, thisObj=<optimized out>, args=...) at /usr/src/debug/kdelibs-4.9.5/kjs/function.cpp:173
#51 0x0000003ce307954a in call (args=..., thisObj=<optimized out>, exec=<optimized out>, this=<optimized out>) at /usr/src/debug/kdelibs-4.9.5/kjs/object.h:614
#52 KJS::Machine::runBlock (exec=0x7fffa0e60e50, codeBlock=..., parentExec=0x7fffa0e612e0) at codes.def:1223
#53 0x0000003ce305db88 in KJS::FunctionImp::callAsFunction (this=0x7f5c1a9821c0, exec=0x7fffa0e612e0, thisObj=<optimized out>, args=...) at /usr/src/debug/kdelibs-4.9.5/kjs/function.cpp:173
#54 0x0000003ce307954a in call (args=..., thisObj=<optimized out>, exec=<optimized out>, this=<optimized out>) at /usr/src/debug/kdelibs-4.9.5/kjs/object.h:614
#55 KJS::Machine::runBlock (exec=0x7fffa0e612e0, codeBlock=..., parentExec=0x1b646d0) at codes.def:1223
#56 0x0000003ce305db88 in KJS::FunctionImp::callAsFunction (this=0x7f5c1a982f40, exec=0x1b646d0, thisObj=<optimized out>, args=...) at /usr/src/debug/kdelibs-4.9.5/kjs/function.cpp:173
#57 0x0000003ce8a7a99a in call (args=..., thisObj=0x7f5c1a990000, exec=0x1b646d0, this=<optimized out>) at /usr/src/debug/kdelibs-4.9.5/kjs/object.h:614
#58 KJS::JSEventListener::handleEvent (this=0x1b625e0, evt=...) at /usr/src/debug/kdelibs-4.9.5/khtml/ecma/kjs_events.cpp:108
#59 0x0000003ce88b1c0d in DOM::EventTargetImpl::handleLocalEvents (this=0x1e5bc50, evt=0x1a472b0, useCapture=false) at /usr/src/debug/kdelibs-4.9.5/khtml/xml/dom2_eventsimpl.cpp:62
#60 0x0000003ce888dbf0 in DOM::NodeImpl::dispatchGenericEvent (this=this@entry=0x1a98908, evt=evt@entry=0x1a472b0) at /usr/src/debug/kdelibs-4.9.5/khtml/xml/dom_nodeimpl.cpp:469
#61 0x0000003ce888dcec in DOM::NodeImpl::dispatchWindowEvent (this=0x1a98908, evt=0x1a472b0) at /usr/src/debug/kdelibs-4.9.5/khtml/xml/dom_nodeimpl.cpp:542
#62 0x0000003ce88e43b8 in DOM::HTMLDocumentImpl::close (this=0x1a988f0) at /usr/src/debug/kdelibs-4.9.5/khtml/html/html_documentimpl.cpp:237
#63 0x0000003ce87fed73 in KHTMLPart::checkEmitLoadEvent (this=this@entry=0x1863000) at /usr/src/debug/kdelibs-4.9.5/khtml/khtml_part.cpp:2505
#64 0x0000003ce8813493 in KHTMLPart::slotFinishedParsing (this=0x1863000) at /usr/src/debug/kdelibs-4.9.5/khtml/khtml_part.cpp:2229
#65 0x0000003ce882c4fc in KHTMLPart::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdelibs-4.9.5/x86_64-redhat-linux-gnu/khtml/khtml_part.moc:255
#66 0x0000003cd358cdbf in QMetaObject::activate (sender=0x1a988f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#67 0x0000003cd358cdbf in QMetaObject::activate (sender=0x1986900, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#68 0x0000003ce88d1299 in khtml::HTMLTokenizer::write (this=0x1986900, str=..., appendData=<optimized out>) at /usr/src/debug/kdelibs-4.9.5/khtml/html/htmltokenizer.cpp:1890
#69 0x0000003ce88d236e in khtml::HTMLTokenizer::notifyFinished (this=0x1986900, finishedObj=<optimized out>) at /usr/src/debug/kdelibs-4.9.5/khtml/html/htmltokenizer.cpp:2133
#70 0x0000003ce89e615f in khtml::CachedScript::checkNotify (this=this@entry=0x1dfbf80) at /usr/src/debug/kdelibs-4.9.5/khtml/misc/loader.cpp:397
#71 0x0000003ce89e6304 in khtml::CachedScript::data (this=0x1dfbf80, buffer=..., eof=<optimized out>) at /usr/src/debug/kdelibs-4.9.5/khtml/misc/loader.cpp:389
#72 0x0000003ce89e837e in khtml::Loader::slotFinished (this=0x1879b60, job=0x1db2920) at /usr/src/debug/kdelibs-4.9.5/khtml/misc/loader.cpp:1262
#73 0x0000003cd358cdbf in QMetaObject::activate (sender=0x1db2920, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa0e61d80) at kernel/qobject.cpp:3539
#74 0x0000003cd4733e92 in KJob::result (this=this@entry=0x1db2920, _t1=_t1@entry=0x1db2920) at /usr/src/debug/kdelibs-4.9.5/x86_64-redhat-linux-gnu/kdecore/kjob.moc:207
#75 0x0000003cd4733ed0 in KJob::emitResult (this=0x1db2920) at /usr/src/debug/kdelibs-4.9.5/kdecore/jobs/kjob.cpp:318
#76 0x0000003cd8ef7285 in KIO::SimpleJob::slotFinished (this=this@entry=0x1db2920) at /usr/src/debug/kdelibs-4.9.5/kio/kio/job.cpp:494
#77 0x0000003cd8efe772 in KIO::TransferJob::slotFinished (this=0x1db2920) at /usr/src/debug/kdelibs-4.9.5/kio/kio/job.cpp:1081
#78 0x0000003cd358cdbf in QMetaObject::activate (sender=0x15baab0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#79 0x0000003cd8f99d91 in KIO::SlaveInterface::dispatch (this=0x15baab0, _cmd=104, rawdata=...) at /usr/src/debug/kdelibs-4.9.5/kio/kio/slaveinterface.cpp:172
#80 0x0000003cd8f96e6a in KIO::SlaveInterface::dispatch (this=0x15baab0) at /usr/src/debug/kdelibs-4.9.5/kio/kio/slaveinterface.cpp:88
#81 0x0000003cd8f8b2ce in KIO::Slave::gotInput (this=0x15baab0) at /usr/src/debug/kdelibs-4.9.5/kio/kio/slave.cpp:344
#82 0x0000003cd358cdbf in QMetaObject::activate (sender=0x15a6a40, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#83 0x0000003cd8ecc1c2 in dequeue (this=<optimized out>) at /usr/src/debug/kdelibs-4.9.5/kio/kio/connection.cpp:82
#84 KIO::ConnectionPrivate::dequeue (this=0x1713eb0) at /usr/src/debug/kdelibs-4.9.5/kio/kio/connection.cpp:71
#85 0x0000003cd358c29e in QObject::event (this=0x15a6a40, e=<optimized out>) at kernel/qobject.cpp:1194
#86 0x0000003cd4dca5ac in QApplicationPrivate::notify_helper (this=this@entry=0x13c1650, receiver=receiver@entry=0x15a6a40, e=e@entry=0x1e6ef50) at kernel/qapplication.cpp:4562
#87 0x0000003cd4dcea2a in QApplication::notify (this=0x7fffa0e630d0, receiver=0x15a6a40, e=0x1e6ef50) at kernel/qapplication.cpp:4423
#88 0x0000003cd60468c6 in KApplication::notify (this=0x7fffa0e630d0, receiver=0x15a6a40, event=0x1e6ef50) at /usr/src/debug/kdelibs-4.9.5/kdeui/kernel/kapplication.cpp:311
#89 0x0000003cd357799e in QCoreApplication::notifyInternal (this=0x7fffa0e630d0, receiver=receiver@entry=0x15a6a40, event=event@entry=0x1e6ef50) at kernel/qcoreapplication.cpp:946
#90 0x0000003cd357b451 in sendEvent (event=0x1e6ef50, receiver=0x15a6a40) at kernel/qcoreapplication.h:231
#91 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x138b150) at kernel/qcoreapplication.cpp:1570
#92 0x0000003cd35a5e33 in sendPostedEvents () at kernel/qcoreapplication.h:236
#93 postEventSourceDispatch (s=s@entry=0x13b8760) at kernel/qeventdispatcher_glib.cpp:279
#94 0x00000031dce47825 in g_main_dispatch (context=0x13c3300) at gmain.c:2539
#95 g_main_context_dispatch (context=context@entry=0x13c3300) at gmain.c:3075
#96 0x00000031dce47b58 in g_main_context_iterate (context=context@entry=0x13c3300, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146
#97 0x00000031dce47c14 in g_main_context_iteration (context=0x13c3300, may_block=1) at gmain.c:3207
#98 0x0000003cd35a5fc6 in QEventDispatcherGlib::processEvents (this=0x138c610, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#99 0x0000003cd4e6a5ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#100 0x0000003cd35766ef in QEventLoop::processEvents (this=this@entry=0x7fffa0e62dd0, flags=...) at kernel/qeventloop.cpp:149
#101 0x0000003cd3576978 in QEventLoop::exec (this=0x7fffa0e62dd0, flags=...) at kernel/qeventloop.cpp:204
#102 0x0000003cd357b768 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#103 0x0000003cd9cb07c2 in kdemain () from /lib64/libkdeinit4_konqueror.so
#104 0x000000396d621735 in __libc_start_main (main=0x400820, argc=2, ubp_av=0x7fffa0e63358, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa0e63348) at libc-start.c:226
#105 0x0000000000400851 in _start ()

Possible duplicates by query: bug 314342, bug 307311, bug 306037, bug 301897, bug 297773.

Reported using DrKonqi
Comment 1 Justin Zobel 2020-12-13 02:31:35 UTC
Thank you for the crash report, Jos.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 2 Bug Janitor Service 2020-12-28 04:34:49 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2021-01-12 04:34:24 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!