[ 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 service { /**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} 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 > Attachments: 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 service > { > /**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