Ticket #4238 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Pidgin 2.3.0 crashes when receiving offline messages in MSNP14

Reported by: mt1086 Owned by: khc
Milestone: Activate MSNPV14 Component: MSN
Version: 2.3.0 Keywords: MSNP14
Cc:

Description

I've compiled Pidgin 2.3.0 with msnp14 support (enable_msnp14=yes). It works very good but when someone sends me an offline message it crashes. This is what happens:

1. I start Pidgin 2. I activate the hotmail account and connect. 3. Right after connection is established some of the offline messages may be shown and then crashes.

Maybe after trying a few times it shows the offline messages, then crashes, and the next time I start Pidgin it works (but the messages are not shown anymore). If I use MSN Live to receive the offline messages, Pidgin starts working again.

I'm using Ubuntu Gutsy in an Athlon 64 Dual Core with the 2.6.22-14-generic kernel version.

I attached the backtrace. Thanks in advance, I hope someone can solve this!

Attachments

pidgin-backtrace (4.1 kB) - added by mt1086 3 years ago.
pidgin.debug_messages (266.6 kB) - added by mt1086 3 years ago.

Change History

Changed 3 years ago by mt1086

Changed 3 years ago by salinasv

The bt doesn't look like a OIM problem but a certificate one, do you have the debug messages?

Changed 3 years ago by khc

looks like memory corruption

Changed 3 years ago by khc

  • milestone set to Activate MSNPV14

Changed 3 years ago by salinasv

That memory corruption stuff are becoming very common to me...

Changed 3 years ago by mt1086

I'm attaching the complete debug messages (I've already removed the password, don't worry about that). Last lines are:


(00:20:06) util: Writing file accounts.xml to directory /home/mt1086/.purple (00:20:06) util: Writing file /home/mt1086/.purple/accounts.xml (00:20:06) nautilus: save blist online (00:20:07) gnutls: Handshake complete (00:20:07) gnutls/x509: Key print: 87:e7:54:cd:fc:e1:ab:f3:d7:4c:2d:40:a3:e1:c0:3d:92:32:28:d7 (00:20:07) gnutls: Peer provided 1 certs (00:20:07) gnutls: Lvl 0 SHA1 fingerprint: 87:e7:54:cd:fc:e1:ab:f3:d7:4c:2d:40:a3:e1:c0:3d:92:32:28:d7 (00:20:07) gnutls: Serial: 38:4f:67:5a:00:04:00:00:a3:90 (00:20:07) gnutls: Cert DN: C=US,ST=California,L=Mountain View,O=Microsoft,OU=MSN Hotmail,CN=rsi.hotmail.com (00:20:07) gnutls: Cert Issuer DN: DC=com,DC=microsoft,DC=corp,DC=redmond,CN=Microsoft Secure Server Authority (00:20:07) certificate/x509/tls_cached: Starting verify for rsi.hotmail.com (00:20:07) certificate/x509/tls_cached: Checking for cached cert... (00:20:07) certificate/x509/tls_cached: ...Found cached cert (00:20:07) gnutls: Attempting to load X.509 certificate from /home/mt1086/.purple/certificates/x509/tls_peers/rsi.hotmail.com (00:20:07) certificate/x509/tls_cached: Peer cert did NOT match cached (00:20:07) certificate/x509/tls_cached: Certificate for rsi.hotmail.com does not match cached. Auto-rejecting! (00:20:07) certificate: Failed to verify certificate for rsi.hotmail.com (00:20:07) msnoim: Failed to get OIM (00:20:07) msnoim: Failed to get OIM (00:20:07) msnoim: Failed to get OIM (00:20:07) msnoim: Failed to get OIM (00:20:07) msnoim: Failed to get OIM (00:20:07) msnoim: delete OIM failed

Changed 3 years ago by mt1086

More useful...

---------------------------
(00:20:06) util: Writing file accounts.xml to directory /home/mt1086/.purple
(00:20:06) util: Writing file /home/mt1086/.purple/accounts.xml
(00:20:06) nautilus: save blist online
(00:20:07) gnutls: Handshake complete
(00:20:07) gnutls/x509: Key print: 87:e7:54:cd:fc:e1:ab:f3:d7:4c:2d:40:a3:e1:c0:3d:92:32:28:d7
(00:20:07) gnutls: Peer provided 1 certs
(00:20:07) gnutls: Lvl 0 SHA1 fingerprint: 87:e7:54:cd:fc:e1:ab:f3:d7:4c:2d:40:a3:e1:c0:3d:92:32:28:d7
(00:20:07) gnutls: Serial: 38:4f:67:5a:00:04:00:00:a3:90
(00:20:07) gnutls: Cert DN: C=US,ST=California,L=Mountain View,O=Microsoft,OU=MSN Hotmail,CN=rsi.hotmail.com
(00:20:07) gnutls: Cert Issuer DN: DC=com,DC=microsoft,DC=corp,DC=redmond,CN=Microsoft Secure Server Authority
(00:20:07) certificate/x509/tls_cached: Starting verify for rsi.hotmail.com
(00:20:07) certificate/x509/tls_cached: Checking for cached cert...
(00:20:07) certificate/x509/tls_cached: ...Found cached cert
(00:20:07) gnutls: Attempting to load X.509 certificate from /home/mt1086/.purple/certificates/x509/tls_peers/rsi.hotmail.com
(00:20:07) certificate/x509/tls_cached: Peer cert did NOT match cached
(00:20:07) certificate/x509/tls_cached: Certificate for rsi.hotmail.com does not match cached. Auto-rejecting!
(00:20:07) certificate: Failed to verify certificate for rsi.hotmail.com
(00:20:07) msnoim: Failed to get OIM
(00:20:07) msnoim: Failed to get OIM
(00:20:07) msnoim: Failed to get OIM
(00:20:07) msnoim: Failed to get OIM
(00:20:07) msnoim: Failed to get OIM
(00:20:07) msnoim: delete OIM failed

Changed 3 years ago by mt1086

Changed 3 years ago by khc

get you try to build with nss and see if you can reproduce this? Or try to get a valgrind output with debug information in it.

Changed 3 years ago by mt1086

I've compiled Pidgin with nss support and the problem disappear. ¿Am I the only one with this problem?

Changed 3 years ago by salinasv

I got the same error but with different bt. I'm using nss. And looks like memory corruption here too.

Will try to reproduce it.

Changed 3 years ago by khc

  • status changed from new to closed
  • resolution set to fixed

I think this is fixed by a010c035a70dfe57b673c5c5564b4aff8cc1d400

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!