Bug#905650: update

Benoit Bolsee purak at hurify1.com
Wed Aug 8 09:30:24 BST 2018


After thinking about it, my proposed patch will not work in this
situation:

1. use $[ but don't bring libstdc++ 
  => libperl.so will be removed but not arybase.so
2. on create-config stage, libperl.so is reloaded, PL_check is
initialized and points to local checks only
3. the boot section is arybase is executed, but wrap_op_checker will be
a no-op because the static ab_old_ck_.. pointer is not null 
  => the op checker is not installed in libperl...

It's a tough one. 
To bring the patch further, libperl should also be forced to stay in
memory

The correct fix is that all XS modules that register things outside
themselves should unregister properly on unload. I have identified 3 XS
modules that don't do that: arybase, EV, Params::Classify
To their defense, Perl is making it difficult (no API to unset an op
checker)
To Perl's defense, apache is making it difficult by by doing a config
load-unload-reload.





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20180808/8a8d5c05/attachment.html>


More information about the pkg-perl-maintainers mailing list