pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

perl v5.42 segfault



After running pkgin upgrade today, my perl got bumped from 5.40 to 5.42,
and now the following command gives a segfault:

	perl -E 'for my($x,$y)($a->foo){}'

Confirmed by someone else on IRC, so it's not just me. I ran into it
because I am working on some perl code that does something similar.

$ uname -a
NetBSD ucl.h.falsifian.org 10.1 NetBSD 10.1 (GENERIC) #0: Mon Dec 16 13:08:11 UTC 2024  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64

I'm pretty sure I just got switched to a new quarterly pkgsrc release,
because pkgin wanted to upgrade a zillion packages. My
pkgin/repositories.conf has

	https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/$arch/10.0/Al

I don't know if this is specific to pkgsrc or NetBSD. I did try
(effectively) the same line with perlbot on libera.chat, but that's
running a later perl, 5.43.3. It didn't crash.

-- 
James


Home | Main Index | Thread Index | Old Index