Bug 146418 - Crashes when Shift+clicking on autoloading pdf article download url
Summary: Crashes when Shift+clicking on autoloading pdf article download url
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-05 20:27 UTC by Olivier Vitrat
Modified: 2009-08-29 17:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Vitrat 2007-06-05 20:27:04 UTC
Version:            (using KDE KDE 3.5.7)
Installed from:    Debian testing/unstable Packages

Reported in Debian BTS at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=425880

I experience frequent konqueror crashes when I Shift+Click on a URL leading to
a PDF article. This happens on the URLs, which will autoload in few seconds. I
personally think that the crash occurs when I click at exactly the same time
that JavaScript or some similar mechanism attempts to open that PDF in
the konqueror automatically. This works with PDF links offered by the majority
of research journals, so the test cases should be easy to find. I am not sure
I can provide a good working sample link as a lot of them require
subscription. Here are some examples anyway:
http://het.sagepub.com/cgi/reprint/19/1/2,
http://www.biolreprod.org/cgi/reprint/75/5/697.


Backtrace:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1232656688 (LWP 28477)]
[KCrash handler]
#5  0xb7d1c787 in free () from /lib/libc.so.6
#6  0xb7eddc11 in operator delete () from /usr/lib/libstdc++.so.6
#7  0xb7c2f268 in ~KFileDialog (this=0xbffb8308)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kio/kfile/kfiledialog.cpp:198
#8  0xb727fb17 in ~QWidget (this=0x90245c8) at kernel/qwidget.cpp:973
#9  0xb7303fd3 in ~QFrame (this=0x90245c8)
    at .moc/debug-shared-mt/../../widgets/qframe.h:48
#10 0xb7378d64 in ~QScrollView (this=0x90245c8) at widgets/qscrollview.cpp:634
#11 0xb5c8f1fd in ~KHTMLView (this=0x90245c8)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./khtml/khtmlview.cpp:521
#12 0xb7f3736d in ~Part (this=0x8f933d8, __vtt_parm=0xb5f12708)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kparts/part.cpp:159
#13 0xb7f44a32 in ~ReadOnlyPart (this=0x8f933d8, __vtt_parm=0xb5f12704)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kparts/part.cpp:314
#14 0xb5c8e946 in ~KHTMLPart (this=0x8f933d8)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./khtml/khtml_part.cpp:524
#15 0xb5c7b930 in KHTMLPart::processObjectRequest (this=0x85f1c40, 
    child=0x92fe990, _url=@0x95327d0, mimetype=@0xbffb7778)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./khtml/khtml_part.cpp:4491
#16 0xb5c7c5fc in KHTMLRun::foundMimeType (this=0x95327a8, _type=@0xbffb77b4)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./khtml/khtml_run.cpp:51
#17 0xb7f41785 in KParts::BrowserRun::slotBrowserMimetype (this=0x95327a8, 
    _job=0x9532980, type=@0x958e060)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kparts/browserrun.cpp:200
#18 0xb7f418ee in KParts::BrowserRun::qt_invoke (this=0x95327a8, _id=7, 
    _o=0xbffb7880) at ./browserrun.moc:102
#19 0xb5c4766b in KHTMLRun::qt_invoke (this=0x95327a8, _id=7, _o=0xbffb7880)
    at ./khtml_run.moc:77
#20 0xb7242e1b in QObject::activate_signal (this=0x9532980, clist=0x94dc570, 
    o=0xbffb7880) at kernel/qobject.cpp:2356
#21 0xb7a95f70 in KIO::TransferJob::mimetype (this=0x9532980, t0=0x9532980, 
    t1=@0x9532a90) at ./jobclasses.moc:1050
#22 0xb7a95ff2 in KIO::TransferJob::slotMimetype (this=0x9532980, 
    type=@0x956d020)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kio/kio/job.cpp:1111
#23 0xb7ad572d in KIO::TransferJob::qt_invoke (this=0x9532980, _id=20, 
    _o=0xbffb79b8) at ./jobclasses.moc:1074
#24 0xb7242e1b in QObject::activate_signal (this=0x90dd390, clist=0x90de4d8, 
    o=0xbffb79b8) at kernel/qobject.cpp:2356
#25 0xb7243348 in QObject::activate_signal (this=0x90dd390, signal=19, 
    param=@0xbffb7a0c) at kernel/qobject.cpp:2451
#26 0xb7aa3973 in KIO::SlaveInterface::mimeType (this=0x90dd390, 
    t0=@0xbffb7bb0) at ./slaveinterface.moc:370
#27 0xb7affc11 in KIO::SlaveInterface::dispatch (this=0x90dd390, _cmd=21, 
    rawdata=@0xbffb7bf0)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kio/kio/slaveinterface.cpp:338
#28 0xb7afecfa in KIO::SlaveInterface::dispatch (this=0x90dd390)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kio/kio/slaveinterface.cpp:173
#29 0xb7aa524c in KIO::Slave::gotInput (this=0x90dd390)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kio/kio/slave.cpp:300
#30 0xb7aeef00 in KIO::Slave::qt_invoke (this=0x90dd390, _id=4, _o=0xbffb7d18)
    at ./slave.moc:113
#31 0xb7242e1b in QObject::activate_signal (this=0x90dc058, clist=0x90dd628, 
    o=0xbffb7d18) at kernel/qobject.cpp:2356
#32 0xb7243722 in QObject::activate_signal (this=0x90dc058, signal=2, 
    param=22) at kernel/qobject.cpp:2449
#33 0xb75ccd1f in QSocketNotifier::activated (this=0x90dc058, t0=22)
    at .moc/debug-shared-mt/moc_qsocketnotifier.cpp:85
#34 0xb72655c6 in QSocketNotifier::event (this=0x90dc058, e=0xbffb8070)
    at kernel/qsocketnotifier.cpp:258
#35 0xb71dacf2 in QApplication::internalNotify (this=0xbffb967c, 
    receiver=0x90dc058, e=0xbffb8070) at kernel/qapplication.cpp:2635
#36 0xb71dcb0f in QApplication::notify (this=0xbffb967c, receiver=0x90dc058, 
    e=0xbffb8070) at kernel/qapplication.cpp:2358
#37 0xb78c0142 in KApplication::notify (this=0xbffb967c, receiver=0x90dc058, 
    event=0xbffb8070)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kdecore/kapplication.cpp:550
#38 0xb716e4c1 in QApplication::sendEvent (receiver=0x90dc058, 
    event=0xbffb8070) at ../include/qapplication.h:520
#39 0xb71cd079 in QEventLoop::activateSocketNotifiers (this=0x80c4570)
    at kernel/qeventloop_unix.cpp:578
#40 0xb71827f4 in QEventLoop::processEvents (this=0x80c4570, flags=4)
    at kernel/qeventloop_x11.cpp:383
#41 0xb71f5245 in QEventLoop::enterLoop (this=0x80c4570)
    at kernel/qeventloop.cpp:198
#42 0xb71dc809 in QApplication::enter_loop (this=0xbffb967c)
    at kernel/qapplication.cpp:2793
#43 0xb73f624d in QDialog::exec (this=0xbffb8308) at dialogs/qdialog.cpp:432
#44 0xb7c4d988 in KFileDialog::getSaveURL (dir=@0xbffb8494, 
    filter=@0xb7719008, parent=0x90245c8, caption=@0xbffb85ec)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kio/kfile/kfiledialog.cpp:1649
#45 0xb5c7acd5 in KHTMLPopupGUIClient::saveURL (parent=0x90245c8, 
    caption=@0xbffb85ec, url=@0xbffb8580, metadata=@0xbffb85c8, 
    filter=@0xb7719008, cacheId=0, suggestedFilename=@0xb7719008)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./khtml/khtml_ext.cpp:822
#46 0xb5c841f6 in KHTMLPart::urlSelectedIntern (this=0x8f933d8, 
    url=@0xbffb87b0, button=1, state=256, _target=@0xbffb87b4, 
    args=@0xbffb8690)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./khtml/khtml_part.cpp:3936
#47 0xb5c846ad in KHTMLPart::urlSelected (this=0x8f933d8, url=@0xbffb87b0, 
    button=1, state=256, _target=@0xbffb87b4, args=@0xbffb8754)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./khtml/khtml_part.cpp:3894
#48 0xb5cece51 in DOM::HTMLAnchorElementImpl::defaultEventHandler (
    this=0x935ea48, evt=0x9556c88)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./khtml/html/html_inlineimpl.cpp:158
#49 0xb5cb6f1f in DOM::NodeImpl::dispatchGenericEvent (this=0x935ea48, 
    evt=0x9556c88)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./khtml/xml/dom_nodeimpl.cpp:398
#50 0xb5cb705f in DOM::NodeImpl::dispatchEvent (this=0x935ea48, 
    evt=0x9556c88, exceptioncode=@0xbffb8978, tempEvent=true)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./khtml/xml/dom_nodeimpl.cpp:342
#51 0xb5c50775 in KHTMLView::dispatchMouseEvent (this=0x90245c8, eventId=4, 
    targetNode=0x935ea48, targetNodeNonShared=0x9455be8, cancelable=true, 
    detail=1, _mouse=0xbffb8a48, setUnder=true, mouseEventType=1)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./khtml/khtmlview.cpp:3194
#52 0xb5c55f0a in KHTMLView::viewportMouseReleaseEvent (this=0x90245c8, 
    _mouse=0xbffb8ff4)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./khtml/khtmlview.cpp:1312
#53 0xb73784aa in QScrollView::eventFilter (this=0x90245c8, obj=0x938b2f8, 
    e=0xbffb8ff4) at widgets/qscrollview.cpp:1501
#54 0xb5c5f4f9 in KHTMLView::eventFilter (this=0x90245c8, o=0x938b2f8, 
    e=0xbffb8ff4)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./khtml/khtmlview.cpp:1976
#55 0xb72423ce in QObject::activate_filters (this=0x938b2f8, e=0xbffb8ff4)
    at kernel/qobject.cpp:903
#56 0xb724244c in QObject::event (this=0x938b2f8, e=0xbffb8ff4)
    at kernel/qobject.cpp:735
#57 0xb72796de in QWidget::event (this=0x938b2f8, e=0xbffb8ff4)
    at kernel/qwidget.cpp:4678
#58 0xb71dacf2 in QApplication::internalNotify (this=0xbffb967c, 
    receiver=0x938b2f8, e=0xbffb8ff4) at kernel/qapplication.cpp:2635
#59 0xb71dce95 in QApplication::notify (this=0xbffb967c, receiver=0x938b2f8, 
    e=0xbffb8ff4) at kernel/qapplication.cpp:2421
#60 0xb78c0142 in KApplication::notify (this=0xbffb967c, receiver=0x938b2f8, 
    event=0xbffb8ff4)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kdecore/kapplication.cpp:550
#61 0xb716e535 in QApplication::sendSpontaneousEvent (receiver=0x938b2f8, 
    event=0xbffb8ff4) at kernel/qapplication.h:523
#62 0xb716d1cf in QETWidget::translateMouseEvent (this=0x938b2f8, 
    event=0xbffb9428) at kernel/qapplication_x11.cpp:4301
#63 0xb716b750 in QApplication::x11ProcessEvent (this=0xbffb967c, 
    event=0xbffb9428) at kernel/qapplication_x11.cpp:3478
#64 0xb7181da2 in QEventLoop::processEvents (this=0x80c4570, flags=4)
    at kernel/qeventloop_x11.cpp:192
#65 0xb71f5245 in QEventLoop::enterLoop (this=0x80c4570)
    at kernel/qeventloop.cpp:198
#66 0xb71f5066 in QEventLoop::exec (this=0x80c4570)
    at kernel/qeve
#67 0xb71dc88b in QApplication::exec (this=0xbffb967c)
    at kernel/qapplication.cpp:2758
#68 0xb64af675 in kdemain (
    at /tmp/buildd/kdebase-3.5.7/./konqueror/konq_main.cc:20
#70 0x0804e5ef in launch (argc=4, _name=0x807bb8c "konqueror"
    args=0x807bbef "", cwd=0x807bbf0 "/home/malex", envc=33, 
    envs=0x807c080 "", reset_env=true, tty=0x0, avoid_loops=fa
    startup_id_str=0x807c085 "mrb319;1180030464;789625;8886_TIME3209425389")
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kinit/
#71 0x0804ee89 in handle_launcher_request (sock=5)
    at /tmp
#72 0x0804f37c in handle_requests (waitForPid=0)
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kinit/kinit.cpp:1433
#73 0x0805047
    at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kinit/kinit.cpp:1909
Comment 1 Eduardo Robles Elvira 2008-06-06 00:23:50 UTC
Is it still happening to you in any recent version of KDE? We won't fix KDE 3.5 anymore, so please test with KDE 4.0.5 or KDE 4.1 when it's out.
Comment 2 FiNeX 2009-08-29 17:27:04 UTC
Cannot reproduce using current trunk.