Summary: | MSN Protocol Causes SIGSEGV At Connect | ||
---|---|---|---|
Product: | [Unmaintained] kopete | Reporter: | Alexander Terekhov <alexander_78> |
Component: | MSN Plugin | Assignee: | Kopete Developers <kopete-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | graham, roadrunn |
Priority: | NOR | ||
Version: | 0.10.1 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Alexander Terekhov
2005-05-30 13:27:14 UTC
Hi again. The same issue I have after installing KDE 3.4.1 from SuSE updates (KOpete 0.10.2 respectively) Is this reproducible? Does it happen all the time? Yes, it is - constantly (about 20 times I tried). I don't know whether it is reproducible on other workstations ;) At least I never seen MSN working in KOpete, starting with 0.10.1. Configuration is SuSE 9.3 / KDE 3.4 (and now KDE 3.4.1) Hardware is Asus L3C-S (I don't know whether this matter, but...) I'm going to setup another workstation with SuSE 9.3 next days, so I'll let you know the results. (This can of course be caused by distribution package set... on the other hand I have all online updates installed...) For now, neither 0.10.1 nor 0.10.2 (with KDE both 3.4 and 3.4.1) work. Same problem on kubuntu on the KDE 3.4.1 with 0.10.2 (no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (no debugging symbols found) `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1238882560 (LWP 8384)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [KCrash handler] #4 0xb4515bf5 in SSL_read () from /usr/lib/libssl.so.0.9.7 #5 0xb5e54898 in ?? () from /usr/lib/libkopete_msn_shared.so.0 #6 0xb7707dd4 in ?? () from /usr/lib/libkio.so.4 #7 0x000018eb in ?? () #8 0xb740ec0e in ?? () from /usr/lib/libkio.so.4 #9 0xb73fbd10 in ?? () from /usr/lib/libkio.so.4 #10 0xb77051e0 in ?? () from /usr/lib/libkio.so.4 #11 0xb77051e0 in ?? () from /usr/lib/libkio.so.4 #12 0xb74d4e99 in KOpenSSLProxy::SSL_read () from /usr/lib/libkio.so.4 #13 0xb74be076 in KSSL::read () from /usr/lib/libkio.so.4 #14 0xb5ea9deb in SslLoginHandler::readSslData () from /usr/lib/libkopete_msn_shared.so.0 #15 0xb5ea8ac8 in SslLoginHandler::dataReceived () from /usr/lib/libkopete_msn_shared.so.0 #16 0xb5ea8c38 in SslLoginHandler::login () from /usr/lib/libkopete_msn_shared.so.0 #17 0xb5e860ad in MSNNotifySocket::parseCommand () from /usr/lib/libkopete_msn_shared.so.0 #18 0xb5e7affa in MSNSocket::parseLine () from /usr/lib/libkopete_msn_shared.so.0 #19 0xb5e7a593 in MSNSocket::slotReadLine () from /usr/lib/libkopete_msn_shared.so.0 #20 0xb5e79297 in MSNSocket::slotDataReceived () from /usr/lib/libkopete_msn_shared.so.0 #21 0xb5e7dd0b in MSNSocket::qt_invoke () from /usr/lib/libkopete_msn_shared.so.0 #22 0xb5e8ef7b in MSNNotifySocket::qt_invoke () from /usr/lib/libkopete_msn_shared.so.0 #23 0xb698d067 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #24 0xb698ceae in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #25 0xb70827be in KNetwork::KClientSocketBase::readyRead () from /usr/lib/libkdecore.so.4 #26 0xb7081f28 in KNetwork::KClientSocketBase::slotReadActivity () from /usr/lib/libkdecore.so.4 #27 0xb7089788 in KNetwork::KBufferedSocket::slotReadActivity () from /usr/lib/libkdecore.so.4 #28 0xb7089c72 in KNetwork::KBufferedSocket::qt_invoke () from /usr/lib/libkdecore.so.4 #29 0xb698d067 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #30 0xb698d1be in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #31 0xb6ca8ee0 in QSocketNotifier::activated () from /usr/lib/libqt-mt.so.3 #32 0xb69a8036 in QSocketNotifier::event () from /usr/lib/libqt-mt.so.3 #33 0xb6935370 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3 #34 0xb69349d4 in QApplication::notify () from /usr/lib/libqt-mt.so.3 #35 0xb6f3fab5 in KApplication::notify () from /usr/lib/libkdecore.so.4 #36 0xb6925a10 in QEventLoop::activateSocketNotifiers () from /usr/lib/libqt-mt.so.3 #37 0xb68e1917 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3 #38 0xb694674c in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3 #39 0xb694660e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3 #40 0xb693557b in QApplication::exec () from /usr/lib/libqt-mt.so.3 #41 0x0806f14d in ?? () #42 0xbffff8f0 in ?? () #43 0xbffff8d0 in ?? () #44 0xbffff8d0 in ?? () #45 0x00000000 in ?? () #46 0x080bdb67 in _IO_stdin_used () #47 0x00000001 in ?? () #48 0x080bef00 in _IO_stdin_used () #49 0x080bd797 in _IO_stdin_used () #50 0x080bd7ac in _IO_stdin_used () #51 0x080bd77c in _IO_stdin_used () #52 0x00000001 in ?? () #53 0xbffff8e8 in ?? () #54 0xb6dabee0 in vtable for QGArray () from /usr/lib/libqt-mt.so.3 #55 0x082c7a10 in ?? () #56 0x0000000d in ?? () #57 0xb64b1e54 in ?? () from /usr/lib/libstdc++.so.5 #58 0xb6dabee0 in vtable for QGArray () from /usr/lib/libqt-mt.so.3 #59 0x0810fa68 in ?? () #60 0xbffff918 in ?? () #61 0xb64902ee in operator new () from /usr/lib/libstdc++.so.5 #62 0xb62ba8c8 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6 #63 0x0806eac1 in ?? () If anyone can get a backtrace with debugging symbols, it would certainly help. The topmost functions are shown as ?? in both backtraces, which doesn't really help us. *** Bug 107833 has been marked as a duplicate of this bug. *** I've seen it too, but I can't trace down where it's from and I cannot reproduce it. I need a valgrind trace, but I suspect the crash is inside OpenSSL (which is very bad). Here's some valgrind output: ==2991== Conditional jump or move depends on uninitialised value(s) ==2991== at 0x1B9F1FB3: KopetePasswordGetRequestPrompt::processRequest() (in /opt/kde3/lib/libkopete.so.1.0.0) ==2991== by 0x1B9E22F6: KopetePasswordRequest::walletReceived(KWallet::Wallet*) (in /opt/kde3/lib/libkopete.so.1.0.0) ==2991== by 0x1B98A6F7: KopetePasswordRequestBase::qt_invoke(int, QUObject*) (in /opt/kde3/lib/libkopete.so.1.0.0) ==2991== by 0x1C68647D: QObject::activate_signal(QConnectionList*, QUObject*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.4) ==2991== by 0x1B992601: KopeteWalletSignal::walletOpened(KWallet::Wallet*) (in /opt/kde3/lib/libkopete.so.1.0.0) ==2991== by 0x1B9926E9: Kopete::WalletManager::emitWalletOpened(KWallet::Wallet*) (in /opt/kde3/lib/libkopete.so.1.0.0) ==2991== by 0x1B9A36D2: Kopete::WalletManager::slotGiveExistingWallet() (in /opt/kde3/lib/libkopete.so.1.0.0) ==2991== by 0x1B9A3777: Kopete::WalletManager::qt_invoke(int, QUObject*) (in /opt/kde3/lib/libkopete.so.1.0.0) ==2991== by 0x1C68647D: QObject::activate_signal(QConnectionList*, QUObject*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.4) ==2991== by 0x1C9D8391: QSignal::signal(QVariant const&) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.4) ==2991== by 0x1C6A39D2: QSignal::activate() (in /usr/lib/qt3/lib/libqt-mt.so.3.3.4) ==2991== by 0x1C6AB422: QSingleShotTimer::event(QEvent*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.4) kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.7: undefined symbol: PKCS7_content_free kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.7: undefined symbol: OpenSSL_add_all_algorithms kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.7: undefined symbol: OpenSSL_add_all_algorithms_conf kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.7: undefined symbol: OpenSSL_add_all_algorithms_noconf ==2991== ==2991== Invalid read of size 4 ==2991== at 0x1F09DC43: SSL_read (in /usr/lib/libssl.so.0.9.7) ==2991== by 0x1BC52293: KSSL::read(void*, int) (in /opt/kde3/lib/libkio.so.4.2.0) ==2991== by 0x1E6EF733: SslLoginHandler::readSslData() (in /opt/kde3/lib/libkopete_msn_shared.so.0.0.0) ==2991== by 0x1E6F1244: SslLoginHandler::dataReceived() (in /opt/kde3/lib/libkopete_msn_shared.so.0.0.0) ==2991== by 0x1E6F1467: SslLoginHandler::login(QString, QString, QString) (in /opt/kde3/lib/libkopete_msn_shared.so.0.0.0) ==2991== by 0x1E6CFDAD: MSNNotifySocket::parseCommand(QString const&, unsigned, QString const&) (in /opt/kde3/lib/libkopete_msn_shared.so.0.0.0) ==2991== by 0x1E6C1F79: MSNSocket::parseLine(QString const&) (in /opt/kde3/lib/libkopete_msn_shared.so.0.0.0) ==2991== by 0x1E6C2329: MSNSocket::slotReadLine() (in /opt/kde3/lib/libkopete_msn_shared.so.0.0.0) ==2991== by 0x1E6C2986: MSNSocket::slotDataReceived() (in /opt/kde3/lib/libkopete_msn_shared.so.0.0.0) ==2991== by 0x1E6C4044: MSNSocket::qt_invoke(int, QUObject*) (in /opt/kde3/lib/libkopete_msn_shared.so.0.0.0) ==2991== by 0x1E6CF814: MSNNotifySocket::qt_invoke(int, QUObject*) (in /opt/kde3/lib/libkopete_msn_shared.so.0.0.0) ==2991== by 0x1C68647D: QObject::activate_signal(QConnectionList*, QUObject*) (in /usr/lib/qt3/lib/libqt-mt.so.3.3.4) ==2991== Address 0x20 is not stack'd, malloc'd or (recently) free'd KCrash: Application 'kopete' crashing... ==2991== ==2991== ERROR SUMMARY: 55 errors from 13 contexts (suppressed: 199 from 5) ==2991== malloc/free: in use at exit: 3271245 bytes in 103145 blocks. ==2991== malloc/free: 3455767 allocs, 3352622 frees, 503120239 bytes allocated. ==2991== For counts of detected errors, rerun with: -v ==2991== searching for pointers to 103145 not-freed blocks. ==2991== checked 9223420 bytes. ==2991== ==2991== LEAK SUMMARY: ==2991== definitely lost: 5098 bytes in 232 blocks. ==2991== possibly lost: 156 bytes in 3 blocks. ==2991== still reachable: 3265991 bytes in 102910 blocks. ==2991== suppressed: 0 bytes in 0 blocks. ==2991== Use --leak-check=full to see details of leaked memory. On Monday 27 June 2005 05:42, Graham Borland wrote: > ==2991== Invalid read of size 4 > ==2991== at 0x1F09DC43: SSL_read (in /usr/lib/libssl.so.0.9.7) > ==2991== by 0x1BC52293: KSSL::read(void*, int) (in > /opt/kde3/lib/libkio.so.4.2.0) ==2991== by 0x1E6EF733: > SslLoginHandler::readSslData() (in > /usr/lib/qt3/lib/libqt-mt.so.3.3.4) ==2991== Address 0x20 is not stack'd, > malloc'd or (recently) free'd KCrash: Application 'kopete' crashing... That looks like an openssl bug still. Can you build openssl with debug symbols and rerun? Thanks Or SslLoginHandler::readSslData gave KSSL::read an invalid pointer. On Monday 27 June 2005 20:47, Thiago Macieira wrote:
> Or SslLoginHandler::readSslData gave KSSL::read an invalid pointer.
Right.. but no way to know until we see a debugging version of openssl run
through valgrind I guess. Or the old-fashioned debugging way. :-)
We now use a new login handler which doesn't use KSSL directly anymore. |