Skip Menu |

This queue is for tickets about the Test-Memory-Cycle CPAN distribution.

Report information
The Basics
Id: 59287
Status: new
Priority: 0/
Queue: Test-Memory-Cycle

People
Owner: Nobody in particular
Requestors: ether [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.04
Fixed in: (no value)



Subject: Encountered "Unknown! This should never happen!" in weakened__memory_cycle_ok()
When traversing a structure that has a coderef containing a closure, I encountered the error: not ok 6 - No memory cycles were found! # Failed test 'No memory cycles were found!' # at /home/ether/t/Foo/bar.t line 50. # Cycle #1 # MyApp::Foo::Bar A->{_baz} => MyApp::Blah::Bar B # MyApp::Blah::Bar B->{table} => &C # Unknown! This should never happen! # $D => MyApp::Foo::Bar A This is because the 'CODE' type of reference is not checked for in weakened_memory_cycle_ok(), whereas it is checked in memory_cycle_ok().