Bug 94785 - CRASH konqueror in KDE 3.3.2 reproducible + testcase
Summary: CRASH konqueror in KDE 3.3.2 reproducible + testcase
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 3.3.2
Platform: RedHat Enterprise Linux Linux
: VHI crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-10 07:50 UTC by Willy De la Court
Modified: 2005-03-25 04:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
test1.html (1.28 KB, text/plain)
2004-12-10 07:52 UTC, Willy De la Court
Details
test2.html (75 bytes, text/plain)
2004-12-10 07:52 UTC, Willy De la Court
Details
test1.html removed reference to md5.js (1.23 KB, text/plain)
2004-12-10 11:21 UTC, Willy De la Court
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Willy De la Court 2004-12-10 07:50:59 UTC
Version:            (using KDE KDE 3.3.2)
Installed from:    RedHat RPMs
OS:                Linux

Konqueror crashes when pressing any of the buttons on the "Save login information" dialog box.

Ways to reproduce.

- Save both attached files test1.html and test2.html on a web server.
- Point konqueror to test1.html.
- Fill in anything you want for login and password.
- Click on the Login button.
- The dialog "Save login information" appears
- Click any of the buttons on the dialog.
- CRASH every time. The Backtrace is always a little different.

This problem did not exists in KDE 3.0 to 3.3.1
Comment 1 Willy De la Court 2004-12-10 07:52:18 UTC
Created attachment 8595 [details]
test1.html
Comment 2 Willy De la Court 2004-12-10 07:52:37 UTC
Created attachment 8596 [details]
test2.html
Comment 3 George Staikos 2004-12-10 08:03:42 UTC
Can't reproduce with HEAD.
Comment 4 Willy De la Court 2004-12-10 11:21:28 UTC
Created attachment 8601 [details]
test1.html removed reference to md5.js

removed reference to md5.js as it is not relevant to the bug.
Comment 5 Willy De la Court 2004-12-10 12:29:54 UTC
javascript must be turned on.

this also works localy just copy test1.html and test2.html to /tmp and point konqueror to file:/tmp/test1.html and follow the instruction above.
Comment 6 Willy De la Court 2004-12-10 16:39:29 UTC
back trace of the crash

[New Thread 1091617312 (LWP 9440)]

[KCrash handler]
#3  0x40d5d11b in QLineEdit::selectedText() const ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#4  0x405fdefb in KLineEdit::keyPressEvent(QKeyEvent*) ()
   from /usr/lib/libkdeui.so.4
#5  0x416820e9 in QMemArray<QPoint>::detach() () from /usr/lib/libkhtml.so.4
#6  0x4168237c in QMemArray<QPoint>::detach() () from /usr/lib/libkhtml.so.4
#7  0x41638c7d in findDoctypeEntry(char const*, unsigned) ()
   from /usr/lib/libkhtml.so.4
#8  0x4163cec2 in findDoctypeEntry(char const*, unsigned) ()
   from /usr/lib/libkhtml.so.4
#9  0x415ffbf0 in QValueListPrivate<QPair<QString, QMap<QString, QString> > >::clear() () from /usr/lib/libkhtml.so.4
#10 0x415ff952 in QValueListPrivate<QPair<QString, QMap<QString, QString> > >::clear() () from /usr/lib/libkhtml.so.4
#11 0x41600508 in QValueListPrivate<QPair<QString, QMap<QString, QString> > >::clear() () from /usr/lib/libkhtml.so.4
#12 0x415a3de3 in KHTMLView::dispatchKeyEventHelper(QKeyEvent*, bool) ()
   from /usr/lib/libkhtml.so.4
#13 0x415a3cde in KHTMLView::dispatchKeyEvent(QKeyEvent*) ()
   from /usr/lib/libkhtml.so.4
#14 0x415a3f64 in KHTMLView::keyPressEvent(QKeyEvent*) ()
   from /usr/lib/libkhtml.so.4
#15 0x415a552e in KHTMLView::eventFilter(QObject*, QEvent*) ()
   from /usr/lib/libkhtml.so.4
#16 0x40c99f7e in QObject::activate_filters(QEvent*) ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#17 0x40c99ea1 in QObject::event(QEvent*) ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#18 0x40cd14ec in QWidget::event(QEvent*) ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#19 0x40d5dd4e in QLineEdit::event(QEvent*) ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#20 0x416848ec in QMemArray<QPoint>::detach() () from /usr/lib/libkhtml.so.4
#21 0x40c40d75 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#22 0x40c4089e in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#23 0x4084cec6 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libkdecore.so.4
#24 0x40bd7c81 in QETWidget::translateKeyEvent(_XEvent const*, bool) ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#25 0x40bd396f in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#26 0x40beaea7 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#27 0x40c52cd6 in QEventLoop::enterLoop() ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#28 0x40c52b78 in QEventLoop::exec() () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#29 0x40c40fc1 in QApplication::exec() ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#30 0x4005d046 in kdemain () from /usr/lib/libkdeinit_konqueror.so
#31 0x080485ab in kdemain ()
#32 0x48136704 in __libc_start_main () from /lib/tls/libc.so.6
Comment 7 Philippe Rigault 2004-12-10 21:31:00 UTC
Confirmed.

KDE-3.3.2 compiled from sources (gcc-3.4.2 on Fedora Core 3, x86_64)
Comment 8 George Staikos 2004-12-10 21:34:18 UTC
backporting bug?
Comment 9 Rex Dieter 2004-12-23 15:42:23 UTC
WORKSFORME, kde-3.3.2, tested rh90, fc2, rhel3 platforms.
Comment 10 Martin Koller 2005-01-21 23:11:44 UTC
Works with current 3.4 HEAD.
If you can reproduce with HEAD, please reopen.
Comment 11 Philippe Rigault 2005-03-25 04:43:15 UTC
Crash confirmed on 3.4 final. Compiled from sources, gcc-3.4.2 on Fedora Core 3, x86_64.

The crash happens only if the 'Yes' button is pushed (in the 'Save login information' window). The other options ('Never for this site' and 'No') work fine.

Backtrace:

Using host libthread_db library "/lib64/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 182962508352 (LWP 8958)]
[KCrash handler]
#3  0x0000002a9d0b0566 in DOM::HTMLFormElementImpl::submit ()
   from /opt/kde3.4.0/lib64/libkhtml.so.4
#4  0x0000002a9d0b088c in DOM::HTMLFormElementImpl::prepareSubmit ()
   from /opt/kde3.4.0/lib64/libkhtml.so.4
#5  0x0000002a9d0b0a47 in DOM::HTMLInputElementImpl::defaultEventHandler ()
   from /opt/kde3.4.0/lib64/libkhtml.so.4
#6  0x0000002a9d06c829 in DOM::NodeImpl::dispatchGenericEvent ()
   from /opt/kde3.4.0/lib64/libkhtml.so.4
#7  0x0000002a9d06ccdf in DOM::NodeImpl::dispatchEvent ()
   from /opt/kde3.4.0/lib64/libkhtml.so.4
#8  0x0000002a9d06f285 in DOM::NodeImpl::dispatchUIEvent ()
   from /opt/kde3.4.0/lib64/libkhtml.so.4
#9  0x0000002a9d06c868 in DOM::NodeImpl::dispatchGenericEvent ()
   from /opt/kde3.4.0/lib64/libkhtml.so.4
#10 0x0000002a9d06ccdf in DOM::NodeImpl::dispatchEvent ()
   from /opt/kde3.4.0/lib64/libkhtml.so.4
#11 0x0000002a9cff46bd in KHTMLView::dispatchMouseEvent ()
   from /opt/kde3.4.0/lib64/libkhtml.so.4
#12 0x0000002a9cff4b74 in KHTMLView::viewportMouseReleaseEvent ()
   from /opt/kde3.4.0/lib64/libkhtml.so.4
#13 0x0000002a9d00cca3 in KHTMLView::eventFilter ()
   from /opt/kde3.4.0/lib64/libkhtml.so.4
#14 0x0000002a9713a617 in QObject::activate_filters ()
   from /opt/kde3.4.0/lib64/libqt-mt.so.3
#15 0x0000002a9713a6fe in QObject::event ()
   from /opt/kde3.4.0/lib64/libqt-mt.so.3
#16 0x0000002a9716f993 in QWidget::event ()
   from /opt/kde3.4.0/lib64/libqt-mt.so.3
#17 0x0000002a970e205d in QApplication::internalNotify ()
   from /opt/kde3.4.0/lib64/libqt-mt.so.3
#18 0x0000002a970e24cf in QApplication::notify ()
   from /opt/kde3.4.0/lib64/libqt-mt.so.3
#19 0x0000002a96515b9a in KApplication::notify ()
   from /opt/kde3.4.0/lib64/libkdecore.so.4
#20 0x0000002a97084199 in QETWidget::translateMouseEvent ()
   from /opt/kde3.4.0/lib64/libqt-mt.so.3
#21 0x0000002a97082822 in QApplication::x11ProcessEvent ()
   from /opt/kde3.4.0/lib64/libqt-mt.so.3
#22 0x0000002a9709448b in QEventLoop::processEvents ()
   from /opt/kde3.4.0/lib64/libqt-mt.so.3
#23 0x0000002a970f64d6 in QEventLoop::enterLoop ()
   from /opt/kde3.4.0/lib64/libqt-mt.so.3
#24 0x0000002a970f6435 in QEventLoop::exec ()
   from /opt/kde3.4.0/lib64/libqt-mt.so.3
#25 0x0000002a9c1d975a in kdemain ()
   from /opt/kde3.4.0/lib64/libkdeinit_konqueror.so
#26 0x0000000000406fb1 in launch ()
#27 0x0000000000407897 in handle_launcher_request ()
#28 0x0000000000407e77 in handle_requests ()
#29 0x0000000000408630 in main ()