Version: 3.2.0 (using KDE KDE 3.2.0) Installed from: Gentoo Packages Compiler: gcc 3.3 OS: Linux Go to http://bugzilla.opengroupware.org, log in, go to "simple search", define some search restrictions (my settings - Product: ZideStore, Version: 1.2, Component: generic WebDAV, Status: <select all>, Resolution: <select none>). Submit the form - crash. Same behaviour if you select "my bugs" or something other. Backtrace: (no debugging symbols found)...Using host libthread_db library "/lib/libthread_db.so.1". ... 0x412cc7e8 in waitpid () from /lib/libpthread.so.0 #0 0x412cc7e8 in waitpid () from /lib/libpthread.so.0 #1 0x407f7c44 in ?? () from /usr/kde/3.2/lib/libkdecore.so.4 #2 0x40735850 in KCrash::defaultCrashHandler(int) () from /usr/kde/3.2/lib/libkdecore.so.4 #3 0x412cb4d3 in __pthread_clock_settime () from /lib/libpthread.so.0 #4 <signal handler called> #5 0x4278f05b in KMultiPart::reallySendData(QMemArray<char> const&) () from /usr/kde/3.2/lib/kde3/libkmultipart.so #6 0x4278f011 in KMultiPart::sendData(QMemArray<char> const&) () from /usr/kde/3.2/lib/kde3/libkmultipart.so #7 0x4278e47a in KMultiPart::slotData(KIO::Job*, QMemArray<char> const&) () from /usr/kde/3.2/lib/kde3/libkmultipart.so #8 0x4278f73d in KMultiPart::qt_invoke(int, QUObject*) () from /usr/kde/3.2/lib/kde3/libkmultipart.so #9 0x40b25ecc in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/qt/3/lib/libqt-mt.so.3 #10 0x4018bc17 in KIO::TransferJob::data(KIO::Job*, QMemArray<char> const&) () from /usr/kde/3.2/lib/libkio.so.4 #11 0x40179a74 in KIO::TransferJob::slotData(QMemArray<char> const&) () from /usr/kde/3.2/lib/libkio.so.4 #12 0x4018c0f2 in KIO::TransferJob::qt_invoke(int, QUObject*) () from /usr/kde/3.2/lib/libkio.so.4 #13 0x40b25ecc in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/qt/3/lib/libqt-mt.so.3 #14 0x4016a5f8 in KIO::SlaveInterface::data(QMemArray<char> const&) () from /usr/kde/3.2/lib/libkio.so.4 #15 0x40168ca7 in KIO::SlaveInterface::dispatch(int, QMemArray<char> const&) () from /usr/kde/3.2/lib/libkio.so.4 #16 0x401689d9 in KIO::SlaveInterface::dispatch() () from /usr/kde/3.2/lib/libkio.so.4 #17 0x4016649b in KIO::Slave::gotInput() () from /usr/kde/3.2/lib/libkio.so.4 #18 0x40167fa0 in KIO::Slave::qt_invoke(int, QUObject*) () from /usr/kde/3.2/lib/libkio.so.4 #19 0x40b25ecc in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/qt/3/lib/libqt-mt.so.3 #20 0x40b2602d in QObject::activate_signal(int, int) () from /usr/qt/3/lib/libqt-mt.so.3 #21 0x40e55612 in QSocketNotifier::activated(int) () from /usr/qt/3/lib/libqt-mt.so.3 #22 0x40b420f0 in QSocketNotifier::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3 #23 0x40acac8f in QApplication::internalNotify(QObject*, QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3 #24 0x40aca05b in QApplication::notify(QObject*, QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3 #25 0x4069fd8c in KApplication::notify(QObject*, QEvent*) () from /usr/kde/3.2/lib/libkdecore.so.4 #26 0x40aba73a in QEventLoop::activateSocketNotifiers() () from /usr/qt/3/lib/libqt-mt.so.3 #27 0x40a76461 in QEventLoop::processEvents(unsigned) () from /usr/qt/3/lib/libqt-mt.so.3 #28 0x40adcca8 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3 #29 0x40acaf41 in QApplication::enter_loop() () from /usr/qt/3/lib/libqt-mt.so.3 #30 0x40ca99f0 in QDialog::exec() () from /usr/qt/3/lib/libqt-mt.so.3 #31 0x4051d615 in KMessageBox::queuedMessageBoxWId(unsigned long, KMessageBox::DialogType, QString const&, QString const&) () from /usr/kde/3.2/lib/libkdeui.so.4 #32 0x4051b912 in KMessageBox::errorWId(unsigned long, QString const&, QString const&, int) () from /usr/kde/3.2/lib/libkdeui.so.4 #33 0x4051b71d in KMessageBox::error(QWidget*, QString const&, QString const&, int) () from /usr/kde/3.2/lib/libkdeui.so.4 #34 0x4278ec23 in KMultiPart::setPart(QString const&) () from /usr/kde/3.2/lib/kde3/libkmultipart.so #35 0x4278ef40 in KMultiPart::startOfData() () from /usr/kde/3.2/lib/kde3/libkmultipart.so #36 0x4278e423 in KMultiPart::slotData(KIO::Job*, QMemArray<char> const&) () from /usr/kde/3.2/lib/kde3/libkmultipart.so #37 0x4278f73d in KMultiPart::qt_invoke(int, QUObject*) () from /usr/kde/3.2/lib/kde3/libkmultipart.so #38 0x40b25ecc in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/qt/3/lib/libqt-mt.so.3 #39 0x4018bc17 in KIO::TransferJob::data(KIO::Job*, QMemArray<char> const&) () from /usr/kde/3.2/lib/libkio.so.4 #40 0x40179a74 in KIO::TransferJob::slotData(QMemArray<char> const&) () from /usr/kde/3.2/lib/libkio.so.4 #41 0x4018c0f2 in KIO::TransferJob::qt_invoke(int, QUObject*) () from /usr/kde/3.2/lib/libkio.so.4 #42 0x40b25ecc in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/qt/3/lib/libqt-mt.so.3 #43 0x4016a5f8 in KIO::SlaveInterface::data(QMemArray<char> const&) () from /usr/kde/3.2/lib/libkio.so.4 #44 0x40168ca7 in KIO::SlaveInterface::dispatch(int, QMemArray<char> const&) () from /usr/kde/3.2/lib/libkio.so.4 #45 0x401689d9 in KIO::SlaveInterface::dispatch() () from /usr/kde/3.2/lib/libkio.so.4 #46 0x4016649b in KIO::Slave::gotInput() () from /usr/kde/3.2/lib/libkio.so.4 #47 0x40167fa0 in KIO::Slave::qt_invoke(int, QUObject*) () from /usr/kde/3.2/lib/libkio.so.4 #48 0x40b25ecc in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/qt/3/lib/libqt-mt.so.3 #49 0x40b2602d in QObject::activate_signal(int, int) () from /usr/qt/3/lib/libqt-mt.so.3 #50 0x40e55612 in QSocketNotifier::activated(int) () from /usr/qt/3/lib/libqt-mt.so.3 #51 0x40b420f0 in QSocketNotifier::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3 #52 0x40acac8f in QApplication::internalNotify(QObject*, QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3 #53 0x40aca05b in QApplication::notify(QObject*, QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3 #54 0x4069fd8c in KApplication::notify(QObject*, QEvent*) () from /usr/kde/3.2/lib/libkdecore.so.4 #55 0x40aba73a in QEventLoop::activateSocketNotifiers() () from /usr/qt/3/lib/libqt-mt.so.3 #56 0x40a76461 in QEventLoop::processEvents(unsigned) () from /usr/qt/3/lib/libqt-mt.so.3 #57 0x40adcca8 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3 #58 0x40adcb58 in QEventLoop::exec() () from /usr/qt/3/lib/libqt-mt.so.3 #59 0x40acaee1 in QApplication::exec() () from /usr/qt/3/lib/libqt-mt.so.3 #60 0x41babbed in kdemain () from /usr/kde/3.2/lib/libkdeinit_konqueror.so #61 0x408348c6 in kdeinitmain () from /usr/kde/3.2/lib/kde3/konqueror.so #62 0x0804d896 in ?? () #63 0x00000002 in ?? () #64 0x0805fcc8 in ?? () #65 0x00000001 in ?? () #66 0x08060e33 in ?? ()
CVS commit by faure: Fix KMultipart's reaction to bugzilla sending "text/html; charset=utf-8" as Content-Type BUGS: 77333, 83476 M +4 -0 kmultipart.cpp 1.20.6.1 --- kdelibs/khtml/kmultipart/kmultipart.cpp #1.20:1.20.6.1 @@ -110,4 +110,5 @@ KMultiPart::KMultiPart( QWidget *parentW m_part = 0L; + m_isHTMLPart = false; m_job = 0L; m_lineParser = new KLineParser; @@ -243,4 +244,7 @@ void KMultiPart::slotData( KIO::Job *job Q_ASSERT( m_nextMimeType.isNull() ); m_nextMimeType = QString::fromLatin1( line.data() + 14 ).stripWhiteSpace(); + int semicolon = m_nextMimeType.find( ';' ); + if ( semicolon != -1 ) + m_nextMimeType = m_nextMimeType.left( semicolon ); kdDebug() << "m_nextMimeType=" << m_nextMimeType << endl; }