Bug 244018

Summary: Chrashed after going to website that states "bad JSON"
Product: [Applications] konqueror Reporter: Pascal d'Hermilly <pascal>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: linedubeth
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pascal d'Hermilly 2010-07-09 11:20:28 UTC
Application: konqueror (4.4.90 (KDE 4.4.90 (KDE 4.5 RC1)))
KDE Platform Version: 4.4.90 (KDE 4.4.90 (KDE 4.5 RC1))
Qt Version: 4.7.0
Operating System: Linux 2.6.32-23-generic x86_64
Distribution: Ubuntu 10.04 LTS

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

I went to this website:
http://bestmobilecontracts.disqus.com/gingerbread_smart_phone_samsung_galaxy_s2_shown_in_rumors/reply.html?f=bestmobilecontracts&t=gingerbread_smart_phone_samsung_galaxy_s2_shown_in_rumors&ff=Arial&default_text=Type%20your%20comment%20here.&ifrs=&1278666492006#000900000000000000000001

An alert box appears:
bad JSON: %7B%22method%22%3A%20%22cookieFailure%22%2C%20%22params%22%3A%20%5Bnull%5D%2C%20%22id%22%3A%20null%7D
and it chrashed. 

It also seems to happen when I go to:
http://www.liliputing.com/2010/06/samsung-android-tablet-spotted-on-video.html

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7f8e96f71710 (LWP 2661)):
#0  0x00007f8eb01f6f83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f8ea84014a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f8ea84018fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f8eadd0f9c6 in QEventDispatcherGlib::processEvents (this=0x15cb240, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f8eadce25b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f8eadce298c in QEventLoop::exec (this=0x7f8e96f70db0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f8eadbee1cd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f8eadcc24d8 in QInotifyFileSystemWatcherEngine::run (this=0x15cc640) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f8eadbf114e in QThreadPrivate::start (arg=0x15cc640) at thread/qthread_unix.cpp:266
#9  0x00007f8eab7309ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f8eb02036fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f8e951ef710 (LWP 3334)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f8eadbf1c72 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1680310, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1680310, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8eadbe6bd2 in QThreadPoolThread::run (this=0x192df90) at concurrent/qthreadpool.cpp:140
#4  0x00007f8eadbf114e in QThreadPrivate::start (arg=0x192df90) at thread/qthread_unix.cpp:266
#5  0x00007f8eab7309ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f8eb02036fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f8e96770710 (LWP 3336)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f8eadbf1c72 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1680310, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1680310, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8eadbe6bd2 in QThreadPoolThread::run (this=0x1634610) at concurrent/qthreadpool.cpp:140
#4  0x00007f8eadbf114e in QThreadPrivate::start (arg=0x1634610) at thread/qthread_unix.cpp:266
#5  0x00007f8eab7309ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f8eb02036fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8eb0976760 (LWP 2020)):
[KCrash Handler]
#6  QList<KJS::ScheduledAction*>::count (this=0x28a7f80) at /usr/include/qt4/QtCore/qlist.h:872
#7  KJS::WindowQObject::timerEvent (this=0x28a7f80) at ../../khtml/ecma/kjs_window.cpp:2386
#8  0x00007f8eadcf5389 in QObject::event (this=0x28a7f80, e=0x20373c8) at kernel/qobject.cpp:1183
#9  0x00007f8eacdf284c in QApplicationPrivate::notify_helper (this=0xc6f3f0, receiver=0x28a7f80, e=0x7fffe8260b90) at kernel/qapplication.cpp:4358
#10 0x00007f8eacdf82ed in QApplication::notify (this=0x7fffe8261060, receiver=0x28a7f80, e=0x7fffe8260b90) at kernel/qapplication.cpp:4241
#11 0x00007f8eae71d6b6 in KApplication::notify (this=0x7fffe8261060, receiver=0x28a7f80, event=0x7fffe8260b90) at ../../kdeui/kernel/kapplication.cpp:309
#12 0x00007f8eadce387c in QCoreApplication::notifyInternal (this=0x7fffe8261060, receiver=0x28a7f80, event=0x7fffe8260b90) at kernel/qcoreapplication.cpp:732
#13 0x00007f8eadd12ea2 in QCoreApplication::sendEvent (this=0xc73180) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#14 QTimerInfoList::activateTimers (this=0xc73180) at kernel/qeventdispatcher_unix.cpp:602
#15 0x00007f8eadd0fca8 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#16 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#17 0x00007f8ea83fd8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#18 0x00007f8ea8401748 in ?? () from /lib/libglib-2.0.so.0
#19 0x00007f8ea84018fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#20 0x00007f8eadd0f973 in QEventDispatcherGlib::processEvents (this=0xc51560, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#21 0x00007f8eacea3dee in QGuiEventDispatcherGlib::processEvents (this=0x20373c8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007f8eadce25b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#23 0x00007f8eadce298c in QEventLoop::exec (this=0x7fffe8260e30, flags=) at kernel/qeventloop.cpp:201
#24 0x00007f8eadce6a3b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#25 0x00007f8eb0566eff in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../apps/konqueror/src/konqmain.cpp:243
#26 0x00007f8eb013bc4d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fffe82619c8) at libc-start.c:226
#27 0x00000000004006b9 in _start ()

Possible duplicates by query: bug 243167, bug 242399, bug 239957, bug 237673, bug 236579.

Reported using DrKonqi
Comment 1 Maksim Orlovich 2010-07-09 18:51:33 UTC
The crash is fixed now (though there is still a redirection bug with the script..)

*** This bug has been marked as a duplicate of bug 243217 ***
Comment 2 Dawit Alemayehu 2011-11-21 20:21:30 UTC
*** Bug 280192 has been marked as a duplicate of this bug. ***