corrupted double-linked list

Once the tissue web server has run long enough, it crashes with one of the following error messages. This could be a memory allocation bug in guile-xapian. This crash is observed both in the production and development web servers.

malloc(): unsorted double linked list corrupted
Aborted
corrupted double-linked list
Aborted

Steps to reproduce

The easiest way to reproduce this is to run either the production or development web server and stress test it with siege.

If the web server is listening on port 8080, run siege as follows. The web server usually crashes in less than a minute.

$ siege http://localhost:8080/search
(made with skribilo)