jwilk-archive / pdf2djvu

PDF to DjVu converter
GNU General Public License v2.0
94 stars 17 forks source link

Bogus memory allocation size #69

Open jwilk opened 12 years ago

jwilk commented 12 years ago

Issue reported by mivan748 at Google Code:

convert pdf w/scanned color images (big file) get that strange message no info in man...

jwilk commented 11 years ago

As far as I know, this error happens when Poppler (the underlying PDF library) tries to allocate more than 2 GB of memory in one chunk. I can't provide you further assistance without seeing the PDF that triggered the error in question.

jwilk commented 11 years ago

Comment submitted by mivan748 at Google Code:

wierd separation - isn't it? no adjustment for foreground detection makes pdf2djvu often useless...

jwilk commented 11 years ago

Comment submitted by mivan748 at Google Code:

get bogus... at page 2 of attached pdf

jwilk commented 11 years ago

Comment submitted by mivan748 at Google Code:

wierd separation Pages from Osnov_Delphi_7.djvu - isn't it? no adjustment for foreground detection makes pdf2djvu often useless for raster-embedded pdf's...

jwilk commented 11 years ago

I can't reproduce it here. What operating system, what architecture, and which version of Poppler you're using?

(Problems with layer separation should be discuseed in issue #7, not here.)

jwilk commented 11 years ago

Comment submitted by mivan748 at Google Code:

xp sp3 rus - no updates after sp3 c2d e8400 4gb ddr2-800 p35 chipset no background services error reproduces stable pdf2djvu 0.7.14

jwilk commented 11 years ago

Comment submitted by scolic03 at Google Code:

Same problem here, Win 7, Amd Phenom II x4 4gb ddr3 machine libpoppler-19.dll - is that the 1.9 poppler library? There is a newer one, 2.2 that could possibly solve the problem?

jwilk commented 11 years ago

FWIW, pdf2djvu 0.7.14 for Windows includes Poppler 0.18.4.

jwilk commented 11 years ago

Comment submitted by davidfalkayn at Google Code:

Same issue here on a long document. Some pages triggered it up to 16 times, others didn't trigger it at all. WinXP SP3, 0.7.14

jwilk commented 11 years ago

Comment submitted by bubnov.d.e at Google Code:

pdf2djvu program is spamming the output with this message "Bogus memory allocation size".

ubuntu 12.04.2 64bit pdf2djvu 0.7.11 (DjVuLibre 3.5.24, poppler 0.18.2, GraphicsMagick++ 1.3.12, GNOME XSLT 1.1.26, GNOME XML 2.7.8)