I am trying to train Tesseract to understand Armenian but get the error below when running on Debian testing which has tesseract-ocr (3.02.01-4).
mftraining -F font_properties -U unicharset -O hye.unicharset hye.DejaVuSerif.box.tr Warning: No shape table file present: shapetable Reading hye.DejaVuSerif.box.tr ... *** glibc detected *** mftraining: double free or corruption (out): 0x00000000017780f0 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x75b46)[0x7fe680f23b46] /lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7fe680f2887c] mftraining(_ZN13GenericVectorIiE5clearEv+0x9b)[0x4090f5] mftraining(_ZN13GenericVectorIiED2Ev+0x2a)[0x408dba] /usr/lib/libtesseract.so.3(_ZN9tesseract17TrainingSampleSet14SetupFontIdMapEv+0x136)[0x7fe6822620ee] /usr/lib/libtesseract.so.3(_ZN9tesseract17TrainingSampleSet22OrganizeByFontAndClassEv+0x24)[0x7fe682261c4e] /usr/lib/libtesseract.so.3(_ZN9tesseract13MasterTrainer15PostLoadCleanupEv+0xc5)[0x7fe68224ef7f] mftraining[0x40c70b] mftraining(main+0x71)[0x4082fc] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7fe680eccead] mftraining[0x4079e9] ======= Memory map: ======== 00400000-00413000 r-xp 00000000 08:01 440086 /usr/bin/mftraining 00613000-00614000 rw-p 00013000 08:01 440086 /usr/bin/mftraining 00614000-00615000 rw-p 00000000 00:00 0 0167a000-0186a000 rw-p 00000000 00:00 0 [heap] 7fe678000000-7fe678021000 rw-p 00000000 00:00 0 7fe678021000-7fe67c000000 ---p 00000000 00:00 0 7fe67ff7f000-7fe67ff8a000 r-xp 00000000 08:01 409376 /usr/lib/x86_64-linux-gnu/libjbig.so.0.0.0 7fe67ff8a000-7fe68018a000 ---p 0000b000 08:01 409376 /usr/lib/x86_64-linux-gnu/libjbig.so.0.0.0 7fe68018a000-7fe68018d000 rw-p 0000b000 08:01 409376 /usr/lib/x86_64-linux-gnu/libjbig.so.0.0.0 7fe68018d000-7fe6801c3000 r-xp 00000000 08:01 440025 /usr/lib/x86_64-linux-gnu/libwebp.so.2.0.0 7fe6801c3000-7fe6803c2000 ---p 00036000 08:01 440025 /usr/lib/x86_64-linux-gnu/libwebp.so.2.0.0 7fe6803c2000-7fe6803c3000 r--p 00035000 08:01 440025 /usr/lib/x86_64-linux-gnu/libwebp.so.2.0.0 7fe6803c3000-7fe6803c4000 rw-p 00036000 08:01 440025 /usr/lib/x86_64-linux-gnu/libwebp.so.2.0.0 7fe6803c4000-7fe6803c7000 rw-p 00000000 00:00 0 7fe6803c7000-7fe68042a000 r-xp 00000000 08:01 409379 /usr/lib/x86_64-linux-gnu/libtiff.so.4.3.6 7fe68042a000-7fe680629000 ---p 00063000 08:01 409379 /usr/lib/x86_64-linux-gnu/libtiff.so.4.3.6 7fe680629000-7fe68062c000 r--p 00062000 08:01 409379 /usr/lib/x86_64-linux-gnu/libtiff.so.4.3.6 7fe68062c000-7fe68062d000 rw-p 00065000 08:01 409379 /usr/lib/x86_64-linux-gnu/libtiff.so.4.3.6 7fe68062d000-7fe680635000 r-xp 00000000 08:01 423093 /usr/lib/libgif.so.4.1.6 7fe680635000-7fe680835000 ---p 00008000 08:01 423093 /usr/lib/libgif.so.4.1.6 7fe680835000-7fe680836000 rw-p 00008000 08:01 423093 /usr/lib/libgif.so.4.1.6 7fe680836000-7fe680870000 r-xp 00000000 08:01 409271 /usr/lib/x86_64-linux-gnu/libjpeg.so.8.4.0 7fe680870000-7fe680a6f000 ---p 0003a000 08:01 409271 /usr/lib/x86_64-linux-gnu/libjpeg.so.8.4.0 7fe680a6f000-7fe680a70000 rw-p 00039000 08:01 409271 /usr/lib/x86_64-linux-gnu/libjpeg.so.8.4.0 7fe680a70000-7fe680a96000 r-xp 00000000 08:01 8260 /lib/x86_64-linux-gnu/libpng12.so.0.49.0 7fe680a96000-7fe680c95000 ---p 00026000 08:01 8260 /lib/x86_64-linux-gnu/libpng12.so.0.49.0 7fe680c95000-7fe680c96000 r--p 00025000 08:01 8260 /lib/x86_64-linux-gnu/libpng12.so.0.49.0 7fe680c96000-7fe680c97000 rw-p 00026000 08:01 8260 /lib/x86_64-linux-gnu/libpng12.so.0.49.0 7fe680c97000-7fe680cad000 r-xp 00000000 08:01 37 /lib/x86_64-linux-gnu/libz.so.1.2.7 7fe680cad000-7fe680eac000 ---p 00016000 08:01 37 /lib/x86_64-linux-gnu/libz.so.1.2.7 7fe680eac000-7fe680ead000 r--p 00015000 08:01 37 /lib/x86_64-linux-gnu/libz.so.1.2.7 7fe680ead000-7fe680eae000 rw-p 00016000 08:01 37 /lib/x86_64-linux-gnu/libz.so.1.2.7 7fe680eae000-7fe68102b000 r-xp 00000000 08:01 18 /lib/x86_64-linux-gnu/libc-2.13.so 7fe68102b000-7fe68122b000 ---p 0017d000 08:01 18 /lib/x86_64-linux-gnu/libc-2.13.so 7fe68122b000-7fe68122f000 r--p 0017d000 08:01 18 /lib/x86_64-linux-gnu/libc-2.13.so 7fe68122f000-7fe681230000 rw-p 00181000 08:01 18 /lib/x86_64-linux-gnu/libc-2.13.so 7fe681230000-7fe681235000 rw-p 00000000 00:00 0 7fe681235000-7fe68124a000 r-xp 00000000 08:01 19 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fe68124a000-7fe68144a000 ---p 00015000 08:01 19 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fe68144a000-7fe68144b000 rw-p 00015000 08:01 19 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fe68144b000-7fe6814cc000 r-xp 00000000 08:01 4185 /lib/x86_64-linux-gnu/libm-2.13.so 7fe6814cc000-7fe6816cb000 ---p 00081000 08:01 4185 /lib/x86_64-linux-gnu/libm-2.13.so 7fe6816cb000-7fe6816cc000 r--p 00080000 08:01 4185 /lib/x86_64-linux-gnu/libm-2.13.so 7fe6816cc000-7fe6816cd000 rw-p 00081000 08:01 4185 /lib/x86_64-linux-gnu/libm-2.13.so 7fe6816cd000-7fe6817b5000 r-xp 00000000 08:01 390919 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17 7fe6817b5000-7fe6819b5000 ---p 000e8000 08:01 390919 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17 7fe6819b5000-7fe6819bd000 r--p 000e8000 08:01 390919 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17 7fe6819bd000-7fe6819bf000 rw-p 000f0000 08:01 390919 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17 7fe6819bf000-7fe6819d4000 rw-p 00000000 00:00 0 7fe6819d4000-7fe6819eb000 r-xp 00000000 08:01 4196 /lib/x86_64-linux-gnu/libpthread-2.13.so 7fe6819eb000-7fe681bea000 ---p 00017000 08:01 4196 /lib/x86_64-linux-gnu/libpthread-2.13.so 7fe681bea000-7fe681beb000 r--p 00016000 08:01 4196 /lib/x86_64-linux-gnu/libpthread-2.13.so 7fe681beb000-7fe681bec000 rw-p 00017000 08:01 4196 /lib/x86_64-linux-gnu/libpthread-2.13.so 7fe681bec000-7fe681bf0000 rw-p 00000000 00:00 0 7fe681bf0000-7fe681d97000 r-xp 00000000 08:01 440030 /usr/lib/liblept.so.3.0.0 7fe681d97000-7fe681f96000 ---p 001a7000 08:01 440030 /usr/lib/liblept.so.3.0.0 7fe681f96000-7fe681f9f000 rw-p 001a6000 08:01 440030 /usr/lib/liblept.so.3.0.0 7fe681f9f000-7fe68239b000 r-xp 00000000 08:01 440060 /usr/lib/libtesseract.so.3.0.2 7fe68239b000-7fe68259b000 ---p 003fc000 08:01 440060 /usr/lib/libtesseract.so.3.0.2 7fe68259b000-7fe6825b6000 rw-p 003fc000 08:01 440060 /usr/lib/libtesseract.so.3.0.2 7fe6825b6000-7fe6826c3000 rw-p 00000000 00:00 0 7fe6826c3000-7fe6826e3000 r-xp 00000000 08:01 4200 /lib/x86_64-linux-gnu/ld-2.13.so 7fe6828c4000-7fe6828cd000 rw-p 00000000 00:00 0 7fe6828e0000-7fe6828e2000 rw-p 00000000 00:00 0 7fe6828e2000-7fe6828e3000 r--p 0001f000 08:01 4200 /lib/x86_64-linux-gnu/ld-2.13.so 7fe6828e3000-7fe6828e4000 rw-p 00020000 08:01 4200 /lib/x86_64-linux-gnu/ld-2.13.so 7fe6828e4000-7fe6828e5000 rw-p 00000000 00:00 0 7fff97fd9000-7fff97ffa000 rw-p 00000000 00:00 0 [stack] 7fff97fff000-7fff98000000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Aborted Any ideas and thoughts much appreciated. -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en

