Here is a fragment of a stack dump from dbx: unnamed block in werd._Z41__static_initialization_and_destruction_0ii(__initialize_p = ??, __priority = ??), line 41 in "werd.cpp" unnamed block in werd._Z41__static_initialization_and_destruction_0ii(__initialize_p = ??, __priority = ??), line 41 in "werd.cpp" werd._Z41__static_initialization_and_destruction_0ii(__initialize_p = ??, __priority = ??), line 41 in "werd.cpp" _GLOBAL__FI_libtesseract_ccstruct_so() at 0xd43a16b8 mod_init1(??, ??) at 0xd03cf1a0 __modinit(??, ??, ??, ??, ??, ??) at 0xd03cf0b4
On Thu, Sep 29, 2011 at 6:59 AM, Michael Potter <[email protected]> wrote: > Thank you, > > 1) I am using Tesseract-3.00 downloaded as a tar. > 2) Same error regardless of what image I use. > > tesseract does not even get to the point where it opened the file so I > suspect more of a system problem than a logic problem. > > -- > Michael Potter > > On Thu, Sep 29, 2011 at 3:05 AM, zdenko podobny <[email protected]> wrote: >> First of all - put here information about which version/svn revision you try >> to use ;-) >> Next: if you have problem (after changing code, testing new instalation), >> use example images that are part of tesseract for testing: eurotext.tif >> and phototest.tif >> >> Zdenko >> On Thu, Sep 29, 2011 at 5:05 AM, Michael Potter <[email protected]> wrote: >>> >>> All, >>> >>> I have been attempting to compile and run tesseract on aix. >>> >>> Here is how I compile: >>> make clean >>> ./configure --disable-largefile >>> vi Makefile # remove optimization option -O2 >>> make >>> make install DESTDIR=$HOME >>> >>> >>> Here is how I run: >>> export PATH=$HOME/opt/freeware/bin:$PATH >>> export LIBPATH=$HOME/opt/freeware/lib >>> truss -f -o ~/tmp/trussout.txt tesseract ~/tmp/sample.tif ~/tmp/sample >>> >>> >>> Then tesseract coredumps. >>> >>> Here is the trussout.txt file: >>> 1478850: execve("/home/xxxx/opt/freeware/bin/tesseract", 0x2FF22BCC, >>> 0x2000FB38) argc: 3 >>> 1478850: 2695295: __loadx(0x03480000, 0x2FF22860, 0x000002A8, >>> 0x10000000, 0x2000015D) = 0x00000000 >>> 1478850: 2695295: __loadx(0x0C000000, 0xF0351ABC, 0x0000000B, >>> 0xF030C004, 0xF0351460) = 0x00000000 >>> 1478850: 2695295: thread_init(0x0000000000000000, 0x00000000D0117CCC) = >>> 1478850: 2695295: sbrk(0x00000000) = 0x20000D30 >>> 1478850: 2695295: vmgetinfo(0x2FF22768, 7, 16) = 0 >>> 1478850: 2695295: sbrk(0x00000000) = 0x20000D30 >>> 1478850: 2695295: vmgetinfo(0x2FF22230, 7, 16) = 0 >>> 1478850: 2695295: sbrk(0x00000000) = 0x20000D30 >>> 1478850: 2695295: __libc_sbrk(0x00000000) = 0x20000D30 >>> 1478850: 2695295: getrpid(-1, -1, -265230292) = 1478850 >>> 1478850: 2695295: _getpid() = 1478850 >>> 1478850: 2695295: getprocs(0x200022B8, 920, 0x00000000, 0, 0xF030C3B0, 1) >>> = 1 >>> 1478850: 2695295: appulimit(1005, 0) = 0x2DF23000 >>> 1478850: 2695295: _thread_self() = 2695295 >>> 1478850: 2695295: thread_setmystate(0x00000000, 0x2FF223C0) = 0 >>> 1478850: 2695295: thread_setmystate(0x2FF220B0, 0x2FF223B8) = 0 >>> 1478850: 2695295: _sigaction(3, 0x2FF226E8, 0x2FF226F8) = 0 >>> 1478850: 2695295: _sigaction(4, 0x2FF226E8, 0x2FF226F8) = 0 >>> 1478850: 2695295: _sigaction(5, 0x2FF226E8, 0x2FF226F8) = 0 >>> 1478850: 2695295: _sigaction(6, 0x2FF226E8, 0x2FF226F8) = 0 >>> 1478850: 2695295: _sigaction(7, 0x2FF226E8, 0x2FF226F8) = 0 >>> 1478850: 2695295: _sigaction(8, 0x2FF226E8, 0x2FF226F8) = 0 >>> 1478850: 2695295: _sigaction(10, 0x2FF226E8, 0x2FF226F8) = 0 >>> 1478850: 2695295: _sigaction(11, 0x2FF226E8, 0x2FF226F8) = 0 >>> 1478850: 2695295: _sigaction(12, 0x2FF226E8, 0x2FF226F8) = 0 >>> 1478850: 2695295: _sigaction(36, 0x2FF226E8, 0x2FF226F8) = 0 >>> 1478850: 2695295: _sigaction(39, 0x2FF226E8, 0x2FF226F8) = 0 >>> 1478850: 2695295: open("/unix", O_RDONLY|O_LARGEFILE) = 3 >>> 1478850: 2695295: kioctl(3, 22528, 0x00000000, 0x00000000) Err#25 ENOTTY >>> 1478850: 2695295: kioctl(3, 22528, 0x00000000, 0x00000000) Err#25 ENOTTY >>> 1478850: 2695295: kread(3, "01 ####5 I ######0\0\0\0".., 4096) = 4096 >>> 1478850: 2695295: klseek(3, 0, 0, 0x00000001) = 0 >>> 1478850: 2695295: klseek(3, 0, 13942134, 0x00000000) = 0 >>> .... [71 additional kreads and supporting klseeks here] >>> 1478850: 2695295: klseek(3, 0, 0, 0x00000001) = 0 >>> 1478850: 2695295: klseek(3, 0, 14064372, 0x00000000) = 0 >>> 1478850: 2695295: kread(3, "\0\0\0\0\0\0 > (\0\0 m #".., 4096) = 4096 >>> 1478850: 2695295: close(3) = 0 >>> 1478850: Received signal #11, SIGSEGV [default] >>> 1478850: *** process killed *** >>> >>> So what am I doing wrong? >>> >>> # uname -a >>> AIX pluto 3 5 000642FAD400 >>> >> -- >> 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 >> -- 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

