Ahmed74 / tesseract-android-tools

Automatically exported from code.google.com/p/tesseract-android-tools
1 stars 0 forks source link

I didn´t get sucess on running test projet #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Follow Readme
2. Compile all libs with success for arm and armv7
3. run the test app

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

There are 14 testcases,I pass for testcases 1-11 without problem, so I think my 
libs are ok, I didn´t get any UnsatisfiedLinkError.

When I execute 12º testcase testGetUTF8Text method I get an error fro Junit:

Test failed to run to completion. Reason: 'Instrumentation run failed due to 
'Process crashed.''. Check device logcat for details

I pass for test path for eng.traineddata, so I think there is a internal 
problem iwth this lib.

What version of the product are you using? On what operating system?
Tesseract 3.00
Leptonica 1.66
Ubuntu 11.04
tesseract-android-tools last revision(6)

Please provide any additional information below.

My LogCat is:

INFO/TestRunner(11391): started: 
testGetUTF8Text(com.googlecode.tesseract.android.test.TessBaseAPITest)
DEBUG/dalvikvm(11391): Trying to load lib 
/data/data/com.googlecode.tesseract.android.test/lib/liblept.so 0x457ccae0
DEBUG/dalvikvm(11391): Shared lib 
'/data/data/com.googlecode.tesseract.android.test/lib/liblept.so' already 
loaded in same CL 0x457ccae0
DEBUG/dalvikvm(11391): Trying to load lib 
/data/data/com.googlecode.tesseract.android.test/lib/libtess.so 0x457ccae0
DEBUG/dalvikvm(11391): Added shared lib 
/data/data/com.googlecode.tesseract.android.test/lib/libtess.so 0x457ccae0
VERBOSE/Tesseract(native)(11391): 
Java_com_googlecode_tesseract_android_TessBaseAPI_nativeClassInit
VERBOSE/Tesseract(native)(11391): 
Java_com_googlecode_tesseract_android_TessBaseAPI_nativeConstruct
DEBUG/dalvikvm(6413): GC_EXPLICIT freed 107 objects / 5560 bytes in 73ms
DEBUG/SntpClient(1299): request time failed: java.net.SocketTimeoutException: 
Connection timed out
VERBOSE/DeviceStorageMonitorService(1299): mTotalMemory = 2067005
VERBOSE/Tesseract(native)(11391): 
Java_com_googlecode_tesseract_android_TessBaseAPI_nativeInit
INFO/Tesseract(native)(11391): Attempting Init() with 
dir=/mnt/sdcard/tesseract/, lang=eng
INFO/DEBUG(10840): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 
***
INFO/DEBUG(10840): Build fingerprint: 
'MOTO_RETBR/RETBR/umts_sholes/sholes:2.2.1/SHLA_U2_05.14.0/1298643066:user/relea
se-keys'
INFO/DEBUG(10840): pid: 11391, tid: 11398  >>> 
com.googlecode.tesseract.android.test <<<
INFO/DEBUG(10840): signal 11 (SIGSEGV), fault addr 00000000
INFO/DEBUG(10840):  r0 000000c7  r1 00000048  r2 afd4254c  r3 00000000
INFO/DEBUG(10840):  r4 80d85bb4  r5 000004e0  r6 43980214  r7 4398025d
INFO/DEBUG(10840):  r8 80d52760  r9 80d8dbd0  10 00000003  fp 00000016
INFO/DEBUG(10840):  ip 8d2c3641  sp 43980210  lr 80c65029  pc 80c65038  cpsr 
68000030
INFO/DEBUG(10840):  d0  643a64696f72646e  d1  6472656767756265
INFO/DEBUG(10840):  d2  7365742f64696f72  d3  632f746361726573
INFO/DEBUG(10840):  d4  65742f6c69747563  d5  616d617461647373
INFO/DEBUG(10840):  d6  70632e726567616e  d7  20656e696c202c70
INFO/DEBUG(10840):  d8  0000000000000000  d9  43e0000000000000
INFO/DEBUG(10840):  d10 41dfffffffc00000  d11 c3e0000000000000
INFO/DEBUG(10840):  d12 0000000000000000  d13 0000000000000000
INFO/DEBUG(10840):  d14 0000000000000000  d15 0000000000000000
INFO/DEBUG(10840):  d16 000000c2457f2170  d17 0000800000008000
INFO/DEBUG(10840):  d18 ffd4cb1affd52334  d19 ffa54dd2ffa604a4
INFO/DEBUG(10840):  d20 ffffa7e6ffffa7e6  d21 ffff492effff492e
INFO/DEBUG(10840):  d22 0001c5a20001c5a2  d23 000166e9000166e9
INFO/DEBUG(10840):  d24 0000000200000002  d25 00b28d9700b126ae
INFO/DEBUG(10840):  d26 ffd78beaffd7e404  d27 ffd83c1effd89438
INFO/DEBUG(10840):  d28 00e18b5e00dfc5bc  d29 00e10b5e00df45bc
INFO/DEBUG(10840):  d30 00cc47c600ca8224  d31 00a1baab00a053c2
INFO/DEBUG(10840):  scr 60000012
INFO/DEBUG(10840):          #00  pc 00065038  
/data/data/com.googlecode.tesseract.android.test/lib/libtess.so
INFO/DEBUG(10840):          #01  pc 00068980  
/data/data/com.googlecode.tesseract.android.test/lib/libtess.so
INFO/DEBUG(10840): code around pc:
INFO/DEBUG(10840): 80c65018 46314821 0a01f10a 30a85820 eceef7f9 
INFO/DEBUG(10840): 80c65028 0f03f1ba e8dfd806 0e0ef00a 23000202 
INFO/DEBUG(10840): 80c65038 b303681b 22024819 23004919 30304478 
INFO/DEBUG(10840): 80c65048 f7ff4479 5963ffa9 2404f8dd 429a681b 
INFO/DEBUG(10840): 80c65058 b003d113 6d80f50d 47f0e8bd 4770b001 
INFO/DEBUG(10840): code around lr:
INFO/DEBUG(10840): 80c65008 ec06f7f9 22024923 18384479 ea5cf7f9 
INFO/DEBUG(10840): 80c65018 46314821 0a01f10a 30a85820 eceef7f9 
INFO/DEBUG(10840): 80c65028 0f03f1ba e8dfd806 0e0ef00a 23000202 
INFO/DEBUG(10840): 80c65038 b303681b 22024819 23004919 30304478 
INFO/DEBUG(10840): 80c65048 f7ff4479 5963ffa9 2404f8dd 429a681b 
INFO/DEBUG(10840): stack:
INFO/DEBUG(10840):     439801d0  80d6d3e1  
/data/data/com.googlecode.tesseract.android.test/lib/libtess.so
INFO/DEBUG(10840):     439801d4  8d2c3641  
INFO/DEBUG(10840):     439801d8  439801fc  
INFO/DEBUG(10840):     439801dc  00000000  
INFO/DEBUG(10840):     439801e0  00000000  
INFO/DEBUG(10840):     439801e4  80d85bb4  
/data/data/com.googlecode.tesseract.android.test/lib/libtess.so
INFO/DEBUG(10840):     439801e8  000004e0  
INFO/DEBUG(10840):     439801ec  43980214  
INFO/DEBUG(10840):     439801f0  4398025d  
INFO/DEBUG(10840):     439801f4  afd14c51  /system/lib/libc.so
INFO/DEBUG(10840):     439801f8  afd4254c  /system/lib/libc.so
INFO/DEBUG(10840):     439801fc  43980208  
INFO/DEBUG(10840):     43980200  80c65029  
/data/data/com.googlecode.tesseract.android.test/lib/libtess.so

Original issue reported on code.google.com by ricardoc...@gmail.com on 6 Oct 2011 at 8:42

GoogleCodeExporter commented 8 years ago
My issue, is the same of number 3.

Original comment by ricardoc...@gmail.com on 11 Oct 2011 at 1:00

GoogleCodeExporter commented 8 years ago
I have the same issue....

Original comment by apple08...@gmail.com on 9 Dec 2011 at 4:15

GoogleCodeExporter commented 8 years ago
I have same issue too ,who can help me?thanks

Original comment by lelongw...@gmail.com on 14 Mar 2012 at 9:23

GoogleCodeExporter commented 8 years ago

Original comment by alanv@google.com on 14 Sep 2012 at 6:39