bbcarchdev / twine

An RDF workflow engine
https://bbcarchdev.github.io/twine/
Apache License 2.0
8 stars 2 forks source link

Anansi bridge: realloc() crash in ingest_write() #2

Closed nevali closed 9 years ago

nevali commented 9 years ago
#5  0x00007ffff4996a00 in *__GI___libc_realloc (oldmem=0x6380d0, bytes=16385)
    at malloc.c:3821
#6  0x00007ffff06e1eb0 in ingest_write (
    ptr=0x62c850 "text\" value=\"en\">\n", ' ' <repeats 24 times>, "</li>\n", ' ' <repeats 20 times>, "</ul>\n", ' ' <repeats 16 times>, "</li>\n", ' ' <repeats 12 times>, "</ul>\n        </script>\n        <script id=\"tpl-panel\" type=\"text/html\">\n", ' ' <repeats 12 times>, "<div id"..., size=16384, nemb=16384, 
    userdata=0x7fffffffe340) at anansi.c:369

The document being processed is quite large (although it probably shouldn't be in the queue in the first place).