Bug 321199

Summary: JavaScript error when trying to watch youtube videos
Product: [Applications] konqueror Reporter: cmtrindade <cmaxtrindade>
Component: kjsAssignee: Konqueror Bugs <konqueror-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: major    
Priority: NOR    
Version First Reported In: 4.10.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
URL: http://www.youtube.com
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description cmtrindade 2013-06-16 00:10:07 UTC
Qt Version: 4.8.4
Operating System: Linux 3.8.11-200.fc18.i686
Distribution: "Fedora release 18 (Spherical Cow)"
- Information about the crash:
I was wandering why youtube videos did not play so I enabled bug tracking, refreshed the page and the debugger was triggered. 
- Unusual behavior I noticed:
Got alert saying: "JavaScript Error"
- Custom settings of the application:
In Configure Konqueror "Enable JavaScript globally", "Enable debugger" and "Report errors".

Reproducible: Always

Steps to Reproduce:
1. Install Flash and Gnash plugins
2. Enagle bug tracking for JavaScript
3. Open youtube video
Actual Results:  
Triggered alert.

Expected Results:  
Youtube videos playing

I am using Mate desktop and the debugger gave me this information:

-- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb7725780 (LWP 15951))]

Thread 2 (Thread 0xb4201b40 (LWP 16250)):
#0  0x4b021dad in __GI_clock_gettime (clock_id=1, tp=0xb4200f38) at ../sysdeps/unix/clock_gettime.c:115
#1  0x4b778cf6 in do_gettime (frac=0xb4200f30, sec=0xb4200f28) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x4b8625ff in QTimerInfoList::updateCurrentTime (this=0xb4200fb8) at kernel/qeventdispatcher_unix.cpp:354
#4  0x7fffffff in ?? ()
#5  0x4b8629bb in QTimerInfoList::timerWait (this=0x4b861123 <timerSourcePrepareHelper(GTimerSource*, gint*)+99>, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0x7fffffff in ?? ()

Thread 1 (Thread 0xb7725780 (LWP 15951)):
[KCrash Handler]
#7  0x4142617c in KJSDebugger::DebugDocument::rebuildViewerDocument (this=0xab326c0) at /usr/src/debug/kdelibs-4.10.4/khtml/ecma/debugger/debugdocument.cpp:216
#8  0x41426220 in KJSDebugger::DebugDocument::viewerDocument (this=0xab326c0) at /usr/src/debug/kdelibs-4.10.4/khtml/ecma/debugger/debugdocument.cpp:188
#9  0x4141ea3e in KJSDebugger::DebugWindow::updateStoppedMark (this=this@entry=0xa4646c8, mode=mode@entry=KJSDebugger::DebugWindow::Stopped) at /usr/src/debug/kdelibs-4.10.4/khtml/ecma/debugger/debugwindow.cpp:285
#10 0x4141f927 in KJSDebugger::DebugWindow::setUIMode (this=0xa4646c8, mode=KJSDebugger::DebugWindow::Stopped) at /usr/src/debug/kdelibs-4.10.4/khtml/ecma/debugger/debugwindow.cpp:307
#11 0x41420eff in KJSDebugger::DebugWindow::enterDebugSession (this=0xa4646c8, exec=0xbfa2fa2c, document=0xab326c0, line=131) at /usr/src/debug/kdelibs-4.10.4/khtml/ecma/debugger/debugwindow.cpp:1016
#12 0x414219f2 in KJSDebugger::DebugWindow::exception (this=0xa4646c8, exec=0xbfa2fa2c, sourceId=136, lineNo=131, exceptionObj=0x0) at /usr/src/debug/kdelibs-4.10.4/khtml/ecma/debugger/debugwindow.cpp:680
#13 0xb50b28ba in KJS::Debugger::reportException (this=0xa4646e8, exec=0xbfa2fa2c, exceptionVal=0xb3634620) at /usr/src/debug/kdelibs-4.10.4/kjs/debugger.cpp:128
#14 0xb50a2534 in KJS::ExecState::setAbruptCompletion (this=this@entry=0xbfa2fa2c, comp=...) at /usr/src/debug/kdelibs-4.10.4/kjs/ExecState.cpp:191
#15 0xb50a2618 in KJS::ExecState::setException (this=0xbfa2fa2c, e=0xb3634620) at /usr/src/debug/kdelibs-4.10.4/kjs/ExecState.cpp:167
#16 0xb50b597d in KJS::throwError (exec=0xbfa2fa2c, type=KJS::TypeError, message=0xb50ee513 "Undefined value") at /usr/src/debug/kdelibs-4.10.4/kjs/object.cpp:651
#17 0xb50c4952 in KJS::JSImmediate::toObject (v=0x7, exec=0xbfa2fa2c) at /usr/src/debug/kdelibs-4.10.4/kjs/JSImmediate.cpp:33
#18 0xb50d00f4 in toObject (exec=<optimized out>, this=<optimized out>) at /usr/src/debug/kdelibs-4.10.4/kjs/value.h:492
#19 KJS::Machine::runBlock (exec=0xbfa2fa2c, codeBlock=..., parentExec=0xbfa2fcbc) at codes.def:721
#20 0xb50b0855 in KJS::FunctionImp::callAsFunction (this=0xb366f9a0, exec=0xbfa2fcbc, thisObj=0xb37d0040, args=...) at /usr/src/debug/kdelibs-4.10.4/kjs/function.cpp:171
#21 0xb50ce38f in call (args=..., thisObj=<optimized out>, exec=<optimized out>, this=<optimized out>) at /usr/src/debug/kdelibs-4.10.4/kjs/object.h:614
#22 KJS::Machine::runBlock (exec=0xbfa2fcbc, codeBlock=..., parentExec=0xbfa2ff4c) at codes.def:1223
#23 0xb50b0855 in KJS::FunctionImp::callAsFunction (this=0xb366e260, exec=0xbfa2ff4c, thisObj=0xb37d0040, args=...) at /usr/src/debug/kdelibs-4.10.4/kjs/function.cpp:171
#24 0xb50ce38f in call (args=..., thisObj=<optimized out>, exec=<optimized out>, this=<optimized out>) at /usr/src/debug/kdelibs-4.10.4/kjs/object.h:614
#25 KJS::Machine::runBlock (exec=0xbfa2ff4c, codeBlock=..., parentExec=0xbfa301dc) at codes.def:1223
#26 0xb50b0855 in KJS::FunctionImp::callAsFunction (this=0xb366e2a0, exec=0xbfa301dc, thisObj=0xb37d0040, args=...) at /usr/src/debug/kdelibs-4.10.4/kjs/function.cpp:171
#27 0xb50ce38f in call (args=..., thisObj=<optimized out>, exec=<optimized out>, this=<optimized out>) at /usr/src/debug/kdelibs-4.10.4/kjs/object.h:614
#28 KJS::Machine::runBlock (exec=0xbfa301dc, codeBlock=..., parentExec=0xbfa3046c) at codes.def:1223
#29 0xb50b0855 in KJS::FunctionImp::callAsFunction (this=0xb36324c0, exec=0xbfa3046c, thisObj=0xb36383c0, args=...) at /usr/src/debug/kdelibs-4.10.4/kjs/function.cpp:171
#30 0xb50ce38f in call (args=..., thisObj=<optimized out>, exec=<optimized out>, this=<optimized out>) at /usr/src/debug/kdelibs-4.10.4/kjs/object.h:614
#31 KJS::Machine::runBlock (exec=0xbfa3046c, codeBlock=..., parentExec=0xbfa306fc) at codes.def:1223
#32 0xb50b0855 in KJS::FunctionImp::callAsFunction (this=0xb366acc0, exec=0xbfa306fc, thisObj=0xb37d0040, args=...) at /usr/src/debug/kdelibs-4.10.4/kjs/function.cpp:171
#33 0xb50ce38f in call (args=..., thisObj=<optimized out>, exec=<optimized out>, this=<optimized out>) at /usr/src/debug/kdelibs-4.10.4/kjs/object.h:614
#34 KJS::Machine::runBlock (exec=0xbfa306fc, codeBlock=..., parentExec=0xbfa3098c) at codes.def:1223
#35 0xb50b0855 in KJS::FunctionImp::callAsFunction (this=0xb3688480, exec=0xbfa3098c, thisObj=0xb37d0040, args=...) at /usr/src/debug/kdelibs-4.10.4/kjs/function.cpp:171
#36 0xb50ce38f in call (args=..., thisObj=<optimized out>, exec=<optimized out>, this=<optimized out>) at /usr/src/debug/kdelibs-4.10.4/kjs/object.h:614
#37 KJS::Machine::runBlock (exec=0xbfa3098c, codeBlock=..., parentExec=0xbfa30c1c) at codes.def:1223
#38 0xb50b0855 in KJS::FunctionImp::callAsFunction (this=0xb3666680, exec=0xbfa30c1c, thisObj=0xb37d0040, args=...) at /usr/src/debug/kdelibs-4.10.4/kjs/function.cpp:171
#39 0xb50ce38f in call (args=..., thisObj=<optimized out>, exec=<optimized out>, this=<optimized out>) at /usr/src/debug/kdelibs-4.10.4/kjs/object.h:614
#40 KJS::Machine::runBlock (exec=0xbfa30c1c, codeBlock=..., parentExec=0xbfa30eac) at codes.def:1223
#41 0xb50b0855 in KJS::FunctionImp::callAsFunction (this=0xb3667200, exec=0xbfa30eac, thisObj=0xb37d0040, args=...) at /usr/src/debug/kdelibs-4.10.4/kjs/function.cpp:171
#42 0xb50ce38f in call (args=..., thisObj=<optimized out>, exec=<optimized out>, this=<optimized out>) at /usr/src/debug/kdelibs-4.10.4/kjs/object.h:614
#43 KJS::Machine::runBlock (exec=0xbfa30eac, codeBlock=..., parentExec=0xbfa3117c) at codes.def:1223
#44 0xb50b0855 in KJS::FunctionImp::callAsFunction (this=0xb3667300, exec=0xbfa3117c, thisObj=0xb363aac0, args=...) at /usr/src/debug/kdelibs-4.10.4/kjs/function.cpp:171
#45 0xb50af7bf in call (args=..., thisObj=0xb363aac0, exec=0xbfa3117c, this=0xb3667300) at /usr/src/debug/kdelibs-4.10.4/kjs/object.h:614
#46 KJS::FunctionImp::construct (this=0xb3667300, exec=0xbfa3117c, args=...) at /usr/src/debug/kdelibs-4.10.4/kjs/function.cpp:337
#47 0xb50ce4a5 in KJS::Machine::runBlock (exec=0xbfa3117c, codeBlock=..., parentExec=0xbfa3140c) at codes.def:1244
#48 0xb50b0855 in KJS::FunctionImp::callAsFunction (this=0xb367a860, exec=0xbfa3140c, thisObj=0xb367a8c0, args=...) at /usr/src/debug/kdelibs-4.10.4/kjs/function.cpp:171
#49 0xb50ce38f in call (args=..., thisObj=<optimized out>, exec=<optimized out>, this=<optimized out>) at /usr/src/debug/kdelibs-4.10.4/kjs/object.h:614
#50 KJS::Machine::runBlock (exec=0xbfa3140c, codeBlock=..., parentExec=0xbfa3169c) at codes.def:1223
#51 0xb50b0855 in KJS::FunctionImp::callAsFunction (this=0xb3667d60, exec=0xbfa3169c, thisObj=0xb37d0040, args=...) at /usr/src/debug/kdelibs-4.10.4/kjs/function.cpp:171
#52 0xb50ce38f in call (args=..., thisObj=<optimized out>, exec=<optimized out>, this=<optimized out>) at /usr/src/debug/kdelibs-4.10.4/kjs/object.h:614
#53 KJS::Machine::runBlock (exec=0xbfa3169c, codeBlock=..., parentExec=0xbfa3196c) at codes.def:1223
#54 0xb50b0855 in KJS::FunctionImp::callAsFunction (this=0xb3665dc0, exec=0xbfa3196c, thisObj=0xb3672e60, args=...) at /usr/src/debug/kdelibs-4.10.4/kjs/function.cpp:171
#55 0xb50af7bf in call (args=..., thisObj=0xb3672e60, exec=0xbfa3196c, this=0xb3665dc0) at /usr/src/debug/kdelibs-4.10.4/kjs/object.h:614
#56 KJS::FunctionImp::construct (this=0xb3665dc0, exec=0xbfa3196c, args=...) at /usr/src/debug/kdelibs-4.10.4/kjs/function.cpp:337
#57 0xb50ce4a5 in KJS::Machine::runBlock (exec=0xbfa3196c, codeBlock=..., parentExec=0xbfa31bfc) at codes.def:1244
#58 0xb50b0855 in KJS::FunctionImp::callAsFunction (this=0xb35caf60, exec=0xbfa31bfc, thisObj=0xb3672ee0, args=...) at /usr/src/debug/kdelibs-4.10.4/kjs/function.cpp:171
#59 0xb50ce38f in call (args=..., thisObj=<optimized out>, exec=<optimized out>, this=<optimized out>) at /usr/src/debug/kdelibs-4.10.4/kjs/object.h:614
#60 KJS::Machine::runBlock (exec=0xbfa31bfc, codeBlock=..., parentExec=0xbfa31e8c) at codes.def:1223
#61 0xb50b0855 in KJS::FunctionImp::callAsFunction (this=0xb3668320, exec=0xbfa31e8c, thisObj=0xb37d0040, args=...) at /usr/src/debug/kdelibs-4.10.4/kjs/function.cpp:171
#62 0xb50ce38f in call (args=..., thisObj=<optimized out>, exec=<optimized out>, this=<optimized out>) at /usr/src/debug/kdelibs-4.10.4/kjs/object.h:614
#63 KJS::Machine::runBlock (exec=0xbfa31e8c, codeBlock=..., parentExec=0xbfa3211c) at codes.def:1223
#64 0xb50b0855 in KJS::FunctionImp::callAsFunction (this=0xb36680a0, exec=0xbfa3211c, thisObj=0xb37d0040, args=...) at /usr/src/debug/kdelibs-4.10.4/kjs/function.cpp:171
#65 0xb50ce38f in call (args=..., thisObj=<optimized out>, exec=<optimized out>, this=<optimized out>) at /usr/src/debug/kdelibs-4.10.4/kjs/object.h:614
#66 KJS::Machine::runBlock (exec=0xbfa3211c, codeBlock=..., parentExec=0xbfa3241c) at codes.def:1223
#67 0xb50b0855 in KJS::FunctionImp::callAsFunction (this=0xb3637780, exec=0xbfa3241c, thisObj=0xb3637ce0, args=...) at /usr/src/debug/kdelibs-4.10.4/kjs/function.cpp:171
#68 0xb5097c6c in call (args=..., thisObj=0xb3637ce0, exec=0xbfa3241c, this=0xb3637780) at /usr/src/debug/kdelibs-4.10.4/kjs/object.h:614
#69 KJS::FunctionProtoFunc::callAsFunction (this=0xb37c7080, exec=0xbfa3241c, thisObj=0xb3637780, args=...) at /usr/src/debug/kdelibs-4.10.4/kjs/function_object.cpp:123
#70 0xb50ce38f in call (args=..., thisObj=<optimized out>, exec=<optimized out>, this=<optimized out>) at /usr/src/debug/kdelibs-4.10.4/kjs/object.h:614
#71 KJS::Machine::runBlock (exec=0xbfa3241c, codeBlock=..., parentExec=0xbfa3274c) at codes.def:1223
#72 0xb50b0855 in KJS::FunctionImp::callAsFunction (this=0xb3677700, exec=0xbfa3274c, thisObj=0xb37d0040, args=...) at /usr/src/debug/kdelibs-4.10.4/kjs/function.cpp:171
#73 0xb50ce38f in call (args=..., thisObj=<optimized out>, exec=<optimized out>, this=<optimized out>) at /usr/src/debug/kdelibs-4.10.4/kjs/object.h:614
#74 KJS::Machine::runBlock (exec=0xbfa3274c, codeBlock=..., parentExec=0x0) at codes.def:1223
#75 0xb50881ff in KJS::FunctionBodyNode::execute (this=0x982bb88, exec=0xbfa3274c) at /usr/src/debug/kdelibs-4.10.4/kjs/nodes.cpp:927
#76 0xb50b0e57 in KJS::GlobalFuncImp::callAsFunction (this=0xb50ce38f <KJS::Machine::runBlock(KJS::ExecState*, WTF::Vector<unsigned char, 0u> const&, KJS::ExecState*)+26335>, exec=0xb37c6680, args=...) at /usr/src/debug/kdelibs-4.10.4/kjs/function.cpp:934
#77 0xbfa329dc in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Comment 1 Andrew Crouthamel 2018-11-10 03:21:50 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 Andrew Crouthamel 2018-11-21 04:44:13 UTC
Dear Bug Submitter,

This is a reminder that 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? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Justin Zobel 2023-01-13 01:36:06 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 4 Bug Janitor Service 2023-01-28 05:08:28 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 5 Bug Janitor Service 2023-02-12 03:50: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!