[ 
https://issues.apache.org/jira/browse/THRIFT-1755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Geyer resolved THRIFT-1755.
--------------------------------

    Resolution: Fixed

Committed.
                
> Comment parsing bug
> -------------------
>
>                 Key: THRIFT-1755
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1755
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (General)
>    Affects Versions: 0.9
>         Environment: Windows 7
>            Reporter: Bud Bundy
>            Assignee: Jens Geyer
>              Labels: compilation, docstrings
>             Fix For: 0.9.2
>
>         Attachments: THRIFT-1755_comment_parsing_bug.patch, thrift-1755.patch
>
>
> thrift-0.9.0.exe crashes when trying to parse a thrift description file with 
> a particular style of comment.
> The crash message is:
> {code}
> Assertion failed: docstring.length() <= strlen(doctext), file src/main.cc, 
> line 548
> This application has requested the Runtime to terminate it in an unusual way.
> Please contact the application's support team for more information.
> {code}
> Reproducible with the following definitions file:
> {code}
> service myservice
> {
>       /**SomeTextHere*/
> }
> {code}
> Note that if you put a space like so /**SomeTextHere */, it compiles.

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

Reply via email to