Hello all, I'm trying to install modules from CPAN on a 5.9 OpenBSD VM running on VirtualBox 5.0.26 r108824 and for a specific module (Moose), I'm getting failures during the tests phase since they are generating a core dump.
Initially I tried to do that using the standard perl (5.20.2) with local::lib for my non-root user. After the crashes, I compiled the perl 5.20.3 and tested again... with the same core dump being generated and the tests failing. I attempted, on both interpreters, install Moose both from the CPAN shell and manually (perl Makefile.PL;make;make test), with the same results. Is there any report relating issues doing that on OpenBSD 5.9? I don't get any error from makefile generation to compilation, only during the tests execution. Please let me know if I'm using the correct place to post this question or if I should look for a different mailing list. Below I'm providing full details on the system: -bash-4.3$ dmesg OpenBSD 5.9 (GENERIC.MP) #1888: Fri Feb 26 01:20:19 MST 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 1568604160 (1495MB) avail mem = 1516924928 (1446MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe1000 (10 entries) bios0: vendor innotek GmbH version "VirtualBox" date 12/01/2006 bios0: innotek GmbH VirtualBox acpi0 at bios0: rev 2 acpi0: sleep states S0 S5 acpi0: tables DSDT FACP APIC SSDT acpi0: wakeup devices acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz, 2594.56 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,RDRAND,NXE,LONG,LAHF,ABM,ITSC cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: CPU supports MTRRs but not enabled by BIOS cpu0: apic clock running at 1000MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz, 2594.40 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,RDRAND,NXE,LONG,LAHF,ABM,ITSC cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: C1(@1 halt!) acpicpu1 at acpi0: C1(@1 halt!) acpibat0 at acpi0: BAT0 model "1" serial 0 type VBOX oem "innotek" acpiac0 at acpi0: AC unit online acpivideo0 at acpi0: GFX0 pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02 pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00 pciide0 at pci0 dev 1 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <VBOX HARDDISK> wd0: 128-sector PIO, LBA, 10245MB, 20981808 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus1 at atapiscsi0: 2 targets cd0 at scsibus1 targ 0 lun 0: <VBOX, CD-ROM, 1.0> ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 vga1 at pci0 dev 2 function 0 "InnoTek VirtualBox Graphics Adapter" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) em0 at pci0 dev 3 function 0 "Intel 82540EM" rev 0x02: apic 2 int 19, address 08:00:27:cb:7b:17 "InnoTek VirtualBox Guest Service" rev 0x00 at pci0 dev 4 function 0 not configured ohci0 at pci0 dev 6 function 0 "Apple Intrepid USB" rev 0x00: apic 2 int 22, version 1.0 piixpm0 at pci0 dev 7 function 0 "Intel 82371AB Power" rev 0x08: SMBus disabled ehci0 at pci0 dev 11 function 0 "Intel 82801FB USB" rev 0x00: apic 2 int 19 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ahci0 at pci0 dev 13 function 0 "Intel 82801HBM AHCI" rev 0x02: apic 2 int 21, AHCI 1.1 ahci0: device on port 0 didn't come ready, TFD: 0x171<ERR> ahci0: port 0: 3.0Gb/s ahci0: device on port 1 didn't come ready, TFD: 0x171<ERR> ahci0: port 1: 3.0Gb/s scsibus2 at ahci0: 32 targets sd0 at scsibus2 targ 0 lun 0: <ATA, VBOX HARDDISK, 1.0> SCSI3 0/direct fixed t10.ATA_VBOX_HARDDISK_VBc79ed5da-7f8559b5_ sd0: 5203MB, 512 bytes/sector, 10655792 sectors sd1 at scsibus2 targ 1 lun 0: <ATA, VBOX HARDDISK, 1.0> SCSI3 0/direct fixed t10.ATA_VBOX_HARDDISK_VBf6840341-bd734f82_ sd1: 5203MB, 512 bytes/sector, 10655792 sectors isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 usb1 at ohci0: USB revision 1.0 uhub1 at usb1 "Apple OHCI root hub" rev 1.00/1.00 addr 1 vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets root on wd0a (964d3cf607fcb151.a) swap on wd0b dump on wd0b -bash-4.3$ perl -V Summary of my perl5 (revision 5 version 20 subversion 3) configuration: Platform: osname=openbsd, osvers=5.9, archname=OpenBSD.amd64-openbsd uname='openbsd dolly.spo.virtua.com.br 5.9 generic.mp#1888 amd64 ' config_args='-de -Dprefix=/home/arfreitas/perl5/perlbrew/perls/perl-5.20.3 -Aeval:scriptdir=/home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.2.1 20070719 ', gccosandvers='openbsd5.9' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags ='-Wl,-E -fstack-protector -L/usr/local/lib' libpth=/usr/lib /usr/local/lib libs=-lpthread -lm -lutil -lc perllibs=-lpthread -lm -lutil -lc libc=/usr/lib/libc.so.84.2, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-DPIC -fPIC ', lddlflags='-shared -fPIC -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF Locally applied patches: Devel::PatchPerl 1.38 Built under openbsd Compiled at Sep 5 2016 10:00:43 %ENV: PERLBREW_BASHRC_VERSION="0.76" PERLBREW_HOME="/home/arfreitas/.perlbrew" PERLBREW_MANPATH="/home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/man" PERLBREW_PATH="/home/arfreitas/perl5/perlbrew/bin:/home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin" PERLBREW_PERL="perl-5.20.3" PERLBREW_ROOT="/home/arfreitas/perl5/perlbrew" PERLBREW_VERSION="0.76" @INC: /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/OpenBSD.amd64-openbsd /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3 /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/5.20.3/OpenBSD.amd64-openbsd /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/5.20.3 . A very long number of tests failed, this is only a part of the summary: t/type_constraints/with-specio.t (Wstat: 139 Tests: 0 Failed: 0) Non-zero wait status: 139 Parse errors: No plan found in TAP output t/zzz-check-breaks.t (Wstat: 139 Tests: 0 Failed: 0) Non-zero wait status: 139 Parse errors: Bad plan. You planned 1 tests but ran 0. Files=473, Tests=10884, 154 wallclock secs ( 1.26 usr 3.74 sys + 78.78 cusr 59.24 csys = 143.02 CPU) Result: FAIL Failed 264/473 test programs. 0/10884 subtests failed. *** Error 255 in /home/arfreitas/.cpan/build/Moose-2.1805-0 (Makefile:1636 'test_dynamic') Directory after testing: -bash-4.3$ ls -ltr total 30748 -rw------- 1 arfreitas arfreitas 128 Aug 19 17:25 weaver.ini -rw------- 1 arfreitas arfreitas 187394 Aug 19 17:25 ppport.h -rw------- 1 arfreitas arfreitas 301 Aug 19 17:25 perltidyrc -rw------- 1 arfreitas arfreitas 2917 Aug 19 17:25 mop.h -rw------- 1 arfreitas arfreitas 7394 Aug 19 17:25 mop.c -rw-r--r-- 1 arfreitas arfreitas 14509 Aug 19 17:25 dist.ini -rw------- 1 arfreitas arfreitas 18497 Aug 19 17:25 TODO -rw------- 1 arfreitas arfreitas 453 Aug 19 17:25 README.md -rw-r--r-- 1 arfreitas arfreitas 6676 Aug 19 17:25 Makefile.PL -rw-r--r-- 1 arfreitas arfreitas 71391 Aug 19 17:25 META.yml -rw-r--r-- 1 arfreitas arfreitas 102893 Aug 19 17:25 META.json -rw-r--r-- 1 arfreitas arfreitas 40903 Aug 19 17:25 MANIFEST -rw-r--r-- 1 arfreitas arfreitas 18388 Aug 19 17:25 LICENSE -rw------- 1 arfreitas arfreitas 63040 Aug 19 17:25 Changes.Class-MOP -rw-r--r-- 1 arfreitas arfreitas 163312 Aug 19 17:25 Changes drwxr-xr-x 19 arfreitas arfreitas 512 Sep 5 15:25 t drwxr-xr-x 5 arfreitas arfreitas 512 Sep 5 15:25 lib drwxr-xr-x 3 arfreitas arfreitas 512 Sep 5 15:25 inc drwxr-xr-x 2 arfreitas arfreitas 512 Sep 5 15:25 doc drwxr-xr-x 2 arfreitas arfreitas 512 Sep 5 15:25 bin drwxr-xr-x 3 arfreitas arfreitas 512 Sep 5 15:25 benchmarks drwxr-xr-x 2 arfreitas arfreitas 512 Sep 5 15:25 author drwxr-xr-x 4 arfreitas arfreitas 512 Sep 5 15:25 xt -rw-r--r-- 1 arfreitas arfreitas 121989 Sep 5 17:05 Makefile -rw-r--r-- 1 arfreitas arfreitas 102831 Sep 5 17:05 MYMETA.json -rw-r--r-- 1 arfreitas arfreitas 71379 Sep 5 17:05 MYMETA.yml drwxr-xr-x 8 arfreitas arfreitas 512 Sep 5 17:05 blib -rw-r--r-- 1 arfreitas arfreitas 0 Sep 5 17:05 pm_to_blib -rw-r--r-- 1 arfreitas arfreitas 0 Sep 5 17:05 Moose.bs drwxr-xr-x 2 arfreitas arfreitas 1024 Sep 5 17:05 xs -rw-r--r-- 1 arfreitas arfreitas 10624 Sep 5 17:05 mop.o -rw------- 1 arfreitas arfreitas 14667120 Sep 5 17:07 perl.core core dump information extracted with gdb: -bash-4.3$ which perl /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl -bash-4.3$ gdb /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl perl.core GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-unknown-openbsd5.9"...(no debugging symbols found) Core was generated by `perl'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libpthread.so.20.1...done. Loaded symbols for /usr/lib/libpthread.so.20.1 Loaded symbols for /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl Symbols already loaded for /usr/lib/libpthread.so.20.1 Reading symbols from /usr/lib/libm.so.9.0...done. Loaded symbols for /usr/lib/libm.so.9.0 Reading symbols from /usr/lib/libutil.so.12.1...done. Loaded symbols for /usr/lib/libutil.so.12.1 Reading symbols from /usr/lib/libc.so.84.2...done. Loaded symbols for /usr/lib/libc.so.84.2 Reading symbols from /usr/libexec/ld.so...done. Loaded symbols for /usr/libexec/ld.so Reading symbols from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/OpenBSD.amd64-openbsd/auto/List/Util/Util.so...done. Loaded symbols for /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/OpenBSD.amd64-openbsd/auto/List/Util/Util.so Reading symbols from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/5.20.3/OpenBSD.amd64-openbsd/auto/mro/mro.so...done. Loaded symbols for /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/5.20.3/OpenBSD.amd64-openbsd/auto/mro/mro.so Reading symbols from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/OpenBSD.amd64-openbsd/auto/Cwd/Cwd.so...done. Loaded symbols for /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/OpenBSD.amd64-openbsd/auto/Cwd/Cwd.so Reading symbols from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/5.20.3/OpenBSD.amd64-openbsd/auto/Fcntl/Fcntl.so...done. Loaded symbols for /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/5.20.3/OpenBSD.amd64-openbsd/auto/Fcntl/Fcntl.so Reading symbols from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/OpenBSD.amd64-openbsd/auto/Params/Util/Util.so...done. Loaded symbols for /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/OpenBSD.amd64-openbsd/auto/Params/Util/Util.so Reading symbols from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/OpenBSD.amd64-openbsd/auto/Class/Load/XS/XS.so...done. Loaded symbols for /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/OpenBSD.amd64-openbsd/auto/Class/Load/XS/XS.so Reading symbols from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/OpenBSD.amd64-openbsd/auto/Sub/Identify/Identify.so...done. Loaded symbols for /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/OpenBSD.amd64-openbsd/auto/Sub/Identify/Identify.so Reading symbols from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/OpenBSD.amd64-openbsd/auto/Package/Stash/XS/XS.so...done. Loaded symbols for /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/OpenBSD.amd64-openbsd/auto/Package/Stash/XS/XS.so Reading symbols from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/5.20.3/OpenBSD.amd64-openbsd/auto/B/B.so...done. Loaded symbols for /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/5.20.3/OpenBSD.amd64-openbsd/auto/B/B.so Reading symbols from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/OpenBSD.amd64-openbsd/auto/Sub/Name/Name.so...done. Loaded symbols for /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/OpenBSD.amd64-openbsd/auto/Sub/Name/Name.so Reading symbols from /home/arfreitas/.cpan/build/Moose-2.1805-0/blib/arch/auto/Moose/Moose.so...done. Loaded symbols for /home/arfreitas/.cpan/build/Moose-2.1805-0/blib/arch/auto/Moose/Moose.so #0 0x000007829a1d050a in XS_Sub__Name_subname () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/OpenBSD.amd64-openbsd/auto/Sub/Name/Name.so (gdb) bt #0 0x000007829a1d050a in XS_Sub__Name_subname () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/OpenBSD.amd64-openbsd/auto/Sub/Name/Name.so #1 0x0000077ff24bfd67 in Perl_pp_entersub () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl #2 0x0000077ff24ba893 in Perl_runops_standard () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl #3 0x0000077ff2447d6d in Perl_call_sv () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl #4 0x0000077ff2448279 in Perl_call_list () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl #5 0x0000077ff242f657 in S_process_special_blocks () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl #6 0x0000077ff24405a9 in Perl_newATTRSUB_x () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl #7 0x0000077ff24411b3 in Perl_utilize () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl #8 0x0000077ff2476abc in Perl_yyparse () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl #9 0x0000077ff24f0f96 in S_doeval () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl #10 0x0000077ff24f5138 in Perl_pp_require () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl #11 0x0000077ff24ba893 in Perl_runops_standard () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl #12 0x0000077ff2447d6d in Perl_call_sv () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl #13 0x0000077ff2448279 in Perl_call_list () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl #14 0x0000077ff242f657 in S_process_special_blocks () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl #15 0x0000077ff24405a9 in Perl_newATTRSUB_x () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl #16 0x0000077ff24411b3 in Perl_utilize () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl #17 0x0000077ff2476abc in Perl_yyparse () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl #18 0x0000077ff24f0f96 in S_doeval () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl #19 0x0000077ff24f5138 in Perl_pp_require () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl #20 0x0000077ff24ba893 in Perl_runops_standard () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl #21 0x0000077ff244892b in perl_run () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl #22 0x0000077ff242d0b3 in main () from /home/arfreitas/perl5/perlbrew/perls/perl-5.20.3/bin/perl (gdb) q -bash-4.3$