patcharats / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

Error: Illegal malloc request size! #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
271E1:~/tesseract-2.00 user$ ./tesseract phototest.tif phototest

Error: Illegal malloc request size!

Fatal error: No error trap defined!
Signal_termination_handler called with signal 2001
Signal_exit 30 SIGNAL ABORT. LocCode: 3  SignalCode: 3

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
2.0, error occured on both mac os x
error also occured when trying with the pre-compiled windows binary

Please provide any additional information below.

Original issue reported on code.google.com by georgepa...@gmail.com on 1 Aug 2007 at 8:51

GoogleCodeExporter commented 9 years ago
I have the same issue, except that it occurs using a language set I trained 
myself.
Attached files are the 5 files of the set excluding the dictionary files (the
training was for a particular font, so I copied over the dictionary files from 
the
english set).

System is Gentoo Linux on an amd64, using version 2.00 built from the ebuild.
Note that the program work with the supplied english and french language sets.

Original comment by ga...@nuitari.net on 21 Aug 2007 at 11:00

Attachments:

GoogleCodeExporter commented 9 years ago
Try patch1, patch2, patch3 from
http://www.win.tue.nl/~aeb/linux/ocr/tesseract.html
and try again.
The binary format used in inttemp is nonportable, and the way this file is read 
and
written fails on amd64 and x86_64. Throw away the binary files, recompile and 
train
again.

Original comment by a...@win.tue.nl on 22 Nov 2007 at 3:39

GoogleCodeExporter commented 9 years ago
This issue was fixed in 2.03 or before.

Original comment by theraysm...@gmail.com on 28 Dec 2008 at 6:36