Subject: | Oracle driver crashes when Method::Signatures is enabled |
Date: | Tue, 12 Feb 2013 15:49:39 -0500 |
To: | bug-Method-Signatures [...] rt.cpan.org |
From: | Dmitry Melanchenko <melanchenko [...] gmail.com> |
Hi,
Here is a test script:
#!/usr/bin/env perl
use strict;
use warnings;
use feature qw(say);
use threads;
use DBI;
use Method::Signatures;
my $thr = threads->create(
sub {
my $dbh = DBI->connect(
"DBI:Oracle:ora_host",
'user',
'pwd',
);
return $dbh->selectrow_array('select 1 from dual ')
});
say $thr->join();
It works fine when use Method::Signatures is commented, but it crash perl with a message: terminated by signal SIGBUS (Misaligned address error) when the use is uncommented.
I found that on OS X 10.8.2 with Perl 5.16.2 32 bit. Oracle client 11.2.0.3. Everything works fine if it runs w/o threads.
Could you please look at the problem?
Thanks,
Dmitry