develooper Front page | perl.perl5.porters | Postings from July 2014

[perl #120487] dist/lib/t/01lib.t changes @INC to system perl, then loads XS module, crash

Thread Previous
From:
James E Keenan via RT
Date:
July 4, 2014 00:44
Subject:
[perl #120487] dist/lib/t/01lib.t changes @INC to system perl, then loads XS module, crash
Message ID:
rt-4.0.18-10565-1404434668-333.120487-15-0@perl.org
On Thu Nov 07 20:11:33 2013, bulk88 wrote:
> This is a bug report for perl from bulk88@hotmail.com,
> generated with the help of perlbug 1.39 running under perl 5.19.6.
> 
[snip]
> 
> I am getting a SEGV from dist/lib/t/01lib.t since 01lib.t munges @INC
> to
> the $Config{installsitelib} of the new build, which, on my system,
> happens to have Perl 5.12 in it. I do not plan to install the new
> build
> into the system perl dir. I haven't had this happen before because I
> usually set the install dir in the win32 makefile to a fairly recent
> perl or an empty dir. First time I leave it at the default of
> "C:\perl",
> this SEGV happens during a make test. Later on in an END block in
> 01lib.t a lazy load of an XS DLL occurs, and the XS DLL is from the
> system Perl 5.12, which then SEGVs in BOOT() since it got a Perl 5.19
> my_perl ptr. C callstack below.
[snip]

Would this be reproducible on any system other than Windows?




---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=120487

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About