Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocr doesn't work on mytouch #12

Closed
GoogleCodeExporter opened this issue Aug 31, 2015 · 19 comments
Closed

ocr doesn't work on mytouch #12

GoogleCodeExporter opened this issue Aug 31, 2015 · 19 comments

Comments

@GoogleCodeExporter
Copy link



What version of the product are you using? On what operating system?
0.91

Original issue reported on code.google.com by Dustin.D...@gmail.com on 28 Jun 2010 at 2:05

@GoogleCodeExporter
Copy link
Author

Please provide more detail:
 * does it crash? are you able to take a picture, but cropping doesn't work?
 * which mytouch version? The original one mytouch 3g? slide? etc.
 * attach a logcat, so I can debug this. The easiest way to do this is to install the 
'Log Collector' app from market, reproduce the crash, start Log Collector, 
email the log to yourself, than attach here.

Original comment by nikolay....@gmail.com on 28 Jun 2010 at 2:11

@GoogleCodeExporter
Copy link
Author

not enough details

Original comment by nikolay....@gmail.com on 24 Jul 2010 at 5:55

  • Changed state: Invalid

@GoogleCodeExporter
Copy link
Author

The "force close" dialog comes up, but after I touch the "force close" button, 
it just takes me to the main menu in the WWWJDIC application.  So, no, it does 
not crash completely or close the entire application.

The force close dialog box says:

"The application WWWJDIC for Android (process org.nick.wwwjdic) has stopped 
unexpectedly.  Please try again."

I can take the picture and the crop suggestion box appears, but after I touch 
the "crop" button, I get the force close dialog box.

I have the original mytouch 3G.

Here is the system log obtained right after the OCR force closed:

Log Collector version: 1.1.0
Device model: HTC Magic
Firmware version: 2.1-update1
Kernel version: 2.6.33.4-cyanogenmod
shade@toxygene )
#1 PREEMPT Tue May 25 00:18:18 EDT 2010
Build number: EPE54B

06-28 15:11:26.055 W/InputManagerService(  117): Window already focused, 
ignoring focus gain of: 
com.android.internal.view.IInputMethodClient$Stub$Proxy@43faf7e0
06-28 15:11:27.816 I/ActivityManager(  117): Starting activity: Intent { 
act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] 
flg=0x10200000 cmp=org.nick.wwwjdic/.Wwwjdic bnds=[243,338][317,417] }
06-28 15:11:27.925 I/ActivityManager(  117): Start proc org.nick.wwwjdic for 
activity org.nick.wwwjdic/.Wwwjdic: pid=1214 uid=10037 gids={3003, 1006, 1015}
06-28 15:11:28.745 I/ActivityManager(  117): Process com.android.calendar (pid 
1197) has died.
06-28 15:11:29.646 I/ActivityManager(  117): Displayed activity 
org.nick.wwwjdic/.Wwwjdic: 1746 ms (total 1746 ms)
06-28 15:11:29.715 D/dalvikvm( 1149): GC freed 1973 objects / 104152 bytes in 
253ms
06-28 15:11:32.765 I/ActivityManager(  117): Starting activity: Intent { 
cmp=org.nick.wwwjdic/.ocr.OcrActivity }
06-28 15:11:32.875 I/WindowManager(  117): Setting rotation to 1, animFlags=0
06-28 15:11:32.916 I/ActivityManager(  117): Config changed: { scale=1.0 
imsi=310/260 loc=en_US touch=3 keys=1/1/2 nav=3/1 orien=2 layout=18}
06-28 15:11:33.735 D/dalvikvm(  117): GC freed 19433 objects / 833224 bytes in 
421ms
06-28 15:11:33.925 D/CameraService(  102): CameraService::connect E (pid 1214, 
client 0x22158)
06-28 15:11:33.925 D/CameraService(  102): Client::Client E (pid 1214)
06-28 15:11:33.935 D/QualcommCameraHardware(  102): createInstance: E
06-28 15:11:34.225 I/ActivityManager(  117): Process com.tni.TasKiller (pid 
1149) has died.
06-28 15:11:34.336 D/QualcommCameraHardware(  102): createInstance: X created 
hardware=0x22240
06-28 15:11:34.385 D/CameraService(  102): Client::Client X (pid 1214)
06-28 15:11:34.385 D/CameraService(  102): CameraService::connect X
06-28 15:11:34.385 D/CameraService(  102): 
getParameters(antibanding=off;antibanding-values=off;effect=none;effect-values=n
one,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua;jpeg-quali
ty=100;jpeg-thumbnail-height=384;jpeg-thumbnail-quality=90;jpeg-thumbnail-width=
512;picture-format=jpeg;picture-size=2048x1536;picture-size-values=2048x1536,160
0x1200,1024x768;preview-format=yuv420sp;preview-frame-rate=15;preview-size=480x3
20;whitebalance=auto;whitebalance-values=auto,incandescent,florescent,daylight,c
loudy,twilight,shade)
06-28 15:11:34.455 D/OcrActivity( 1214): preview sizes: null
06-28 15:11:34.506 D/OcrActivity( 1214): picture width: 1024; height: 768
06-28 15:11:34.506 D/CameraService(  102): setPreviewDisplay(0x40ec8) (pid 1214)
06-28 15:11:34.506 D/CameraService(  102): 
getParameters(antibanding=off;antibanding-values=off;effect=none;effect-values=n
one,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua;jpeg-quali
ty=100;jpeg-thumbnail-height=384;jpeg-thumbnail-quality=90;jpeg-thumbnail-width=
512;picture-format=jpeg;picture-size=2048x1536;picture-size-values=2048x1536,160
0x1200,1024x768;preview-format=yuv420sp;preview-frame-rate=15;preview-size=480x3
20;whitebalance=auto;whitebalance-values=auto,incandescent,florescent,daylight,c
loudy,twilight,shade)
06-28 15:11:34.515 D/CameraService(  102): 
setParameters(preview-size=480x320;picture-size-values=2048x1536,1600x1200,1024x
768;antibanding=off;preview-frame-rate=15;whitebalance=auto;jpeg-thumbnail-heigh
t=384;effect-values=none,mono,negative,solarize,sepia,posterize,whiteboard,black
board,aqua;jpeg-quality=100;picture-size=1024x768;effect=none;jpeg-thumbnail-wid
th=512;whitebalance-values=auto,incandescent,florescent,daylight,cloudy,twilight
,shade;picture-format=jpeg;jpeg-thumbnail-quality=90;preview-format=yuv420sp;ant
ibanding-values=off)
06-28 15:11:34.515 D/CameraService(  102): setPreviewDisplay(0x41740) (pid 1214)
06-28 15:11:34.515 D/CameraService(  102): startPreview (pid 1214)
06-28 15:11:34.515 D/CameraService(  102): startCameraMode(0) (pid 1214)
06-28 15:11:34.515 D/CameraService(  102): startPreviewMode (pid 1214)
06-28 15:11:34.515 I/QualcommCameraHardware(  102): initPreview E: preview 
size=480x320
06-28 15:11:34.515 E/QualcommCameraHardware(  102): native_set_dimension: 
length: 28.
06-28 15:11:34.545 D/QualcommCameraHardware(  102): frame_thread E
06-28 15:11:34.666 I/ActivityManager(  117): Displayed activity 
org.nick.wwwjdic/.ocr.OcrActivity: 1846 ms (total 1846 ms)
06-28 15:11:36.935 D/dalvikvm(  117): GC freed 4217 objects / 211112 bytes in 
266ms
06-28 15:11:39.805 D/CameraService(  102): autoFocus (pid 1214)
06-28 15:11:40.016 D/dalvikvm(  185): GC freed 1901 objects / 87136 bytes in 
244ms
06-28 15:11:40.996 D/CameraService(  102): takePicture (pid 1214)
06-28 15:11:41.069 I/QualcommCameraHardware(  102): deinitPreview E
06-28 15:11:41.069 I/QualcommCameraHardware(  102): deinitPreview X
06-28 15:11:41.069 E/QualcommCameraHardware(  102): native_set_dimension: 
length: 28.
06-28 15:11:41.069 D/QualcommCameraHardware(  102): frame_thread X
06-28 15:11:41.105 D/QualcommCameraHardware(  102): snapshot_thread E
06-28 15:11:41.396 W/AudioFlinger(  102): write blocked for 83 msecs, 3 delayed 
writes, thread 0xd8a8
06-28 15:11:41.465 D/QualcommCameraHardware(  102): snapshot_thread X
06-28 15:11:41.565 D/Camera-JNI( 1214): dataCallback(256, 0x2ec4d0)
06-28 15:11:41.586 I/mm-camera-jpeg(  102): freeing 21 jpeg memory leaks
06-28 15:11:41.685 D/dalvikvm( 1214): GC freed 3244 objects / 186000 bytes in 
109ms
06-28 15:11:41.685 I/dalvikvm-heap( 1214): Grow heap (frag case) to 4.390MB for 
679849-byte allocation
06-28 15:11:41.836 D/dalvikvm( 1214): GC freed 707 objects / 40368 bytes in 
140ms
06-28 15:11:42.045 I/ActivityManager(  117): Starting activity: Intent { 
dat=file:///sdcard/wwwjdic/tmp_ocr_1277752300976.jpg typ=image/jpeg 
cmp=org.nick.wwwjdic/.ocr.crop.CropImage (has extras) }
06-28 15:11:42.075 I/WindowManager(  117): Setting rotation to 0, animFlags=0
06-28 15:11:42.095 I/ActivityManager(  117): Config changed: { scale=1.0 
imsi=310/260 loc=en_US touch=3 keys=1/1/2 nav=3/1 orien=1 layout=18}
06-28 15:11:42.595 D/dalvikvm(  175): GC freed 5490 objects / 234864 bytes in 
210ms
06-28 15:11:42.655 D/dalvikvm( 1214): GC freed 182 objects / 690960 bytes in 
208ms
06-28 15:11:43.215 I/ActivityManager(  117): Process android.process.media (pid 
1034) has died.
06-28 15:11:43.246 D/CameraService(  102): stopPreview (pid 1214)
06-28 15:11:43.246 D/CameraService(  102): stopPreview(), hardware stopped OK
06-28 15:11:43.255 E/libEGL  (  117): call to OpenGL ES API with no current 
context (logged once per thread)
06-28 15:11:43.255 D/Camera-JNI( 1214): release camera
06-28 15:11:43.255 D/CameraService(  102): Client (0x22158) E disconnect from 
(1214)
06-28 15:11:43.255 D/CameraService(  102): hardware teardown
06-28 15:11:43.255 D/QualcommCameraHardware(  102): release E
06-28 15:11:43.275 D/QualcommCameraHardware(  102): release X
06-28 15:11:43.275 D/QualcommCameraHardware(  102): ~QualcommCameraHardware E
06-28 15:11:43.275 D/QualcommCameraHardware(  102): ~QualcommCameraHardware X
06-28 15:11:43.275 D/CameraService(  102): removeClient (pid 1214) done
06-28 15:11:43.275 D/CameraService(  102): Client::disconnect() X (pid 1214)
06-28 15:11:43.275 D/CameraService(  102): Client::~Client E (pid 102, client 
0x22158)
06-28 15:11:43.295 D/CameraService(  102): Client (0x22158) E disconnect from 
(102)
06-28 15:11:43.295 D/CameraService(  102): Client::~Client X (pid 102)
06-28 15:11:43.475 I/ActivityManager(  117): Start proc com.tni.TasKiller for 
service com.tni.TasKiller/.TasKillerLauncher: pid=1232 uid=10036 gids={3003, 
1015}
06-28 15:11:43.495 I/ActivityManager(  117): Displayed activity 
org.nick.wwwjdic/.ocr.crop.CropImage: 1421 ms (total 1421 ms)
06-28 15:11:44.096 I/ActivityManager(  117): Process com.google.android.gm (pid 
1049) has died.
06-28 15:11:44.445 D/dalvikvm( 1232): GC freed 2432 objects / 147560 bytes in 
91ms
06-28 15:11:45.706 D/dalvikvm(  117): GC freed 1715 objects / 79088 bytes in 
217ms
06-28 15:11:47.265 D/dalvikvm( 1214): GC freed 301 objects / 53952 bytes in 99ms
06-28 15:11:47.446 I/WindowManager(  117): Setting rotation to 1, animFlags=0
06-28 15:11:47.495 I/ActivityManager(  117): Config changed: { scale=1.0 
imsi=310/260 loc=en_US touch=3 keys=1/1/2 nav=3/1 orien=2 layout=18}
06-28 15:11:47.635 E/JavaBinder(  117): !!! FAILED BINDER TRANSACTION !!!
06-28 15:11:47.886 D/CameraService(  102): CameraService::connect E (pid 1214, 
client 0x1ffe0)
06-28 15:11:47.886 D/CameraService(  102): Client::Client E (pid 1214)
06-28 15:11:47.886 D/QualcommCameraHardware(  102): createInstance: E
06-28 15:11:47.895 W/AudioFlinger(  102): write blocked for 4567 msecs, 4 
delayed writes, thread 0xd8a8
06-28 15:11:48.365 D/QualcommCameraHardware(  102): createInstance: X created 
hardware=0x2bfc0
06-28 15:11:48.386 D/CameraService(  102): Client::Client X (pid 1214)
06-28 15:11:48.386 D/CameraService(  102): CameraService::connect X
06-28 15:11:48.386 D/CameraService(  102): 
getParameters(antibanding=off;antibanding-values=off;effect=none;effect-values=n
one,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua;jpeg-quali
ty=100;jpeg-thumbnail-height=384;jpeg-thumbnail-quality=90;jpeg-thumbnail-width=
512;picture-format=jpeg;picture-size=2048x1536;picture-size-values=2048x1536,160
0x1200,1024x768;preview-format=yuv420sp;preview-frame-rate=15;preview-size=480x3
20;whitebalance=auto;whitebalance-values=auto,incandescent,florescent,daylight,c
loudy,twilight,shade)
06-28 15:11:48.395 D/OcrActivity( 1214): preview sizes: null
06-28 15:11:48.405 D/OcrActivity( 1214): picture width: 1024; height: 768
06-28 15:11:48.405 D/CameraService(  102): setPreviewDisplay(0x3b078) (pid 1214)
06-28 15:11:48.405 D/CameraService(  102): 
getParameters(antibanding=off;antibanding-values=off;effect=none;effect-values=n
one,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua;jpeg-quali
ty=100;jpeg-thumbnail-height=384;jpeg-thumbnail-quality=90;jpeg-thumbnail-width=
512;picture-format=jpeg;picture-size=2048x1536;picture-size-values=2048x1536,160
0x1200,1024x768;preview-format=yuv420sp;preview-frame-rate=15;preview-size=480x3
20;whitebalance=auto;whitebalance-values=auto,incandescent,florescent,daylight,c
loudy,twilight,shade)
06-28 15:11:48.416 D/CameraService(  102): 
setParameters(preview-size=320x480;picture-size-values=2048x1536,1600x1200,1024x
768;antibanding=off;preview-frame-rate=15;whitebalance=auto;jpeg-thumbnail-heigh
t=384;effect-values=none,mono,negative,solarize,sepia,posterize,whiteboard,black
board,aqua;jpeg-quality=100;picture-size=1024x768;effect=none;jpeg-thumbnail-wid
th=512;whitebalance-values=auto,incandescent,florescent,daylight,cloudy,twilight
,shade;picture-format=jpeg;jpeg-thumbnail-quality=90;preview-format=yuv420sp;ant
ibanding-values=off)

Original comment by Dustin.D...@gmail.com on 24 Jul 2010 at 10:37

@GoogleCodeExporter
Copy link
Author

06-28 15:11:48.416 E/QualcommCameraHardware(  102): Invalid preview size 
requested: 320x480
06-28 15:11:48.426 D/AndroidRuntime( 1214): Shutting down VM
06-28 15:11:48.426 W/dalvikvm( 1214): threadid=3: thread exiting with uncaught 
exception (group=0x4001e180)
06-28 15:11:48.426 E/AndroidRuntime( 1214): Uncaught handler: thread main 
exiting due to uncaught exception
06-28 15:11:48.455 E/AndroidRuntime( 1214): java.lang.RuntimeException: 
setParameters failed
06-28 15:11:48.455 E/AndroidRuntime( 1214): at 
android.hardware.Camera.native_setParameters(Native Method)
06-28 15:11:48.455 E/AndroidRuntime( 1214): at 
android.hardware.Camera.setParameters(Camera.java:619)
06-28 15:11:48.455 E/AndroidRuntime( 1214): at 
org.nick.wwwjdic.ocr.OcrActivity.surfaceChanged(OcrActivity.java:435)
06-28 15:11:48.455 E/AndroidRuntime( 1214): at 
android.view.SurfaceView.updateWindow(SurfaceView.java:460)
06-28 15:11:48.455 E/AndroidRuntime( 1214): at 
android.view.SurfaceView.onWindowVisibilityChanged(SurfaceView.java:189)
06-28 15:11:48.455 E/AndroidRuntime( 1214): at 
android.view.View.dispatchWindowVisibilityChanged(View.java:3801)
06-28 15:11:48.455 E/AndroidRuntime( 1214): at 
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:692)
06-28 15:11:48.455 E/AndroidRuntime( 1214): at 
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:692)
06-28 15:11:48.455 E/AndroidRuntime( 1214): at 
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:692)
06-28 15:11:48.455 E/AndroidRuntime( 1214): at 
android.view.ViewRoot.performTraversals(ViewRoot.java:706)
06-28 15:11:48.455 E/AndroidRuntime( 1214): at 
android.view.ViewRoot.handleMessage(ViewRoot.java:1633)
06-28 15:11:48.455 E/AndroidRuntime( 1214): at 
android.os.Handler.dispatchMessage(Handler.java:99)
06-28 15:11:48.455 E/AndroidRuntime( 1214): at 
android.os.Looper.loop(Looper.java:123)
06-28 15:11:48.455 E/AndroidRuntime( 1214): at 
android.app.ActivityThread.main(ActivityThread.java:4363)
06-28 15:11:48.455 E/AndroidRuntime( 1214): at 
java.lang.reflect.Method.invokeNative(Native Method)
06-28 15:11:48.455 E/AndroidRuntime( 1214): at 
java.lang.reflect.Method.invoke(Method.java:521)
06-28 15:11:48.455 E/AndroidRuntime( 1214): at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
06-28 15:11:48.455 E/AndroidRuntime( 1214): at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
06-28 15:11:48.455 E/AndroidRuntime( 1214): at 
dalvik.system.NativeStart.main(Native Method)
06-28 15:11:48.475 I/Process (  117): Sending signal. PID: 1214 SIG: 3
06-28 15:11:48.475 I/dalvikvm( 1214): threadid=7: reacting to signal 3
06-28 15:11:48.496 I/dalvikvm( 1214): Wrote stack trace to 
'/data/anr/traces.txt'
06-28 15:11:49.826 D/dalvikvm(  117): GC freed 1474 objects / 71816 bytes in 
205ms
06-28 15:11:57.369 W/ActivityManager(  117): Launch timeout has expired, giving 
up wake lock!
06-28 15:11:57.677 W/ActivityManager(  117): Activity idle timeout for 
HistoryRecord{43f26690 org.nick.wwwjdic/.ocr.OcrActivity}
06-28 15:11:58.855 D/dalvikvm( 1232): GC freed 1892 objects / 105440 bytes in 
83ms
06-28 15:12:01.075 I/Process ( 1214): Sending signal. PID: 1214 SIG: 9
06-28 15:12:01.095 I/WindowManager(  117): WIN DEATH: Window{43c13250 
SurfaceView paused=false}
06-28 15:12:01.106 I/ActivityManager(  117): Process org.nick.wwwjdic (pid 
1214) has died.
06-28 15:12:01.106 D/CameraService(  102): Client::~Client E (pid 102, client 
0x1ffe0)
06-28 15:12:01.115 D/CameraService(  102): Client (0x1ffe0) E disconnect from 
(102)
06-28 15:12:01.115 D/CameraService(  102): hardware teardown
06-28 15:12:01.115 D/QualcommCameraHardware(  102): release E
06-28 15:12:01.136 I/WindowManager(  117): WIN DEATH: Window{43fdc0e0 
org.nick.wwwjdic/org.nick.wwwjdic.Wwwjdic paused=false}
06-28 15:12:01.136 I/WindowManager(  117): WIN DEATH: Window{43f79558 
org.nick.wwwjdic/org.nick.wwwjdic.ocr.OcrActivity paused=false}
06-28 15:12:01.185 D/QualcommCameraHardware(  102): release X
06-28 15:12:01.185 D/QualcommCameraHardware(  102): ~QualcommCameraHardware E
06-28 15:12:01.185 D/QualcommCameraHardware(  102): ~QualcommCameraHardware X
06-28 15:12:01.185 D/CameraService(  102): removeClient (pid 102): no more 
strong reference
06-28 15:12:01.185 D/CameraService(  102): Client::disconnect() X (pid 102)
06-28 15:12:01.185 D/CameraService(  102): Client::~Client X (pid 102)
06-28 15:12:01.185 I/WindowManager(  117): Setting rotation to 0, animFlags=0
06-28 15:12:01.196 I/ActivityManager(  117): Start proc org.nick.wwwjdic for 
activity org.nick.wwwjdic/.Wwwjdic: pid=1243 uid=10037 gids={3003, 1006, 1015}
06-28 15:12:01.235 I/ActivityManager(  117): Config changed: { scale=1.0 
imsi=310/260 loc=en_US touch=3 keys=1/1/2 nav=3/1 orien=1 layout=18}
06-28 15:12:01.756 D/dalvikvm(  101): GC freed 284 objects / 10800 bytes in 
551ms
06-28 15:12:01.816 I/UsageStats(  117): Unexpected resume of org.nick.wwwjdic 
while already resumed in org.nick.wwwjdic
06-28 15:12:01.996 D/dalvikvm(  101): GC freed 52 objects / 2280 bytes in 232ms
06-28 15:12:02.156 D/dalvikvm(  101): GC freed 2 objects / 48 bytes in 159ms
06-28 15:12:02.475 W/InputManagerService(  117): Got RemoteException sending 
setActive(false) notification to pid 1214 uid 10037
06-28 15:12:02.565 I/ActivityManager(  117): Displayed activity 
org.nick.wwwjdic/.Wwwjdic: 1428 ms (total 1428 ms)
06-28 15:12:03.625 D/dalvikvm(  117): GC freed 2258 objects / 107120 bytes in 
214ms
06-28 15:12:07.945 D/dalvikvm(  440): GC freed 518 objects / 21696 bytes in 
363ms
06-28 15:12:08.565 I/ActivityManager(  117): Starting activity: Intent { 
cmp=org.nick.wwwjdic/.ocr.OcrActivity }
06-28 15:12:08.615 W/Process (  117): Unable to open /proc/1214/status
06-28 15:12:08.736 I/WindowManager(  117): Setting rotation to 1, animFlags=0
06-28 15:12:08.775 I/ActivityManager(  117): Config changed: { scale=1.0 
imsi=310/260 loc=en_US touch=3 keys=1/1/2 nav=3/1 orien=2 layout=18}
06-28 15:12:09.255 D/dalvikvm(  175): GC freed 2312 objects / 116464 bytes in 
346ms
06-28 15:12:09.296 D/CameraService(  102): CameraService::connect E (pid 1243, 
client 0x3b120)
06-28 15:12:09.296 D/CameraService(  102): Client::Client E (pid 1243)
06-28 15:12:09.296 D/QualcommCameraHardware(  102): createInstance: E
06-28 15:12:09.766 D/QualcommCameraHardware(  102): createInstance: X created 
hardware=0x2bfc0
06-28 15:12:09.786 D/CameraService(  102): Client::Client X (pid 1243)
06-28 15:12:09.786 D/CameraService(  102): CameraService::connect X
06-28 15:12:09.786 D/CameraService(  102): 
getParameters(antibanding=off;antibanding-values=off;effect=none;effect-values=n
one,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua;jpeg-quali
ty=100;jpeg-thumbnail-height=384;jpeg-thumbnail-quality=90;jpeg-thumbnail-width=
512;picture-format=jpeg;picture-size=2048x1536;picture-size-values=2048x1536,160
0x1200,1024x768;preview-format=yuv420sp;preview-frame-rate=15;preview-size=480x3
20;whitebalance=auto;whitebalance-values=auto,incandescent,florescent,daylight,c
loudy,twilight,shade)
06-28 15:12:09.816 D/OcrActivity( 1243): preview sizes: null
06-28 15:12:09.825 D/OcrActivity( 1243): picture width: 1024; height: 768
06-28 15:12:09.825 D/CameraService(  102): setPreviewDisplay(0x350a8) (pid 1243)
06-28 15:12:09.825 D/CameraService(  102): 
getParameters(antibanding=off;antibanding-values=off;effect=none;effect-values=n
one,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua;jpeg-quali
ty=100;jpeg-thumbnail-height=384;jpeg-thumbnail-quality=90;jpeg-thumbnail-width=
512;picture-format=jpeg;picture-size=2048x1536;picture-size-values=2048x1536,160
0x1200,1024x768;preview-format=yuv420sp;preview-frame-rate=15;preview-size=480x3
20;whitebalance=auto;whitebalance-values=auto,incandescent,florescent,daylight,c
loudy,twilight,shade)
06-28 15:12:09.836 D/CameraService(  102): 
setParameters(preview-size=480x320;picture-size-values=2048x1536,1600x1200,1024x
768;antibanding=off;preview-frame-rate=15;whitebalance=auto;jpeg-thumbnail-heigh
t=384;effect-values=none,mono,negative,solarize,sepia,posterize,whiteboard,black
board,aqua;jpeg-quality=100;picture-size=1024x768;effect=none;jpeg-thumbnail-wid
th=512;whitebalance-values=auto,incandescent,florescent,daylight,cloudy,twilight
,shade;picture-format=jpeg;jpeg-thumbnail-quality=90;preview-format=yuv420sp;ant
ibanding-values=off)
06-28 15:12:09.836 D/CameraService(  102): setPreviewDisplay(0x1d220) (pid 1243)
06-28 15:12:09.836 D/CameraService(  102): startPreview (pid 1243)
06-28 15:12:09.836 D/CameraService(  102): startCameraMode(0) (pid 1243)
06-28 15:12:09.836 D/CameraService(  102): startPreviewMode (pid 1243)
06-28 15:12:09.836 I/QualcommCameraHardware(  102): initPreview E: preview 
size=480x320
06-28 15:12:09.836 E/QualcommCameraHardware(  102): native_set_dimension: 
length: 28.
06-28 15:12:09.875 D/QualcommCameraHardware(  102): frame_thread E
06-28 15:12:09.975 I/ActivityManager(  117): Displayed activity 
org.nick.wwwjdic/.ocr.OcrActivity: 1364 ms (total 1364 ms)
06-28 15:12:12.226 D/dalvikvm(  117): GC freed 1492 objects / 71880 bytes in 
251ms
06-28 15:12:13.966 D/dalvikvm( 1232): GC freed 1773 objects / 92408 bytes in 
101ms
06-28 15:12:14.605 D/CameraService(  102): autoFocus (pid 1243)
06-28 15:12:15.135 D/dalvikvm( 1140): GC freed 1911 objects / 118624 bytes in 
146ms
06-28 15:12:15.606 D/CameraService(  102): takePicture (pid 1243)
06-28 15:12:15.666 I/QualcommCameraHardware(  102): deinitPreview E
06-28 15:12:15.666 I/QualcommCameraHardware(  102): deinitPreview X
06-28 15:12:15.666 E/QualcommCameraHardware(  102): native_set_dimension: 
length: 28.
06-28 15:12:15.666 D/QualcommCameraHardware(  102): frame_thread X
06-28 15:12:15.695 D/QualcommCameraHardware(  102): snapshot_thread E
06-28 15:12:15.985 W/AudioFlinger(  102): write blocked for 84 msecs, 5 delayed 
writes, thread 0xd8a8
06-28 15:12:16.035 D/QualcommCameraHardware(  102): snapshot_thread X
06-28 15:12:16.135 D/Camera-JNI( 1243): dataCallback(256, 0x149730)
06-28 15:12:16.145 I/mm-camera-jpeg(  102): freeing 21 jpeg memory leaks
06-28 15:12:16.245 D/dalvikvm( 1243): GC freed 3972 objects / 227720 bytes in 
108ms
06-28 15:12:16.245 I/dalvikvm-heap( 1243): Grow heap (frag case) to 4.345MB for 
626036-byte allocation
06-28 15:12:16.385 D/dalvikvm( 1243): GC freed 758 objects / 43712 bytes in 
122ms
06-28 15:12:16.396 I/ActivityManager(  117): Starting activity: Intent { 
dat=file:///sdcard/wwwjdic/tmp_ocr_1277752335592.jpg typ=image/jpeg 
cmp=org.nick.wwwjdic/.ocr.crop.CropImage (has extras) }
06-28 15:12:16.415 I/WindowManager(  117): Setting rotation to 0, animFlags=0
06-28 15:12:16.435 I/ActivityManager(  117): Config changed: { scale=1.0 
imsi=310/260 loc=en_US touch=3 keys=1/1/2 nav=3/1 orien=1 layout=18}
06-28 15:12:16.985 D/dalvikvm( 1243): GC freed 186 objects / 637320 bytes in 
222ms
06-28 15:12:17.435 D/CameraService(  102): stopPreview (pid 1243)
06-28 15:12:17.435 D/CameraService(  102): stopPreview(), hardware stopped OK
06-28 15:12:17.445 D/Camera-JNI( 1243): release camera
06-28 15:12:17.445 D/CameraService(  102): Client (0x3b120) E disconnect from 
(1243)
06-28 15:12:17.445 D/CameraService(  102): hardware teardown
06-28 15:12:17.445 D/QualcommCameraHardware(  102): release E
06-28 15:12:17.455 D/QualcommCameraHardware(  102): release X
06-28 15:12:17.455 D/QualcommCameraHardware(  102): ~QualcommCameraHardware E
06-28 15:12:17.455 D/QualcommCameraHardware(  102): ~QualcommCameraHardware X
06-28 15:12:17.455 D/CameraService(  102): removeClient (pid 1243) done
06-28 15:12:17.455 D/CameraService(  102): Client::disconnect() X (pid 1243)
06-28 15:12:17.475 D/CameraService(  102): Client::~Client E (pid 102, client 
0x3b120)
06-28 15:12:17.475 D/CameraService(  102): Client (0x3b120) E disconnect from 
(102)
06-28 15:12:17.475 D/CameraService(  102): Client::~Client X (pid 102)
06-28 15:12:17.655 I/ActivityManager(  117): Displayed activity 
org.nick.wwwjdic/.ocr.crop.CropImage: 1241 ms (total 1241 ms)
06-28 15:12:19.875 D/dalvikvm(  117): GC freed 1593 objects / 73728 bytes in 
222ms
06-28 15:12:22.705 D/dalvikvm( 1243): GC freed 301 objects / 53976 bytes in 96ms
06-28 15:12:22.855 I/WindowManager(  117): Setting rotation to 1, animFlags=0
06-28 15:12:22.896 I/ActivityManager(  117): Config changed: { scale=1.0 
imsi=310/260 loc=en_US touch=3 keys=1/1/2 nav=3/1 orien=2 layout=18}

Original comment by Dustin.D...@gmail.com on 24 Jul 2010 at 10:39

@GoogleCodeExporter
Copy link
Author

06-28 15:12:23.025 E/JavaBinder(  117): !!! FAILED BINDER TRANSACTION !!!
06-28 15:12:23.205 D/CameraService(  102): CameraService::connect E (pid 1243, 
client 0x378c0)
06-28 15:12:23.205 D/CameraService(  102): Client::Client E (pid 1243)
06-28 15:12:23.205 D/QualcommCameraHardware(  102): createInstance: E
06-28 15:12:23.216 W/AudioFlinger(  102): write blocked for 5722 msecs, 6 
delayed writes, thread 0xd8a8
06-28 15:12:23.705 D/QualcommCameraHardware(  102): createInstance: X created 
hardware=0x2bfc0
06-28 15:12:23.725 D/CameraService(  102): Client::Client X (pid 1243)
06-28 15:12:23.725 D/CameraService(  102): CameraService::connect X
06-28 15:12:23.725 D/CameraService(  102): 
getParameters(antibanding=off;antibanding-values=off;effect=none;effect-values=n
one,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua;jpeg-quali
ty=100;jpeg-thumbnail-height=384;jpeg-thumbnail-quality=90;jpeg-thumbnail-width=
512;picture-format=jpeg;picture-size=2048x1536;picture-size-values=2048x1536,160
0x1200,1024x768;preview-format=yuv420sp;preview-frame-rate=15;preview-size=480x3
20;whitebalance=auto;whitebalance-values=auto,incandescent,florescent,daylight,c
loudy,twilight,shade)
06-28 15:12:23.736 D/OcrActivity( 1243): preview sizes: null
06-28 15:12:23.745 D/OcrActivity( 1243): picture width: 1024; height: 768
06-28 15:12:23.745 D/CameraService(  102): setPreviewDisplay(0x31820) (pid 1243)
06-28 15:12:23.745 D/CameraService(  102): 
getParameters(antibanding=off;antibanding-values=off;effect=none;effect-values=n
one,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua;jpeg-quali
ty=100;jpeg-thumbnail-height=384;jpeg-thumbnail-quality=90;jpeg-thumbnail-width=
512;picture-format=jpeg;picture-size=2048x1536;picture-size-values=2048x1536,160
0x1200,1024x768;preview-format=yuv420sp;preview-frame-rate=15;preview-size=480x3
20;whitebalance=auto;whitebalance-values=auto,incandescent,florescent,daylight,c
loudy,twilight,shade)
06-28 15:12:23.756 D/CameraService(  102): 
setParameters(preview-size=320x480;picture-size-values=2048x1536,1600x1200,1024x
768;antibanding=off;preview-frame-rate=15;whitebalance=auto;jpeg-thumbnail-heigh
t=384;effect-values=none,mono,negative,solarize,sepia,posterize,whiteboard,black
board,aqua;jpeg-quality=100;picture-size=1024x768;effect=none;jpeg-thumbnail-wid
th=512;whitebalance-values=auto,incandescent,florescent,daylight,cloudy,twilight
,shade;picture-format=jpeg;jpeg-thumbnail-quality=90;preview-format=yuv420sp;ant
ibanding-values=off)
06-28 15:12:23.756 E/QualcommCameraHardware(  102): Invalid preview size 
requested: 320x480
06-28 15:12:23.756 D/AndroidRuntime( 1243): Shutting down VM
06-28 15:12:23.756 W/dalvikvm( 1243): threadid=3: thread exiting with uncaught 
exception (group=0x4001e180)
06-28 15:12:23.756 E/AndroidRuntime( 1243): Uncaught handler: thread main 
exiting due to uncaught exception
06-28 15:12:23.765 E/AndroidRuntime( 1243): java.lang.RuntimeException: 
setParameters failed
06-28 15:12:23.765 E/AndroidRuntime( 1243): at 
android.hardware.Camera.native_setParameters(Native Method)
06-28 15:12:23.765 E/AndroidRuntime( 1243): at 
android.hardware.Camera.setParameters(Camera.java:619)
06-28 15:12:23.765 E/AndroidRuntime( 1243): at 
org.nick.wwwjdic.ocr.OcrActivity.surfaceChanged(OcrActivity.java:435)
06-28 15:12:23.765 E/AndroidRuntime( 1243): at 
android.view.SurfaceView.updateWindow(SurfaceView.java:460)
06-28 15:12:23.765 E/AndroidRuntime( 1243): at 
android.view.SurfaceView.onWindowVisibilityChanged(SurfaceView.java:189)
06-28 15:12:23.765 E/AndroidRuntime( 1243): at 
android.view.View.dispatchWindowVisibilityChanged(View.java:3801)
06-28 15:12:23.765 E/AndroidRuntime( 1243): at 
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:692)
06-28 15:12:23.765 E/AndroidRuntime( 1243): at 
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:692)
06-28 15:12:23.765 E/AndroidRuntime( 1243): at 
android.view.ViewGroup.dispatchWindowVisibilityChanged(ViewGroup.java:692)
06-28 15:12:23.765 E/AndroidRuntime( 1243): at 
android.view.ViewRoot.performTraversals(ViewRoot.java:706)
06-28 15:12:23.765 E/AndroidRuntime( 1243): at 
android.view.ViewRoot.handleMessage(ViewRoot.java:1633)
06-28 15:12:23.765 E/AndroidRuntime( 1243): at 
android.os.Handler.dispatchMessage(Handler.java:99)
06-28 15:12:23.765 E/AndroidRuntime( 1243): at 
android.os.Looper.loop(Looper.java:123)
06-28 15:12:23.765 E/AndroidRuntime( 1243): at 
android.app.ActivityThread.main(ActivityThread.java:4363)
06-28 15:12:23.765 E/AndroidRuntime( 1243): at 
java.lang.reflect.Method.invokeNative(Native Method)
06-28 15:12:23.765 E/AndroidRuntime( 1243): at 
java.lang.reflect.Method.invoke(Method.java:521)
06-28 15:12:23.765 E/AndroidRuntime( 1243): at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
06-28 15:12:23.765 E/AndroidRuntime( 1243): at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
06-28 15:12:23.765 E/AndroidRuntime( 1243): at 
dalvik.system.NativeStart.main(Native Method)
06-28 15:12:23.775 I/Process (  117): Sending signal. PID: 1243 SIG: 3
06-28 15:12:23.775 I/dalvikvm( 1243): threadid=7: reacting to signal 3
06-28 15:12:23.806 I/dalvikvm( 1243): Wrote stack trace to 
'/data/anr/traces.txt'
06-28 15:12:25.235 D/dalvikvm(  117): GC freed 1312 objects / 64960 bytes in 
203ms
06-28 15:12:28.856 D/dalvikvm( 1232): GC freed 1693 objects / 88040 bytes in 
82ms
06-28 15:12:32.778 W/ActivityManager(  117): Launch timeout has expired, giving 
up wake lock!
06-28 15:12:33.078 W/ActivityManager(  117): Activity idle timeout for 
HistoryRecord{43de5ab8 org.nick.wwwjdic/.ocr.OcrActivity}
06-28 15:12:43.855 D/dalvikvm( 1232): GC freed 1569 objects / 83032 bytes in 
84ms
06-28 15:12:48.985 D/dalvikvm( 1232): GC freed 211 objects / 9752 bytes in 90ms
06-28 15:12:49.855 D/Sync    (  117): Received network tickle for 
dustin.dehaven@gmail.com - https://mail.google.com/mail/g/?client=1276487827736
06-28 15:12:49.935 I/Gmail   (  166): MainSyncRequestProto: lowestBkwdConvoId: 
0, highestHandledServerOp: 35352
06-28 15:12:51.966 W/ResponseProcessCookies(  166): Cookie rejected: "[version: 
0][name: GX][value: 
DQAAAJUAAAASs5jgHHfTeFnylXV1K0c-fFmdEkG6EFIJ2qRyH_QBXzlCV_z02qyCEdsjBBL6YrqtMVR_
7cCeKQ2iDSBMJujqSOCFBhzs8P3G4B4sPDYPe1j_Mls4eDe7lfzBF3hbnsChJW_MEDvGq6sHNBp31Df3
weDoN4TIXMzW_5pPI5SWp6UQ3ZsWLvICjX80_PVoxa070egBO1gtM0Tz0FRiEJ9c][domain: 
mail.google.com][path: /proxy/gmail/mail][expiry: Mon Jul 12 15:12:53 
America/Detroit 2010]". Illegal domain attribute "mail.google.com". Domain of 
origin: "android.clients.google.com"
06-28 15:12:52.505 D/dalvikvm(  166): GC freed 3648 objects / 172768 bytes in 
121ms
06-28 15:12:52.546 I/Gmail   (  166): MainSyncRequestProto: lowestBkwdConvoId: 
0, highestHandledServerOp: 35353
06-28 15:12:58.855 D/dalvikvm( 1232): GC freed 1383 objects / 74184 bytes in 
84ms
06-28 15:13:13.855 D/dalvikvm( 1232): GC freed 1547 objects / 82024 bytes in 
84ms
06-28 15:13:22.639 I/power   (  117): *** set_screen_state 0
06-28 15:13:22.765 D/SurfaceFlinger(  117): About to give-up screen, flinger = 
0x11f0e0
06-28 15:13:23.158 W/ActivityManager(  117): Activity pause timeout for 
HistoryRecord{43de5ab8 org.nick.wwwjdic/.ocr.OcrActivity}
06-28 15:13:28.065 D/dalvikvm(  117): GC freed 4790 objects / 220512 bytes in 
207ms
06-28 15:13:28.386 I/ActivityManager(  117): Start proc com.android.settings 
for broadcast com.android.settings/.widget.SettingsAppWidgetProvider: pid=1266 
uid=1000 gids={3003, 3002, 3001}
06-28 15:13:28.445 I/WindowManager(  117): Setting rotation to 0, animFlags=0
06-28 15:13:28.505 I/ActivityManager(  117): Config changed: { scale=1.0 
imsi=310/260 loc=en_US touch=3 keys=1/1/2 nav=3/1 orien=1 layout=18}
06-28 15:13:29.396 D/dalvikvm(  175): GC freed 2323 objects / 104352 bytes in 
666ms
06-28 15:13:29.635 I/ActivityManager(  117): Process com.android.deskclock (pid 
1140) has died.
06-28 15:13:29.675 I/ActivityManager(  117): Process 
com.google.android.apps.uploader (pid 1079) has died.
06-28 15:13:30.235 D/dalvikvm(  117): GC freed 2803 objects / 144672 bytes in 
375ms
06-28 15:13:31.176 D/dalvikvm(  117): GC freed 1598 objects / 75328 bytes in 
270ms
06-28 15:13:31.455 D/dalvikvm( 1232): GC freed 1559 objects / 81952 bytes in 
189ms
06-28 15:13:43.956 D/dalvikvm( 1232): GC freed 1547 objects / 80056 bytes in 
84ms
06-28 15:13:51.561 D/KeyguardViewMediator(  117): wakeWhenReadyLocked(82)
06-28 15:13:51.561 D/KeyguardViewMediator(  117): handleWakeWhenReady(82)
06-28 15:13:51.565 D/KeyguardViewMediator(  117): pokeWakelock(5000)
06-28 15:13:51.575 I/power   (  117): *** set_screen_state 1
06-28 15:13:51.785 D/SurfaceFlinger(  117): Screen about to return, flinger = 
0x11f0e0
06-28 15:13:52.445 D/KeyguardViewMediator(  117): pokeWakelock(7000)
06-28 15:13:52.557 D/KeyguardViewMediator(  117): pokeWakelock(7000)
06-28 15:13:52.648 D/KeyguardViewMediator(  117): pokeWakelock(7000)
06-28 15:13:52.816 D/KeyguardViewMediator(  117): pokeWakelock(7000)
06-28 15:13:52.868 D/KeyguardViewMediator(  117): pokeWakelock(7000)
06-28 15:13:52.946 I/WindowManager(  117): Setting rotation to 1, animFlags=0
06-28 15:13:52.965 W/SurfaceFlinger(  117): timeout expired mFreezeDisplay=1, 
mFreezeCount=0
06-28 15:13:53.005 I/WindowManager(  117): Setting rotation to 0, animFlags=0
06-28 15:13:53.216 I/WindowManager(  117): Setting rotation to 1, animFlags=0
06-28 15:13:53.275 I/ActivityManager(  117): Config changed: { scale=1.0 
imsi=310/260 loc=en_US touch=3 keys=1/1/2 nav=3/1 orien=2 layout=18}
06-28 15:13:55.665 D/dalvikvm(  117): GC freed 3272 objects / 166856 bytes in 
215ms
06-28 15:13:58.966 D/dalvikvm( 1232): GC freed 1502 objects / 78000 bytes in 
85ms
06-28 15:14:01.617 W/ActivityManager(  117): Activity idle timeout for 
HistoryRecord{43de5ab8 org.nick.wwwjdic/.ocr.OcrActivity}
06-28 15:14:06.716 D/dalvikvm(  440): GC freed 292 objects / 10944 bytes in 98ms
06-28 15:14:11.706 D/dalvikvm( 1232): GC freed 201 objects / 9272 bytes in 89ms
06-28 15:14:13.946 D/dalvikvm( 1232): GC freed 1261 objects / 66944 bytes in 
82ms
06-28 15:14:28.955 D/dalvikvm( 1232): GC freed 1415 objects / 74264 bytes in 
87ms
06-28 15:14:43.945 D/dalvikvm( 1232): GC freed 1437 objects / 75184 bytes in 
82ms
06-28 15:14:44.096 D/dalvikvm(  185): GC freed 1674 objects / 64712 bytes in 
126ms
06-28 15:14:52.979 I/power   (  117): *** set_screen_state 0
06-28 15:14:53.095 D/SurfaceFlinger(  117): About to give-up screen, flinger = 
0x11f0e0
06-28 15:14:53.498 W/ActivityManager(  117): Activity pause timeout for 
HistoryRecord{43de5ab8 org.nick.wwwjdic/.ocr.OcrActivity}
06-28 15:14:58.365 D/dalvikvm(  117): GC freed 4220 objects / 211864 bytes in 
207ms
06-28 15:14:58.825 I/WindowManager(  117): Setting rotation to 0, animFlags=0
06-28 15:14:58.865 I/ActivityManager(  117): Config changed: { scale=1.0 
imsi=310/260 loc=en_US touch=3 keys=1/1/2 nav=3/1 orien=1 layout=18}
06-28 15:14:59.975 D/dalvikvm(  117): GC freed 2419 objects / 128584 bytes in 
226ms
06-28 15:15:00.485 D/dalvikvm( 1232): GC freed 1443 objects / 75424 bytes in 
210ms
06-28 15:15:00.706 D/Sync    (  117): Received network tickle for 
dustin.dehaven@gmail.com - https://mail.google.com/mail/g/?client=1276487827736
06-28 15:15:00.795 I/Gmail   (  166): MainSyncRequestProto: lowestBkwdConvoId: 
0, highestHandledServerOp: 35353
06-28 15:15:01.546 D/dalvikvm(  117): GC freed 2487 objects / 114928 bytes in 
217ms
06-28 15:15:01.666 W/ResponseProcessCookies(  166): Cookie rejected: "[version: 
0][name: GX][value: 
DQAAAJUAAAAOw2tpCFqTylqhboLjZd2p4Kw5suolpoqQpmQjGBBYI6Gunp_9_zL9ZkYHTDfwYYHhM7-j
N5pnoQ5nUu-9pzykgi0ZvAE9liGioyfUVoHu1Jq1Tje0Hof0LzBOKwUQzdcscm09R8z0IgnxHwuh2LF-
SEFM5Hr-0ZE7_fAQ9yIMoSwXH4Tnk1BO7vEOmQpqK4K9uMFfZ0VenaoGssjAHZ--][domain: 
mail.google.com][path: /proxy/gmail/mail][expiry: Mon Jul 12 15:15:02 
America/Detroit 2010]". Illegal domain attribute "mail.google.com". Domain of 
origin: "android.clients.google.com"
06-28 15:15:02.586 D/dalvikvm(  166): GC freed 4213 objects / 190160 bytes in 
124ms
06-28 15:15:02.615 I/Gmail   (  166): MainSyncRequestProto: lowestBkwdConvoId: 
0, highestHandledServerOp: 35363
06-28 15:15:03.615 W/ResponseProcessCookies(  166): Cookie rejected: "[version: 
0][name: GX][value: 
DQAAAJYAAABEbWcXVfFRIqanHylsfAQevObLtzfEEft0rs6V4_IlwFgMPTRfTgm9EqvJ0JTyuuqU8RlM
KCKz0WpoBPCi9fUcqFHMc1-CG1FnZmjLyOE_tLCNyKU9k1oXIdthNqXhCyZLWfg8KBTCbQESS4goRTH_
_2zF8o68HxV4uk2E61bkMVFvNR5rXaWwrkme9PMASmKp6BZ74aAeGqHMjDmQUYO1][domain: 
mail.google.com][path: /proxy/gmail/mail][expiry: Mon Jul 12 15:15:05 
America/Detroit 2010]". Illegal domain attribute "mail.google.com". Domain of 
origin: "android.clients.google.com"
06-28 15:15:04.226 D/dalvikvm(  166): GC freed 2465 objects / 123240 bytes in 
160ms
06-28 15:15:04.295 I/Gmail   (  166): MainSyncRequestProto: lowestBkwdConvoId: 
0, highestHandledServerOp: 35364
06-28 15:15:13.955 D/dalvikvm( 1232): GC freed 1497 objects / 77824 bytes in 
82ms
06-28 15:15:19.106 D/dalvikvm( 1266): GC freed 1197 objects / 84552 bytes in 
101ms
06-28 15:15:24.095 D/dalvikvm( 1232): GC freed 201 objects / 9296 bytes in 88ms
06-28 15:15:28.945 D/dalvikvm( 1232): GC freed 1261 objects / 66952 bytes in 
83ms
06-28 15:15:31.077 D/KeyguardViewMediator(  117): wakeWhenReadyLocked(82)
06-28 15:15:31.085 D/KeyguardViewMediator(  117): handleWakeWhenReady(82)
06-28 15:15:31.085 D/KeyguardViewMediator(  117): pokeWakelock(5000)
06-28 15:15:31.105 I/power   (  117): *** set_screen_state 1
06-28 15:15:31.315 D/SurfaceFlinger(  117): Screen about to return, flinger = 
0x11f0e0
06-28 15:15:31.825 D/KeyguardViewMediator(  117): pokeWakelock(7000)
06-28 15:15:31.995 D/KeyguardViewMediator(  117): pokeWakelock(7000)
06-28 15:15:32.076 D/KeyguardViewMediator(  117): pokeWakelock(7000)
06-28 15:15:32.276 D/KeyguardViewMediator(  117): pokeWakelock(7000)
06-28 15:15:32.385 D/KeyguardViewMediator(  117): pokeWakelock(7000)
06-28 15:15:32.455 I/WindowManager(  117): Setting rotation to 1, animFlags=0
06-28 15:15:32.480 W/SurfaceFlinger(  117): timeout expired mFreezeDisplay=1, 
mFreezeCount=0
06-28 15:15:32.515 I/WindowManager(  117): Setting rotation to 0, animFlags=0
06-28 15:15:32.706 I/WindowManager(  117): Setting rotation to 1, animFlags=0
06-28 15:15:32.765 I/ActivityManager(  117): Config changed: { scale=1.0 
imsi=310/260 loc=en_US touch=3 keys=1/1/2 nav=3/1 orien=2 layout=18}
06-28 15:15:33.126 D/dalvikvm(  175): GC freed 2314 objects / 104264 bytes in 
221ms
06-28 15:15:33.875 I/Process ( 1243): Sending signal. PID: 1243 SIG: 9
06-28 15:15:33.896 I/WindowManager(  117): WIN DEATH: Window{43dfb958 
org.nick.wwwjdic/org.nick.wwwjdic.Wwwjdic paused=false}
06-28 15:15:33.896 I/ActivityManager(  117): Process org.nick.wwwjdic (pid 
1243) has died.
06-28 15:15:33.905 D/CameraService(  102): Client::~Client E (pid 102, client 
0x378c0)
06-28 15:15:33.915 I/WindowManager(  117): WIN DEATH: Window{43edfa80 
SurfaceView paused=false}
06-28 15:15:33.926 I/WindowManager(  117): WIN DEATH: Window{43ea36c0 
org.nick.wwwjdic/org.nick.wwwjdic.ocr.OcrActivity paused=false}
06-28 15:15:33.955 D/CameraService(  102): Client (0x378c0) E disconnect from 
(102)
06-28 15:15:33.955 D/CameraService(  102): hardware teardown
06-28 15:15:33.955 D/QualcommCameraHardware(  102): release E
06-28 15:15:34.035 D/QualcommCameraHardware(  102): release X
06-28 15:15:34.035 D/QualcommCameraHardware(  102): ~QualcommCameraHardware E
06-28 15:15:34.035 D/QualcommCameraHardware(  102): ~QualcommCameraHardware X
06-28 15:15:34.035 D/CameraService(  102): removeClient (pid 102): no more 
strong reference
06-28 15:15:34.035 D/CameraService(  102): Client::disconnect() X (pid 102)
06-28 15:15:34.035 D/CameraService(  102): Client::~Client X (pid 102)
06-28 15:15:34.355 D/dalvikvm(  117): GC freed 4364 objects / 217056 bytes in 
330ms
06-28 15:15:34.355 I/ActivityManager(  117): Start proc org.nick.wwwjdic for 
activity org.nick.wwwjdic/.Wwwjdic: pid=1275 uid=10037 gids={3003, 1006, 1015}
06-28 15:15:34.366 I/WindowManager(  117): Setting rotation to 0, animFlags=0
06-28 15:15:34.405 I/ActivityManager(  117): Config changed: { scale=1.0 
imsi=310/260 loc=en_US touch=3 keys=1/1/2 nav=3/1 orien=1 layout=18}
06-28 15:15:34.555 I/UsageStats(  117): Unexpected resume of org.nick.wwwjdic 
while already resumed in org.nick.wwwjdic
06-28 15:15:35.296 W/InputManagerService(  117): Got RemoteException sending 
setActive(false) notification to pid 1243 uid 10037
06-28 15:15:35.406 I/ActivityManager(  117): Displayed activity 
org.nick.wwwjdic/.Wwwjdic: 1478 ms (total 1478 ms)
06-28 15:15:36.835 D/dalvikvm(  117): GC freed 2485 objects / 129184 bytes in 
218ms
06-28 15:15:37.076 W/InputManagerService(  117): Starting input on non-focused 
client com.android.internal.view.IInputMethodClient$Stub$Proxy@43dde688 
(uid=10037 pid=1275)
06-28 15:15:37.076 W/IInputConnectionWrapper( 1275): showStatusIcon on inactive 
InputConnection
06-28 15:15:38.576 D/dalvikvm(  185): GC freed 2546 objects / 114360 bytes in 
146ms
06-28 15:15:42.665 I/ActivityManager(  117): Starting activity: Intent { 
act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] 
flg=0x10200000 cmp=com.xtralogic.android.logcollector/.SendLogActivity }
06-28 15:15:42.736 I/ActivityManager(  117): Start proc 
com.xtralogic.android.logcollector for activity 
com.xtralogic.android.logcollector/.SendLogActivity: pid=1281 uid=10054 
gids={1007, 1015}
06-28 15:15:43.485 I/ActivityManager(  117): Displayed activity 
com.xtralogic.android.logcollector/.SendLogActivity: 769 ms (total 769 ms)
06-28 15:15:43.876 D/dalvikvm(  440): GC freed 114 objects / 5712 bytes in 
1469ms
06-28 15:15:43.965 I/ActivityManager(  117): Process com.android.settings (pid 
1266) has died.
06-28 15:15:44.445 D/dalvikvm( 1232): GC freed 1696 objects / 89256 bytes in 
141ms
06-28 15:15:45.145 I/global  ( 1281): Default buffer size used in 
BufferedReader constructor. It would be better to be explicit if an 8k-char 
buffer is required.
06-28 15:15:45.525 D/dalvikvm( 1281): GC freed 1510 objects / 275824 bytes in 
174ms

Original comment by Dustin.D...@gmail.com on 24 Jul 2010 at 10:39

@GoogleCodeExporter
Copy link
Author

I'll look into it. Try not using a task killer. 

Original comment by nikolay....@gmail.com on 25 Jul 2010 at 2:41

  • Changed state: New

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

A few things:

* the logcat you sent me is from an older version (1.1?). Could you try with 
the 
 newest version (1.2) and attach the new logcat if it still crashes (probably will).
* it appears you are using CyanogenMod. That has hacked up camera drivers, so 
maybe 
that's why I'm not getting proper preview size info (that's the cause of the 
crash). 
What version of CyanogenMod?
* Could you check if the cropped image is saved properly? Go to Settings and 
turn on 
the 'Dump cropped images'. Then, take a picture, crop it, and (after it 
crashes), 
check for a tmp_ocr_xxxxxx.jpg file in the wwwjdic folder of the sdcard. (xxxx 
is 
the current date/time). Find the newest file if there is more than one and 
check if 
it matches what you cropped. Also tell me what the size of the cropped image is.
* As I said, try turning off your task killer. Btw, using one is a bad idea, 
the 
Android runtime is way smarter than any task killer app, so by using one you 
are 
just getting yourself into trouble.

Thanks.

Original comment by nikolay....@gmail.com on 26 Jul 2010 at 1:48

@GoogleCodeExporter
Copy link
Author

Just a tip: since the logcat is quite quite long, it might be easier to attach 
it as file, rather than splitting it up into multiple comments.

Original comment by nikolay....@gmail.com on 26 Jul 2010 at 1:49

@GoogleCodeExporter
Copy link
Author

Hello,

Great looking new update, btw.

I updated to version 1.2, and uninstalled TasKiller.  I am running CyanogenMod 
5.0.7-DS

The OCR did crash again.  I did find the cropped image on my SD card.  It 
matches what I cropped, but it is called "cropped.jpg", not "tmp_ocr_xxxx.jpg". 
 The resolution is 1024 x 163.

Attached is the log collector output.

Dustin

Original comment by Dustin.D...@gmail.com on 27 Jul 2010 at 1:06

Attachments:

@GoogleCodeExporter
Copy link
Author

Thanks, I'll try to reproduce it later (I have a MyTouch 3G equivalent). If I 
can't though, I'll make a version with more logging and we'll have to repeat 
the whole logcat exercise. Btw, 'cropped.jpg' is correct, my mistake. 
tmp_ocr_xxxx.jpg is the original picture (before cropping).


Original comment by nikolay....@gmail.com on 27 Jul 2010 at 1:20

@GoogleCodeExporter
Copy link
Author

Hi, 

I managed to reproduce it, and maybe fix it. Please try the snapshot in 
downloads. 
It does seem this only happens on CyanogenMod and maybe other Eclair ROMs for 
MyTouch/Magic.

Original comment by nikolay....@gmail.com on 27 Jul 2010 at 4:01

@GoogleCodeExporter
Copy link
Author

Hello,

I downloaded an installed the snapshot you provided.  It does not crash 
anymore.  However, no text is displayed after the OCR is complete, only a 
period.  When I tap on that period, a message appears at the bottom that says 
"A/F failed"

Original comment by Dustin.D...@gmail.com on 27 Jul 2010 at 7:58

@GoogleCodeExporter
Copy link
Author

I don't know if that is a bug or not.  In any case, attached is another log 
file.

Original comment by Dustin.D...@gmail.com on 27 Jul 2010 at 8:25

Attachments:

@GoogleCodeExporter
Copy link
Author

Good thing the crash is fixed. The text displayed is the OCR result, I think in 
your case it is just a period. That can happen if the text is very small or the 
background is not clear (has lines, dots, etc). The result text itself is not 
clickable, you use the buttons on the right to send text to the dictionary. If 
you tap the screen, that just takes another picture, hence the 'A/F failed' 
(auto focus failed) message. 

Try taking a picture of larger text with a clear background. If you get 'A/F 
failed', try moving your phone a little further from the object. If you don't 
get good results, you can check whether it's a problem with the app or the OCR 
service like this:
 * turn on the 'Save cropped images' option
 * start up OCR, take a picture, crop it
 * transfer the /sdcard/wwwjdic/cropped.jpg file to your computer
 * go to http://maggie.ocrgrid.org/nhocr/
 * Upload your image using the 'Japanese text line recognition' form and check if the results you get are the same as on the phone.


Original comment by nikolay....@gmail.com on 28 Jul 2010 at 1:44

@GoogleCodeExporter
Copy link
Author

Okay.  So, I took two pictures and tried uploading them to the website you 
linked to.  The "Japanese text line recognition" recognized neither and gave me 
a period, the same as on my phone.  However, the "Japanese character 
recognition" recognized both.  Attached are the images I used.

Original comment by Dustin.D...@gmail.com on 28 Jul 2010 at 7:19

Attachments:

@GoogleCodeExporter
Copy link
Author

Wow, you took those pictures off your screen. That's a use case I hadn't 
considered (usually easier to use copy-paste). With all the pixels around the 
text, no wonder you got a dot :) I've changed the default mode from single line 
to auto, same as the form ('Japanese character recognition') you used. Try the 
snapshot in downloads, it should give you better results. 'Auto' is supposed to 
handle text lines as well, so I'll probably make this the default in the next 
release.

Original comment by nikolay....@gmail.com on 29 Jul 2010 at 1:49

@GoogleCodeExporter
Copy link
Author

awesome, thanks!

Original comment by Dustin.D...@gmail.com on 29 Jul 2010 at 6:40

@GoogleCodeExporter
Copy link
Author

fixed in 1.21

Original comment by nikolay....@gmail.com on 29 Jul 2010 at 9:52

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant