[Pidgin] #8499: Pidgin crashed by using Gtk2 module in an experimental perl plugin

Pidgin trac at pidgin.im
Fri Jul 31 03:54:39 EDT 2009


#8499: Pidgin crashed by using Gtk2 module in an experimental perl plugin
--------------------------------+-------------------------------------------
 Reporter:  linleno             |        Owner:         
     Type:  defect              |       Status:  closed 
Milestone:                      |    Component:  plugins
  Version:  2.5.4               |   Resolution:  cantfix
 Keywords:  gtk2, plugin, perl  |  
--------------------------------+-------------------------------------------
Changes (by darkrain42):

  * status:  new => closed
  * resolution:  => cantfix


Comment:

 This is crashing because "use Gtk2 '-init'" is trying to init Gtk+, which
 is bad both because it's already initted *and* because one of its steps is
 to register a log handler for glog messages. When an assertion fails (in
 this case "purple_value_get_type(value) == PURPLE_TYPE_STRING"), the wrong
 log handler is triggered, and perl chokes on it.

 There's nothing we can do about this, though I don't know enough of perl's
 internals to know why "require" would work where "use" wouldn't.

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


More information about the Tracker mailing list