Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#55 xlhtml hangs

open
nobody
None
9
2012-05-15
2012-05-15
JoTAZUZ
No

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...

Discussion

  • JoTAZUZ
    JoTAZUZ
    2012-05-15

    test document that hangs xlhtml

     
  • JoTAZUZ
    JoTAZUZ
    2012-05-15

    • priority: 5 --> 9