Open mjdominus opened 10 years ago
The problem is as follows: storage.t throws a large, complex value as an exception. This is handled by an exception reported built in Moonpig::Role::Env::ExceptionReportEmail. The exception reporter defines four summarizers, the last of which is a fallback summarizer that calls ->dump on the exception. This is handled by Exception::Reporter::Dumper::YAML, which eventually uses YAML::Dump() to dump the exception value.
But YAML::Dump has some horrible behavior under perl 5.18.2 and 5.19.6 that causes it to go into the infinite loop or crash in some other horrible way; I sent Ingy a bug report about it. It behaves properly under 5.10.1.
To work around the bug, change Exception::Reporter::Dumper::YAML to use YAML::XS::Dump instead of YAML::Dump.
The following is the output of the command
/usr/bin/time --verbose perl5.18.1 -Ilib t/storage.t
: