Hi, I have Mandriva 2010.1 64 bit (upgraded from 2010) and with tesseract-2.04-5mdv2010.1.
I can run without problem (in xterm or konsole): /usr/bin/tesseract resized_slide7.tif resized_slide7 that produce output (resized_slide7.txt) . BUT: /usr/bin/tesseract resized_slide5.tif resized_slide5 /usr/bin/tesseract resized_slide6.tif resized_slide6 failed with error message: check_legal_image_size:Error:Only 1,2,4,5,6,8 bpp are supported:16 Also I tried tesseract 3.00 (r402 with leptonica 1.65), but it failed on resized_slide5.tif and resized_slide6.tif (resized_slide7.tif is ok) with this messages: Error in pixReadFromTiffStream: spp not in set {1,3} Error in pixReadStreamTiff: pix not read Error in pixReadTiff: pix not read So it looks like problem with tif (aplha chanel?)... Zd. Dn(a 13.07.2010 02:59, msjs08 wrote / napísal(a): > Hi > I installed the only version available through the Mandriva control > centre. Version 2.04 > The imagereader thing is a gui front end to tesseract. It doesn't > interpret the error messages. > > My first problem was that I wasn't feeding 8bit images to it. > I'm getting the image recognised now but it still segfaults. > It seems to occur AFTER it has written the text file. > > I'm sending 3 pics to Jimmy O'Regan > > Cheers > SJ > > > On 12/07/10 22:28, zdenko podobny wrote: >> Hello, >> >> How did you installed Tesseract? Which version? >> Please provide more information. >> >> Zd. >> >> On Sun, Jul 11, 2010 at 6:16 PM, msjs08 <msj...@gmail.com >> <mailto:msj...@gmail.com>> wrote: >> >> >> I've installed Tesseract on Mandriva 2010 (64 bit) and I can't get >> it to run. >> It just segfaults. >> I installed gimagereader. This is the error I got when I tried to >> use gimagereader >> >> [r...@desktop test extract]# tesseract slide7.tif textfile.txt >> Tesseract Open Source OCR Engine >> *** glibc detected *** tesseract: double free or corruption >> (!prev): 0x0000000000a80de0 *** >> ======= Backtrace: ========= >> /lib64/libc.so.6[0x7fa9e5956bf6] >> /lib64/libc.so.6(cfree+0x6f)[0x7fa9e595b6bf] >> /lib64/libc.so.6(__cxa_finalize+0xa5)[0x7fa9e591a5f5] >> /usr/lib64/libtesseract_full.so.2[0x7fa9e68b97b6] >> ======= Memory map: ======== >> 00400000-00537000 r-xp 00000000 08:05 179583 >> /usr/bin/tesseract >> 00737000-0073a000 r--p 00137000 08:05 179583 >> /usr/bin/tesseract >> 0073a000-00741000 rw-p 0013a000 08:05 179583 >> /usr/bin/tesseract >> 00741000-007cc000 rw-p 00000000 00:00 0 >> 00a72000-00dd9000 rw-p 00000000 00:00 0 >> [heap] >> 7fa9e0000000-7fa9e0021000 rw-p 00000000 00:00 0 >> 7fa9e0021000-7fa9e4000000 ---p 00000000 00:00 0 >> 7fa9e528d000-7fa9e52a2000 r-xp 00000000 08:05 131442 >> /lib64/libz.so.1.2.3 >> 7fa9e52a2000-7fa9e54a1000 ---p 00015000 08:05 131442 >> /lib64/libz.so.1.2.3 >> 7fa9e54a1000-7fa9e54a2000 rw-p 00014000 08:05 131442 >> /lib64/libz.so.1.2.3 >> 7fa9e54a2000-7fa9e54d8000 r-xp 00000000 08:05 131605 >> /usr/lib64/libjpeg.so.7.0.0 >> 7fa9e54d8000-7fa9e56d8000 ---p 00036000 08:05 131605 >> /usr/lib64/libjpeg.so.7.0.0 >> 7fa9e56d8000-7fa9e56d9000 r--p 00036000 08:05 131605 >> /usr/lib64/libjpeg.so.7.0.0 >> 7fa9e56d9000-7fa9e56da000 rw-p 00037000 08:05 131605 >> /usr/lib64/libjpeg.so.7.0.0 >> 7fa9e56da000-7fa9e56e3000 r-xp 00000000 08:05 133782 >> /usr/lib64/libjbig.so.1.0.0 >> 7fa9e56e3000-7fa9e58e2000 ---p 00009000 08:05 133782 >> /usr/lib64/libjbig.so.1.0.0 >> 7fa9e58e2000-7fa9e58e3000 r--p 00008000 08:05 133782 >> /usr/lib64/libjbig.so.1.0.0 >> 7fa9e58e3000-7fa9e58e6000 rw-p 00009000 08:05 133782 >> /usr/lib64/libjbig.so.1.0.0 >> 7fa9e58e6000-7fa9e5a3a000 r-xp 00000000 08:05 130868 >> /lib64/libc-2.10.1.so <http://libc-2.10.1.so> >> 7fa9e5a3a000-7fa9e5c3a000 ---p 00154000 08:05 130868 >> /lib64/libc-2.10.1.so <http://libc-2.10.1.so> >> 7fa9e5c3a000-7fa9e5c3e000 r--p 00154000 08:05 130868 >> /lib64/libc-2.10.1.so <http://libc-2.10.1.so> >> 7fa9e5c3e000-7fa9e5c3f000 rw-p 00158000 08:05 130868 >> /lib64/libc-2.10.1.so <http://libc-2.10.1.so> >> 7fa9e5c3f000-7fa9e5c44000 rw-p 00000000 00:00 0 >> 7fa9e5c44000-7fa9e5c5a000 r-xp 00000000 08:05 131433 >> /lib64/libgcc_s-4.4.1.so.1 >> 7fa9e5c5a000-7fa9e5e59000 ---p 00016000 08:05 131433 >> /lib64/libgcc_s-4.4.1.so.1 >> 7fa9e5e59000-7fa9e5e5a000 rw-p 00015000 08:05 131433 >> /lib64/libgcc_s-4.4.1.so.1 >> 7fa9e5e5a000-7fa9e5edb000 r-xp 00000000 08:05 210438 >> /lib64/libm-2.10.1.so <http://libm-2.10.1.so> >> 7fa9e5edb000-7fa9e60da000 ---p 00081000 08:05 210438 >> /lib64/libm-2.10.1.so <http://libm-2.10.1.so> >> 7fa9e60da000-7fa9e60db000 r--p 00080000 08:05 210438 >> /lib64/libm-2.10.1.so <http://libm-2.10.1.so> >> 7fa9e60db000-7fa9e60dc000 rw-p 00081000 08:05 210438 >> /lib64/libm-2.10.1.so <http://libm-2.10.1.so> >> 7fa9e60dc000-7fa9e61c9000 r-xp 00000000 08:05 131450 >> /usr/lib64/libstdc++.so.6.0.12 >> 7fa9e61c9000-7fa9e63c9000 ---p 000ed000 08:05 131450 >> /usr/lib64/libstdc++.so.6.0.12 >> 7fa9e63c9000-7fa9e63d0000 r--p 000ed000 08:05 131450 >> /usr/lib64/libstdc++.so.6.0.12 >> 7fa9e63d0000-7fa9e63d2000 rw-p 000f4000 08:05 131450 >> /usr/lib64/libstdc++.so.6.0.12 >> 7fa9e63d2000-7fa9e63e7000 rw-p 00000000 00:00 0 >> 7fa9e63e7000-7fa9e63fd000 r-xp 00000000 08:05 130892 >> /lib64/libpthread-2.10.1.so <http://libpthread-2.10.1.so> >> 7fa9e63fd000-7fa9e65fc000 ---p 00016000 08:05 130892 >> /lib64/libpthread-2.10.1.so <http://libpthread-2.10.1.so> >> 7fa9e65fc000-7fa9e65fd000 r--p 00015000 08:05 130892 >> /lib64/libpthread-2.10.1.so <http://libpthread-2.10.1.so> >> 7fa9e65fd000-7fa9e65fe000 rw-p 00016000 08:05 130892 >> /lib64/libpthread-2.10.1.so <http://libpthread-2.10.1.so> >> 7fa9e65fe000-7fa9e6602000 rw-p 00000000 00:00 0 >> 7fa9e6602000-7fa9e6663000 r-xp 00000000 08:05 133791 >> /usr/lib64/libtiff.so.3.9.1 >> 7fa9e6663000-7fa9e6862000 ---p 00061000 08:05 133791 >> /usr/lib64/libtiff.so.3.9.1 >> 7fa9e6862000-7fa9e6864000 r--p 00060000 08:05 133791 >> /usr/lib64/libtiff.so.3.9.1 >> 7fa9e6864000-7fa9e6865000 rw-p 00062000 08:05 133791 >> /usr/lib64/libtiff.so.3.9.1 >> 7fa9e6865000-7fa9e6a18000 r-xp 00000000 08:05 142456 >> /usr/lib64/libtesseract_full.so.2.0.4 >> 7fa9e6a18000-7fa9e6c18000 ---p 001b3000 08:05 142456 >> /usr/lib64/libtesseract_full.so.2.0.4 >> 7fa9e6c18000-7fa9e6c1b000 r--p 001b3000 08:05 142456 >> /usr/lib64/libtesseract_full.so.2.0.4 >> 7fa9e6c1b000-7fa9e6c26000 rw-p 001b6000 08:05 142456 >> /usr/lib64/libtesseract_full.so.2.0.4 >> 7fa9e6c26000-7fa9e6cb6000 rw-p 00000000 00:00 0 >> 7fa9e6cb6000-7fa9e6cd2000 r-xp 00000000 08:05 130861 >> /lib64/ld-2.10.1.so <http://ld-2.10.1.so> >> 7fa9e6eb0000-7fa9e6eb5000 rw-p 00000000 00:00 0 >> 7fa9e6ecf000-7fa9e6ed1000 rw-p 00000000 00:00 0 >> 7fa9e6ed1000-7fa9e6ed2000 r--p 0001b000 08:05 130861 >> /lib64/ld-2.10.1.so <http://ld-2.10.1.so> >> 7fa9e6ed2000-7fa9e6ed3000 rw-p 0001c000 08:05 130861 >> /lib64/ld-2.10.1.so <http://ld-2.10.1.so> >> 7fff0fbb3000-7fff0fbec000 rw-p 00000000 00:00 0 >> [stack] >> 7fff0fbff000-7fff0fc00000 r-xp 00000000 00:00 0 >> [vdso] >> ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 >> [vsyscall] >> Aborted >> >> Any thoughts? >> SJ >> >> -- You received this message because you are subscribed to >> the Google >> Groups "tesseract-ocr" group. >> To post to this group, send email to >> tesseract-ocr@googlegroups.com >> <mailto:tesseract-ocr@googlegroups.com>. >> To unsubscribe from this group, send email to >> tesseract-ocr+unsubscr...@googlegroups.com >> <mailto:tesseract-ocr%2bunsubscr...@googlegroups.com>. >> For more options, visit this group at >> http://groups.google.com/group/tesseract-ocr?hl=en. >> >> >> -- >> You received this message because you are subscribed to the Google >> Groups "tesseract-ocr" group. >> To post to this group, send email to tesseract-...@googlegroups.com. >> To unsubscribe from this group, send email to >> tesseract-ocr+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/tesseract-ocr?hl=en. > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to tesseract-...@googlegroups.com. To unsubscribe from this group, send email to tesseract-ocr+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en.