#93 wvWare consumes > 1 Gig of memory

closed-fixed
nobody
None
5
2006-03-12
2002-12-11
Anonymous
No

running the command: "wvWare -x
/usr/local/share/wv/wvHtml.xml -d . -b old
../offendingworddoc.doc"

Produces:
Warning file '?????': -1073753272 bytes, non-integer
number of blocks
'?????' : duff file !

The program then does not terminate, and it just keeps
allocating heeps of memory, until the kernel crashes.

It looks like an issue with "#define BLOCK_COUNT(f)
(((f)->length + BB_BLOCK_SIZE - 1) / BB_BLOCK_SIZE)"
line: 136 of file: libole2/ms-ole.c

when (f)->length is negative, it produces a negative
BLOCK_COUNT, this value should be asserted to be
positive
somewhere.
it allocates heeps of memory the function
"ms_ole_setup". (>1Gig).

Cheers, Good luck.

Discussion

  • Word Document That makes wvWare go weird

     
    Attachments
  • Dom Lachowicz
    Dom Lachowicz
    2006-03-12

    Logged In: YES
    user_id=69417

    Please upgrade to 1.2.x, since it uses libgsf and not
    libole2, these sorts of errors shouldn't happen. Thanks.

     
  • Dom Lachowicz
    Dom Lachowicz
    2006-03-12

    • status: open --> closed-fixed