You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jimmy Jones (JIRA)" <ji...@apache.org> on 2012/11/03 21:33:11 UTC

[jira] [Created] (QPID-4417) swig 1.3.29 generated bad perl bindings

Jimmy Jones created QPID-4417:
---------------------------------

             Summary: swig 1.3.29 generated bad perl bindings
                 Key: QPID-4417
                 URL: https://issues.apache.org/jira/browse/QPID-4417
             Project: Qpid
          Issue Type: Bug
            Reporter: Jimmy Jones


swig-1.3.29-2.el5.x86_64.rpm (RHEL5) generates bad bindings for getContent, which uses sv_setpv rather than sv_setpvn, and also fiddles with NULL at the end, so fails if the message contains a NULL byte.

Maybe configure should require a later version?

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Updated] (QPID-4417) swig 1.3.29 generated bad perl bindings

Posted by "Jimmy Jones (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jimmy Jones updated QPID-4417:
------------------------------

    Attachment: swig.diff

Require SWIG 1.3.32
                
> swig 1.3.29 generated bad perl bindings
> ---------------------------------------
>
>                 Key: QPID-4417
>                 URL: https://issues.apache.org/jira/browse/QPID-4417
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: 0.18
>            Reporter: Jimmy Jones
>            Assignee: Darryl L. Pierce
>         Attachments: swig.diff
>
>
> swig-1.3.29-2.el5.x86_64.rpm (RHEL5) generates bad bindings for getContent, which uses sv_setpv rather than sv_setpvn, and also fiddles with NULL at the end, so fails if the message contains a NULL byte.
> Maybe configure should require a later version?

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Commented] (QPID-4417) swig 1.3.29 generated bad perl bindings

Posted by "Jimmy Jones (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490868#comment-13490868 ] 

Jimmy Jones commented on QPID-4417:
-----------------------------------

Issue was fixed in SWIG 1.3.32
                
> swig 1.3.29 generated bad perl bindings
> ---------------------------------------
>
>                 Key: QPID-4417
>                 URL: https://issues.apache.org/jira/browse/QPID-4417
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: 0.18
>            Reporter: Jimmy Jones
>            Assignee: Darryl L. Pierce
>
> swig-1.3.29-2.el5.x86_64.rpm (RHEL5) generates bad bindings for getContent, which uses sv_setpv rather than sv_setpvn, and also fiddles with NULL at the end, so fails if the message contains a NULL byte.
> Maybe configure should require a later version?

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Commented] (QPID-4417) swig 1.3.29 generated bad perl bindings

Posted by "Darryl L. Pierce (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491557#comment-13491557 ] 

Darryl L. Pierce commented on QPID-4417:
----------------------------------------

Certainly! I've added your change, along with a similar check in the CMake toolchain, to require a minimum of 1.3.32 of Swig if language bindings are built.
                
> swig 1.3.29 generated bad perl bindings
> ---------------------------------------
>
>                 Key: QPID-4417
>                 URL: https://issues.apache.org/jira/browse/QPID-4417
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: 0.18
>            Reporter: Jimmy Jones
>            Assignee: Darryl L. Pierce
>         Attachments: swig.diff
>
>
> swig-1.3.29-2.el5.x86_64.rpm (RHEL5) generates bad bindings for getContent, which uses sv_setpv rather than sv_setpvn, and also fiddles with NULL at the end, so fails if the message contains a NULL byte.
> Maybe configure should require a later version?

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Resolved] (QPID-4417) swig 1.3.29 generated bad perl bindings

Posted by "Darryl L. Pierce (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darryl L. Pierce resolved QPID-4417.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.19

Changes to both the autotool and cmake build environments added.
                
> swig 1.3.29 generated bad perl bindings
> ---------------------------------------
>
>                 Key: QPID-4417
>                 URL: https://issues.apache.org/jira/browse/QPID-4417
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: 0.18
>            Reporter: Jimmy Jones
>            Assignee: Darryl L. Pierce
>             Fix For: 0.19
>
>         Attachments: swig.diff
>
>
> swig-1.3.29-2.el5.x86_64.rpm (RHEL5) generates bad bindings for getContent, which uses sv_setpv rather than sv_setpvn, and also fiddles with NULL at the end, so fails if the message contains a NULL byte.
> Maybe configure should require a later version?

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Updated] (QPID-4417) swig 1.3.29 generated bad perl bindings

Posted by "Jimmy Jones (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jimmy Jones updated QPID-4417:
------------------------------

    Affects Version/s: 0.18
    
> swig 1.3.29 generated bad perl bindings
> ---------------------------------------
>
>                 Key: QPID-4417
>                 URL: https://issues.apache.org/jira/browse/QPID-4417
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: 0.18
>            Reporter: Jimmy Jones
>
> swig-1.3.29-2.el5.x86_64.rpm (RHEL5) generates bad bindings for getContent, which uses sv_setpv rather than sv_setpvn, and also fiddles with NULL at the end, so fails if the message contains a NULL byte.
> Maybe configure should require a later version?

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Resolved] (QPID-4417) swig 1.3.29 generated bad perl bindings

Posted by "Darryl L. Pierce (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darryl L. Pierce resolved QPID-4417.
------------------------------------

    Resolution: Won't Fix

This issue is fixed by an updated release of Swig (1.3.32)
                
> swig 1.3.29 generated bad perl bindings
> ---------------------------------------
>
>                 Key: QPID-4417
>                 URL: https://issues.apache.org/jira/browse/QPID-4417
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: 0.18
>            Reporter: Jimmy Jones
>            Assignee: Darryl L. Pierce
>
> swig-1.3.29-2.el5.x86_64.rpm (RHEL5) generates bad bindings for getContent, which uses sv_setpv rather than sv_setpvn, and also fiddles with NULL at the end, so fails if the message contains a NULL byte.
> Maybe configure should require a later version?

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Reopened] (QPID-4417) swig 1.3.29 generated bad perl bindings

Posted by "Jimmy Jones (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jimmy Jones reopened QPID-4417:
-------------------------------


Will you accept the attached patch?
                
> swig 1.3.29 generated bad perl bindings
> ---------------------------------------
>
>                 Key: QPID-4417
>                 URL: https://issues.apache.org/jira/browse/QPID-4417
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: 0.18
>            Reporter: Jimmy Jones
>            Assignee: Darryl L. Pierce
>         Attachments: swig.diff
>
>
> swig-1.3.29-2.el5.x86_64.rpm (RHEL5) generates bad bindings for getContent, which uses sv_setpv rather than sv_setpvn, and also fiddles with NULL at the end, so fails if the message contains a NULL byte.
> Maybe configure should require a later version?

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Commented] (QPID-4417) swig 1.3.29 generated bad perl bindings

Posted by "Darryl L. Pierce (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490882#comment-13490882 ] 

Darryl L. Pierce commented on QPID-4417:
----------------------------------------

Okay, so I'll close this ticket as "Won't Fix". On platforms such as RHEL5 and derivatives, please ask them to upgrade to 1.3.32.
                
> swig 1.3.29 generated bad perl bindings
> ---------------------------------------
>
>                 Key: QPID-4417
>                 URL: https://issues.apache.org/jira/browse/QPID-4417
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: 0.18
>            Reporter: Jimmy Jones
>            Assignee: Darryl L. Pierce
>
> swig-1.3.29-2.el5.x86_64.rpm (RHEL5) generates bad bindings for getContent, which uses sv_setpv rather than sv_setpvn, and also fiddles with NULL at the end, so fails if the message contains a NULL byte.
> Maybe configure should require a later version?

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Assigned] (QPID-4417) swig 1.3.29 generated bad perl bindings

Posted by "Darryl L. Pierce (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darryl L. Pierce reassigned QPID-4417:
--------------------------------------

    Assignee: Darryl L. Pierce
    
> swig 1.3.29 generated bad perl bindings
> ---------------------------------------
>
>                 Key: QPID-4417
>                 URL: https://issues.apache.org/jira/browse/QPID-4417
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: 0.18
>            Reporter: Jimmy Jones
>            Assignee: Darryl L. Pierce
>
> swig-1.3.29-2.el5.x86_64.rpm (RHEL5) generates bad bindings for getContent, which uses sv_setpv rather than sv_setpvn, and also fiddles with NULL at the end, so fails if the message contains a NULL byte.
> Maybe configure should require a later version?

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org