Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repp segmentation fault #1

Closed
arademaker opened this issue Jul 2, 2020 · 2 comments
Closed

repp segmentation fault #1

arademaker opened this issue Jul 2, 2020 · 2 comments

Comments

@arademaker
Copy link
Member

With the same example used for testing in the formula file:

image

ar@leme ~ % repp teste.rpp
don't
zsh: segmentation fault  repp teste.rpp
ar@leme ~ % repp teste.rpp
do n't
zsh: segmentation fault  repp teste.rpp
@dantiston
Copy link
Collaborator

Hi @arademaker - the test file that is generated looks like this after printing from Ruby:

: +
!^(.+)$								 \1 
!([^ ])(n't) 						\1 \2 

I was able to confirm that with the escaped backslashes, I get the segmentation fault and without, I do not. I suspect this is a bug in repp that we should file with Woodley.

If you run brew test delph-in/delphin/repp --keep-tmp, you can inspect the test file (for instance, /private/tmp/repp-test-20200702-51782-1nbgzhq), where I can see:

$ cat /private/tmp/repp-test-20200702-51782-1nbgzhq/test.rpp 
: +
!^(.+)$								 \1 
!([^ ])(n't) 						\1 \2 

@arademaker
Copy link
Member Author

Thank you, unfortunately we don’t have repp code in a GitHub repository to easily report an issue. I will write to the dev list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants