You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Alexey Sviridov (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/03/22 16:22:23 UTC

[jira] [Issue Comment Edited] (THRIFT-1538) Error during deserialization int64 on 32-bit architecture

    [ https://issues.apache.org/jira/browse/THRIFT-1538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235631#comment-13235631 ] 

Alexey Sviridov edited comment on THRIFT-1538 at 3/22/12 3:21 PM:
------------------------------------------------------------------

On 32-bit architecture, in php client, value 5718813258875302619 threated not as int64, but as float. Then this value wrongly converted to byte array before sended to net. Java server recieved value 5718813261021839359.
                
      was (Author: sviridov_alexey):
    On 32-bit architecture in php client value 5718813258875302619 threated not as int64, but as float. Then this value wrongly converted to byte array before sended to net. Java server recieved value 5718813261021839359.
                  
> Error during deserialization int64 on 32-bit architecture
> ---------------------------------------------------------
>
>                 Key: THRIFT-1538
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1538
>             Project: Thrift
>          Issue Type: Bug
>          Components: PHP - Library
>    Affects Versions: 0.2
>         Environment: Ubuntu 10.04
>            Reporter: Dmitry Zolotarev
>            Priority: Critical
>              Labels: bug, php, serialization
>
> Value 5718813258875302619 deserialized as 5718813261021839359

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira