[
https://issues.apache.org/jira/browse/THRIFT-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465579#comment-13465579
]
Hudson commented on THRIFT-1082:
--------------------------------
Integrated in Thrift #539 (See [https://builds.apache.org/job/Thrift/539/])
THRIFT-1082: Thrift::FramedTransport sometimes calls close() on an
undefined value
Client: perl
Patch: John Siracusa
Fixes Thrift::FramedTransport module sometimes ends up calling the close()
method on an undefined value inside its own close() (Revision 1391418)
Result = FAILURE
jfarrell : http://svn.apache.org/viewvc/?view=rev&rev=1391418
Files :
* /thrift/trunk/lib/perl/lib/Thrift/FramedTransport.pm
> Thrift::FramedTransport sometimes calls close() on an undefined value
> ---------------------------------------------------------------------
>
> Key: THRIFT-1082
> URL: https://issues.apache.org/jira/browse/THRIFT-1082
> Project: Thrift
> Issue Type: Bug
> Components: Perl - Library
> Environment: CentOS release 5.4 (x86_64), perl 5.8.8
> Reporter: John Siracusa
> Assignee: John Siracusa
> Fix For: 0.9
>
> Attachments: FramedTransport.patch
>
>
> The Thrift::FramedTransport module sometimes ends up calling the close()
> method on an undefined value inside its own close() method during global
> destruction. Events during global destruction are unordered, so it's
> difficult to reproduce this bug, but it does happen, producing error messages
> like this:
> (in cleanup) Can't call method "close" on an undefined value at
> /usr/lib/perl5/vendor_perl/5.8.8/Thrift/FramedTransport.pm line 71 during
> global destruction.
> The attached patch is a simple workaround to the problem.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira