[Pidgin] #6753: embedding perl needs PERL_SYS_INIT3()

Pidgin trac at pidgin.im
Sun Aug 24 17:17:57 EDT 2008


#6753: embedding perl needs PERL_SYS_INIT3()
------------------+---------------------------------------------------------
Reporter:  ari    |        Type:  defect   
  Status:  new    |   Component:  libpurple
 Version:  2.4.3  |    Keywords:           
------------------+---------------------------------------------------------
 From Debian bug report http://bugs.debian.org/495071:

 As described in the 'perlembed' document, programs embedding Perl
 must use the PERL_SYS_INIT3() and PERL_SYS_TERM() macros to provide
 system-specific tune up of the C runtime environment necessary to run Perl
 interpreters.
 libpurple's Perl plugin uses perl_parse() but not not PERL_SYS_INIT3() or
 PERL_SYS_TERM().

 As a consequence, the embedded Perl interpreter is most probably
 broken on the hppa architecture, where PERL_SYS_INIT3() is needed for
 initializing lock structures. Without this, calling perl_parse() will hang
 inside pthread_mutex_lock().

-- 
Ticket URL: <http://developer.pidgin.im/ticket/6753>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list