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

Crash in rdfa_complete_object_literal_triples() trying to access NULL plain literal #2

Open
msporny opened this issue Aug 10, 2011 · 0 comments
Labels

Comments

@msporny
Copy link
Contributor

msporny commented Aug 10, 2011

This was reported via raptor at http://bugs.librdf.org/mantis/view.php?id=408 which contains the datasets.html file as an attachment in case the file below doesn't work

$ wget http://logd.tw.rpi.edu/twc/drupaltest/datasets
$ mv datasets datasets.html

$ cat .git/refs/heads/master 
bcaae8b7e0e7d7b9d0f3e0580740bfc66b75757c

$ gdb --args tests/dist/rdfa2n3 $PWD/datasets.html
... lots and lots of output ...


   
  "eia-doe-gov net_generation"@en .

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
0x000000010000886b in rdfa_complete_object_literal_triples (context=0x100108f90) at build/triple.c:446
446        else if(strlen(context->plain_literal) == 0)
(gdb) (gdb) p context->plain_literal
$1 = 0x0
(gdb) up
#1  0x000000010000611d in end_element (user_data=0x100100980, name=0x1001085c0 "td") at build/rdfa.c:936
936           rdfa_complete_object_literal_triples(context);

Looks like the end of a 'td' element?

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

No branches or pull requests

1 participant