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 (JIRA)" <ji...@apache.org> on 2012/06/04 12:49:25 UTC

[jira] [Commented] (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=13288486#comment-13288486 ] 

Alexey Sviridov commented on THRIFT-1538:
-----------------------------------------

Actually this is bug in thrift php code. There is wrong converting from float to int64 on 32-bit systems.
                
> 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, 0.8
>         Environment: Ubuntu 10.04
>            Reporter: Dmitry Zolotarev
>            Priority: Critical
>              Labels: bug, php, serialization
>         Attachments: hello.php, thrift_test1.tar.bz2
>
>
> 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