CC: | <tobias.frey [...] ubs.com> |
Subject: | Could this be a memory leak |
Date: | Tue, 2 Sep 2014 16:11:30 +0200 |
To: | <bug-Date-Manip [...] rt.cpan.org> |
From: | <joshua.taylor [...] ubs.com> |
Hi,
it appears one of our developers found an issue that results in "out of memory" errors when using Date::Manip. It appears it's only in the version 6 portion. On systems w/ perl 5.8, it seems to function as expected. Below is a test-case that generates the error on AIX, w/ perl 5.10. Additionally, it appears to only affect the 64bit version of perl.
I didn't see it already reported via the bug reporting interface, so it may have been fixed already. If you've already seen this and fixed it, then I will just get the updated version (6.47). Unfortunately due to various internal issues, downloading and testing new code is very cumbersome here (otherwise, I would do that first). Of course, it could be an internal perl issue as well, and any help you can offer tracking this down is much appreciated.
Thanks for your help and time,
Joshua Taylor
===========================================================================
#!/usr/bin/perl
use strict;
use Date::Manip;
print "Start\n";
my $test = ParseDate("20140902090756656293");
print "$test\n";
print "Ende\n";
===========================================================================
The perl version (output from perl -v)
perl -v
This is perl, v5.10.1 (*) built for aix-thread-multi-64all
Copyright 1987-2009, Larry Wall
OS vendor and version: (output from uname -a)
uname -a
AIX e1im068 1 7 00F60BAD4C00,
also, vendor: IBM OS: AIX, Version: 7.1.2.4
The Date::Manip version is:
perl -e 'use Date::Manip;
Show quoted text
> print Date::Manip::DateManipVersion, "\n";'
6.43
E-mails can involve SUBSTANTIAL RISKS, e.g. lack of confidentiality, potential manipulation of contents and/or sender's address, incorrect recipient (misdirection), viruses etc. Based on previous e-mail correspondence with you and/or an agreement reached with you, UBS considers itself authorized to contact you via e-mail. UBS assumes no responsibility for any loss or damage resulting from the use of e-mails.
UBS reserves the right to retain all messages. Messages are protected and accessed only in legally justified cases.
Privacy statements: http://www.ubs.com/global/en/legalinfo2/privacy.html