Bug 235568 - Google maps in Konqueror [@ KJSDebugger::DebugDocument::name]
Summary: Google maps in Konqueror [@ KJSDebugger::DebugDocument::name]
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml ecma (show other bugs)
Version: 4.11.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 263527 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-04-27 19:57 UTC by Kris
Modified: 2024-05-06 20:51 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (8.62 KB, text/plain)
2012-08-01 00:22 UTC, 1446744399
Details
New crash information added by DrKonqi (8.62 KB, text/plain)
2012-08-01 00:22 UTC, 1446744399
Details
New crash information added by DrKonqi (8.62 KB, text/plain)
2012-08-01 00:22 UTC, 1446744399
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kris 2010-04-27 19:57:37 UTC
Application: konqueror (4.4.2 (KDE 4.4.2))
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-21-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
As I was trying to access google maps, it will show the inital map with no issue, but as soon as I either tried to pan or zoom (using both the mouse and the onscreen buttons) the map went gray and crashed konqueror. From what I read at Googles troubleshooting page, I believe that this has to do with how Konqueror handles JavaScript.

The crash can be reproduced every time.

 -- Backtrace:
Application: Konqueror (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fe69dbaf760 (LWP 12767))]

Thread 2 (Thread 0x7fe67cf6c710 (LWP 12826)):
#0  0x00007fff465ff904 in clock_gettime ()
#1  0x00007fe69780a09f in *__GI_clock_gettime (clock_id=1, tp=0x7fe67cf6bb00) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007fe69c1aa99f in qt_gettime () at kernel/qcore_unix.cpp:111
#3  0x00007fe69c1af6ad in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:340
#4  0x00007fe69c1af6d5 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#5  0x00007fe69c1ad75d in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fe67cf6bc1c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00007fe69c1ad805 in timerSourcePrepare (source=0x1, timeout=0x7fe67cf6bb00) at kernel/qeventdispatcher_glib.cpp:169
#7  0x00007fe69756aeb1 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x00007fe69756b318 in ?? () from /lib/libglib-2.0.so.0
#9  0x00007fe69756b8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x00007fe69c1ad566 in QEventDispatcherGlib::processEvents (this=0x16699e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#11 0x00007fe69c182992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#12 0x00007fe69c182d6c in QEventLoop::exec (this=0x7fe67cf6bdb0, flags=) at kernel/qeventloop.cpp:201
#13 0x00007fe69c08cd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#14 0x00007fe69c163178 in QInotifyFileSystemWatcherEngine::run (this=0x1478530) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00007fe69c08f775 in QThreadPrivate::start (arg=0x1478530) at thread/qthread_unix.cpp:248
#16 0x00007fe69bdff9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#17 0x00007fe69abb269d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe69dbaf760 (LWP 12767)):
[KCrash Handler]
#5  QString (this=0x0) at /usr/include/qt4/QtCore/qstring.h:714
#6  KJSDebugger::DebugDocument::name (this=0x0) at ../../khtml/ecma/debugger/debugdocument.cpp:81
#7  0x00007fe684a19d02 in KJSDebugger::DebugWindow::enterContext (this=<value optimized out>, exec=0x7fff465adf80, sourceId=647, lineno=<value optimized out>, function=0x7fe67c6b3780, 
    args=<value optimized out>) at ../../khtml/ecma/debugger/debugwindow.cpp:735
#8  0x00007fe683effec6 in KJS::FunctionImp::callAsFunction (this=0x7fe67c6b3780, exec=0x7fff465aeae0, thisObj=<value optimized out>, args=<value optimized out>) at ../../kjs/function.cpp:135
#9  0x00007fe683f037a9 in KJS::JSObject::call (this=0x7fff465adec0, exec=0x7fff465adeec, thisObj=0x2a6a7b0, args=...) at ../../kjs/object.cpp:70
#10 0x00007fe683f1fad4 in KJS::Machine::runBlock (exec=0x7fff465aeae0, codeBlock=<value optimized out>, parentExec=<value optimized out>) at codes.def:1192
#11 0x00007fe683ed5593 in KJS::FunctionBodyNode::execute (this=0x2aac600, exec=0x7fff465aeae0) at ../../kjs/nodes.cpp:927
#12 0x00007fe683f066ab in KJS::Interpreter::evaluate (this=0x14835f0, sourceURL=..., startingLineNumber=0, code=<value optimized out>, codeLength=<value optimized out>, thisV=0x7fe68f7f0000)
    at ../../kjs/interpreter.cpp:556
#13 0x00007fe683f06813 in KJS::Interpreter::evaluate (this=0x0, sourceURL=..., startingLineNumber=40129536, code=<value optimized out>, thisV=<value optimized out>) at ../../kjs/interpreter.cpp:496
#14 0x00007fe6849e0ec0 in KJS::KJSProxyImpl::evaluate (this=0x14aa030, filename=) at ../../khtml/ecma/kjs_proxy.cpp:158
#15 0x00007fe68484b622 in DOM::HTMLScriptElementImpl::evaluateScript (this=<value optimized out>, URL=<value optimized out>, script=<value optimized out>) at ../../khtml/html/html_headimpl.cpp:479
#16 0x00007fe68484b796 in DOM::HTMLScriptElementImpl::notifyFinished (this=0x2701550, o=<value optimized out>) at ../../khtml/html/html_headimpl.cpp:463
#17 0x00007fe68495b50f in khtml::CachedScript::checkNotify (this=0x12463a0) at ../../khtml/misc/loader.cpp:390
#18 0x00007fe68495f40c in khtml::CachedScript::data (this=0x12463a0, buffer=<value optimized out>, eof=<value optimized out>) at ../../khtml/misc/loader.cpp:382
#19 0x00007fe68495ef0f in khtml::Loader::slotFinished (this=0x119d760, job=0x4edeca0) at ../../khtml/misc/loader.cpp:1461
#20 0x00007fe68495f253 in khtml::Loader::qt_metacall (this=0x119d760, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff465af130) at ./loader.moc:143
#21 0x00007fe69c196e3f in QMetaObject::activate (sender=0x4edeca0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2645400) at kernel/qobject.cpp:3293
#22 0x00007fe69d631b82 in KJob::result (this=0x7fff465adec0, _t1=0x4edeca0) at ./kjob.moc:194
#23 0x00007fe69d631e20 in KJob::emitResult (this=0x4edeca0) at ../../kdecore/jobs/kjob.cpp:312
#24 0x00007fe69cbda503 in KIO::SimpleJob::slotFinished (this=0x4edeca0) at ../../kio/kio/job.cpp:486
#25 0x00007fe69cbdaec7 in KIO::TransferJob::slotFinished (this=0x4edeca0) at ../../kio/kio/job.cpp:1058
#26 0x00007fe69cbd8af1 in KIO::TransferJob::qt_metacall (this=0x4edeca0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff465af530) at ./jobclasses.moc:367
#27 0x00007fe69c196e3f in QMetaObject::activate (sender=0x14b56c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2645400) at kernel/qobject.cpp:3293
#28 0x00007fe69cc9a271 in KIO::SlaveInterface::dispatch (this=0x14b56c0, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#29 0x00007fe69cc975e3 in KIO::SlaveInterface::dispatch (this=0x14b56c0) at ../../kio/kio/slaveinterface.cpp:91
#30 0x00007fe69cc8ba46 in KIO::Slave::gotInput (this=0x14b56c0) at ../../kio/kio/slave.cpp:324
#31 0x00007fe69cc8bc2c in KIO::Slave::qt_metacall (this=0x14b56c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff465af950) at ./slave.moc:82
#32 0x00007fe69c196e3f in QMetaObject::activate (sender=0x16a56f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2645400) at kernel/qobject.cpp:3293
#33 0x00007fe69cba99d7 in KIO::ConnectionPrivate::dequeue (this=0x174dc70) at ../../kio/kio/connection.cpp:82
#34 0x00007fe69cba9afd in KIO::Connection::qt_metacall (this=0x16a56f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x4ed8c10) at ./connection.moc:79
#35 0x00007fe69c193d49 in QObject::event (this=0x16a56f0, e=0x24c1640) at kernel/qobject.cpp:1248
#36 0x00007fe69b32022c in QApplicationPrivate::notify_helper (this=0xad8a10, receiver=0x16a56f0, e=0x24c1640) at kernel/qapplication.cpp:4300
#37 0x00007fe69b3266fb in QApplication::notify (this=0x7fff465b06a0, receiver=0x16a56f0, e=0x24c1640) at kernel/qapplication.cpp:4183
#38 0x00007fe69c6cb526 in KApplication::notify (this=0x7fff465b06a0, receiver=0x16a56f0, event=0x24c1640) at ../../kdeui/kernel/kapplication.cpp:302
#39 0x00007fe69c18406c in QCoreApplication::notifyInternal (this=0x7fff465b06a0, receiver=0x16a56f0, event=0x24c1640) at kernel/qcoreapplication.cpp:704
#40 0x00007fe69c1867e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xa3bc30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xa3bc30) at kernel/qcoreapplication.cpp:1345
#42 0x00007fe69c1ad9d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#43 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#44 0x00007fe6975678c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#45 0x00007fe69756b748 in ?? () from /lib/libglib-2.0.so.0
#46 0x00007fe69756b8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#47 0x00007fe69c1ad513 in QEventDispatcherGlib::processEvents (this=0xa3d140, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#48 0x00007fe69b3d046e in QGuiEventDispatcherGlib::processEvents (this=0x7fff465adec0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#49 0x00007fe69c182992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#50 0x00007fe69c182d6c in QEventLoop::exec (this=0x7fff465b03a0, flags=) at kernel/qeventloop.cpp:201
#51 0x00007fe69c186aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#52 0x00007fe690192076 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../apps/konqueror/src/konqmain.cpp:271
#53 0x00000000004070f3 in launch (argc=2, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=16, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0xa8e3a4 "AmonRa;1272390285;945279;1670_TIME9156789") at ../../kinit/kinit.cpp:717
#54 0x0000000000407cb0 in handle_launcher_request (sock=9, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#55 0x000000000040823a in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1402
#56 0x0000000000408e22 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1845

Reported using DrKonqi
Comment 1 Maksim Orlovich 2010-04-27 20:07:33 UTC
Turn off the JavaScript debugger if you're not using it (it is off by default).  It's what's crashing here.
Comment 2 Kris 2010-04-27 20:29:04 UTC
Well, I only turned it on for this instance to see if I could get any info on it. Funny enough, I got Google maps to work (with the debugger disabled) with a workaround. I had to change my browser identification to Safari 3.5 on Mac OSX, then back to default and now it works like a champ. I'm not really sure what the issue is then.
Comment 3 Kris 2010-04-27 20:35:06 UTC
Sorry, it was Safari 3.2. The graying out of the map area happens every time that Konqueror is started, until I change the browser ID like I did in my post above, then it will work fine until I close Konqueror again. I would just leave it on the Safari ID, but when it is set that way the mouse wheel doesn't work to zoom, and you can't click and drag to pan.
Comment 4 Tommi Tervo 2011-01-19 20:26:06 UTC
*** Bug 263527 has been marked as a duplicate of this bug. ***
Comment 5 1446744399 2012-08-01 00:22:56 UTC
Created attachment 72861 [details]
New crash information added by DrKonqi

konqueror (4.8.4 (4.8.4)) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.1

- What I was doing when the application crash:

I run ECMAScript test262 (http://test262.ecmascript.org/) ,Crash when running to Chapter 11.

-- Backtrace (Reduced):
#7  QString (other=..., this=0xbffe8718) at /usr/include/qt4/QtCore/qstring.h:725
#8  KJSDebugger::DebugDocument::name (this=0x0) at ../../khtml/ecma/debugger/debugdocument.cpp:82
#9  0xb09d0281 in KJSDebugger::DebugWindow::enterContext (this=0xbffe8718, exec=0xbffe8aec, sourceId=271082, lineno=-1073838312, function=0xa38e2760, args=...) at ../../khtml/ecma/debugger/debugwindow.cpp:741
#10 0xb04efce3 in KJS::changeDebugContext (d=KJS::Enter, exec=0xbffe8aec, n=0xfde3260) at /build/buildd/kde4libs-4.8.4a/kjs/bytecode/machine.cpp.in:201
#11 0xb04f1124 in KJS::Machine::runBlock (exec=0xbffe8aec, codeBlock=..., parentExec=0xbffe8f4c) at codes.def:464
Comment 6 1446744399 2012-08-01 00:22:56 UTC
Created attachment 72862 [details]
New crash information added by DrKonqi

konqueror (4.8.4 (4.8.4)) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.1

- What I was doing when the application crash:

I run ECMAScript test262 (http://test262.ecmascript.org/) ,Crash when running to Chapter 11.

-- Backtrace (Reduced):
#7  QString (other=..., this=0xbffe8718) at /usr/include/qt4/QtCore/qstring.h:725
#8  KJSDebugger::DebugDocument::name (this=0x0) at ../../khtml/ecma/debugger/debugdocument.cpp:82
#9  0xb09d0281 in KJSDebugger::DebugWindow::enterContext (this=0xbffe8718, exec=0xbffe8aec, sourceId=271082, lineno=-1073838312, function=0xa38e2760, args=...) at ../../khtml/ecma/debugger/debugwindow.cpp:741
#10 0xb04efce3 in KJS::changeDebugContext (d=KJS::Enter, exec=0xbffe8aec, n=0xfde3260) at /build/buildd/kde4libs-4.8.4a/kjs/bytecode/machine.cpp.in:201
#11 0xb04f1124 in KJS::Machine::runBlock (exec=0xbffe8aec, codeBlock=..., parentExec=0xbffe8f4c) at codes.def:464
Comment 7 1446744399 2012-08-01 00:22:56 UTC
Created attachment 72863 [details]
New crash information added by DrKonqi

konqueror (4.8.4 (4.8.4)) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.1

- What I was doing when the application crash:

I run ECMAScript test262 (http://test262.ecmascript.org/) ,Crash when running to Chapter 11.

-- Backtrace (Reduced):
#7  QString (other=..., this=0xbffe8718) at /usr/include/qt4/QtCore/qstring.h:725
#8  KJSDebugger::DebugDocument::name (this=0x0) at ../../khtml/ecma/debugger/debugdocument.cpp:82
#9  0xb09d0281 in KJSDebugger::DebugWindow::enterContext (this=0xbffe8718, exec=0xbffe8aec, sourceId=271082, lineno=-1073838312, function=0xa38e2760, args=...) at ../../khtml/ecma/debugger/debugwindow.cpp:741
#10 0xb04efce3 in KJS::changeDebugContext (d=KJS::Enter, exec=0xbffe8aec, n=0xfde3260) at /build/buildd/kde4libs-4.8.4a/kjs/bytecode/machine.cpp.in:201
#11 0xb04f1124 in KJS::Machine::runBlock (exec=0xbffe8aec, codeBlock=..., parentExec=0xbffe8f4c) at codes.def:464
Comment 8 Myriam Schweingruber 2012-08-04 23:23:41 UTC
Thank you for the feedback, setting status to confirmed.
Comment 9 Andrea Iacovitti 2013-10-17 21:20:31 UTC

*** This bug has been marked as a duplicate of bug 198621 ***
Comment 10 Andrea Iacovitti 2013-10-17 21:26:25 UTC
Reopening this bug as it is still valid and not a duplicate of 198621
Comment 11 Justin Zobel 2020-12-13 03:57:34 UTC
Thank you for the crash report.

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 12 1446744399 2020-12-13 06:25:48 UTC
(In reply to Justin Zobel from comment #11)
> Thank you for the crash report.
> 
> 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.

Thanks for the notice ! 

Sorry, due to changes in the environment, I can‘t test whether the problem exists now. I believe these problems should no longer exist since Konqueror's rendering engine changed to QtWebEngine.
Comment 13 1446744399 2020-12-13 08:27:09 UTC
Ohhh , Sorry , But ...

Why can I change the status of a bug that is not submitted by me ? ? ?
and Why does the bug I submit become a comment of this issue ? ? ?

and Sorry again , I'll reopen it ,
It will be change by Kris .
Comment 14 Christoph Cullmann 2024-05-06 20:51:27 UTC
Dear user,

KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6.

Please migrate to use a QWebEngine based HTML component.

We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes.

For security issues, please see:

https://kde.org/info/security/

Sorry that we did not fix this issue during the life-time of KHTML.

Greetings
Christoph Cullmann