Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the B-C CPAN distribution.

Report information
The Basics
Id:
54514
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
paulvg+bitcard [...] elements.nl
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
(no value)
Fixed in:
(no value)



Subject: Installing ByteLoader through CPAN may cause OOM situation
At the cpan prompt, I entered the command 'install ByteLoader' and simply confirmed the defaults. At some point, tests were ran and some were failing. However, it seems that one of the tests quickly ate up all available memory and I wasn't able to log in remotely using SSH anymore until Linux killed the offending processes. Other processes were killed as well (luckily not any daemons), but here's the relevant part of the kernel log where the Perl test gets killed: [2387160.150574] nmbd invoked oom-killer: gfp_mask=0x201da, order=0, oomkilladj=0 [2387160.150582] nmbd cpuset=/ mems_allowed=0 [2387160.150588] Pid: 12682, comm: nmbd Tainted: P 2.6.31-17- generic #54-Ubuntu [2387160.150592] Call Trace: [2387160.150605] [<ffffffff810a28a8>] ? cpuset_print_task_mems_allowed+0x98/0xa0 [2387160.150613] [<ffffffff810dd8ae>] oom_kill_process+0xce/0x290 [2387160.150619] [<ffffffff810dde1a>] ? select_bad_process+0xea/0x120 [2387160.150625] [<ffffffff810ddea0>] __out_of_memory+0x50/0xb0 [2387160.150630] [<ffffffff810de026>] out_of_memory+0x126/0x1a0 [2387160.150638] [<ffffffff81529be9>] ? _spin_lock+0x9/0x10 [2387160.150644] [<ffffffff810e08e8>] __alloc_pages_slowpath+0x498/0x4e0 [2387160.150650] [<ffffffff810e0a7e>] __alloc_pages_nodemask+0x14e/0x150 [2387160.150657] [<ffffffff8110cf82>] alloc_pages_current+0x82/0xd0 [2387160.150662] [<ffffffff810daa0f>] __page_cache_alloc+0x5f/0x70 [2387160.150668] [<ffffffff810e46e1>] __do_page_cache_readahead+0xc1/0x160 [2387160.150674] [<ffffffff810e479c>] ra_submit+0x1c/0x20 [2387160.150680] [<ffffffff810da50b>] do_sync_mmap_readahead+0x9b/0xd0 [2387160.150685] [<ffffffff810dc674>] filemap_fault+0x314/0x3c0 [2387160.150691] [<ffffffff810f431f>] __do_fault+0x4f/0x4e0 [2387160.150697] [<ffffffff810f8ab7>] handle_mm_fault+0x1a7/0x3c0 [2387160.150704] [<ffffffff81036419>] ? default_spin_lock_flags+0x9/0x10 [2387160.150710] [<ffffffff8152c78a>] do_page_fault+0x16a/0x370 [2387160.150716] [<ffffffff8152a105>] page_fault+0x25/0x30 [2387160.150721] Mem-Info: [2387160.150723] Node 0 DMA per-cpu: [2387160.150728] CPU 0: hi: 0, btch: 1 usd: 0 [2387160.150732] CPU 1: hi: 0, btch: 1 usd: 0 [2387160.150735] Node 0 DMA32 per-cpu: [2387160.150739] CPU 0: hi: 186, btch: 31 usd: 136 [2387160.150743] CPU 1: hi: 186, btch: 31 usd: 153 [2387160.150750] Active_anon:298353 active_file:4 inactive_anon:99201 [2387160.150752] inactive_file:66 unevictable:4 dirty:14 writeback:135 unstable:0 [2387160.150754] free:3443 slab:15664 mapped:2223 pagetables:10281 bounce:0 [2387160.150758] Node 0 DMA free:8040kB min:40kB low:48kB high:60kB active_anon:2520kB inactive_anon:2632kB active_file:16kB inactive_file:112kB unevictable:0kB present:15348kB pages_scanned:756 all_unreclaimable? no [2387160.150768] lowmem_reserve[]: 0 2002 2002 2002 [2387160.150775] Node 0 DMA32 free:5732kB min:5704kB low:7128kB high:8556kB active_anon:1190892kB inactive_anon:394172kB active_file:0kB inactive_file:152kB unevictable:16kB present:2050300kB pages_scanned:416 all_unreclaimable? no [2387160.150785] lowmem_reserve[]: 0 0 0 0 [2387160.150791] Node 0 DMA: 2*4kB 6*8kB 39*16kB 58*32kB 18*64kB 4*128kB 1*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 8040kB [2387160.150809] Node 0 DMA32: 1205*4kB 2*8kB 14*16kB 1*32kB 2*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 5732kB [2387160.150826] 15003 total pagecache pages [2387160.150829] 14699 pages in swap cache [2387160.150833] Swap cache stats: add 3552267, delete 3537568, find 1104642/1451866 [2387160.150836] Free swap = 0kB [2387160.150839] Total swap = 3229024kB [2387160.159327] 523777 pages RAM [2387160.159331] 9922 pages reserved [2387160.159334] 3055 pages shared [2387160.159336] 507110 pages non-shared [2387160.159341] Out of memory: kill process 24479 (cccode18_o1) score 809922 or a child [2387160.159411] Killed process 24479 (cccode18_o1) ... [2387871.301727] java invoked oom-killer: gfp_mask=0x201da, order=0, oomkilladj=0 [2387871.301735] java cpuset=/ mems_allowed=0 [2387871.301741] Pid: 10366, comm: java Tainted: P 2.6.31-17- generic #54-Ubuntu [2387871.301745] Call Trace: [2387871.301758] [<ffffffff810a28a8>] ? cpuset_print_task_mems_allowed+0x98/0xa0 [2387871.301766] [<ffffffff810dd8ae>] oom_kill_process+0xce/0x290 [2387871.301772] [<ffffffff810dde1a>] ? select_bad_process+0xea/0x120 [2387871.301778] [<ffffffff810ddea0>] __out_of_memory+0x50/0xb0 [2387871.301783] [<ffffffff810de026>] out_of_memory+0x126/0x1a0 [2387871.301863] [<ffffffff81529be9>] ? _spin_lock+0x9/0x10 [2387871.301870] [<ffffffff810e08e8>] __alloc_pages_slowpath+0x498/0x4e0 [2387871.301876] [<ffffffff810e0a7e>] __alloc_pages_nodemask+0x14e/0x150 [2387871.301883] [<ffffffff8110cf82>] alloc_pages_current+0x82/0xd0 [2387871.301888] [<ffffffff810daa0f>] __page_cache_alloc+0x5f/0x70 [2387871.301894] [<ffffffff810da7f0>] ? sync_page+0x0/0x50 [2387871.301900] [<ffffffff810e46e1>] __do_page_cache_readahead+0xc1/0x160 [2387871.301906] [<ffffffff810e479c>] ra_submit+0x1c/0x20 [2387871.301910] [<ffffffff810da50b>] do_sync_mmap_readahead+0x9b/0xd0 [2387871.301916] [<ffffffff810dc674>] filemap_fault+0x314/0x3c0 [2387871.301922] [<ffffffff810f431f>] __do_fault+0x4f/0x4e0 [2387871.301927] [<ffffffff810f8ab7>] handle_mm_fault+0x1a7/0x3c0 [2387871.301934] [<ffffffff81036419>] ? default_spin_lock_flags+0x9/0x10 [2387871.301940] [<ffffffff8152c78a>] do_page_fault+0x16a/0x370 [2387871.301947] [<ffffffff8152a105>] page_fault+0x25/0x30 [2387871.301951] Mem-Info: [2387871.301954] Node 0 DMA per-cpu: [2387871.301959] CPU 0: hi: 0, btch: 1 usd: 0 [2387871.301962] CPU 1: hi: 0, btch: 1 usd: 0 [2387871.301965] Node 0 DMA32 per-cpu: [2387871.301970] CPU 0: hi: 186, btch: 31 usd: 165 [2387871.301974] CPU 1: hi: 186, btch: 31 usd: 164 [2387871.301981] Active_anon:298246 active_file:83 inactive_anon:99893 [2387871.301983] inactive_file:104 unevictable:4 dirty:0 writeback:157 unstable:0 [2387871.301985] free:3415 slab:15184 mapped:2425 pagetables:10222 bounce:0 [2387871.301989] Node 0 DMA free:8040kB min:40kB low:48kB high:60kB active_anon:2824kB inactive_anon:2744kB active_file:12kB inactive_file:0kB unevictable:0kB present:15348kB pages_scanned:0 all_unreclaimable? no [2387871.301999] lowmem_reserve[]: 0 2002 2002 2002 [2387871.302006] Node 0 DMA32 free:5620kB min:5704kB low:7128kB high:8556kB active_anon:1190160kB inactive_anon:396828kB active_file:320kB inactive_file:428kB unevictable:16kB present:2050300kB pages_scanned:6944 all_unreclaimable? no [2387871.302016] lowmem_reserve[]: 0 0 0 0 [2387871.302022] Node 0 DMA: 6*4kB 4*8kB 32*16kB 18*32kB 18*64kB 13*128kB 2*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 8056kB [2387871.302040] Node 0 DMA32: 1041*4kB 14*8kB 20*16kB 10*32kB 3*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 5620kB [2387871.302057] 4414 total pagecache pages [2387871.302060] 3899 pages in swap cache [2387871.302064] Swap cache stats: add 4227735, delete 4223836, find 1118178/1498362 [2387871.302067] Free swap = 0kB [2387871.302070] Total swap = 3229024kB [2387871.310564] 523777 pages RAM [2387871.310567] 9922 pages reserved [2387871.310569] 4010 pages shared [2387871.310572] 507139 pages non-shared [2387871.310577] Out of memory: kill process 25424 (cccode18_o2) score 821223 or a child [2387871.310674] Killed process 25424 (cccode18_o2) [2387871.339285] cccode18_o2: page allocation failure. order:0, mode:0x201da [2387871.339292] Pid: 25424, comm: cccode18_o2 Tainted: P 2.6.31-17-generic #54-Ubuntu [2387871.339297] Call Trace: [2387871.339309] [<ffffffff810e091c>] __alloc_pages_slowpath+0x4cc/0x4e0 [2387871.339316] [<ffffffff810e0a7e>] __alloc_pages_nodemask+0x14e/0x150 [2387871.339323] [<ffffffff8110cf82>] alloc_pages_current+0x82/0xd0 [2387871.339328] [<ffffffff810daa0f>] __page_cache_alloc+0x5f/0x70 [2387871.339335] [<ffffffff810e46e1>] __do_page_cache_readahead+0xc1/0x160 [2387871.339341] [<ffffffff810e479c>] ra_submit+0x1c/0x20 [2387871.339346] [<ffffffff810da50b>] do_sync_mmap_readahead+0x9b/0xd0 [2387871.339352] [<ffffffff810dc674>] filemap_fault+0x314/0x3c0 [2387871.339358] [<ffffffff810f431f>] __do_fault+0x4f/0x4e0 [2387871.339363] [<ffffffff810e56ec>] ? lru_cache_add_lru+0x1c/0x40 [2387871.339368] [<ffffffff810ffa5d>] ? page_add_new_anon_rmap+0x5d/0x60 [2387871.339374] [<ffffffff810f8ab7>] handle_mm_fault+0x1a7/0x3c0 [2387871.339381] [<ffffffff81036419>] ? default_spin_lock_flags+0x9/0x10 [2387871.339388] [<ffffffff8152c78a>] do_page_fault+0x16a/0x370 [2387871.339395] [<ffffffff8152a105>] page_fault+0x25/0x30 [2387871.339399] Mem-Info: [2387871.339401] Node 0 DMA per-cpu: [2387871.339406] CPU 0: hi: 0, btch: 1 usd: 0 [2387871.339410] CPU 1: hi: 0, btch: 1 usd: 0 [2387871.339413] Node 0 DMA32 per-cpu: [2387871.339418] CPU 0: hi: 186, btch: 31 usd: 178 [2387871.339421] CPU 1: hi: 186, btch: 31 usd: 164 [2387871.339429] Active_anon:298246 active_file:83 inactive_anon:99893 [2387871.339431] inactive_file:101 unevictable:4 dirty:0 writeback:157 unstable:0 [2387871.339433] free:3415 slab:15184 mapped:2394 pagetables:10222 bounce:0 [2387871.339437] Node 0 DMA free:8040kB min:40kB low:48kB high:60kB active_anon:2824kB inactive_anon:2744kB active_file:12kB inactive_file:0kB unevictable:0kB present:15348kB pages_scanned:0 all_unreclaimable? no [2387871.339446] lowmem_reserve[]: 0 2002 2002 2002 [2387871.339454] Node 0 DMA32 free:5620kB min:5704kB low:7128kB high:8556kB active_anon:1190160kB inactive_anon:396828kB active_file:320kB inactive_file:416kB unevictable:16kB present:2050300kB pages_scanned:11232 all_unreclaimable? no [2387871.339464] lowmem_reserve[]: 0 0 0 0 [2387871.339470] Node 0 DMA: 6*4kB 4*8kB 32*16kB 18*32kB 18*64kB 13*128kB 2*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 8056kB [2387871.339487] Node 0 DMA32: 1041*4kB 14*8kB 20*16kB 10*32kB 3*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 5620kB [2387871.339504] 4383 total pagecache pages [2387871.339507] 3899 pages in swap cache [2387871.339511] Swap cache stats: add 4227735, delete 4223836, find 1118178/1498363 [2387871.339515] Free swap = 0kB [2387871.339517] Total swap = 3229024kB [2387871.347962] 523777 pages RAM [2387871.347966] 9922 pages reserved [2387871.347968] 3583 pages shared [2387871.347971] 507142 pages non-shared [2387953.405517] a.out[25726]: segfault at 20 ip 00002b97fc36102c sp 00007fff1ef559b0 error 4 in libperl.so.5.10.0[2b97fc2a0000+161000] [2387982.899018] a.out[25771]: segfault at 20 ip 00002b71204dc02c sp 00007fffcf534360 error 4 in libperl.so.5.10.0[2b712041b000+161000] Here's the CPAN output from the terminal window: PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/asmdata.........ok t/assembler.......ok t/b...............ok 14/57 skipped: various reasons t/bblock..........ok t/bytecode........FAILED tests 9-10, 12 Failed 3/37 tests, 91.89% okay t/c...............FAILED test 12 Failed 1/37 tests, 97.30% okay t/c_allow_opts....a.c: In function ‘main’: a.c:436: warning: format not a string literal and no format arguments t/c_allow_opts....ok 1/2a.c: In function ‘main’: a.c:436: warning: format not a string literal and no format arguments t/c_allow_opts....ok t/c_argv..........pccGIG8H.c: In function ‘main’: pccGIG8H.c:446: warning: format not a string literal and no format arguments t/c_argv..........ok 1/3pcc3kAFi.c: In function ‘perl_init_aaaa’: pcc3kAFi.c:211: warning: format not a string literal and no format arguments pcc3kAFi.c:295: warning: format not a string literal and no format arguments pcc3kAFi.c: In function ‘main’: pcc3kAFi.c:480: warning: format not a string literal and no format arguments t/c_argv..........ok t/c_o1............FAILED test 12 Failed 1/37 tests, 97.30% okay t/c_o2............FAILED test 12 Failed 1/37 tests, 97.30% okay t/c_o3............FAILED test 12 Failed 1/37 tests, 97.30% okay t/c_o4............ok 18/37Sort subroutine didn't return single value. t/c_o4............ok 24/37Sort subroutine didn't return single value. t/c_o4............ok t/cc..............FAILED test 12 Failed 1/103 tests, 99.03% okay (less 68 skipped tests: 34 okay, 33.01%) t/cc_o1...........ok 24/103cccode25_o1.c: In function ‘perl_init_aaaa’: cccode25_o1.c:230: warning: format not a string literal and no format arguments cccode25_o1.c:241: warning: format not a string literal and no format arguments cccode25_o1.c:317: warning: format not a string literal and no format arguments cccode25_o1.c:361: warning: cast from pointer to integer of different size cccode25_o1.c: In function ‘pp_sort43275440’: cccode25_o1.c:507: error: label ‘lab_29666c0’ used but not defined cccode25_o1.c: In function ‘main’: cccode25_o1.c:545: warning: format not a string literal and no format arguments # 256 Attempt to free unreferenced scalar: SV 0x1e41028, Perl interpreter: 0x1e0c010 at cccode26 line 1. t/cc_o1...........FAILED test 12 Failed 1/103 tests, 99.03% okay (less 64 skipped tests: 38 okay, 36.89%) t/cc_o2...........ok 14/103panic: attempt to copy freed scalar 7e5028 to 7e4fc8. t/cc_o2...........FAILED test 12 Failed 1/103 tests, 99.03% okay (less 66 skipped tests: 36 okay, 34.95%) t/modules.........pccghgpi.c: In function ‘perl_init_aaaa’: pccghgpi.c:1998: warning: format not a string literal and no format arguments pccghgpi.c:2000: warning: format not a string literal and no format arguments pccghgpi.c:2001: warning: format not a string literal and no format arguments pccghgpi.c:2355: warning: format not a string literal and no format arguments pccghgpi.c:2357: warning: format not a string literal and no format arguments pccghgpi.c:2358: warning: format not a string literal and no format arguments pccghgpi.c: In function ‘main’: pccghgpi.c:3213: warning: format not a string literal and no format arguments t/modules.........ok 8/10Use of uninitialized value $B::C::VERSION in concatenation (.) or string at t/modules.t line 190. t/modules.........ok 10/10Use of uninitialized value $perlversion in concatenation (.) or string at t/modules.t line 190. print() on unopened filehandle LOG at t/modules.t line 196. t/modules.........ok 3/10 skipped: various reasons, 5/10 unexpectedly succeeded TODO PASSED tests 2-3, 6, 8, 10 t/o...............ok t/stash...........ok t/testcore........skipped all skipped: t/CORE missing. Read t/testcore.t how to setup. Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------ ------- t/bytecode.t 37 3 9-10 12 t/c.t 37 1 12 t/c_o1.t 37 1 12 t/c_o2.t 37 1 12 t/c_o3.t 37 1 12 t/cc.t 103 1 12 t/cc_o1.t 103 1 12 t/cc_o2.t 103 1 12 (7 subtests UNEXPECTEDLY SUCCEEDED), 1 test and 215 subtests skipped. Failed 8/19 test scripts. 10/805 subtests failed. Files=19, Tests=805, 1608 wallclock secs (236.05 cusr + 49.89 csys = 285.94 CPU) Failed 8/19 test programs. 10/805 subtests failed. make: *** [test_dynamic] Error 255 RURBAN/B-C-1.18.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports RURBAN/B-C-1.18.tar.gz Warning (usually harmless): 'YAML' not installed, will not store persistent state Running make install make test had returned bad status, won't install without force Failed during this command: RURBAN/Opcodes-0.02.tar.gz : install NO RURBAN/B-C-1.18.tar.gz : make_test NO Some details about my system: Distribution: Ubuntu 9.10 (w/ latest updates as of 11-02-2010) Perl version: v5.10.0 built for x86_64-linux-gnu-thread-multi OS: Linux ubuntu 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009 x86_64 GNU/Linux
Subject: Re: [rt.cpan.org #54514] Installing ByteLoader through CPAN may cause OOM situation
Date: Thu, 11 Feb 2010 12:41:36 +0100
To: bug-B-C@rt.cpan.org
From: Reini Urban <rurban@x-ray.at>
2010/2/11 Paul v. Genderen via RT <bug-B-C@rt.cpan.org>:
Show quoted text
> Thu Feb 11 06:22:06 2010: Request 54514 was acted upon. > Transaction: Ticket created by paulvg >       Queue: B-C >     Subject: Installing ByteLoader through CPAN may cause OOM situation >   Broken in: (no value) >    Severity: Normal >       Owner: Nobody >  Requestors: paulvg+bitcard@elements.nl >      Status: new >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=54514 > > > > At the cpan prompt, I entered the command 'install ByteLoader' and > simply confirmed the defaults. At some point, tests were ran and some > were failing. However, it seems that one of the tests quickly ate up all > available memory and I wasn't able to log in remotely using SSH anymore > until Linux killed the offending processes. Other processes were killed > as well (luckily not any daemons), but here's the relevant part of the > kernel log where the Perl test gets killed:
Thanks. This problem is known and already fixed in the upcoming 1.19 release if IPC::Run is installed. If not the test still fails by eating all available memory. (An endless loop) Fix 1: test 12 fixed (cop_seq_low+high <=> double NVX) Fix 2: timeout when compiling and running the tests when IPC::Run is installed Fix 3: test 18 is now skipped on cc_*.t too More such tests are usually skipped, but with the failing tests 12 and 18 I was not sure. It was architecture dependent. -- Reini Urban
From: paulvg+bitcard@elements.nl
On Thu 11 Feb 2010 09:30:19, rurban@x-ray.at wrote:
Show quoted text
> Thanks. > > This problem is known and already fixed in the upcoming 1.19 > release if IPC::Run is installed. If not the test still fails by > eating > all available memory. (An endless loop) > > Fix 1: test 12 fixed (cop_seq_low+high <=> double NVX) > Fix 2: timeout when compiling and running the tests when IPC::Run is > installed > Fix 3: test 18 is now skipped on cc_*.t too > > More such tests are usually skipped, but with the failing tests 12 and > 18 I was > not sure. It was architecture dependent.
Gee, thanks! I just checked, IPC::Run is installed. I'll keep an eye out for 1.19!
Subject: Re: [rt.cpan.org #54514] Installing ByteLoader through CPAN may cause OOM situation
Date: Thu, 11 Feb 2010 16:17:40 +0100
To: bug-B-C@rt.cpan.org
From: Reini Urban <rurban@x-ray.at>
2010/2/11 Paul v. Genderen via RT <bug-B-C@rt.cpan.org>:
Show quoted text
>       Queue: B-C >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=54514 > > > On Thu 11 Feb 2010 09:30:19, rurban@x-ray.at wrote:
>> This problem is known and already fixed in the upcoming 1.19 >> release if IPC::Run is installed. If not the test still fails by >> eating >> all available memory. (An endless loop) >> >> Fix 1: test 12 fixed (cop_seq_low+high <=> double NVX) >> Fix 2: timeout when compiling and running the tests when IPC::Run is >> installed >> Fix 3: test 18 is now skipped on cc_*.t too >> >> More such tests are usually skipped, but with the failing tests 12 and >> 18 I was >> not sure. It was architecture dependent.
> > Gee, thanks! I just checked, IPC::Run is installed. I'll keep an eye out > for 1.19!
You can also checkout svn svn checkout http://perl-compiler.googlecode.com/svn/trunk/ perl-compiler I only seem to have a new issue with evaltry with 5.12 to be. -- Reini Urban http://phpwiki.org/ http://murbreak.at/
From: paulvg+bitcard@elements.nl
On Thu 11 Feb 2010 10:18:57, rurban@x-ray.at wrote:
Show quoted text
> > You can also checkout svn > > svn checkout http://perl-compiler.googlecode.com/svn/trunk/ perl-
compiler
Show quoted text
> > I only seem to have a new issue with evaltry with 5.12 to be. >
Hmm, I tried that but am I doing it all right? I simply ran perl Makefile.PL && make && make test, then it hung again at t/cc..............ok 16/103 Then again at t/cc..............ok 18/103 After the whole process was finished, this is what was in my terminal: PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/asmdata.........ok t/assembler.......ok t/b...............ok 14/57 skipped: various reasons t/bblock..........ok t/bytecode........ok t/c...............ok t/c_allow_opts....a.c: In function ‘main’: a.c:428: warning: format not a string literal and no format arguments t/c_allow_opts....ok 1/2a.c: In function ‘main’: a.c:428: warning: format not a string literal and no format arguments t/c_allow_opts....ok t/c_argv..........pccKwly2.c: In function ‘main’: pccKwly2.c:430: warning: format not a string literal and no format arguments t/c_argv..........ok 1/3pcc8yziE.c: In function ‘perl_init_aaaa’: pcc8yziE.c:203: warning: format not a string literal and no format arguments pcc8yziE.c:283: warning: format not a string literal and no format arguments pcc8yziE.c: In function ‘main’: pcc8yziE.c:464: warning: format not a string literal and no format arguments t/c_argv..........ok t/c_o1............ok t/c_o2............ok t/c_o3............ok t/c_o4............ok t/cc..............ok 24/103cccode25.c: In function ‘perl_init_aaaa’: cccode25.c:233: warning: format not a string literal and no format arguments cccode25.c:244: warning: format not a string literal and no format arguments cccode25.c:317: warning: format not a string literal and no format arguments cccode25.c:359: warning: cast from pointer to integer of different size cccode25.c: In function ‘pp_sort19957664’: cccode25.c:506: error: label ‘lab_f0a880’ used but not defined cccode25.c: In function ‘main’: cccode25.c:544: warning: format not a string literal and no format arguments # 256 t/cc..............ok 27/103Use of uninitialized value $out in concatenation (.) or string at t/test.pl line 462. t/cc..............ok 29/103Use of uninitialized value $out in concatenation (.) or string at t/test.pl line 462. t/cc..............FAILED tests 38-39 Failed 2/103 tests, 98.06% okay (less 61 skipped tests: 40 okay, 38.83%) t/cc_o1...........ok 25/103cccode25_o1.c: In function ‘perl_init_aaaa’: cccode25_o1.c:230: warning: format not a string literal and no format arguments cccode25_o1.c:241: warning: format not a string literal and no format arguments cccode25_o1.c:315: warning: format not a string literal and no format arguments cccode25_o1.c:357: warning: cast from pointer to integer of different size cccode25_o1.c: In function ‘pp_sort12743184’: cccode25_o1.c:503: error: label ‘lab_ba3880’ used but not defined cccode25_o1.c: In function ‘main’: cccode25_o1.c:541: warning: format not a string literal and no format arguments # 256 t/cc_o1...........ok 29/103Use of uninitialized value $out in concatenation (.) or string at t/test.pl line 462. t/cc_o1...........FAILED test 39 Failed 1/103 tests, 99.03% okay (less 61 skipped tests: 41 okay, 39.81%) t/cc_o2...........ok 25/103cccode25_o2.c: In function ‘perl_init_aaaa’: cccode25_o2.c:230: warning: format not a string literal and no format arguments cccode25_o2.c:241: warning: format not a string literal and no format arguments cccode25_o2.c:315: warning: format not a string literal and no format arguments cccode25_o2.c:357: warning: cast from pointer to integer of different size cccode25_o2.c: In function ‘pp_sort16904720’: cccode25_o2.c:500: error: label ‘lab_f9b880’ used but not defined cccode25_o2.c: In function ‘main’: cccode25_o2.c:538: warning: format not a string literal and no format arguments # 256 t/cc_o2...........ok 29/103Use of uninitialized value $out in concatenation (.) or string at t/test.pl line 462. t/cc_o2...........FAILED test 39 Failed 1/103 tests, 99.03% okay (less 61 skipped tests: 41 okay, 39.81%) t/modules.........pcc5gBMo.c: In function ‘perl_init_aaaa’: pcc5gBMo.c:1994: warning: format not a string literal and no format arguments pcc5gBMo.c:1996: warning: format not a string literal and no format arguments pcc5gBMo.c:1997: warning: format not a string literal and no format arguments pcc5gBMo.c:2351: warning: format not a string literal and no format arguments pcc5gBMo.c:2353: warning: format not a string literal and no format arguments pcc5gBMo.c:2354: warning: format not a string literal and no format arguments pcc5gBMo.c: In function ‘main’: pcc5gBMo.c:3192: warning: format not a string literal and no format arguments # scanning installed modules # B::C::VERSION = 1.19 # perlversion = 5.010000 # platform = linux # threaded perl t/modules.........ok 9/400 # Failed test '4: use Test::Harness generates non-zero binary' # at t/modules.t line 121. # Failed test '4: use Test::Harness gives expected 'ok' output' # at t/modules.t line 124. # 'blib/script/perlcc: mod.pl did not compile, which can't happen: # Segmentation fault # # ' # doesn't match '(?ms-xi:ok$)' # Failed: /usr/bin/perl -Mblib blib/script/perlcc -r -e 'use Test::Harness; print "ok"' t/modules.........ok 69/400 # Failed (TODO) test '19: use File::Temp gives expected 'ok' output' # at t/modules.t line 124. # 'pcc0LMsR.c: In function ‘perl_init_aaaa’: # pcc0LMsR.c:20617: warning: format not a string literal and no format arguments # pcc0LMsR.c:20619: warning: format not a string literal and no format arguments # pcc0LMsR.c:20620: warning: format not a string literal and no format arguments # pcc0LMsR.c: In function ‘perl_init_aaac’: # pcc0LMsR.c:40268: warning: format not a string literal and no format arguments # pcc0LMsR.c:40270: warning: format not a string literal and no format arguments # pcc0LMsR.c:40271: warning: format not a string literal and no format arguments # pcc0LMsR.c:46175: warning: format not a string literal and no format arguments # pcc0LMsR.c:46177: warning: format not a string literal and no format arguments # pcc0LMsR.c:46178: warning: format not a string literal and no format arguments # pcc0LMsR.c:48442: warning: format not a string literal and no format arguments # pcc0LMsR.c:48444: warning: format not a string literal and no format arguments # pcc0LMsR.c:48445: warning: format not a string literal and no format arguments # pcc0LMsR.c: In function ‘main’: # pcc0LMsR.c:50462: warning: format not a string literal and no format arguments # Unable to create sub named "" at /usr/lib/perl/5.10/XSLoader.pm line 93. # ' # doesn't match '(?ms-xi:ok$)' # Failed: /usr/bin/perl -Mblib blib/script/perlcc -r -e 'use File::Temp; print "ok"' t/modules.........ok 177/400*** glibc detected *** ./a.out: free(): invalid pointer: 0x0000000000613c30 *** ======= Backtrace: ========= /lib/libc.so.6[0x2b5779903dd6] /lib/libc.so.6(cfree+0x6c)[0x2b577990874c] /usr/lib/libperl.so.5.10(Perl_op_free+0x17d)[0x2b5778edca0d] /usr/lib/libperl.so.5.10(Perl_op_free+0xc4)[0x2b5778edc954] /usr/lib/libperl.so.5.10(Perl_op_free+0xc4)[0x2b5778edc954] /usr/lib/libperl.so.5.10(Perl_cv_undef+0xaf)[0x2b5778edcb7f] /usr/lib/libperl.so.5.10(Perl_sv_clear+0x553)[0x2b5778f3d763] /usr/lib/libperl.so.5.10(Perl_sv_free2+0x52)[0x2b5778f3da82] /usr/lib/libperl.so.5.10(Perl_leave_scope+0x6f5)[0x2b5778f59be5] /usr/lib/libperl.so.5.10[0x2b5778f2118e] /usr/lib/libperl.so.5.10(Perl_my_exit+0x21)[0x2b5778f21251] /usr/lib/libperl.so.5.10(perl_run+0x147)[0x2b5778f27257] ./a.out(main+0x4f3)[0x40c379] /lib/libc.so.6(__libc_start_main+0xfd)[0x2b57798acabd] ./a.out[0x401ea9] ======= Memory map: ======== 00400000-0040e000 r-xp 00000000 08:03 2564357 /home/paulvg/perl/perl-compiler/a.out 0060d000-0060e000 r--p 0000d000 08:03 2564357 /home/paulvg/perl/perl-compiler/a.out 0060e000-00617000 rw-p 0000e000 08:03 2564357 /home/paulvg/perl/perl-compiler/a.out 00c56000-00c98000 rw-p 00000000 00:00 0 [heap] 2b5778c60000-2b5778c7f000 r-xp 00000000 08:01 9279 /lib/ld-2.10.1.so 2b5778c7f000-2b5778c82000 rw-p 00000000 00:00 0 2b5778c82000-2b5778c83000 r--p 00000000 08:01 344107 /usr/lib/locale/nl_NL.utf8/LC_IDENTIFICATION 2b5778c83000-2b5778c8a000 r--s 00000000 08:01 25032 /usr/lib/gconv/gconv-modules.cache 2b5778c8a000-2b5778c8b000 r--p 00000000 08:01 38080 /usr/lib/locale/nl_NL.utf8/LC_MEASUREMENT 2b5778c8b000-2b5778c8c000 r--p 00000000 08:01 344106 /usr/lib/locale/nl_NL.utf8/LC_TELEPHONE 2b5778c8c000-2b5778c8d000 r--p 00000000 08:01 344105 /usr/lib/locale/nl_NL.utf8/LC_ADDRESS 2b5778c8d000-2b5778c8e000 r--p 00000000 08:01 38318 /usr/lib/locale/nl_NL.utf8/LC_NAME 2b5778c8e000-2b5778c8f000 r--p 00000000 08:01 38320 /usr/lib/locale/nl_NL.utf8/LC_PAPER 2b5778c8f000-2b5778c90000 r--p 00000000 08:01 37927 /usr/lib/locale/nl_NL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 2b5778c90000-2b5778c91000 r--p 00000000 08:01 344065 /usr/lib/locale/nl_NL.utf8/LC_MONETARY 2b5778c91000-2b5778d7e000 r--p 00000000 08:01 82888 /usr/lib/locale/nl_NL.utf8/LC_COLLATE 2b5778d7e000-2b5778d7f000 r--p 00000000 08:01 53994 /usr/lib/locale/nl_NL.utf8/LC_TIME 2b5778d7f000-2b5778d80000 r--p 00000000 08:01 37923 /usr/lib/locale/nl_NL.utf8/LC_NUMERIC 2b5778d80000-2b5778dbf000 r--p 00000000 08:01 38079 /usr/lib/locale/nl_NL.utf8/LC_CTYPE 2b5778e7e000-2b5778e7f000 r--p 0001e000 08:01 9279 /lib/ld-2.10.1.so 2b5778e7f000-2b5778e80000 rw-p 0001f000 08:01 9279 /lib/ld-2.10.1.so 2b5778e80000-2b5778fe1000 r-xp 00000000 08:01 336074 /usr/lib/libperl.so.5.10.0 2b5778fe1000-2b57791e0000 ---p 00161000 08:01 336074 /usr/lib/libperl.so.5.10.0 2b57791e0000-2b57791e4000 r--p 00160000 08:01 336074 /usr/lib/libperl.so.5.10.0 2b57791e4000-2b57791e9000 rw-p 00164000 08:01 336074 /usr/lib/libperl.so.5.10.0 2b57791e9000-2b57791eb000 r-xp 00000000 08:01 9285 /lib/libdl-2.10.1.so 2b57791eb000-2b57793eb000 ---p 00002000 08:01 9285 /lib/libdl-2.10.1.so 2b57793eb000-2b57793ec000 r--p 00002000 08:01 9285 /lib/libdl-2.10.1.so 2b57793ec000-2b57793ed000 rw-p 00003000 08:01 9285 /lib/libdl-2.10.1.so 2b57793ed000-2b577946f000 r-xp 00000000 08:01 9286 /lib/libm-2.10.1.so 2b577946f000-2b577966f000 ---p 00082000 08:01 9286 /lib/libm-2.10.1.so 2b577966f000-2b5779670000 r--p 00082000 08:01 9286 /lib/libm-2.10.1.so 2b5779670000-2b5779671000 rw-p 00083000 08:01 9286 /lib/libm-2.10.1.so 2b5779671000-2b5779672000 rw-p 00000000 00:00 0 2b5779672000-2b5779689000 r-xp 00000000 08:01 9296 /lib/libpthread-2.10.1.so 2b5779689000-2b5779888000 ---p 00017000 08:01 9296 /lib/libpthread-2.10.1.so 2b5779888000-2b5779889000 r--p 00016000 08:01 9296 /lib/libpthread-2.10.1.so 2b5779889000-2b577988a000 rw-p 00017000 08:01 9296 /lib/libpthread-2.10.1.so 2b577988a000-2b577988e000 rw-p 00000000 00:00 0 2b577988e000-2b57799f4000 r-xp 00000000 08:01 9282 /lib/libc-2.10.1.so 2b57799f4000-2b5779bf3000 ---p 00166000 08:01 9282 /lib/libc-2.10.1.so 2b5779bf3000-2b5779bf7000 r--p 00165000 08:01 9282 /lib/libc-2.10.1.so 2b5779bf7000-2b5779bf8000 rw-p 00169000 08:01 9282 /lib/libc-2.10.1.so 2b5779bf8000-2b5779bfd000 rw-p 00000000 00:00 0 2b5779bfd000-2b5779c06000 r-xp 00000000 08:01 9284 /lib/libcrypt-2.10.1.so 2b5779c06000-2b5779e06000 ---p 00009000 08:01 9284 /lib/libcrypt-2.10.1.so 2b5779e06000-2b5779e07000 r--p 00009000 08:01 9284 /lib/libcrypt-2.10.1.so 2b5779e07000-2b5779e08000 rw-p 0000a000 08:01 9284 /lib/libcrypt-2.10.1.so 2b5779e08000-2b5779e38000 rw-p 00000000 00:00 0 2b5779e5b000-2b5779e71000 r-xp 00000000 08:01 11007 /lib/libgcc_s.so.1 2b5779e71000-2b577a070000 ---p 00016000 08:01 11007 /lib/libgcc_s.so.1 2b577a070000-2b577a071000 r--p 00015000 08:01 11007 /lib/libgcc_s.so.1 2b577a071000-2b577a072000 rw-p 00016000 08:01 11007 /lib/libgcc_s.so.1 2b577c000000-2b577c021000 rw-p 00000000 00:00 0 2b577c021000-2b5780000000 ---p 00000000 00:00 0 7fffcaae9000-7fffcaafe000 rw-p 00000000 00:00 0 [stack] 7fffcabaf000-7fffcabb0000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] # Failed (TODO) test '48: use Attribute::Handlers gives expected 'ok' output' # at t/modules.t line 124. # 'pccyNmyq.c: In function ‘perl_init_aaaa’: # pccyNmyq.c:1008: warning: assignment from incompatible pointer type # pccyNmyq.c:1015: warning: assignment from incompatible pointer type # pccyNmyq.c:1020: warning: assignment from incompatible pointer type # pccyNmyq.c:2040: warning: format not a string literal and no format arguments # pccyNmyq.c:2042: warning: format not a string literal and no format arguments # pccyNmyq.c:2043: warning: format not a string literal and no format arguments # pccyNmyq.c: In function ‘main’: # pccyNmyq.c:2564: warning: format not a string literal and no format arguments # ' # doesn't match '(?ms-xi:ok$)' # Failed: /usr/bin/perl -Mblib blib/script/perlcc -r -e 'use Attribute::Handlers; print "ok"' t/modules.........ok 333/400 # Failed (TODO) test '85: use Digest::SHA1 generates non-zero binary' # at t/modules.t line 121. # Failed (TODO) test '85: use Digest::SHA1 gives expected 'ok' output' # at t/modules.t line 124. # 'blib/script/perlcc: mod.pl did not compile, which can't happen: # Segmentation fault # # ' # doesn't match '(?ms-xi:ok$)' # Failed: /usr/bin/perl -Mblib blib/script/perlcc -r -e 'use Digest::SHA1; print "ok"' t/modules.........ok 361/400# 60 / 100 modules tested with B-C-1.19 - perl-5.010000 # pass 56 / 60 (93.3%) # fail 4 / 60 (6.7%) # todo 8 / 100 (8.0%) # skip 40 / 100 (40.0% not installed) # Looks like you failed 2 tests of 400. t/modules.........dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 13, 15 Failed 2/400 tests, 99.50% okay (less 160 skipped tests: 238 okay, 59.50%) t/o...............plan() doesn't understand 9 at t/o.t line 33. # Looks like your test died before it could output anything. t/o...............dubious Test returned status 255 (wstat 65280, 0xff00) t/stash...........ok t/testcore........skipped all skipped: t/CORE missing. Read t/testcore.t how to setup. t/z_pod...........ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------ ------- t/cc.t 103 2 38-39 t/cc_o1.t 103 1 39 t/cc_o2.t 103 1 39 t/modules.t 2 512 400 2 13 15 t/o.t 255 65280 ?? ?? ?? (30 subtests UNEXPECTEDLY SUCCEEDED), 1 test and 357 subtests skipped. Failed 5/20 test scripts. 6/1220 subtests failed. Files=20, Tests=1220, 1917 wallclock secs (517.63 cusr + 62.18 csys = 579.81 CPU) Failed 5/20 test programs. 6/1220 subtests failed. make: *** [test_dynamic] Error 255 (And again the usual OOM killer stuff showed up in dmesg.)
Subject: Re: [rt.cpan.org #54514] Installing ByteLoader through CPAN may cause OOM situation
Date: Thu, 11 Feb 2010 22:41:44 +0100
To: bug-B-C@rt.cpan.org
From: Reini Urban <rurban@x-ray.at>
Paul v. Genderen via RT schrieb:
Show quoted text
> Queue: B-C > Ticket<URL: https://rt.cpan.org/Ticket/Display.html?id=54514> > > On Thu 11 Feb 2010 10:18:57, rurban@x-ray.at wrote:
>> >> You can also checkout svn >> >> svn checkout http://perl-compiler.googlecode.com/svn/trunk/ perl-
> compiler
>> >> I only seem to have a new issue with evaltry with 5.12 to be. >>
> > Hmm, I tried that but am I doing it all right? I simply ran perl > Makefile.PL&& make&& make test, then it hung again at > > t/cc..............ok 16/103 > > Then again at > > t/cc..............ok 18/103 > > After the whole process was finished, this is what was in my terminal: > > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/asmdata.........ok > t/assembler.......ok > t/b...............ok > 14/57 skipped: various reasons > t/bblock..........ok > t/bytecode........ok > t/c...............ok > t/c_allow_opts....a.c: In function ‘main’: > a.c:428: warning: format not a string literal and no format arguments > t/c_allow_opts....ok 1/2a.c: In function ‘main’: > a.c:428: warning: format not a string literal and no format arguments > t/c_allow_opts....ok > t/c_argv..........pccKwly2.c: In function ‘main’: > pccKwly2.c:430: warning: format not a string literal and no format > arguments > t/c_argv..........ok 1/3pcc8yziE.c: In function ‘perl_init_aaaa’: > pcc8yziE.c:203: warning: format not a string literal and no format > arguments > pcc8yziE.c:283: warning: format not a string literal and no format > arguments > pcc8yziE.c: In function ‘main’: > pcc8yziE.c:464: warning: format not a string literal and no format > arguments > t/c_argv..........ok > t/c_o1............ok > t/c_o2............ok > t/c_o3............ok > t/c_o4............ok > t/cc..............ok 24/103cccode25.c: In function ‘perl_init_aaaa’: > cccode25.c:233: warning: format not a string literal and no format > arguments > cccode25.c:244: warning: format not a string literal and no format > arguments > cccode25.c:317: warning: format not a string literal and no format > arguments > cccode25.c:359: warning: cast from pointer to integer of different size > cccode25.c: In function ‘pp_sort19957664’: > cccode25.c:506: error: label ‘lab_f0a880’ used but not defined > cccode25.c: In function ‘main’: > cccode25.c:544: warning: format not a string literal and no format > arguments > # 256 > t/cc..............ok 27/103Use of uninitialized value $out in > concatenation (.) or string at t/test.pl line 462. > t/cc..............ok 29/103Use of uninitialized value $out in > concatenation (.) or string at t/test.pl line 462. > t/cc..............FAILED tests 38-39 > Failed 2/103 tests, 98.06% okay (less 61 skipped tests: 40 okay, > 38.83%) > t/cc_o1...........ok 25/103cccode25_o1.c: In function ‘perl_init_aaaa’: > cccode25_o1.c:230: warning: format not a string literal and no format > arguments > cccode25_o1.c:241: warning: format not a string literal and no format > arguments > cccode25_o1.c:315: warning: format not a string literal and no format > arguments > cccode25_o1.c:357: warning: cast from pointer to integer of different > size > cccode25_o1.c: In function ‘pp_sort12743184’: > cccode25_o1.c:503: error: label ‘lab_ba3880’ used but not defined > cccode25_o1.c: In function ‘main’: > cccode25_o1.c:541: warning: format not a string literal and no format > arguments > # 256 > t/cc_o1...........ok 29/103Use of uninitialized value $out in > concatenation (.) or string at t/test.pl line 462. > t/cc_o1...........FAILED test 39 > Failed 1/103 tests, 99.03% okay (less 61 skipped tests: 41 okay, > 39.81%) > t/cc_o2...........ok 25/103cccode25_o2.c: In function ‘perl_init_aaaa’: > cccode25_o2.c:230: warning: format not a string literal and no format > arguments > cccode25_o2.c:241: warning: format not a string literal and no format > arguments > cccode25_o2.c:315: warning: format not a string literal and no format > arguments > cccode25_o2.c:357: warning: cast from pointer to integer of different > size > cccode25_o2.c: In function ‘pp_sort16904720’: > cccode25_o2.c:500: error: label ‘lab_f9b880’ used but not defined > cccode25_o2.c: In function ‘main’: > cccode25_o2.c:538: warning: format not a string literal and no format > arguments > # 256 > t/cc_o2...........ok 29/103Use of uninitialized value $out in > concatenation (.) or string at t/test.pl line 462. > t/cc_o2...........FAILED test 39 > Failed 1/103 tests, 99.03% okay (less 61 skipped tests: 41 okay, > 39.81%) > t/modules.........pcc5gBMo.c: In function ‘perl_init_aaaa’: > pcc5gBMo.c:1994: warning: format not a string literal and no format > arguments > pcc5gBMo.c:1996: warning: format not a string literal and no format > arguments > pcc5gBMo.c:1997: warning: format not a string literal and no format > arguments > pcc5gBMo.c:2351: warning: format not a string literal and no format > arguments > pcc5gBMo.c:2353: warning: format not a string literal and no format > arguments > pcc5gBMo.c:2354: warning: format not a string literal and no format > arguments > pcc5gBMo.c: In function ‘main’: > pcc5gBMo.c:3192: warning: format not a string literal and no format > arguments > # scanning installed modules > # B::C::VERSION = 1.19 > # perlversion = 5.010000 > # platform = linux > # threaded perl > t/modules.........ok 9/400 > # Failed test '4: use Test::Harness generates non-zero binary' > # at t/modules.t line 121. > > # Failed test '4: use Test::Harness gives expected 'ok' output' > # at t/modules.t line 124. > # 'blib/script/perlcc: mod.pl did not compile, which > can't happen: > # Segmentation fault > # > # ' > # doesn't match '(?ms-xi:ok$)' > # Failed: /usr/bin/perl -Mblib blib/script/perlcc -r -e 'use > Test::Harness; print "ok"' > t/modules.........ok 69/400 > # Failed (TODO) test '19: use File::Temp gives expected 'ok' output' > # at t/modules.t line 124. > # 'pcc0LMsR.c: In function ‘perl_init_aaaa’: > # pcc0LMsR.c:20617: warning: format not a string literal and no format > arguments > # pcc0LMsR.c:20619: warning: format not a string literal and no format > arguments > # pcc0LMsR.c:20620: warning: format not a string literal and no format > arguments > # pcc0LMsR.c: In function ‘perl_init_aaac’: > # pcc0LMsR.c:40268: warning: format not a string literal and no format > arguments > # pcc0LMsR.c:40270: warning: format not a string literal and no format > arguments > # pcc0LMsR.c:40271: warning: format not a string literal and no format > arguments > # pcc0LMsR.c:46175: warning: format not a string literal and no format > arguments > # pcc0LMsR.c:46177: warning: format not a string literal and no format > arguments > # pcc0LMsR.c:46178: warning: format not a string literal and no format > arguments > # pcc0LMsR.c:48442: warning: format not a string literal and no format > arguments > # pcc0LMsR.c:48444: warning: format not a string literal and no format > arguments > # pcc0LMsR.c:48445: warning: format not a string literal and no format > arguments > # pcc0LMsR.c: In function ‘main’: > # pcc0LMsR.c:50462: warning: format not a string literal and no format > arguments > # Unable to create sub named "" at /usr/lib/perl/5.10/XSLoader.pm line > 93. > # ' > # doesn't match '(?ms-xi:ok$)' > # Failed: /usr/bin/perl -Mblib blib/script/perlcc -r -e 'use File::Temp; > print "ok"' > t/modules.........ok 177/400*** glibc detected *** ./a.out: free(): > invalid pointer: 0x0000000000613c30 *** > ======= Backtrace: ========= > /lib/libc.so.6[0x2b5779903dd6] > /lib/libc.so.6(cfree+0x6c)[0x2b577990874c] > /usr/lib/libperl.so.5.10(Perl_op_free+0x17d)[0x2b5778edca0d] > /usr/lib/libperl.so.5.10(Perl_op_free+0xc4)[0x2b5778edc954] > /usr/lib/libperl.so.5.10(Perl_op_free+0xc4)[0x2b5778edc954] > /usr/lib/libperl.so.5.10(Perl_cv_undef+0xaf)[0x2b5778edcb7f] > /usr/lib/libperl.so.5.10(Perl_sv_clear+0x553)[0x2b5778f3d763] > /usr/lib/libperl.so.5.10(Perl_sv_free2+0x52)[0x2b5778f3da82] > /usr/lib/libperl.so.5.10(Perl_leave_scope+0x6f5)[0x2b5778f59be5] > /usr/lib/libperl.so.5.10[0x2b5778f2118e] > /usr/lib/libperl.so.5.10(Perl_my_exit+0x21)[0x2b5778f21251] > /usr/lib/libperl.so.5.10(perl_run+0x147)[0x2b5778f27257] > ./a.out(main+0x4f3)[0x40c379] > /lib/libc.so.6(__libc_start_main+0xfd)[0x2b57798acabd] > ./a.out[0x401ea9] > ======= Memory map: ======== > 00400000-0040e000 r-xp 00000000 08:03 2564357 > /home/paulvg/perl/perl-compiler/a.out > 0060d000-0060e000 r--p 0000d000 08:03 2564357 > /home/paulvg/perl/perl-compiler/a.out > 0060e000-00617000 rw-p 0000e000 08:03 2564357 > /home/paulvg/perl/perl-compiler/a.out > 00c56000-00c98000 rw-p 00000000 00:00 0 > [heap] > 2b5778c60000-2b5778c7f000 r-xp 00000000 08:01 9279 > /lib/ld-2.10.1.so > 2b5778c7f000-2b5778c82000 rw-p 00000000 00:00 0 > 2b5778c82000-2b5778c83000 r--p 00000000 08:01 344107 > /usr/lib/locale/nl_NL.utf8/LC_IDENTIFICATION > 2b5778c83000-2b5778c8a000 r--s 00000000 08:01 25032 > /usr/lib/gconv/gconv-modules.cache > 2b5778c8a000-2b5778c8b000 r--p 00000000 08:01 38080 > /usr/lib/locale/nl_NL.utf8/LC_MEASUREMENT > 2b5778c8b000-2b5778c8c000 r--p 00000000 08:01 344106 > /usr/lib/locale/nl_NL.utf8/LC_TELEPHONE > 2b5778c8c000-2b5778c8d000 r--p 00000000 08:01 344105 > /usr/lib/locale/nl_NL.utf8/LC_ADDRESS > 2b5778c8d000-2b5778c8e000 r--p 00000000 08:01 38318 > /usr/lib/locale/nl_NL.utf8/LC_NAME > 2b5778c8e000-2b5778c8f000 r--p 00000000 08:01 38320 > /usr/lib/locale/nl_NL.utf8/LC_PAPER > 2b5778c8f000-2b5778c90000 r--p 00000000 08:01 37927 > /usr/lib/locale/nl_NL.utf8/LC_MESSAGES/SYS_LC_MESSAGES > 2b5778c90000-2b5778c91000 r--p 00000000 08:01 344065 > /usr/lib/locale/nl_NL.utf8/LC_MONETARY > 2b5778c91000-2b5778d7e000 r--p 00000000 08:01 82888 > /usr/lib/locale/nl_NL.utf8/LC_COLLATE > 2b5778d7e000-2b5778d7f000 r--p 00000000 08:01 53994 > /usr/lib/locale/nl_NL.utf8/LC_TIME > 2b5778d7f000-2b5778d80000 r--p 00000000 08:01 37923 > /usr/lib/locale/nl_NL.utf8/LC_NUMERIC > 2b5778d80000-2b5778dbf000 r--p 00000000 08:01 38079 > /usr/lib/locale/nl_NL.utf8/LC_CTYPE > 2b5778e7e000-2b5778e7f000 r--p 0001e000 08:01 9279 > /lib/ld-2.10.1.so > 2b5778e7f000-2b5778e80000 rw-p 0001f000 08:01 9279 > /lib/ld-2.10.1.so > 2b5778e80000-2b5778fe1000 r-xp 00000000 08:01 336074 > /usr/lib/libperl.so.5.10.0 > 2b5778fe1000-2b57791e0000 ---p 00161000 08:01 336074 > /usr/lib/libperl.so.5.10.0 > 2b57791e0000-2b57791e4000 r--p 00160000 08:01 336074 > /usr/lib/libperl.so.5.10.0 > 2b57791e4000-2b57791e9000 rw-p 00164000 08:01 336074 > /usr/lib/libperl.so.5.10.0 > 2b57791e9000-2b57791eb000 r-xp 00000000 08:01 9285 > /lib/libdl-2.10.1.so > 2b57791eb000-2b57793eb000 ---p 00002000 08:01 9285 > /lib/libdl-2.10.1.so > 2b57793eb000-2b57793ec000 r--p 00002000 08:01 9285 > /lib/libdl-2.10.1.so > 2b57793ec000-2b57793ed000 rw-p 00003000 08:01 9285 > /lib/libdl-2.10.1.so > 2b57793ed000-2b577946f000 r-xp 00000000 08:01 9286 > /lib/libm-2.10.1.so > 2b577946f000-2b577966f000 ---p 00082000 08:01 9286 > /lib/libm-2.10.1.so > 2b577966f000-2b5779670000 r--p 00082000 08:01 9286 > /lib/libm-2.10.1.so > 2b5779670000-2b5779671000 rw-p 00083000 08:01 9286 > /lib/libm-2.10.1.so > 2b5779671000-2b5779672000 rw-p 00000000 00:00 0 > 2b5779672000-2b5779689000 r-xp 00000000 08:01 9296 > /lib/libpthread-2.10.1.so > 2b5779689000-2b5779888000 ---p 00017000 08:01 9296 > /lib/libpthread-2.10.1.so > 2b5779888000-2b5779889000 r--p 00016000 08:01 9296 > /lib/libpthread-2.10.1.so > 2b5779889000-2b577988a000 rw-p 00017000 08:01 9296 > /lib/libpthread-2.10.1.so > 2b577988a000-2b577988e000 rw-p 00000000 00:00 0 > 2b577988e000-2b57799f4000 r-xp 00000000 08:01 9282 > /lib/libc-2.10.1.so > 2b57799f4000-2b5779bf3000 ---p 00166000 08:01 9282 > /lib/libc-2.10.1.so > 2b5779bf3000-2b5779bf7000 r--p 00165000 08:01 9282 > /lib/libc-2.10.1.so > 2b5779bf7000-2b5779bf8000 rw-p 00169000 08:01 9282 > /lib/libc-2.10.1.so > 2b5779bf8000-2b5779bfd000 rw-p 00000000 00:00 0 > 2b5779bfd000-2b5779c06000 r-xp 00000000 08:01 9284 > /lib/libcrypt-2.10.1.so > 2b5779c06000-2b5779e06000 ---p 00009000 08:01 9284 > /lib/libcrypt-2.10.1.so > 2b5779e06000-2b5779e07000 r--p 00009000 08:01 9284 > /lib/libcrypt-2.10.1.so > 2b5779e07000-2b5779e08000 rw-p 0000a000 08:01 9284 > /lib/libcrypt-2.10.1.so > 2b5779e08000-2b5779e38000 rw-p 00000000 00:00 0 > 2b5779e5b000-2b5779e71000 r-xp 00000000 08:01 11007 > /lib/libgcc_s.so.1 > 2b5779e71000-2b577a070000 ---p 00016000 08:01 11007 > /lib/libgcc_s.so.1 > 2b577a070000-2b577a071000 r--p 00015000 08:01 11007 > /lib/libgcc_s.so.1 > 2b577a071000-2b577a072000 rw-p 00016000 08:01 11007 > /lib/libgcc_s.so.1 > 2b577c000000-2b577c021000 rw-p 00000000 00:00 0 > 2b577c021000-2b5780000000 ---p 00000000 00:00 0 > 7fffcaae9000-7fffcaafe000 rw-p 00000000 00:00 0 > [stack] > 7fffcabaf000-7fffcabb0000 r-xp 00000000 00:00 0 > [vdso] > ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 > [vsyscall] > > # Failed (TODO) test '48: use Attribute::Handlers gives expected 'ok' > output' > # at t/modules.t line 124. > # 'pccyNmyq.c: In function ‘perl_init_aaaa’: > # pccyNmyq.c:1008: warning: assignment from incompatible pointer type > # pccyNmyq.c:1015: warning: assignment from incompatible pointer type > # pccyNmyq.c:1020: warning: assignment from incompatible pointer type > # pccyNmyq.c:2040: warning: format not a string literal and no format > arguments > # pccyNmyq.c:2042: warning: format not a string literal and no format > arguments > # pccyNmyq.c:2043: warning: format not a string literal and no format > arguments > # pccyNmyq.c: In function ‘main’: > # pccyNmyq.c:2564: warning: format not a string literal and no format > arguments > # ' > # doesn't match '(?ms-xi:ok$)' > # Failed: /usr/bin/perl -Mblib blib/script/perlcc -r -e 'use > Attribute::Handlers; print "ok"' > t/modules.........ok 333/400 > # Failed (TODO) test '85: use Digest::SHA1 generates non-zero binary' > # at t/modules.t line 121. > > # Failed (TODO) test '85: use Digest::SHA1 gives expected 'ok' > output' > # at t/modules.t line 124. > # 'blib/script/perlcc: mod.pl did not compile, which > can't happen: > # Segmentation fault > # > # ' > # doesn't match '(?ms-xi:ok$)' > # Failed: /usr/bin/perl -Mblib blib/script/perlcc -r -e 'use > Digest::SHA1; print "ok"' > t/modules.........ok 361/400# 60 / 100 modules tested with B-C-1.19 - > perl-5.010000 > # pass 56 / 60 (93.3%) > # fail 4 / 60 (6.7%) > # todo 8 / 100 (8.0%) > # skip 40 / 100 (40.0% not installed) > # Looks like you failed 2 tests of 400. > t/modules.........dubious > Test returned status 2 (wstat 512, 0x200) > DIED. FAILED tests 13, 15 > Failed 2/400 tests, 99.50% okay (less 160 skipped tests: 238 > okay, 59.50%) > t/o...............plan() doesn't understand 9 at t/o.t line 33. > # Looks like your test died before it could output anything. > t/o...............dubious > Test returned status 255 (wstat 65280, 0xff00) > t/stash...........ok > t/testcore........skipped > all skipped: t/CORE missing. Read t/testcore.t how to setup. > t/z_pod...........ok > Failed Test Stat Wstat Total Fail List of Failed > ------------------------------------------------------------------------ > ------- > t/cc.t 103 2 38-39 > t/cc_o1.t 103 1 39 > t/cc_o2.t 103 1 39 > t/modules.t 2 512 400 2 13 15 > t/o.t 255 65280 ?? ?? ?? > (30 subtests UNEXPECTEDLY SUCCEEDED), 1 test and 357 subtests skipped. > Failed 5/20 test scripts. 6/1220 subtests failed. > Files=20, Tests=1220, 1917 wallclock secs (517.63 cusr + 62.18 csys = > 579.81 CPU) > Failed 5/20 test programs. 6/1220 subtests failed. > make: *** [test_dynamic] Error 255 > > (And again the usual OOM killer stuff showed up in dmesg.)
The compiler is still work of progress of course, esp. with special magic and the optimizing compiler CC. You can decide by yourself if you want it or not. CC is something you probably don't want, so you can ignore those failures. The 4 failing modules with B::C is known. Your backtrace with File::Temp is known, it cannot deal with certain unnamed XS subs yet. I thought Test::Harness was already fixed, but not so. No bytecode failures, so you are good, since this is the only thing you want. -- Reini Urban http://phpwiki.org/ http://murbreak.at/
"OOM situation": Out of memory (iu.e. endless loop in custom sort) errors with some known TODO tests are skipped at a non-author site. 4-5% of the top100 modules fail. B::Bytecode/ByteLoader is stable for 5.8 - 5.12, so marking it as resolved. -- Reini Urban


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.