[redland-dev] Rasqal Query parsing bug

Christopher Schmidt crschmidt at crschmidt.net
Sun Jan 9 18:07:34 PST 2005


The following query causes python to use 100% CPU. When run in gdb, 
killing via ctrl-c seems to end the program in rdql_lexer_lex.

import RDF
m = RDF.Model()
q = RDF.Query("""select ?title where (?uri rdf:type foo:Channel) (?item
                rdf:type foo:item) (?item foo:title ?title) and ?item =~ ?uri
                                using foo for <http://purl.org/rss/1.0/>""")
q.execute(m)

Reproduced at http://librdf.org/query .

-- 
Christopher Schmidt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnomehack.com/pipermail/redland-dev/attachments/20050109/5b34079e/attachment.pgp


More information about the redland-dev mailing list