activeperl

Windows DLL Relocation and Perl

Recently a nasty bug was discovered in the way Perl builds DLL files on Windows when compiling with GCC. If an application needed to load two DLL files that overlapped their memory space, the usual OS relocation process would fail because the DLLs contained duplicate relocation tables. This bug was particularly tricky to track down because it generally only affected large applications that embed Perl or ones that load many XS modules. Thanks to Daniel Dragan and Jan Dubois for locating the problem and coming up with a fix.

Pages