[Pidgin] #8770: Jump to invalid address in tcl plugin
Pidgin
trac at pidgin.im
Tue Mar 24 14:17:35 EDT 2009
#8770: Jump to invalid address in tcl plugin
-------------------------+--------------------------------------------------
Reporter: cavedon | Type: defect
Status: new | Component: plugins
Version: 2.5.5 | Keywords:
Launchpad_bug: |
-------------------------+--------------------------------------------------
The Tcl library, invoked by the tcl plugin, install a destructor function
which is called when the invoking thread is destroyed. This happens in
tclUnixThrd.c, TclpGetAllocCache()
{{{
pthread_key_create(&key, TclpFreeAllocCache);
}}}
Right now, if you call purple_core_quit(), the tcl.so library gets
unloaded, so when the thread is destroyed, the no longer existent
TclpFreeAllocCache() will be called.
I am attaching patch that uses the same hack as perl plugin to prevent
unloading of tcl.so.
--
Ticket URL: <http://developer.pidgin.im/ticket/8770>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list