Skip to content

BUG: Using DateTime overload in Template Toolkit causes process to exit() on 64-bit platforms

Notifications You must be signed in to change notification settings

haoess/datetime-template-bug

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

There seems to be a problem with DateTime being used by Template Toolkit.

I'm not sure if the bug is in Template or in DateTime, but so far I've been
able to narrow it down to the fact that the system that breaks is a 64-bit
platform.

System perl is used, but both CPAN modules are installed to a non-root user
using local::lib.

The problem is that when I try to access the DateTime variable in the
template, the process exits without any error message. It doesn't die in a
trappable way, it just exits.

Confirmed working on:

From [email protected]:

Description:    Ubuntu 8.10
Linux server 2.6.27-14-server #1 SMP Wed Apr 15 19:44:38 UTC 2009 i686 GNU/Linux
This is perl, v5.10.0 built for i486-linux-gnu-thread-multi
POSIX version: 1.13
DateTime version: 0.50
Template version: 2.20
Template stash used: Template::Stash::XS

Description:    Ubuntu 8.04.2
Linux gm 2.6.24-24-generic #1 SMP Wed Apr 15 15:54:25 UTC 2009 i686 GNU/Linux
This is perl, v5.8.8 built for i486-linux-gnu-thread-multi
POSIX version: 1.09
DateTime version: 0.50
Template version: 2.20
Template stash used: Template::Stash::XS

From ash in #[email protected]:

Description:	Ubuntu 9.04
Linux cambridge 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux
This is perl, v5.8.8 built for i686-linux
POSIX version: 1.09
DateTime version: 0.4302
Template version: 2.20
Template stash used: Template::Stash::XS

Description:	CentOS release 5.2 (Final)
Linux foo 2.6.18-92.1.6.el5xen #1 SMP Wed Jun 25 14:13:10 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
This is perl, v5.8.8 built for x86_64-linux-thread-multi
POSIX version: 1.09
DateTime version: 0.4304
Template version: 2.19
Template stash used: Template::Stash::XS

Confirmed broken on:

From [email protected]:

Description:    Ubuntu 8.04.2
Linux pf 2.6.24-24-server #1 SMP Wed Apr 15 15:41:09 UTC 2009 x86_64 GNU/Linux
This is perl, v5.8.8 built for x86_64-linux-gnu-thread-multi
POSIX version: 1.09
DateTime version: 0.50
Template version: 2.20
Template stash used: Template::Stash::XS

About

BUG: Using DateTime overload in Template Toolkit causes process to exit() on 64-bit platforms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 100.0%