Bug 183580

Summary: konqueror crashed at specific page
Product: [Applications] konqueror Reporter: Ivaylo Kabakov <ivaylo.kabakov>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ivaylo Kabakov 2009-02-07 18:06:55 UTC
Version:           4.2.00 (KDE 4.2.0) (using 4.2.00 (KDE 4.2.0), 4.2.0-9.fc10 Fedora)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.27.12-170.2.5.fc10.x86_64

Hi!

I have no idea how better to describe the issue or the reason for the crash (in order to find a related bug), so I file this one.

Konqueror crashed when I tried to open this page: 
http://www.atanas.fr/articles/2008-04-27-01-49-09/113-boiko

Here's the stacktrace:

Application: Konqueror (konqueror), signal SIGSEGV
0x00000035090a7f81 in nanosleep () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f348bf40800 (LWP 7444))]

Thread 3 (Thread 0x7f347c8d6950 (LWP 7445)):
#0  0x0000003509c0b58d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000035b8e5a817 in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00000035b8e509f9 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00000035b8e59852 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x0000003509c073da in start_thread () from /lib64/libpthread.so.0
#5  0x00000035090e62bd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f347beab950 (LWP 7446)):
#0  0x0000003509c0b58d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000035b8e5a817 in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00000035b8e509f9 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00000035b8e59852 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x0000003509c073da in start_thread () from /lib64/libpthread.so.0
#5  0x00000035090e62bd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f348bf40800 (LWP 7444)):
[KCrash Handler]
#5  KJS::Debugger::reportSourceParsed (this=0x1ff1900, exec=0x3302010, body=0x0, source=<value optimized out>, startingLineNumber=434, errorLine=434, errorMsg=@0x7fff93f855c0)
    at /usr/src/debug/kdelibs-4.2.0/kjs/debugger.cpp:158
#6  0x0000003729e68277 in KJS::Interpreter::evaluate (this=0x3301ff0, sourceURL=@0x7fff93f85810, startingLineNumber=434, code=0x4051ce0, codeLength=131, thisV=0x7f347b290480)
    at /usr/src/debug/kdelibs-4.2.0/kjs/interpreter.cpp:513
#7  0x0000003729e686a3 in KJS::Interpreter::evaluate (this=0x3302010, sourceURL=@0x0, startingLineNumber=-1812441696, code=<value optimized out>, thisV=<value optimized out>)
    at /usr/src/debug/kdelibs-4.2.0/kjs/interpreter.cpp:493
#8  0x000000372ae264c3 in KJS::KJSProxyImpl::evaluate (this=0x30fcab0, filename=<value optimized out>, baseLine=434, str=@0x7fff93f85ca0, n=<value optimized out>, completion=0x7fff93f858a0)
    at /usr/src/debug/kdelibs-4.2.0/khtml/ecma/kjs_proxy.cpp:158
#9  0x000000372abddfc1 in KHTMLPart::executeScript (this=0x1a8c5d0, filename=@0x7fff93f859c0, baseLine=434, n=@0x7fff93f85980, script=@0x7fff93f85ca0)
    at /usr/src/debug/kdelibs-4.2.0/khtml/khtml_part.cpp:1303
#10 0x000000372ac8cb78 in khtml::HTMLTokenizer::scriptExecution (this=0x32fcf40, str=@0x7fff93f85ca0, scriptURL=<value optimized out>, baseLine=434)
    at /usr/src/debug/kdelibs-4.2.0/khtml/html/htmltokenizer.cpp:498
#11 0x000000372ac91d98 in khtml::HTMLTokenizer::scriptHandler (this=0x32fcf40) at /usr/src/debug/kdelibs-4.2.0/khtml/html/htmltokenizer.cpp:451
#12 0x000000372ac93965 in khtml::HTMLTokenizer::parseSpecial (this=0x32fcf40, src=@0x32fd4a8) at /usr/src/debug/kdelibs-4.2.0/khtml/html/htmltokenizer.cpp:367
#13 0x000000372ac95e5a in khtml::HTMLTokenizer::parseTag (this=0x32fcf40, src=@0x32fd4a8) at /usr/src/debug/kdelibs-4.2.0/khtml/html/htmltokenizer.cpp:1548
#14 0x000000372ac96c63 in khtml::HTMLTokenizer::write (this=0x32fcf40, str=@0x7fff93f86500, appendData=false) at /usr/src/debug/kdelibs-4.2.0/khtml/html/htmltokenizer.cpp:1807
#15 0x000000372ac913b0 in khtml::HTMLTokenizer::notifyFinished (this=0x32fcf40) at /usr/src/debug/kdelibs-4.2.0/khtml/html/htmltokenizer.cpp:2132
#16 0x000000372adb191f in khtml::CachedScript::checkNotify (this=0x4011f70) at /usr/src/debug/kdelibs-4.2.0/khtml/misc/loader.cpp:387
#17 0x000000372adb1b04 in khtml::CachedScript::data (this=0x4011f70, buffer=<value optimized out>, eof=<value optimized out>) at /usr/src/debug/kdelibs-4.2.0/khtml/misc/loader.cpp:379
#18 0x000000372adaf70d in khtml::Loader::slotFinished (this=0x1977d70, job=0x37176d0) at /usr/src/debug/kdelibs-4.2.0/khtml/misc/loader.cpp:1402
#19 0x000000372adafa37 in khtml::Loader::qt_metacall (this=0x1977d70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff93f868e0)
    at /usr/src/debug/kdelibs-4.2.0/x86_64-redhat-linux-gnu/khtml/loader.moc:129
#20 0x00000035b8f56764 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#21 0x00000037244e8c92 in KJob::result (this=0x1ff18c0, _t1=0x37176d0) at /usr/src/debug/kdelibs-4.2.0/x86_64-redhat-linux-gnu/kdecore/kjob.moc:186
#22 0x00000037244e900f in KJob::emitResult (this=0x37176d0) at /usr/src/debug/kdelibs-4.2.0/kdecore/jobs/kjob.cpp:294
#23 0x00000037250e4e40 in KIO::SimpleJob::slotFinished (this=0x37176d0) at /usr/src/debug/kdelibs-4.2.0/kio/kio/job.cpp:489
#24 0x00000037250e63d3 in KIO::TransferJob::slotFinished (this=0x37176d0) at /usr/src/debug/kdelibs-4.2.0/kio/kio/job.cpp:957
#25 0x00000037250e7415 in KIO::TransferJob::qt_metacall (this=0x37176d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff93f86ce0)
    at /usr/src/debug/kdelibs-4.2.0/x86_64-redhat-linux-gnu/kio/jobclasses.moc:336
#26 0x00000035b8f56764 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#27 0x000000372518e321 in KIO::SlaveInterface::dispatch (this=0x30f70e0, _cmd=104, rawdata=<value optimized out>) at /usr/src/debug/kdelibs-4.2.0/kio/kio/slaveinterface.cpp:175
#28 0x000000372518bf42 in KIO::SlaveInterface::dispatch (this=0x30f70e0) at /usr/src/debug/kdelibs-4.2.0/kio/kio/slaveinterface.cpp:91
#29 0x000000372517f40e in KIO::Slave::gotInput (this=0x30f70e0) at /usr/src/debug/kdelibs-4.2.0/kio/kio/slave.cpp:322
#30 0x000000372517f718 in KIO::Slave::qt_metacall (this=0x30f70e0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff93f87050) at /usr/src/debug/kdelibs-4.2.0/x86_64-redhat-linux-gnu/kio/slave.moc:75
#31 0x00000035b8f56764 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#32 0x00000037250b78d1 in KIO::ConnectionPrivate::dequeue (this=0x2f09320) at /usr/src/debug/kdelibs-4.2.0/kio/kio/connection.cpp:82
#33 0x00000037250b7f7a in KIO::Connection::qt_metacall (this=0x3302520, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x2db7930)
    at /usr/src/debug/kdelibs-4.2.0/x86_64-redhat-linux-gnu/kio/connection.moc:72
#34 0x00000035b8f513d5 in QObject::event () from /usr/lib64/libQtCore.so.4
#35 0x0000003292b828dd in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#36 0x0000003292b8a68a in QApplication::notify () from /usr/lib64/libQtGui.so.4
#37 0x0000003724c04deb in KApplication::notify (this=0x7fff93f87c70, receiver=0x3302520, event=0x20e9ca0) at /usr/src/debug/kdelibs-4.2.0/kdeui/kernel/kapplication.cpp:307
#38 0x00000035b8f42391 in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#39 0x00000035b8f4302a in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib64/libQtCore.so.4
#40 0x00000035b8f6ab13 in ?? () from /usr/lib64/libQtCore.so.4
#41 0x00000035b863779b in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#42 0x00000035b863af6d in ?? () from /lib64/libglib-2.0.so.0
#43 0x00000035b863b12b in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#44 0x00000035b8f6a79f in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#45 0x0000003292c1328f in ?? () from /usr/lib64/libQtGui.so.4
#46 0x00000035b8f40cb2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#47 0x00000035b8f40e3d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#48 0x00000035b8f432ed in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#49 0x0000003726ab8af9 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdebase-4.2.0/apps/konqueror/src/konqmain.cpp:257
#50 0x000000350901e576 in __libc_start_main () from /lib64/libc.so.6
#51 0x0000000000400759 in _start ()

I'm running KDE 4.2, installed from the Fedora updates-testing repository.

Greetings!
Comment 1 Maksim Orlovich 2009-02-07 18:16:42 UTC
Turn off the JS debugger as a workaround (did you turn it on yourself?)


*** This bug has been marked as a duplicate of bug 175578 ***
Comment 2 Ivaylo Kabakov 2009-02-07 18:26:00 UTC
Hey, that was quick! :)

The workaround did work. :)
I don't think I turned the debugger on myself, but cannot guarantee this - might have some time ago.

Thanks a lot!