Subject: | t/42function.t leaks under ./Build test |
$./Build test
...
t/42function.t ............... 34/? # Performing memory leak test
# Failed test 'IO::Async::Function calls do not leak memory'
# at t/42function.t line 600.
# Lost 98304 bytes of memory over 100 calls, average of 983.04 per call
# Writing heap dump to t/42function-48.pmat
# Writing heap dump after one more iteration to t/42function-48-after.pmat
# Looks like you failed 1 test of 48.
t/42function.t ............... Dubious, test returned 1 (wstat 256, 0x100)
But yet:
$ prove -b
...
t/42function.t ............... 1/? Warning: unable to close filehandle $wr properly: Bad file descriptor during global destruction.
Warning: unable to close filehandle $wr properly: Bad file descriptor during global destruction.
Warning: unable to close filehandle properly: Bad file descriptor during global destruction.
Warning: unable to close filehandle properly: Bad file descriptor during global destruction.
t/42function.t ............... 34/? # Performing memory leak test
t/42function.t ............... ok
Unsure what's going on here.
--
Paul Evans