RhinoTrac
LassoSoft Ticket Tracking System
NOTE: If you are using Lasso Server 9.3 please Log your ticket directly via the LUX admin as this will give us more information about your issue.
Ticket #7788: regexp->split crashes with more than 99 matches
- Reported by:
- Brad Lindsay
- Date:
- 12 Aug, 2014
- Priority:
- major
- Component:
- Lasso 9
- Version:
- 9.3
- Keywords:
- Platform:
I have code that is designed to render a Markdown document as HTML. For larger files, it inevitably crashes with a segmentation fault and I can't figure out why. While trying to troubleshoot where it's having problems parsing the document, it doesn't always crash in the same spot. This leads me to think that it's not an issue with my code.
To duplicate the crash, check out the Github repository and run the test:
$> git clone https://github.com/bfad/markdown.git
$> cd markdown
$> lasso9 tests/markdown_tests.lasso
I've attached the crash log from OS X, but I've seen it segfault on both OS X with 9.2.7 and Ubuntu with 9.2.6
Please log in to your LassoSoft account to comment
Comments
$> cd markdown
$> git checkout -b troubleshooting origin/troubleshooting
$> lasso9 tests/markdown_tests.lasso
Backslash escapes
Segmentation fault: 11
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
Segmentation fault: 11