Opened 10 years ago

Closed 10 years ago

#10384 closed defect

Pidgin crashing, no error - XMPP

Reported by: kwolf Owned by: darkrain42
Milestone: 2.6.4 Component: XMPP
Version: 2.6.2 Keywords:
Cc:

Description

Sometimes Pidgin will crash silently (just exits with no error) within the first 15 seconds of me logging into my company XMPP chat, sometimes it will stay working for a long time (hours) before this happens. I've setup a shortcut to make a backtrace for me automatically, but of course it's not crashing at the moment. I'll attach the backtrace one it happens again. In the mean time, here is the .RPT file. This seems to happen to anyone who uses Pidgin on our chat, but if they use something like PSI or Spark there are no issues.

Attachments (9)

09-26-2009_19.49.28.16.log (505.2 KB) - added by kwolf 10 years ago.
debug log
pidgin.RPT (7.3 KB) - added by kwolf 10 years ago.
updated RPT 9/27
09-27-2009_08.52.54.94.log (372.4 KB) - added by kwolf 10 years ago.
09-28-2009_10.05.23.57.log (409.0 KB) - added by kwolf 10 years ago.
crash
pidgin.2.RPT (9.3 KB) - added by kwolf 10 years ago.
Updated RPT 9/28
09-28-2009_15.31.44.89.log (961.1 KB) - added by kwolf 10 years ago.
set avatar
pidgin.3.RPT (24.9 KB) - added by kwolf 10 years ago.
10-01-2009_09.46.07.42.log (544.0 KB) - added by kwolf 10 years ago.
libjabber.dll (1.9 MB) - added by deryni 10 years ago.

Change History (27)

Changed 10 years ago by kwolf

debug log

comment:1 Changed 10 years ago by kwolf

This time it crashed about 20 seconds after I logged in as I was changing my status message. I've attached the updated .RPT and the debug log.

comment:2 Changed 10 years ago by darkrain42

  • Component changed from unclassified to pidgin (gtk)
  • Status changed from new to pending

It's crashing trying to display a buddy icon. The second time, you hovered over a buddy and generated a tooltip. What is that buddy's icon (or what is that buddy's username)?

comment:3 Changed 10 years ago by kwolf

  • Status changed from pending to new

No one has any buddy icons that I'm aware of. I don't believe I put my mouse over any of my buddies, but to be safe I mouse-overred all of the first 20 or so buddies on there (the only ones i can see on my list unless I scroll which I did not) and it displayed a tooltip for each with no issue.

comment:4 Changed 10 years ago by kwolf

I just mouse-overred every single online person, no problems - and no one has a buddy icon, either.

comment:5 Changed 10 years ago by kwolf

And somehow I changed the ticket from pending to new... sorry, no idea how that happened. I had the "leave as pending" thing checked.

Changed 10 years ago by kwolf

updated RPT 9/27

Changed 10 years ago by kwolf

comment:6 Changed 10 years ago by kwolf

This time I didn't even get to see the buddy list, it flashed for a breif moment and crashed.

Changed 10 years ago by kwolf

crash

Changed 10 years ago by kwolf

Updated RPT 9/28

comment:7 Changed 10 years ago by kwolf

Yet another crash. Similar to previous crash, barely got to see buddy list and it crashed. Any status updates on this?

comment:8 Changed 10 years ago by darkrain42

  • Component changed from pidgin (gtk) to XMPP
  • Keywords xmpp crash removed
  • Milestone set to 2.6.3
  • Owner changed from rekkanoryo to darkrain42

This may be an issue with the vCard parsing code looking for the photos as the CDATA of <PHOTO/> if <BINVAL/> is empty, and <PHOTO/> contains some whitespace formatting character data. I'll need to test to confirm that (and run it through valgrind).

Is your openfire server configured to create vCards from Active Directory (or some other LDAP source)?

Could you also set your plumchat account offline, set an avatar, and then get a debug log of enabling it?

comment:9 Changed 10 years ago by kwolf

I do believe the openfire server is configured to do this, as changing the password for Citrix changes the password for Chat as well.

I don't know if avatars are enabled on the server or not, but I have followed your instructions. I opened Pidgin, set myself as Offline, set the avatar and saved my account, and went Available. After the buddy list finished loading, I exited Pidgin normally. I've attached the debug log requested.

Changed 10 years ago by kwolf

set avatar

comment:10 Changed 10 years ago by darkrain42

(notes for me)

I see two issues.

  1. Fix the crash (probably the CDATA/vCard thing.)
  2. Check the result of the vCard publishing IQ before broadcasting a presence stanza with the vcard-temp:x:update hash set.
(15:33:06) jabber: Recv (ssl)(178): <iq type="error" id="purple13b086cd" to="kwolf@plumchat4/76949187"><error code="500" type="wait"><internal-server-error xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>

Sadly, even Ignite's own client doesn't do this properly, which is why it's crashing, I suspect.

comment:11 Changed 10 years ago by kwolf

It's been crashing particularily often today. Here's the most recent log, just in case you need any more data :)

Changed 10 years ago by kwolf

Changed 10 years ago by kwolf

comment:12 Changed 10 years ago by darkrain42

I don't suppose you have a build environment for Pidgin set up?

comment:13 Changed 10 years ago by kwolf

Nope, I have no clue as to how to accomplish that. Sorry :(

comment:14 Changed 10 years ago by darkrain42

Forgot to note this ticket in the commit, but

Revision: 21cd61e54ce2a5a0e0ae521fc1cd51e2570586d2
Ancestor: 33891c55046515f55842c81d3a3edc42602e0ce1
Author: darkrain42@…
Date: 2009-10-03T02:50:48
Branch: im.pidgin.pidgin

Modified files:
        libpurple/protocols/jabber/buddy.c
        libpurple/protocols/jabber/presence.c

ChangeLog: 

jabber: Don't try to pull a photo out of the <PHOTO/> cdata.

When the data from the server looks literally like:
  <PHOTO>
    <TYPE>image/jpeg</TYPE> 
    <BINVAL></BINVAL>
  </PHOTO> 
xmlnode_get_data(photo_node) will contain (whitespace) data, but in
no way is it a base64-encoded image.  I can't find any reference to
clients distributing avatars in that way in the XEP or the RFC.

Now to find someone to build a libjabber.dll for you to test with ;)

comment:15 Changed 10 years ago by MarkDoliner

  • Milestone changed from 2.6.3 to 2.6.4

2.6.3 went out as a 2.6.2 plus a few small patches, so most of these tickets are pushed to 2.6.4

comment:16 Changed 10 years ago by kwolf

Find anyone to build that DLL yet? Spent 10 minutes this morning trying to get Pidgin to stay up and still trying :(

comment:17 Changed 10 years ago by deryni

  • Status changed from new to pending

I'm attaching a libjabber.dll I just built from current mtn head, hopefully that will work for you to test with.

Changed 10 years ago by deryni

comment:18 Changed 10 years ago by trac-robot

  • Status changed from pending to closed

This ticket was closed automatically by the system. It was previously set to a Pending status and hasn't been updated within 14 days.

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!