[Pidgin] #5995: Logout on paste of Unicode character

Pidgin trac at pidgin.im
Tue Jun 3 18:52:12 EDT 2008


#5995: Logout on paste of Unicode character
-----------------------+----------------------------------------------------
  Reporter:  insomn1a  |       Owner:  deryni                    
      Type:  defect    |      Status:  new                       
  Priority:  minor     |   Milestone:                            
 Component:  XMPP      |     Version:  2.4.1                     
Resolution:            |    Keywords:  unicode character breaking
   Pending:  1         |  
-----------------------+----------------------------------------------------
Changes (by datallah):

  * pending:  0 => 1

Old description:

> We are currently using Pidgin 2.4.1 on Fedora 8 and are seeing problems
> when pasting various items from terminal windows. Usually this happens
> most frequently on pasting IP addresses and such, XMPP logs the user out.
>
> After some investigation it seems like we found that a unicode character
> that is breaking it:
> U+FEFF
>

> This is an example of the logout we found in one of the log files:
> <U+FEFF><span style='font-size: small;'>192.168.140.51</span><br/>
>

> We replicated the issue by pasting this unicode character from a
> charactermap.
> I am not sure how much this will help you because pidgin itself doesn't
> crash just the user is logged out of XMPP:
>
> Backtrace:
> [Thread -1327555696 (LWP 28938) exited]
> [Thread -1317065840 (LWP 28937) exited]
> [Thread -1253049456 (LWP 28935) exited]
> [Thread -1240867952 (LWP 28936) exited]
> [Thread -1265640560 (LWP 28934) exited]
> [New Thread -1265640560 (LWP 28955)]
> [New Thread -1240867952 (LWP 28956)]
> [New Thread -1253049456 (LWP 28957)]
> [New Thread -1325007984 (LWP 28958)]
> [New Thread -1335497840 (LWP 28959)]
> [Thread -1335497840 (LWP 28959) exited]
> [Thread -1325007984 (LWP 28958) exited]
> [Thread -1240867952 (LWP 28956) exited]
> [Thread -1253049456 (LWP 28957) exited]
> [Thread -1265640560 (LWP 28955) exited]
> [Detaching after fork from child process 28960.]
> [Detaching after fork from child process 28961.]
> [New Thread -1265640560 (LWP 28962)]
> [New Thread -1253049456 (LWP 28963)]
> [New Thread -1240867952 (LWP 28964)]
> [New Thread -1325012080 (LWP 28965)]
> [New Thread -1335501936 (LWP 28966)]
> [Thread -1335501936 (LWP 28966) exited]
> [Thread -1325012080 (LWP 28965) exited]
> [Thread -1253049456 (LWP 28963) exited]
> [Thread -1240867952 (LWP 28964) exited]
> [Thread -1265640560 (LWP 28962) exited]
> [New Thread -1265640560 (LWP 28967)]
> [New Thread -1240867952 (LWP 28968)]
> [New Thread -1253049456 (LWP 28969)]
> [New Thread -1325012080 (LWP 28970)]
> [New Thread -1335501936 (LWP 28971)]
> [Thread -1335501936 (LWP 28971) exited]
> [Thread -1325012080 (LWP 28970) exited]
> [Thread -1240867952 (LWP 28968) exited]
> [Thread -1253049456 (LWP 28969) exited]
> [Thread -1265640560 (LWP 28967) exited]
> [New Thread -1253049456 (LWP 28974)]
> [New Thread -1265640560 (LWP 28975)]
> [New Thread -1240867952 (LWP 28976)]
> [New Thread -1325012080 (LWP 28977)]
> [New Thread -1335501936 (LWP 28978)]
> [Thread -1335501936 (LWP 28978) exited]
> [Thread -1325012080 (LWP 28977) exited]
> [Thread -1265640560 (LWP 28975) exited]
> [Thread -1240867952 (LWP 28976) exited]
> [Thread -1253049456 (LWP 28974) exited]
> [New Thread -1253049456 (LWP 28979)]
> [New Thread -1240867952 (LWP 28980)]
> [New Thread -1265640560 (LWP 28981)]
> [New Thread -1325012080 (LWP 28982)]
> [New Thread -1335501936 (LWP 28983)]
> [Thread -1335501936 (LWP 28983) exited]
> [Thread -1325012080 (LWP 28982) exited]
> [Thread -1240867952 (LWP 28980) exited]
> [Thread -1265640560 (LWP 28981) exited]
> [Thread -1253049456 (LWP 28979) exited]

New description:

 We are currently using Pidgin 2.4.1 on Fedora 8 and are seeing problems
 when pasting various items from terminal windows. Usually this happens
 most frequently on pasting IP addresses and such, XMPP logs the user out.

 After some investigation it seems like we found that a unicode character
 that is breaking it:
 U+FEFF


 This is an example of the logout we found in one of the log files:
 <U+FEFF><span style='font-size: small;'>192.168.140.51</span><br/>


 We replicated the issue by pasting this unicode character from a
 charactermap.

Comment:

 Which server are you seeing this with?

 What does the debug log say when this happens?

-- 
Ticket URL: <http://developer.pidgin.im/ticket/5995#comment:3>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list