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

SegFault on TTL that has PREFIX lines mixed into "data" lines #26

Open
markwilkinson opened this issue Jun 14, 2019 · 1 comment
Open

Comments

@markwilkinson
Copy link

Hi Gregg

I believe this is an rdf-raptor problem, but I can't quite track it down precisely.

I have Turtle being sent to me by an LDP server. It has a few lines of @Prefix, then a few lines of data, then a few more lines of @Prefix and so on. No line of data uses a prefix before it is defined, so the TTL appears to be valid; however, when I parse it using the raptor library, I get a segfault. If I reorder the lines to push the prefixes to the top, the segfault goes away.

My "patch" to get around the problem is not a good idea, since Turtle allows PREFIXes to be redefined at any point in the document, so by pushing them to the top, I am potentially breaking the data.

Suggestions? Am I sending this bug report to the right place?

Cheers!

@TallTed
Copy link

TallTed commented Sep 4, 2019

This link to the initial discussion of this issue may be helpful to @gkellogg et al.

That said, as I read things, this issue probably lies in the raptor library from @dajobe on which rdf-raptor depends, but I'm not quickly finding how/where to log an issue on raptor itself (possibly here?).

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