-
Notifications
You must be signed in to change notification settings - Fork 49
Perl is broken in development container #490
Copy link
Copy link
Closed
Description
Description
The version of perl included in the current Flatcar development container was compiled wrong, and will immediately segfault under certain condition. This is actually a really old issue from CoreOS (coreos/bugs#2369), that was originally ignored, and has just been noticed and fixed in upstream not long ago (Perl/perl5#18739). This issue might be caused by the same problem: #307. Interestingly, a simple echo 'print("Hello, World!\n");' | perl is indeed not enough to trigger the segfault.
Impact
I'm trying to automate the build of zfs for Flatcar, and having to patch and rebuild perl every time is a bit of a pain. (https://github.com/lorenz/torcx-zfs/blob/cb9ad1fef25cda4dcb18935883151113af2f791d/build.sh#L13-L15)
Environment and steps to reproduce
- Enter development container with
systemd-nspawn, as usual. - Run
perl -V - Observe segfault.
Attempt to free unreferenced scalar: SV 0x55f7886da390 at /usr/lib64/perl5/5.26.2/strict.pm line 38.
Segmentation fault
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels