[myTouch 4G Q&A, Help & Troubleshooting] flir31207:
Hi all,

the camera on my Glacier appears to be broken. Any "camera related" app I try to launch force closes after a few seconds. This is true for the built-in camera app, for a barcode scanner app and even for a torch app that would use the flash and not really the camera.

I have already cleared the cache and Davlik and have fixed the permissions to no avail. I ran a logcat from launching the camera app until after I clicked the "force close" button:

I/ActivityManager( 1351): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.Camera bnds=[96,721][192,800] } from pid 1702
I/ActivityManager( 1351): Start proc com.android.camera for activity com.android.camera/.Camera: pid=3292 uid=10048 gids={1006, 1015}
I/WindowManager( 1351): Setting rotation to 1, animFlags=1
V/CameraHolder( 3292): open camera 0
W/WindowManager( 1351): App freeze timeout expired.
W/WindowManager( 1351): Force clearing freeze: AppWindowToken{40a23298 token=HistoryRecord{40a230d8 com.android.camera/.Camera}}
I/InputDispatcher( 1351): Application is not responding: AppWindowToken{40a23298 token=HistoryRecord{40a230d8 com.android.camera/.Camera}}. 9279.3ms since event, 5004.2ms since wait started
I/WindowManager( 1351): Input event dispatching timed out sending to application AppWindowToken{40a23298 token=HistoryRecord{40a230d8 com.android.camera/.Camera}}
I/Process ( 1351): Sending signal. PID: 3292 SIG: 3
I/dalvikvm( 3292): threadid=4: reacting to signal 3
I/dalvikvm( 3292): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 1351): Sending signal. PID: 1351 SIG: 3
I/dalvikvm( 1351): threadid=4: reacting to signal 3
I/dalvikvm( 1351): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 1351): Sending signal. PID: 1617 SIG: 3
I/dalvikvm( 1617): threadid=4: reacting to signal 3
I/dalvikvm( 1617): Wrote stack traces to '/data/anr/traces.txt'
W/ActivityManager( 1351): Activity idle timeout for HistoryRecord{40a230d8 com.android.camera/.Camera}
I/Process ( 1351): Sending signal. PID: 1572 SIG: 3
D/dalvikvm( 1351): GC_EXPLICIT freed 732K, 38% free 6779K/10823K, external 1561K/2073K, paused 88ms
E/ActivityManager( 1351): ANR in com.android.camera (com.android.camera/.Camera)
E/ActivityManager( 1351): Reason: keyDispatchingTimedOut
E/ActivityManager( 1351): Load: 3.4 / 3.17 / 2.89
E/ActivityManager( 1351): CPU usage from 5627ms to 1ms ago:
E/ActivityManager( 1351): 4.2% 1351/system_server: 3.1% user + 1% kernel / faults: 796 minor
E/ActivityManager( 1351): 3.5% 3050/adbd: 0.1% user + 3.3% kernel
E/ActivityManager( 1351): 2.3% 1245/mediaserver: 0% user + 2.3% kernel
E/ActivityManager( 1351): 2.1% 1572/com.android.systemui: 1.2% user + 0.8% kernel / faults: 1 minor
E/ActivityManager( 1351): 1.7% 1268/logcat2: 0.1% user + 1.5% kernel
E/ActivityManager( 1351): 1.4% 3071/com.google.android.apps.maps: 1% user + 0.3% kernel / faults: 292 minor
E/ActivityManager( 1351): 1.4% 3290/logcat: 0.3% user + 1% kernel
E/ActivityManager( 1351): 0.8% 1249/akmd: 0.3% user + 0.5% kernel
E/ActivityManager( 1351): 0.7% 1252/htc_ebdlogd: 0% user + 0.7% kernel
E/ActivityManager( 1351): 0.3% 6/events/0: 0% user + 0.3% kernel
E/ActivityManager( 1351): 0.3% 921/emmc-qd: 0% user + 0.3% kernel
E/ActivityManager( 1351): 0% 1184/jbd2/mmcblk0p28: 0% user + 0% kernel
E/ActivityManager( 1351): 0% 1658/wpa_supplicant: 0% user + 0% kernel / faults: 11 minor
E/ActivityManager( 1351): 0% 2310/twc.provider: 0% user + 0% kernel / faults: 43 minor
E/ActivityManager( 1351): 0.1% 3292/com.android.camera: 0.1% user + 0% kernel
E/ActivityManager( 1351): 14% TOTAL: 6.9% user + 7.8% kernel
E/ActivityManager( 1351): CPU usage from 297ms to 819ms later:
E/ActivityManager( 1351): 7.4% 1351/system_server: 0% user + 7.4% kernel
E/ActivityManager( 1351): 5.5% 1528/InputDispatcher: 0% user + 5.5% kernel
E/ActivityManager( 1351): 3% 3050/adbd: 1.5% user + 1.5% kernel
E/ActivityManager( 1351): 3% 3050/adbd: 0% user + 3% kernel
E/ActivityManager( 1351): 1.5% 3055/adbd: 1.5% user + 0% kernel
E/ActivityManager( 1351): 1.3% 1245/mediaserver: 0% user + 1.3% kernel
E/ActivityManager( 1351): 1.3% 2450/Binder Thread #: 0% user + 1.3% kernel
E/ActivityManager( 1351): 1.3% 1252/htc_ebdlogd: 0% user + 1.3% kernel
E/ActivityManager( 1351): 1.3% 1268/logcat2: 0% user + 1.3% kernel / faults: 2 minor
E/ActivityManager( 1351): 1.3% 1572/com.android.systemui: 1.3% user + 0% kernel
E/ActivityManager( 1351): 1.3% 1572/ndroid.systemui: 1.3% user + 0% kernel
E/ActivityManager( 1351): 11% TOTAL: 5.7% user + 5.7% kernel
I/InputDispatcher( 1351): Dropping event because the pointer is not down.
I/InputDispatcher( 1351): Dropping event because the pointer is not down.
W/ActivityManager( 1351): Force finishing activity com.android.camera/.Camera
I/Process ( 1351): Sending signal. PID: 3292 SIG: 9
I/ActivityManager( 1351): Killing com.android.camera (pid=3292): user's request
I/ActivityManager( 1351): Process com.android.camera (pid 3292) has died.
W/InputManagerService( 1351): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@406b6418

My next step now would be a factory reset, but before I do that I'd like to see whether anybody's got a better idea. Any help is appreciated.

Thanks.

---------- Post added at 12:51 PM ---------- Previous post was at 12:35 PM ----------

I just did another reboot and launched the camera app, again. On the first attempt the behavior was the same as before: the app force closed after a while. On any subsequent attempts to launch the camera app I now get the error message "Camera Error / Cannot connect to camera".