After trying to convert the attached document xlhtml hangs, and after a while it takes down the whole server.
I'm running CentOS 5.8 x86_64, kernel 2.6.18-308.4.1 and xlhtml version 0.4.9.3 (actually I compiled xlhtml 0.5 but xlhtml --version says 0.4.9.3, another bug maybe?)
# ldd /usr/bin/xlhtml
linux-vdso.so.1 => (0x00007fffd8cf2000)
libc.so.6 => /lib64/libc.so.6 (0x0000003dbc000000)
/lib64/ld-linux-x86-64.so.2 (0x0000003dbbc00000)
and the last lines of strace:
mmap(NULL, 10055680, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b9a4099c000
mmap(NULL, 16032280576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b9a41333000
Apparently xlhtml is trying to allocate a ridiculous amount of memory...
test document that hangs xlhtml