[Pidgin] #6089: Crash while trying to copy text out of the debug window

Pidgin trac at pidgin.im
Thu Jan 22 11:09:58 EST 2009


#6089: Crash while trying to copy text out of the debug window
-----------------------------+----------------------------------------------
 Reporter:  dave1g           |        Owner:              
     Type:  defect           |       Status:  new         
Milestone:                   |    Component:  pidgin (gtk)
  Version:  2.5.4            |   Resolution:              
 Keywords:  debug crash log  |  
-----------------------------+----------------------------------------------

Comment(by taralluccio):

 This bug appears to have two causes:

 1) Using `purple_debug_warning` inside `gtk_imhtml_get_markup_range`
 appends text to the debug log while it is being copied: this invalidates
 the text iterators and causes the segfault.

 2) `gtk_imhtml_get_markup_range` detects more closing tags than opening
 tags. The culprit appears to be a tag with name "FORECOLOR #000000".

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


More information about the Tracker mailing list