Open GoogleCodeExporter opened 9 years ago
What steps will reproduce the problem? 1. Run Camera app (or downlaod any other camera app) What is the expected output? What do you see instead? Force close. What version of the product are you using? On what operating system? o2droid beta2 & beta3 fresh install using automated installer. Please provide any additional information below. See logcat: I/ActivityManager( 2006): Starting activity: Intent { act=android.intent.action. MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camer a/.Camera } I/ActivityManager( 2006): Start proc com.android.camera for activity com.android .camera/.Camera: pid=2593 uid=10009 gids={1006, 1015} I/WindowManager( 2006): Setting rotation to 1, animFlags=1 I/ActivityManager( 2006): Config changed: { scale=1.0 imsi=226/10 loc=en_US touc h=3 keys=1/1/2 nav=1/1 orien=2 layout=34 uiMode=17 seq=6} I/ActivityManager( 2006): Process com.android.settings (pid 2580) has died. D/dalvikvm( 2593): Trying to load lib /lib/libmedia_jni.so 0x0 D/dalvikvm( 2593): Shared lib '/lib/libmedia_jni.so' already loaded in same CL 0 x0 D/S3C6410Camera( 1917): ##############:S3C6410Camera() D/S3C6410Camera( 1917): # m_createJpeg E/S3C6410Camera( 1917): !!getPictureMaxSize E/S3C6410Camera( 1917): getPictureMaxSize CAMERA_ID_BACK DEFAULT_CAMERA_BACK_PI CTURE_HEIGHT= 1920 DEFAULT_CAMERA_BACK_PICTURE_WIDTH = 2560 E/S3C6410Camera( 1917): getCameraConstrainWidth: color_format= 0 E/S3C6410Camera( 1917): setPictureColorFormat new = 4 old = V/SecCameraHardware( 1917): virtual android::status_t android::SecCameraHardware ::setParameters(const android::CameraParameters&) : new_picture_width x new_pict ure_height = 2560x1920 E/S3C6410Camera( 1917): setPictureSize width= 2560 height = 1920 E/SecCameraHardware( 1917): BEFORE SETTINGS SETAFMODE E/S3C6410Camera( 1917): setAFMode D/Camera ( 2593): app passed NULL surface D/dalvikvm( 2593): Trying to load lib /lib/libmedia_jni.so 0x0 D/dalvikvm( 2593): Shared lib '/lib/libmedia_jni.so' already loaded in same CL 0 x0 E/S3C6410Camera( 1917): getCameraConstrainWidth: color_format= 0 E/S3C6410Camera( 1917): setPictureColorFormat new = 4 old = V/SecCameraHardware( 1917): virtual android::status_t android::SecCameraHardware ::setParameters(const android::CameraParameters&) : new_picture_width x new_pict ure_height = 2560x1920 E/S3C6410Camera( 1917): setPictureSize width= 2560 height = 1920 E/SecCameraHardware( 1917): BEFORE SETTINGS SETAFMODE E/S3C6410Camera( 1917): setAFMode V/camera ( 2593): startPreview E/SecCameraHardware( 1917): ####startPreview W/WindowManager( 2006): App freeze timeout expired. W/WindowManager( 2006): Force clearing freeze: AppWindowToken{48471020 token=His toryRecord{482424e8 com.android.camera/.Camera}} D/dalvikvm( 2006): GC_EXPLICIT freed 28260 objects / 1453504 bytes in 152ms W/ActivityManager( 2006): Launch timeout has expired, giving up wake lock! W/ActivityManager( 2006): Activity idle timeout for HistoryRecord{482424e8 com.a ndroid.camera/.Camera} D/dalvikvm( 2567): GC_EXPLICIT freed 2882 objects / 189576 bytes in 66ms E/S3C6410Camera( 1917): int android::S3C6410Camera::m_setCameraId(int)::[VIDIOC_ S_INPUT] failed E/S3C6410Camera( 1917): int android::S3C6410Camera::m_resetCamera(int)::m_setCam eraId(1) fail E/S3C6410Camera( 1917): int android::S3C6410Camera::m_startCamera(int)::m_resetC amera fail E/S3C6410Camera( 1917): int android::S3C6410Camera::startCamera(int)::m_startCam era(0) fail E/SecCameraHardware( 1917): virtual android::status_t android::SecCameraHardware ::startPreview(void (*)(const android::sp<android::IMemory>&, void*), void*)::t_ camera->startCamera(CAMERA_MODE_PREVIEW) fail W/dalvikvm( 2593): threadid=8: thread exiting with uncaught exception (group=0x4 001d808) E/AndroidRuntime( 2593): FATAL EXCEPTION: Thread-9 E/AndroidRuntime( 2593): java.lang.RuntimeException: startPreview failed E/AndroidRuntime( 2593): at com.android.camera.Camera.startPreview(Camera .java:1677) E/AndroidRuntime( 2593): at com.android.camera.Camera.access$5600(Camera. java:94) E/AndroidRuntime( 2593): at com.android.camera.Camera$4.run(Camera.java:9 30) E/AndroidRuntime( 2593): at java.lang.Thread.run(Thread.java:1096) E/AndroidRuntime( 2593): Caused by: java.lang.RuntimeException: startPreview fai led E/AndroidRuntime( 2593): at android.hardware.Camera.startPreview(Native M ethod) E/AndroidRuntime( 2593): at com.android.camera.Camera.startPreview(Camera .java:1674) E/AndroidRuntime( 2593): ... 3 more W/ActivityManager( 2006): Force finishing activity com.android.camera/.Camera I/WindowManager( 2006): Setting rotation to 0, animFlags=1 I/ActivityManager( 2006): Config changed: { scale=1.0 imsi=226/10 loc=en_US touc h=3 keys=1/1/2 nav=1/1 orien=1 layout=34 uiMode=17 seq=7} W/ActivityManager( 2006): Activity pause timeout for HistoryRecord{482424e8 com. android.camera/.Camera} D/dalvikvm( 2006): GC_EXPLICIT freed 5635 objects / 261696 bytes in 129ms W/ActivityManager( 2006): Activity destroy timeout for HistoryRecord{482424e8 co m.android.camera/.Camera}
Original issue reported on code.google.com by jo...@tracid.ro on 26 Oct 2011 at 12:40
jo...@tracid.ro
Cannot reproduce
Original comment by erikcas1972@gmail.com on 28 Oct 2011 at 8:43
erikcas1972@gmail.com
Original issue reported on code.google.com by
jo...@tracid.ro
on 26 Oct 2011 at 12:40