Bug 133470 - [site-issue] Javascript-Error at Google Image Labeler (images.google.com/imagelabeler)
Summary: [site-issue] Javascript-Error at Google Image Labeler (images.google.com/imag...
Status: RESOLVED NOT A BUG
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-03 04:30 UTC by Matt Sicker
Modified: 2013-11-30 20:23 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Debug backtrack from crash (6.44 KB, text/plain)
2006-09-03 04:41 UTC, Matt Sicker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Sicker 2006-09-03 04:30:54 UTC
Version:           3.5.4 (using KDE 3.5.4, Kubuntu Package 4:3.5.4-0ubuntu2~dapper1 )
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.15-26-686

Check it out:
http://images.google.com/imagelabeler/

Konqueror crashes if you try to go there.  I'll try to compile a debug version of Konqueror and get a decent backtrace, but there's the source of the problem right there.
Comment 1 Matt Sicker 2006-09-03 04:41:52 UTC
Created attachment 17623 [details]
Debug backtrack from crash

Okay, I just needed to install kdebase-dbg to get the debugging symbols, screw
recompiling it.

Here's a backtrace of the crash.
Comment 2 Maksim Orlovich 2006-09-03 05:13:48 UTC
That backtrace is useless.... But anyway, doesn't crash here, but doesn't work, either.
Comment 3 Gianluca Varisco 2006-09-03 18:23:23 UTC
The problem seems to be with the javascript check (I received a lot of error messages from the Javascript debugger, enabled in the control panel). Also, there is a check (I tried different user-agents but without success):

<meta name='gwt:module' content='com.google.image.tagger.ImageTagger'>
    <meta name='gwt:onPropertyErrorFn' content='unsupported'>
    <link rel="stylesheet" href="imagetagger.css">
    <title>Google Image Labeler</title>
    <script>
      function unsupported() {
        window.location = 'http://images.google.com/';
      }
    </script>

For more details, see: http://www.phpfi.com/148388. 

Ps: For me doesn't crash but not work completely :-)
Comment 4 Dirk Stoecker 2006-09-04 21:49:41 UTC
Does not crash for me (KDE 3.5.4), but does not work either. Works with firefox. Changed summary and assigned to Javascript.
Comment 5 Maksim Orlovich 2007-10-26 03:43:15 UTC
Dirk: please don't assign bugs to KJS. Only the interpreter bugs belong here, and they are very rare.
Comment 6 Maksim Orlovich 2007-10-26 04:00:46 UTC
Not sure what's up here. Buggy in 3.x, and trunk seems to not show it until I toggle JS debugger checkbox(!) then words fine.

Comment 7 Frank Reininghaus 2008-04-20 20:38:45 UTC
I looked at this with Konqueror 3.5.8 (Kubuntu 7.10) and SVN trunk revision 798811:

For me, http://images.google.com/imagelabeler/ does not work at all with 3.5.8:
After clicking "Begin as a guest", the button text turns to "Finding a partner..." and remains so. If JS debugging and error reporting is turned on, I get loads of error messages and have to kill konqueror.

With SVN trunk revision 798811, it does work fine with JS debugging and error reporting turned off. However, I found a way to crash Konqueror reproducibly (the order of the steps is important):

1. Open Konqueror, turn JS debugging and error reporting off in the settings.
2. Close Konqueror.
3. Open Konqueror, go to http://images.google.com/imagelabeler/
4. Open the settings, turn JS debugging and error reporting on.
5. Click the "Begin as a guest" button.
6. Konqueror crashes with the following backtrace:

Application: Konqueror (konqueror), signal SIGSEGV
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1242700096 (LWP 16061)]
[KCrash handler]
#6  0xb3fd0f1d in QString (this=0xbf9f24b8, other=@0x14)
    at /home/kde-devel/qt-copy/include/QtCore/qstring.h:676
#7  0xb429e1c0 in KJSDebugger::DebugDocument::name (this=0x0)
    at /home/kde-devel/kde/src/KDE/kdelibs/khtml/ecma/debugger/debugdocument.cpp:77
#8  0xb4292e59 in KJSDebugger::DebugWindow::enterContext (this=0x85e72a0, 
    exec=0xbf9f253c, sourceId=8, lineno=82, function=0xb0a6a920, 
    args=@0x86ad71c)
    at /home/kde-devel/kde/src/KDE/kdelibs/khtml/ecma/debugger/debugwindow.cpp:696
#9  0xb3e8778a in KJS::FunctionImp::callAsFunction (this=0xb0a6a920, 
    exec=0x80abd34, thisObj=0xb0b80000, args=@0x86ad71c)
    at /home/kde-devel/kde/src/KDE/kdelibs/kjs/function.cpp:154
#10 0xb3e90042 in KJS::JSObject::call (this=0xb0a6a920, exec=0x80abd34, 
    thisObj=0xb0b80000, args=@0x86ad71c)
    at /home/kde-devel/kde/src/KDE/kdelibs/kjs/object.cpp:99
#11 0xb423d5de in KJS::ScheduledAction::execute (this=0x86ad718, 
    window=0xb0b80000)
    at /home/kde-devel/kde/src/KDE/kdelibs/khtml/ecma/kjs_window.cpp:2178
#12 0xb423d8a7 in KJS::WindowQObject::timerEvent (this=0x8391c40)
    at /home/kde-devel/kde/src/KDE/kdelibs/khtml/ecma/kjs_window.cpp:2354
#13 0xb716d03c in QObject::event (this=0x8391c40, e=0xbf9f2bc4)
    at kernel/qobject.cpp:1105
#14 0xb65d0b4b in QApplicationPrivate::notify_helper (this=0x805d058, 
    receiver=0x8391c40, e=0xbf9f2bc4) at kernel/qapplication.cpp:3766
#15 0xb65d0e3d in QApplication::notify (this=0xbf9f2ef8, receiver=0x8391c40, 
    e=0xbf9f2bc4) at kernel/qapplication.cpp:3360
#16 0xb7814001 in KApplication::notify (this=0xbf9f2ef8, receiver=0x8391c40, 
    event=0xbf9f2bc4)
    at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#17 0xb7157381 in QCoreApplication::notifyInternal (this=0xbf9f2ef8, 
    receiver=0x8391c40, event=0xbf9f2bc4) at kernel/qcoreapplication.cpp:587
#18 0xb715b79b in QCoreApplication::sendEvent (receiver=0x8391c40, 
    event=0xbf9f2bc4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#19 0xb718ef3f in QTimerInfoList::activateTimers (this=0x805fe24)
    at kernel/qeventdispatcher_unix.cpp:563
#20 0xb718bf10 in timerSourceDispatch (source=0x805fdf0)
    at kernel/qeventdispatcher_glib.cpp:166
#21 0xb605411c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0xb605755f in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x0805f290 in ?? ()
#24 0x00000000 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()
Comment 8 A. Spehr 2008-04-25 22:40:56 UTC
~4.0.3 v793993

the javascript debugger crash is known;

Google image label stuff itself is different, and I have to say, this doesn't work. I try to "play" but the image never loads.
Comment 9 A. Spehr 2008-04-25 22:43:05 UTC
~4.0.3 v793993

the javascript debugger crash is known;

Google image label stuff itself is different, and I have to say, this doesn't work. I try to "play" but the image never loads.
Comment 10 Andrea Iacovitti 2013-11-30 20:23:28 UTC
Google Image Labeler is no longer available, closing...