Bug 236579

Summary: Konqueror + Facebook + Firefox identification
Product: [Applications] konqueror Reporter: Carth Onasi <Carth_Onasi>
Component: kjsAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: aiacovitti, Carth_Onasi, maksim
Priority: NOR    
Version: 4.4.3   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Carth Onasi 2010-05-06 15:19:09 UTC
Application: konqueror (4.4.3 (KDE 4.4.3))
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.33.3-desktop-1mnb x86_64
Distribution: "Mandriva Linux 2010.1"

-- Information about the crash:
When I tried open "facebook.com" in Konqueror, I get window with : "Open 'http://m.facebook.com/?w2m&refsrc=www.facebook.com%2F&r4f5e176f'?" "Type: application/vnd.wap.xhtml+xml" and buttons "Save as..", "Open with" and "Cancel".

So I change identification for Facebook to "Firefox 3.0.5" and it works. But about 5 minutes and I get this crash:

 -- Backtrace:
Application: Konqueror (kdeinit4), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f519f3d7720 (LWP 5789))]

Thread 3 (Thread 0x7f51853ff710 (LWP 5903)):
#0  0x00007f519c9d6cf3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f519dd679dd in QProcessManager::run (this=0x7f519de9ffa0) at io/qprocess_unix.cpp:245
#2  0x00007f519dc96905 in QThreadPrivate::start (arg=0x7f519de9ffa0) at thread/qthread_unix.cpp:248
#3  0x00007f519da0da5d in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007f519c9de13d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f5181455710 (LWP 7042)):
#0  pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f519dc97822 in wait (this=<value optimized out>, mutex=0x35a5fa0, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x35a5fa0, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f519dc8cca9 in QThreadPoolThread::run (this=0x56ffc70) at concurrent/qthreadpool.cpp:140
#4  0x00007f519dc96905 in QThreadPrivate::start (arg=0x56ffc70) at thread/qthread_unix.cpp:248
#5  0x00007f519da0da5d in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f519c9de13d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f519f3d7720 (LWP 5789)):
[KCrash Handler]
#5  KJS::UString::Rep::hash (this=0x310fffffffffffff) at /usr/src/debug/kdelibs-4.4.3/kjs/ustring.h:158
#6  0x00007f518c1e4f68 in KJS::PropertyMap::getLocation (this=0x7f5185d80588, name=<value optimized out>) at /usr/src/debug/kdelibs-4.4.3/kjs/property_map.cpp:261
#7  0x00007f518ccfd66b in KJS::Window::getOwnPropertySlot (this=0x7f5185d80580, exec=0x7fffb08a1380, propertyName=..., slot=...) at /usr/src/debug/kdelibs-4.4.3/khtml/ecma/kjs_window.cpp:514
#8  0x00007f518c1de875 in KJS::JSObject::getPropertySlot (this=<value optimized out>, exec=0x7fffb08a1380, propertyName=..., slot=...) at /usr/src/debug/kdelibs-4.4.3/kjs/object.h:592
#9  0x00007f518c1f908c in KJS::lookupScopeAndFetch<true, true, false> (exec=0x7fffb08a1380, varName=0x97d2b01, scopeOut=<value optimized out>, valOut=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.3/kjs/bytecode/machine.cpp.in:136
#10 0x00007f518c1f3561 in KJS::Machine::runBlock (exec=0x7fffb08a1380, codeBlock=<value optimized out>, parentExec=<value optimized out>) at codes.def:619
#11 0x00007f518c1d9f53 in KJS::FunctionImp::callAsFunction (this=0x7f5180594280, exec=0x7fffb08a1a30, thisObj=<value optimized out>, args=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.3/kjs/function.cpp:144
#12 0x00007f518c1de2d5 in KJS::JSObject::call (this=0x7f5180594280, exec=0x7fffb08a1a30, thisObj=0x7f51805953c0, args=...) at /usr/src/debug/kdelibs-4.4.3/kjs/object.cpp:70
#13 0x00007f518c1f7a99 in KJS::Machine::runBlock (exec=0x7fffb08a1a30, codeBlock=<value optimized out>, parentExec=<value optimized out>) at codes.def:1192
#14 0x00007f518c1d9f53 in KJS::FunctionImp::callAsFunction (this=0x7f51806a5880, exec=0x7fffb08a20e0, thisObj=<value optimized out>, args=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.3/kjs/function.cpp:144
#15 0x00007f518c1de2d5 in KJS::JSObject::call (this=0x7f51806a5880, exec=0x7fffb08a20e0, thisObj=0x7f518059d580, args=...) at /usr/src/debug/kdelibs-4.4.3/kjs/object.cpp:70
#16 0x00007f518c1f7a99 in KJS::Machine::runBlock (exec=0x7fffb08a20e0, codeBlock=<value optimized out>, parentExec=<value optimized out>) at codes.def:1192
#17 0x00007f518c1d9f53 in KJS::FunctionImp::callAsFunction (this=0x7f5180554500, exec=0x7fffb08a2790, thisObj=<value optimized out>, args=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.3/kjs/function.cpp:144
#18 0x00007f518c1de2d5 in KJS::JSObject::call (this=0x7f5180554500, exec=0x7fffb08a2790, thisObj=0x7f51805427c0, args=...) at /usr/src/debug/kdelibs-4.4.3/kjs/object.cpp:70
#19 0x00007f518c1f7a99 in KJS::Machine::runBlock (exec=0x7fffb08a2790, codeBlock=<value optimized out>, parentExec=<value optimized out>) at codes.def:1192
#20 0x00007f518c1d9f53 in KJS::FunctionImp::callAsFunction (this=0x7f5180554800, exec=0x7fffb08a2e40, thisObj=<value optimized out>, args=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.3/kjs/function.cpp:144
#21 0x00007f518c1de2d5 in KJS::JSObject::call (this=0x7f5180554800, exec=0x7fffb08a2e40, thisObj=0x7f51805427c0, args=...) at /usr/src/debug/kdelibs-4.4.3/kjs/object.cpp:70
#22 0x00007f518c1f7a99 in KJS::Machine::runBlock (exec=0x7fffb08a2e40, codeBlock=<value optimized out>, parentExec=<value optimized out>) at codes.def:1192
#23 0x00007f518c1d9f53 in KJS::FunctionImp::callAsFunction (this=0x7f5180554480, exec=0x7fffb08a35e0, thisObj=<value optimized out>, args=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.3/kjs/function.cpp:144
#24 0x00007f518c1de2d5 in KJS::JSObject::call (this=0x7f5180554480, exec=0x7fffb08a35e0, thisObj=0x7f51805427c0, args=...) at /usr/src/debug/kdelibs-4.4.3/kjs/object.cpp:70
#25 0x00007f518c1c1917 in KJS::FunctionProtoFunc::callAsFunction (this=<value optimized out>, exec=0x7fffb08a35e0, thisObj=0x7f5180554480, args=...)
    at /usr/src/debug/kdelibs-4.4.3/kjs/function_object.cpp:139
#26 0x00007f518c1de2d5 in KJS::JSObject::call (this=0x7f518022c440, exec=0x7fffb08a35e0, thisObj=0x7f5180554480, args=...) at /usr/src/debug/kdelibs-4.4.3/kjs/object.cpp:70
#27 0x00007f518c1f7a99 in KJS::Machine::runBlock (exec=0x7fffb08a35e0, codeBlock=<value optimized out>, parentExec=<value optimized out>) at codes.def:1192
#28 0x00007f518c1d9f53 in KJS::FunctionImp::callAsFunction (this=0x7f5180528380, exec=0x7fffb08a3c90, thisObj=<value optimized out>, args=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.3/kjs/function.cpp:144
#29 0x00007f518c1de2d5 in KJS::JSObject::call (this=0x7f5180528380, exec=0x7fffb08a3c90, thisObj=0x7f51805b6e00, args=...) at /usr/src/debug/kdelibs-4.4.3/kjs/object.cpp:70
#30 0x00007f518c1f7a99 in KJS::Machine::runBlock (exec=0x7fffb08a3c90, codeBlock=<value optimized out>, parentExec=<value optimized out>) at codes.def:1192
#31 0x00007f518c1d9f53 in KJS::FunctionImp::callAsFunction (this=0x7f51805b6dc0, exec=0x7fffb08a4430, thisObj=<value optimized out>, args=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.3/kjs/function.cpp:144
#32 0x00007f518c1de2d5 in KJS::JSObject::call (this=0x7f51805b6dc0, exec=0x7fffb08a4430, thisObj=0x7f51805b6e00, args=...) at /usr/src/debug/kdelibs-4.4.3/kjs/object.cpp:70
#33 0x00007f518c1c1917 in KJS::FunctionProtoFunc::callAsFunction (this=<value optimized out>, exec=0x7fffb08a4430, thisObj=0x7f51805b6dc0, args=...)
    at /usr/src/debug/kdelibs-4.4.3/kjs/function_object.cpp:139
#34 0x00007f518c1de2d5 in KJS::JSObject::call (this=0x7f518022c440, exec=0x7fffb08a4430, thisObj=0x7f51805b6dc0, args=...) at /usr/src/debug/kdelibs-4.4.3/kjs/object.cpp:70
#35 0x00007f518c1f7a99 in KJS::Machine::runBlock (exec=0x7fffb08a4430, codeBlock=<value optimized out>, parentExec=<value optimized out>) at codes.def:1192
#36 0x00007f518c1d9f53 in KJS::FunctionImp::callAsFunction (this=0x7f51805b6c00, exec=0x7fffb08a4bd0, thisObj=<value optimized out>, args=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.3/kjs/function.cpp:144
#37 0x00007f518c1de2d5 in KJS::JSObject::call (this=0x7f51805b6c00, exec=0x7fffb08a4bd0, thisObj=0x7f51904000c0, args=...) at /usr/src/debug/kdelibs-4.4.3/kjs/object.cpp:70
#38 0x00007f518c1c1917 in KJS::FunctionProtoFunc::callAsFunction (this=<value optimized out>, exec=0x7fffb08a4bd0, thisObj=0x7f51805b6c00, args=...)
    at /usr/src/debug/kdelibs-4.4.3/kjs/function_object.cpp:139
#39 0x00007f518c1de2d5 in KJS::JSObject::call (this=0x7f518022c440, exec=0x7fffb08a4bd0, thisObj=0x7f51805b6c00, args=...) at /usr/src/debug/kdelibs-4.4.3/kjs/object.cpp:70
#40 0x00007f518c1f7a99 in KJS::Machine::runBlock (exec=0x7fffb08a4bd0, codeBlock=<value optimized out>, parentExec=<value optimized out>) at codes.def:1192
#41 0x00007f518c1d9f53 in KJS::FunctionImp::callAsFunction (this=0x7f51904081c0, exec=0x7fffb08a5280, thisObj=<value optimized out>, args=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.3/kjs/function.cpp:144
#42 0x00007f518c1de2d5 in KJS::JSObject::call (this=0x7f51904081c0, exec=0x7fffb08a5280, thisObj=0x7f5185d80580, args=...) at /usr/src/debug/kdelibs-4.4.3/kjs/object.cpp:70
#43 0x00007f518c1f7a99 in KJS::Machine::runBlock (exec=0x7fffb08a5280, codeBlock=<value optimized out>, parentExec=<value optimized out>) at codes.def:1192
#44 0x00007f518c1d9f53 in KJS::FunctionImp::callAsFunction (this=0x7f5190407e00, exec=0x9685530, thisObj=<value optimized out>, args=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.3/kjs/function.cpp:144
#45 0x00007f518c1de2d5 in KJS::JSObject::call (this=0x7f5190407e00, exec=0x9685530, thisObj=0x7f5185d80580, args=...) at /usr/src/debug/kdelibs-4.4.3/kjs/object.cpp:70
#46 0x00007f518ccfaba1 in KJS::ScheduledAction::execute (this=0x5a1f2a0, window=0x7f5185d80580) at /usr/src/debug/kdelibs-4.4.3/khtml/ecma/kjs_window.cpp:2186
#47 0x00007f518ccfae0f in KJS::WindowQObject::timerEvent (this=0x6413120) at /usr/src/debug/kdelibs-4.4.3/khtml/ecma/kjs_window.cpp:2362
#48 0x00007f519dd9a9a3 in QObject::event (this=0x6413120, e=0x7fffb08a5cf0) at kernel/qobject.cpp:1212
#49 0x00007f519d12654c in QApplicationPrivate::notify_helper (this=0x25fe8f0, receiver=0x6413120, e=0x7fffb08a5cf0) at kernel/qapplication.cpp:4300
#50 0x00007f519d12cb4b in QApplication::notify (this=0x7fffb08a6240, receiver=0x6413120, e=0x7fffb08a5cf0) at kernel/qapplication.cpp:4183
#51 0x00007f519e0aa00e in KApplication::notify (this=0x7fffb08a6240, receiver=0x6413120, event=0x7fffb08a5cf0) at /usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#52 0x00007f519dd8af4c in QCoreApplication::notifyInternal (this=0x7fffb08a6240, receiver=0x6413120, event=0x7fffb08a5cf0) at kernel/qcoreapplication.cpp:704
#53 0x00007f519ddb7c72 in sendEvent (this=0x2602600) at kernel/qcoreapplication.h:215
#54 QTimerInfoList::activateTimers (this=0x2602600) at kernel/qeventdispatcher_unix.cpp:603
#55 0x00007f519ddb4768 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#56 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#57 0x00007f5199f66d20 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#58 0x00007f5199f6ab88 in ?? () from /usr/lib64/libglib-2.0.so.0
#59 0x00007f5199f6ad3c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#60 0x00007f519ddb4433 in QEventDispatcherGlib::processEvents (this=0x256ebc0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#61 0x00007f519d1d530e in QGuiEventDispatcherGlib::processEvents (this=0x310fffffffffffff, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#62 0x00007f519dd89872 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#63 0x00007f519dd89c4c in QEventLoop::exec (this=0x7fffb08a5f90, flags=) at kernel/qeventloop.cpp:201
#64 0x00007f519dd8d98b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#65 0x00007f5192cd5d0f in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdebase-4.4.3/apps/konqueror/src/konqmain.cpp:257
#66 0x0000000000406ac9 in launch (argc=2, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=<value optimized out>, envs=<value optimized out>, reset_env=false, 
    tty=0x0, avoid_loops=false, startup_id_str=0x25b9664 "KotOR;1273150835;506151;1654_TIME127580") at /usr/src/debug/kdelibs-4.4.3/kinit/kinit.cpp:717
#67 0x0000000000407238 in handle_launcher_request (sock=8, who=<value optimized out>) at /usr/src/debug/kdelibs-4.4.3/kinit/kinit.cpp:1209
#68 0x0000000000407ef1 in handle_requests (waitForPid=0) at /usr/src/debug/kdelibs-4.4.3/kinit/kinit.cpp:1402
#69 0x0000000000408730 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at /usr/src/debug/kdelibs-4.4.3/kinit/kinit.cpp:1845

Reported using DrKonqi
Comment 1 Maksim Orlovich 2010-05-06 18:30:40 UTC
By default it just sends us the mobile version, yeah. So do you get a crash with the page just sitting there, not doing anything in particular?
Comment 2 Carth Onasi 2010-05-07 09:21:04 UTC
I get this crash several times while browsing (not just open), every time on new place, but every time I have about 3-4 tabs with facebook only.
Comment 3 Carth Onasi 2010-05-11 11:41:34 UTC
Created attachment 43467 [details]
New crash information added by DrKonqi

I get it again, but in other component, when I tried close tab.
Comment 4 Janet 2010-11-06 19:53:37 UTC
I use facebook with KHTML and "Safari" as useragent and that works.
Comment 5 Andrea Iacovitti 2013-11-15 22:01:30 UTC
Can not reproduce using KDE 4.11.3, closing as WORKSFORME.