Bug 283271 - Random crash KJS, pointers, tab close related
Summary: Random crash KJS, pointers, tab close related
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: kjs (show other bugs)
Version: 4.6.5
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-03 19:50 UTC by Raúl
Modified: 2018-10-31 03: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 Raúl 2011-10-03 19:50:48 UTC
Application: konqueror (4.6.5 (4.6.5))
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 3.0.4 x86_64
Distribution: Debian GNU/Linux unstable (sid)

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

I had konqueror opened for a while, I usually have lots of tabs and several windows opened. This is the third strange crash I have had in the latest days. These all were pointer and KJS related, but I couldn't figure out a common cause. Konqueror + KHTML has always been quite stable to me.

Please, let me know how I could focus this sparse bug report.

Regards,

The crash can be reproduced some of the time.

-- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fa795388760 (LWP 31560))]

Thread 3 (Thread 0x7fa77a677700 (LWP 987)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa782c091c2 in ?? () from /usr/lib/libQtScript.so.4
#2  0x00007fa782c091f9 in ?? () from /usr/lib/libQtScript.so.4
#3  0x00007fa78e2e7b40 in start_thread (arg=<optimized out>) at pthread_create.c:304
#4  0x00007fa794c1936d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa737e5e700 (LWP 1040)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa76ba6a184 in ?? () from /usr/lib/libvlccore.so.4
#2  0x00007fa78e2e7b40 in start_thread (arg=<optimized out>) at pthread_create.c:304
#3  0x00007fa794c1936d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa795388760 (LWP 31560)):
[KCrash Handler]
#6  deref (this=0x1) at ../../kjs/ustring.h:165
#7  ~RefPtr (this=<optimized out>, __in_chrg=<optimized out>) at ../../kjs/wtf/RefPtr.h:51
#8  ~pair (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/c++/4.6/bits/stl_pair.h:87
#9  deallocateTable (size=<optimized out>, table=0x10173bb0) at ../../kjs/wtf/HashTable.h:854
#10 ~HashTable (this=<optimized out>, __in_chrg=<optimized out>) at ../../kjs/wtf/HashTable.h:284
#11 ~HashMap (this=0xf3ad7e0, __in_chrg=<optimized out>) at ../../kjs/wtf/RefPtrHashMap.h:46
#12 ~FunctionBodyNode (this=0xf3ad780, __in_chrg=<optimized out>) at ../../kjs/nodes.h:1027
#13 KJS::FunctionBodyNode::~FunctionBodyNode (this=0xf3ad780, __in_chrg=<optimized out>) at ../../kjs/nodes.h:1027
#14 0x00007fa780d57a0f in deref (this=<optimized out>) at ../../kjs/nodes.cpp:121
#15 KJS::Node::deref (this=0xf3ad780) at ../../kjs/nodes.cpp:110
#16 0x00007fa780da959c in ~RefPtr (this=0xfe1d6a0, __in_chrg=<optimized out>) at ../../kjs/wtf/RefPtr.h:51
#17 ~FuncExprNode (this=0xfe1d680, __in_chrg=<optimized out>) at ../../kjs/nodes.h:1113
#18 KJS::FuncExprNode::~FuncExprNode (this=<optimized out>, __in_chrg=<optimized out>) at ../../kjs/nodes.h:1113
#19 0x00007fa780d57a0f in deref (this=<optimized out>) at ../../kjs/nodes.cpp:121
#20 KJS::Node::deref (this=0xfe1d680) at ../../kjs/nodes.cpp:110
#21 0x00007fa780d8a27c in ~RefPtr (this=0x3639de0, __in_chrg=<optimized out>) at ../../kjs/wtf/RefPtr.h:51
#22 ~AssignNode (this=0x3639dc0, __in_chrg=<optimized out>) at ../../kjs/nodes.h:707
#23 KJS::AssignNode::~AssignNode (this=<optimized out>, __in_chrg=<optimized out>) at ../../kjs/nodes.h:707
#24 0x00007fa780d57a0f in deref (this=<optimized out>) at ../../kjs/nodes.cpp:121
#25 KJS::Node::deref (this=0x3639dc0) at ../../kjs/nodes.cpp:110
#26 0x00007fa780d8a1fc in ~RefPtr (this=0xf30f720, __in_chrg=<optimized out>) at ../../kjs/wtf/RefPtr.h:51
#27 ~ExprStatementNode (this=0xf30f710, __in_chrg=<optimized out>) at ../../kjs/nodes.h:814
#28 KJS::ExprStatementNode::~ExprStatementNode (this=<optimized out>, __in_chrg=<optimized out>) at ../../kjs/nodes.h:814
#29 0x00007fa780d57a0f in deref (this=<optimized out>) at ../../kjs/nodes.cpp:121
#30 KJS::Node::deref (this=0xf30f710) at ../../kjs/nodes.cpp:110
#31 0x00007fa780da98b3 in ~RefPtr (this=0x14786040, __in_chrg=<optimized out>) at ../../kjs/wtf/RefPtr.h:51
#32 ~SourceElementsNode (this=0x14786030, __in_chrg=<optimized out>) at ../../kjs/nodes.h:1153
#33 KJS::SourceElementsNode::~SourceElementsNode (this=0x14786030, __in_chrg=<optimized out>) at ../../kjs/nodes.h:1153
#34 0x00007fa780d57a0f in deref (this=<optimized out>) at ../../kjs/nodes.cpp:121
#35 KJS::Node::deref (this=0x14786030) at ../../kjs/nodes.cpp:110
#36 0x00007fa780da98ec in operator= (o=<optimized out>, this=<synthetic pointer>) at ../../kjs/wtf/RefPtr.h:128
#37 ~ListRefPtr (this=0xf73d518, __in_chrg=<optimized out>) at ../../kjs/wtf/ListRefPtr.h:44
#38 ~SourceElementsNode (this=0xf73d500, __in_chrg=<optimized out>) at ../../kjs/nodes.h:1153
#39 KJS::SourceElementsNode::~SourceElementsNode (this=0xf73d500, __in_chrg=<optimized out>) at ../../kjs/nodes.h:1153
#40 0x00007fa780d57a0f in deref (this=<optimized out>) at ../../kjs/nodes.cpp:121
#41 KJS::Node::deref (this=0xf73d500) at ../../kjs/nodes.cpp:110
#42 0x00007fa780da982d in ~RefPtr (this=0x98f5770, __in_chrg=<optimized out>) at ../../kjs/wtf/RefPtr.h:51
#43 ~BlockNode (this=0x98f5760, __in_chrg=<optimized out>) at ../../kjs/nodes.h:795
#44 ~FunctionBodyNode (this=0x98f5760, __in_chrg=<optimized out>) at ../../kjs/nodes.h:1027
#45 KJS::FunctionBodyNode::~FunctionBodyNode (this=0x98f5760, __in_chrg=<optimized out>) at ../../kjs/nodes.h:1027
#46 0x00007fa780d57a0f in deref (this=<optimized out>) at ../../kjs/nodes.cpp:121
#47 KJS::Node::deref (this=0x98f5760) at ../../kjs/nodes.cpp:110
#48 0x00007fa780d7bf57 in ~RefPtr (this=0x7fa76ebc0370, __in_chrg=<optimized out>) at ../../kjs/wtf/RefPtr.h:51
#49 KJS::FunctionImp::~FunctionImp (this=0x7fa76ebc0340, __in_chrg=<optimized out>) at ../../kjs/function.cpp:75
#50 0x00007fa780d55061 in KJS::Collector::collect () at ../../kjs/collector.cpp:712
#51 0x00007fa780d5525d in KJS::Collector::allocate (s=16) at ../../kjs/collector.cpp:331
#52 0x00007fa780d7fa4e in KJS::jsString (s=<optimized out>) at ../../kjs/value.cpp:197
#53 0x00007fa780d78f1b in KJS::RegExpImp::setRegExp (this=0x7fa76f6a92c0, exec=0x7fff420cd130, r=0x24aac30) at ../../kjs/regexp_object.cpp:185
#54 0x00007fa780d79ef1 in KJS::RegExpObjectImp::construct (this=<optimized out>, exec=0x7fff420cd130, args=<optimized out>) at ../../kjs/regexp_object.cpp:496
#55 0x00007fa780d96193 in KJS::Machine::runBlock (exec=0x7fff420cd130, codeBlock=..., parentExec=0x7fff420cdb90) at codes.def:881
#56 0x00007fa780d7cbc2 in KJS::FunctionImp::callAsFunction (this=0x7fa7783e98c0, exec=0x7fff420cdb90, thisObj=<optimized out>, args=...) at ../../kjs/function.cpp:172
#57 0x00007fa780d9b6ea in call (args=<optimized out>, thisObj=<optimized out>, exec=<optimized out>, this=<optimized out>) at ../../kjs/object.h:626
#58 KJS::Machine::runBlock (exec=0x7fff420cdb90, codeBlock=..., parentExec=0xf6dd120) at codes.def:1223
#59 0x00007fa780d7cbc2 in KJS::FunctionImp::callAsFunction (this=0x7fa7783e5a00, exec=0xf6dd120, thisObj=<optimized out>, args=...) at ../../kjs/function.cpp:172
#60 0x00007fa781938eae in call (args=..., thisObj=0x7fa783cc0a00, exec=0xf6dd120, this=<optimized out>) at ../../kjs/object.h:626
#61 KJS::JSEventListener::handleEvent (this=0x18cbc940, evt=...) at ../../khtml/ecma/kjs_events.cpp:108
#62 0x00007fa781766e5c in DOM::EventTargetImpl::handleLocalEvents (this=0x10ec4170, evt=0x10ee3830, useCapture=false) at ../../khtml/xml/dom2_eventsimpl.cpp:62
#63 0x00007fa781742b0f in DOM::NodeImpl::dispatchGenericEvent (this=0xc9485b8, evt=0x10ee3830) at ../../khtml/xml/dom_nodeimpl.cpp:469
#64 0x00007fa781742c0c in DOM::NodeImpl::dispatchWindowEvent (this=<optimized out>, evt=0x10ee3830) at ../../khtml/xml/dom_nodeimpl.cpp:542
#65 0x00007fa78179aecd in DOM::HTMLDocumentImpl::close (this=0xc9485a0) at ../../khtml/html/html_documentimpl.cpp:237
#66 0x00007fa7816b0933 in checkEmitLoadEvent (this=<optimized out>) at ../../khtml/khtml_part.cpp:2488
#67 KHTMLPart::checkEmitLoadEvent (this=0xad85cf0) at ../../khtml/khtml_part.cpp:2478
#68 0x00007fa7816c5a8c in KHTMLPart::checkCompleted (this=0xad85cf0) at ../../khtml/khtml_part.cpp:2427
#69 0x00007fa7816def32 in KHTMLPart::qt_metacall (this=0xad85cf0, _c=QMetaObject::InvokeMetaMethod, _id=73, _a=0x7fff420ce0f0) at ./khtml_part.moc:332
#70 0x00007fa7926edcca in QMetaObject::activate (sender=0x1d35e20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff420ce0f0) at kernel/qobject.cpp:3278
#71 0x00007fa7818a135f in khtml::Loader::requestDone (this=<optimized out>, _t1=0xbb41e50, _t2=0x954d220) at ./loader.moc:162
#72 0x00007fa7818a3f9b in khtml::Loader::slotFinished (this=0x1d35e20, job=0x93937f0) at ../../khtml/misc/loader.cpp:1263
#73 0x00007fa7818a44e3 in khtml::Loader::qt_metacall (this=0x1d35e20, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff420ce2d0) at ./loader.moc:141
#74 0x00007fa7926edcca in QMetaObject::activate (sender=0x93937f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff420ce2d0) at kernel/qobject.cpp:3278
#75 0x00007fa792b53f82 in KJob::result (this=<optimized out>, _t1=0x93937f0) at ./kjob.moc:194
#76 0x00007fa792b53fc0 in KJob::emitResult (this=0x93937f0) at ../../kdecore/jobs/kjob.cpp:312
#77 0x00007fa7938aeff4 in KIO::SimpleJob::slotFinished (this=0x93937f0) at ../../kio/kio/job.cpp:525
#78 0x00007fa7938b8922 in KIO::TransferJob::slotFinished (this=0x93937f0) at ../../kio/kio/job.cpp:1120
#79 0x00007fa7938b5371 in KIO::TransferJob::qt_metacall (this=0x93937f0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff420ce6b0) at ./jobclasses.moc:367
#80 0x00007fa7926edcca in QMetaObject::activate (sender=0x96eb050, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#81 0x00007fa793959511 in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:173
#82 0x00007fa7939563c5 in KIO::SlaveInterface::dispatch (this=<optimized out>) at ../../kio/kio/slaveinterface.cpp:89
#83 0x00007fa793949cde in KIO::Slave::gotInput (this=0x96eb050) at ../../kio/kio/slave.cpp:348
#84 0x00007fa79394a32c in KIO::Slave::qt_metacall (this=0x96eb050, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff420cead0) at ./slave.moc:82
#85 0x00007fa7926edcca in QMetaObject::activate (sender=0x19a0fc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#86 0x00007fa79387fe37 in dequeue (this=<optimized out>) at ../../kio/kio/connection.cpp:82
#87 KIO::ConnectionPrivate::dequeue (this=0x10936e90) at ../../kio/kio/connection.cpp:71
#88 0x00007fa79387fedd in KIO::Connection::qt_metacall (this=0x19a0fc0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xb85ab90) at ./connection.moc:79
#89 0x00007fa7926f187a in QObject::event (this=0x19a0fc0, e=<optimized out>) at kernel/qobject.cpp:1217
#90 0x00007fa7918189f4 in notify_helper (e=0x1a81ce80, receiver=0x19a0fc0, this=0x14b7090) at kernel/qapplication.cpp:4467
#91 QApplicationPrivate::notify_helper (this=0x14b7090, receiver=0x19a0fc0, e=0x1a81ce80) at kernel/qapplication.cpp:4439
#92 0x00007fa79181d881 in QApplication::notify (this=0x7fff420cf670, receiver=0x19a0fc0, e=0x1a81ce80) at kernel/qapplication.cpp:4346
#93 0x00007fa793148a66 in KApplication::notify (this=0x7fff420cf670, receiver=0x19a0fc0, event=0x1a81ce80) at ../../kdeui/kernel/kapplication.cpp:311
#94 0x00007fa7926db16c in QCoreApplication::notifyInternal (this=0x7fff420cf670, receiver=0x19a0fc0, event=0x1a81ce80) at kernel/qcoreapplication.cpp:731
#95 0x00007fa7926de528 in sendEvent (event=0x1a81ce80, receiver=0x19a0fc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#96 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x148d860) at kernel/qcoreapplication.cpp:1372
#97 0x00007fa792705843 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#98 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#99 0x00007fa78d81d4a3 in g_main_dispatch (context=0x14b98e0) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#100 g_main_context_dispatch (context=0x14b98e0) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#101 0x00007fa78d81dc80 in g_main_context_iterate (context=0x14b98e0, block=1, dispatch=1, self=<optimized out>) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#102 0x00007fa78d81df1d in g_main_context_iteration (context=0x14b98e0, may_block=1) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#103 0x00007fa792705c9f in QEventDispatcherGlib::processEvents (this=0x148ef50, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#104 0x00007fa7918bca4e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#105 0x00007fa7926da372 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#106 0x00007fa7926da56f in QEventLoop::exec (this=0x7fff420cf4c0, flags=...) at kernel/qeventloop.cpp:201
#107 0x00007fa7926de717 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#108 0x00007fa794f7f1d2 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../../konqueror/src/konqmain.cpp:219
#109 0x00007fa794b62ead in __libc_start_main (main=<optimized out>, argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff420cfef8) at libc-start.c:228
#110 0x0000000000400691 in _start ()

Possible duplicates by query: bug 278180, bug 260264.

Reported using DrKonqi
Comment 1 Andrew Crouthamel 2018-10-29 22:34: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 2 Raúl 2018-10-30 23:10:02 UTC
Hello:
Thanks for caring for this (way too) old bug. I don't think this report is useful anymore, last update was 7+ years ago and I'm not using konqueror anymore (unfortunately).
Moreover, I went on using konqueror as web browser some years more after latest update therefore I think the bug is not reproducible or solved.
HTH,
Comment 3 Andrew Crouthamel 2018-10-31 03:34:19 UTC
Thanks for the update!