Hi there,
I'm working on a program that requires processing a large number of XML
files that have an average size of 500 kB.
I am using the SSAX egg to do the XML parsing and converting to SXML for
further processing.
I am sporadically getting segmentation violations (about 1 out of 3 program
executions fail) while processing these files. It is not dependent on the
particular XML file but always occurs when about 50 have been processed
already. Here is the error:
*Error: segmentation violation Call history: ,,,
crow.scm:524: unpack-aiml crow.scm:468: read-all *
*crow.scm:468: buffer-ports#open-input-buffer crow.scm:469:
ssax#ssax:xml->sxml *
And an except from the code:
(define (unpack-aiml file)
(let* ((result '())
(contents (open-input-buffer (read-all file)))
(xml (car (get-tag (*ssax:xml->sxml contents* '()) 'aiml)))
Would anyone have any suggestions how I could further debug?
Thanks.
David
_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users