Bug 104846 - konqueror crashes while uploading a file for the 2nd time
Summary: konqueror crashes while uploading a file for the 2nd time
Status: RESOLVED DUPLICATE of bug 74569
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-30 17:56 UTC by Gioele Barabucci
Modified: 2005-11-13 21:33 UTC (History)
0 users

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 Gioele Barabucci 2005-04-30 17:56:44 UTC
Version:           3.4.0 (using KDE 3.4.0, Gentoo)
Compiler:          gcc version 3.4.3-20050110 (Gentoo Linux 3.4.3.20050110-r1, ssp-3.4.3.20050110-0, pie-8.7.7)
OS:                Linux (ppc) release 2.6.11-gentoo-r6

How I found this bug (maybe someone can reduce it to a smaller test):

1) go to http://validator.w3.org
2) _using the mouse_ select "file.html" as the file to upload and click "Check"
  2.1) konqueror will ask if you want to upload file.html, say "send file"
3) go back
4) click on the filename box and press enter (don't click "Check", press enter on you keyboard)
  4.1) konqueror will ask if you want to upload file.html, say "send file" and wait
  4.2) konqueror will ask again if you want to upload file.html (?!?!)
    4.2.a) if you say "send file" konq will crash
    4.2.b) if you say "cancel" konq will not crash
Comment 1 Thiago Macieira 2005-04-30 21:22:46 UTC
I can reproduce this. You have to wait for the page to show first, after you first select Send file, but don't select it again when the second time the dialog comes up.

Backtrace:Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1239688832 (LWP 17581)]
[KCrash handler]
#7  KHTMLView::nonPasswordStorableSite (this=0xb779c319, host=@0x0)
    at /home/thiago/programs/src/kde/kdelibs/khtml/khtmlview.cpp:2621
#8  0xb580ed6f in DOM::HTMLFormElementImpl::gatherWalletData (this=0x84e7010)
    at kurl.h:329
#9  0xb580f7ca in DOM::HTMLFormElementImpl::submit (this=0x84e7010)
    at /home/thiago/programs/src/kde/kdelibs/khtml/html/html_formimpl.cpp:567
#10 0xb580fb78 in DOM::HTMLFormElementImpl::prepareSubmit (this=0x84e7010)
    at /home/thiago/programs/src/kde/kdelibs/khtml/html/html_formimpl.cpp:542
#11 0xb580fbc0 in DOM::HTMLInputElementImpl::activate (this=0x850f7b0)
    at /home/thiago/programs/src/kde/kdelibs/khtml/html/html_formimpl.cpp:1661
#12 0xb580fccd in DOM::HTMLInputElementImpl::defaultEventHandler (
    this=0x850f7b0, evt=0x8554470)
    at /home/thiago/programs/src/kde/kdelibs/khtml/html/html_formimpl.cpp:1644
#13 0xb57c906f in DOM::NodeImpl::dispatchGenericEvent (this=0x850f7b0, 
    evt=0x8554470) at qptrlist.h:174
#14 0xb57c9405 in DOM::NodeImpl::dispatchEvent (this=0x850f7b0, 
    evt=0x8554470, exceptioncode=@0x0, tempEvent=true)
    at /home/thiago/programs/src/kde/kdelibs/khtml/xml/dom_nodeimpl.cpp:402
#15 0xb57c9b46 in DOM::NodeImpl::dispatchKeyEvent (this=0x850f7b0, key=0x0, 
    keypress=false)
    at /home/thiago/programs/src/kde/kdelibs/khtml/xml/dom_nodeimpl.cpp:633
#16 0xb5748f31 in KHTMLView::dispatchKeyEventHelper (this=0x84eddb8, 
    _ke=0xbfffe710, keypress=false)
    at /home/thiago/programs/src/kde/kdelibs/khtml/khtmlview.cpp:1331
#17 0xb5749127 in KHTMLView::dispatchKeyEvent (this=0x84eddb8, _ke=0xbfffe710)
    at /home/thiago/programs/src/kde/kdelibs/khtml/khtmlview.cpp:1309
#18 0xb574a109 in KHTMLView::keyReleaseEvent (this=0x84eddb8, _ke=0xbfffe710)
    at /home/thiago/programs/src/kde/kdelibs/khtml/khtmlview.cpp:1664
#19 0xb575504e in KHTMLView::eventFilter (this=0x84eddb8, o=0x846f748, 
    e=0xbfffe710)
    at /home/thiago/programs/src/kde/kdelibs/khtml/khtmlview.cpp:1890
#20 0xb74a1af7 in QObject::activate_filters ()
   from /home/thiago/programs/src/kde/qt-copy/lib/libqt-mt.so.3
#21 0xb74a1bc2 in QObject::event ()
   from /home/thiago/programs/src/kde/qt-copy/lib/libqt-mt.so.3
#22 0xb74df9aa in QWidget::event ()
   from /home/thiago/programs/src/kde/qt-copy/lib/libqt-mt.so.3
#23 0xb743e031 in QApplication::internalNotify ()
   from /home/thiago/programs/src/kde/qt-copy/lib/libqt-mt.so.3
#24 0xb743e661 in QApplication::notify ()
   from /home/thiago/programs/src/kde/qt-copy/lib/libqt-mt.so.3
#25 0xb7a9f796 in KApplication::notify (this=0xbffff010, receiver=0x858a3c0, 
    event=0xbfffe710)
    at /home/thiago/programs/src/kde/kdelibs/kdecore/kapplication.cpp:549
#26 0xb73cc76e in QETWidget::translateKeyEvent ()
   from /home/thiago/programs/src/kde/qt-copy/lib/libqt-mt.so.3
#27 0xb73d3d76 in QApplication::x11ProcessEvent ()
   from /home/thiago/programs/src/kde/qt-copy/lib/libqt-mt.so.3
#28 0xb73e73b6 in QEventLoop::processEvents ()
   from /home/thiago/programs/src/kde/qt-copy/lib/libqt-mt.so.3
#29 0xb74556a7 in QEventLoop::enterLoop ()
   from /home/thiago/programs/src/kde/qt-copy/lib/libqt-mt.so.3
#30 0xb7455604 in QEventLoop::exec ()
   from /home/thiago/programs/src/kde/qt-copy/lib/libqt-mt.so.3
#31 0xb743d230 in QApplication::exec ()
   from /home/thiago/programs/src/kde/qt-copy/lib/libqt-mt.so.3
#32 0xb5dcbbaf in kdemain (argc=0, argv=0x0)
    at /home/thiago/programs/src/kde/kdebase/konqueror/konq_main.cc:206
#33 0x0804d9a6 in launch (argc=2, _name=0x808b85c "konqueror", 
    args=0x808b870 "\001", cwd=0x0, envc=1, envs=0x808b881 "", 
    reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x0)
    at /home/thiago/programs/src/kde/kdelibs/kinit/kinit.cpp:625
#34 0x0804e19d in handle_launcher_request (sock=8)
    at /home/thiago/programs/src/kde/kdelibs/kinit/kinit.cpp:1189
#35 0x0804e757 in handle_requests (waitForPid=0)
    at /home/thiago/programs/src/kde/kdelibs/kinit/kinit.cpp:1392
#36 0x0804efc5 in main (argc=2, argv=0xbffff974, envp=0x0)
    at /home/thiago/programs/src/kde/kdelibs/kinit/kinit.cpp:1848
Comment 2 Maksim Orlovich 2005-11-13 21:33:45 UTC
essentially the same thing


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