You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bud Bundy (JIRA)" <ji...@apache.org> on 2012/11/16 16:56:12 UTC

[jira] [Updated] (THRIFT-1755) Comment parsing bug

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

Bud Bundy updated THRIFT-1755:
------------------------------

    Description: 
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 RenderServerAPI
{
	/**SomeTextHere*/
}
{code}

Note that if you put a space like so /**SomeTextHere */, it compiles.

  was:
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}

Easily reproducible with the following definitions file:
{code}
service RenderServerAPI
{
	/**SomeTextHere*/
}
{code}

Note that if you put a space like so /**SomeTextHere */, it compiles.

    
> Comment parsing bug
> -------------------
>
>                 Key: THRIFT-1755
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1755
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Compiler, Java - Compiler
>    Affects Versions: 0.9
>         Environment: Windows 7
>            Reporter: Bud Bundy
>            Priority: Minor
>              Labels: compilation
>
> 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 RenderServerAPI
> {
> 	/**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