Skip Menu |

This queue is for tickets about the Method-Signatures CPAN distribution.

Report information
The Basics
Id: 83287
Status: resolved
Priority: 0/
Queue: Method-Signatures

People
Owner: Nobody in particular
Requestors: melanchenko [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 20130222



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
Subject: Re: [rt.cpan.org #83287] Oracle driver crashes when Method::Signatures is enabled
Date: Fri, 15 Feb 2013 07:46:57 +1100
To: bug-Method-Signatures [...] rt.cpan.org
From: "Michael G. Schwern" <schwern [...] pobox.com>
This sounds an awful lot like this... https://rt.cpan.org/Ticket/Display.html?id=82922 That is to say, it might be a Data::Alias problem. Try replacing "use Method::Signatures" with "use Data::Alias" and see if you get the same problem. I just merged a work around for 82922 so Data::Alias is only loaded when needed. This should mitigate the problem until Data::Alias fixes the bug. Try https://github.com/schwern/method-signatures and let us know.
Subject: Re: [rt.cpan.org #83287] Oracle driver crashes when Method::Signatures is enabled
Date: Thu, 14 Feb 2013 16:04:12 -0500
To: bug-Method-Signatures [...] rt.cpan.org
From: Dmitry Melanchenko <melanchenko [...] gmail.com>
This github version works fine. Thanks for the great module, Dmitry On Thursday, February 14, 2013 at 3:47 PM, Michael G Schwern via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=83287 > > > This sounds an awful lot like this... > https://rt.cpan.org/Ticket/Display.html?id=82922 > > That is to say, it might be a Data::Alias problem. Try replacing "use > Method::Signatures" with "use Data::Alias" and see if you get the same > problem. > > I just merged a work around for 82922 so Data::Alias is only loaded when > needed. This should mitigate the problem until Data::Alias fixes the > bug. Try https://github.com/schwern/method-signatures and let us know. > >
Great, I'll see about cutting a release.
Patch was released and promoted to production version. Resolving.