On Wed, 2017-01-25 at 07:21 -0800, James E Keenan via RT wrote: > On Wed, 25 Jan 2017 04:04:15 GMT, jkeenan wrote: > > This revision failed on FreeBSD-11. See: http://perl5.test- > > smoke.org/report/53470 > > > > When I ran the test file individually, it hung at 'ok 24', then > > printed these error messages: > > > > ##### > > swap_pager: out of swap space > > swap_pager_getswapspace(16): failed > > swap_pager_getswapspace(16): failed > > swap_pager_getswapspace(16): failed > > ##### > > > > kernel: pid 18627 (perl), uid 1001, was killed: out of swap space > > > > So something is clearly amiss with this patch. > > > > Thank you very much. > > Similar results on FreeBSD-10.3: > http://perl5.test-smoke.org/report/53481 Makes sense.. When the bug is fixed, it ends up allocating an insanely large amount of memory. On Linux, malloc doesn't even try to allocate the memory. It sounds like BSD does try to allocate it. Maybe it's possible to limit the maximum allowed classname length to what Perl actually supports. I'll try and adjust the patch to do this.Thread Previous | Thread Next