Bug 168954

Summary: konqueror crashes when entering some pages
Product: [Applications] konqueror Reporter: David <StormByte>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: Regnaron
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David 2008-08-12 04:34:34 UTC
Version:           svn (using Devel)
Installed from:    Compiled sources
OS:                Linux

I see konqueror crashing suddenly just when I click a link from certain websites (no harmful ones).
A way to reproduce: 
1.- open konqueror
2.- open (sorry for spamming my blog) stormbyte.blogspot.com
It produces the following output when called from a konsole:

Widget::insertAction: Attempt to insert null action
Object::connect: No such signal KCodecAction::triggered(KEncodingDetector::AutoDetectScript)
Object::connect:  (sender name:   'setEncoding')
Object::connect: No such signal KCodecAction::triggered(KEncodingDetector::AutoDetectScript)
Object::connect:  (sender name:   'setEncoding')
Object::connect: No such signal KCodecAction::triggered(KEncodingDetector::AutoDetectScript)
Object::connect:  (sender name:   'setEncoding')
konqueror(31002) KConfigGroup::readXdgListEntry: List entry mime in "/usr/kde/svn/share/apps/kjava/pluginsinfo" is not compliant with XDG standard (missing trailing semicolon).
Object::connect: No such signal KCodecAction::triggered(KEncodingDetector::AutoDetectScript)
Object::connect:  (sender name:   'setEncoding')
Object::connect: No such signal KCodecAction::triggered(KEncodingDetector::AutoDetectScript)
Object::connect:  (sender name:   'setEncoding')
Object::connect: No such signal KCodecAction::triggered(KEncodingDetector::AutoDetectScript)
Object::connect:  (sender name:   'setEncoding')
KCrash: Application 'konqueror' crashing...
sock_file=/home/stormbyte/.kde/socket-Darkness/kdeinit4__0
KCrash cannot reach kdeinit, launching directly.
KCrash failed to exec(), errno = 2

I found out too that I can't prevent crash by clicking in the scroll bar as soon as it is shown and before page is fully loaded (strange?)
Comment 1 Oliver Putz 2008-08-12 07:42:52 UTC
I can confirm the crash on KDE-4.1.0. A reliable way for me to crash it is:

1) Open konqueror
2) Go to http://stormbyte.blogspot.com/2008/08/beware-with-msn-tools.html and see konquror crash with the following backtrace:

Application: Konqueror (konqueror), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb61d7700 (LWP 2645)]
[KCrash handler]
#6  khtml::TreeShared<DOM::NodeImpl>::ref (this=0x0)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/khtml/misc/shared.h:61
#7  0xb4816d21 in NodeListImpl (this=0xbf968730, n=0x0, type=15, 
    factory=0xb486d0f2 <CollectionCache::make()>)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/khtml/xml/dom_nodeimpl.cpp:2021
#8  0xb486c6e1 in HTMLCollectionImpl (this=0xbf968730, _base=0x0, _type=15)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/khtml/html/html_miscimpl.cpp:70
#9  0xb49afd94 in KJS::FrameArray::getOwnPropertySlot (this=0xb1919b40, 
    exec=0xbf968dd0, propertyName=@0xbf968798, slot=@0xbf968808)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/khtml/ecma/kjs_window.cpp:2565
#10 0xb4643403 in KJS::JSObject::getOwnPropertySlot (this=0xb1919b40, 
    exec=0xbf968dd0, propertyName=0, slot=@0xbf968808)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/kjs/object.cpp:200
#11 0xb46422c0 in KJS::JSObject::getPropertySlot (this=0xb1919b40, 
    exec=0xbf968dd0, propertyName=0, slot=@0xbf968808)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/kjs/object.cpp:185
#12 0xb46416d8 in KJS::JSValue::getByIndex (this=0xb1919b40, exec=0xbf968dd0, 
    propertyName=0)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/kjs/value.cpp:227
#13 0xb465b63e in KJS::Machine::runBlock (exec=0xbf968dd0, 
    codeBlock=@0x89ee74c, parentExec=0x83d6c58) at codes.def:727
#14 0xb463ea56 in KJS::FunctionImp::callAsFunction (this=0xb192ee00, 
    exec=0x83d6c58, thisObj=0xb2150000, args=@0x884d66c)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/kjs/function.cpp:143
#15 0xb464285f in KJS::JSObject::call (this=0xb192ee00, exec=0x83d6c58, 
    thisObj=0xb2150000, args=@0x884d66c)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/kjs/object.cpp:99
#16 0xb49b0cb5 in KJS::ScheduledAction::execute (this=0x884d668, 
    window=0xb2150000)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/khtml/ecma/kjs_window.cpp:2174
#17 0xb49b0f3e in KJS::WindowQObject::timerEvent (this=0x85a9a80)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/khtml/ecma/kjs_window.cpp:2350
#18 0xb74cf296 in QObject::event (this=0x85a9a80, e=0xbf969458)
    at kernel/qobject.cpp:1096
#19 0xb680a8a4 in QApplicationPrivate::notify_helper (this=0x80578c0, 
    receiver=0x85a9a80, e=0xbf969458) at kernel/qapplication.cpp:3772
#20 0xb680ea75 in QApplication::notify (this=0xbf9698cc, receiver=0x85a9a80, 
    e=0xbf969458) at kernel/qapplication.cpp:3366
#21 0xb7a8e6c3 in KApplication::notify (this=0xbf9698cc, receiver=0x85a9a80, 
    event=0xbf969458)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/kdeui/kernel/kapplication.cpp:311
#22 0xb74bdd59 in QCoreApplication::notifyInternal (this=0xbf9698cc, 
    receiver=0x85a9a80, event=0xbf969458) at kernel/qcoreapplication.cpp:587
#23 0xb74eb85a in QTimerInfoList::activateTimers (this=0x80587a4)
    at kernel/qcoreapplication.h:215
#24 0xb74eb9d0 in QEventDispatcherUNIX::activateTimers (this=0x8057988)
    at kernel/qeventdispatcher_unix.cpp:837
#25 0xb74ecf7e in QEventDispatcherUNIX::processEvents (this=0x8057988, 
    flags=@0xbf9695d8) at kernel/qeventdispatcher_unix.cpp:899
#26 0xb689af61 in QEventDispatcherX11::processEvents (this=0x8057988, 
    flags=@0xbf969608) at kernel/qeventdispatcher_x11.cpp:154
#27 0xb74bd0d3 in QEventLoop::processEvents (this=0xbf969680, 
    flags=@0xbf969648) at kernel/qeventloop.cpp:149
#28 0xb74bd246 in QEventLoop::exec (this=0xbf969680, flags=@0xbf969688)
    at kernel/qeventloop.cpp:200
#29 0xb74bf401 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#30 0xb680a23f in QApplication::exec () at kernel/qapplication.cpp:3304
#31 0xb7f35cf1 in kdemain (argc=2, argv=0xbf969be4)
    at /var/tmp/portage/kde-base/konqueror-4.1.0/work/konqueror-4.1.0/apps/konqueror/src/konqmain.cpp:227
#32 0x080488a2 in main (argc=)
    at /var/tmp/portage/kde-base/konqueror-4.1.0/work/konqueror_build/apps/konqueror/src/konqueror_dummy.cpp:3
#0  0xffffe424 in __kernel_vsyscall ()

Comment 2 Oliver Putz 2008-08-12 08:00:25 UTC
Seems to be a duplicate of bug #166056

*** This bug has been marked as a duplicate of 166056 ***