Camera force close (Logs Attached)General


Last Updated:

  1. lonesworld@yahoo.com

    lonesworld@yahoo.com New Member This Topic's Starter

    Joined:
    Oct 22, 2010
    Messages:
    1
    Likes Received:
    0
    Hello Friends

    I bought this phone from ebay and its camera is not working. I am attaching the logs, so any expert can look at them and comment

    Things I have done
    Factory Reset
    Flash the ROM with Cynogen 2.2 running
    Fix permissions with ROM manager applications
    SD card unmount and format using phone

    Logs

    10-22 12:02:52.875: DEBUG/QualcommCameraHardware(92): createInstance: E
    10-22 12:02:52.975: ERROR/QualcommCameraHardware(92): startCamera X: /dev/msm_camera/control0 open failed: No such file or directory!
    10-22 12:02:52.975: ERROR/QualcommCameraHardware(92): ioctl error. camfd=-1, type=21, length=4, rc=-1, ctrlCmd.status=31560, Bad file number
    10-22 12:02:52.975: ERROR/QualcommCameraHardware(92): ioctl error. camfd=-1, type=15, length=4, rc=-1, ctrlCmd.status=31616, Bad file number
    10-22 12:02:52.975: ERROR/QualcommCameraHardware(92): ioctl error. camfd=-1, type=14, length=4, rc=-1, ctrlCmd.status=33752, Bad file number
    10-22 12:02:52.975: DEBUG/QualcommCameraHardware(92): createInstance: X created hardware=0x167a0
    10-22 12:02:53.335: DEBUG/Camera(5813): app passed NULL surface
    10-22 12:02:53.425: DEBUG/CameraSettings(5813): [antibanding-values=off, antibanding=off, effect-values=none,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua, effect=none, exposure-compensation=0, jpeg-quality=90, jpeg-thumbnail-height=384, jpeg-thumbnail-quality=90, jpeg-thumbnail-width=512, picture-format=jpeg, picture-size-values=2048x1536,1600x1200,1024x768, picture-size=2048x1536, preview-format=yuv420sp, preview-frame-rate=15, preview-size-values=480x320,352x288,320x240,176x144, preview-size=320x240, whitebalance-values=auto,incandescent,fluorescent,daylight,cloudy-daylight,twilight,shade, whitebalance=auto]
    10-22 12:02:53.435: ERROR/QualcommCameraHardware(92): ioctl error. camfd=-1, type=21, length=4, rc=-1, ctrlCmd.status=53824, Bad file number
    10-22 12:02:53.435: ERROR/QualcommCameraHardware(92): ioctl error. camfd=-1, type=15, length=4, rc=-1, ctrlCmd.status=54544, Bad file number
    10-22 12:02:53.435: ERROR/QualcommCameraHardware(92): ioctl error. camfd=-1, type=14, length=4, rc=-1, ctrlCmd.status=54072, Bad file number
    10-22 12:02:53.455: VERBOSE/camera(5813): startPreview
    10-22 12:02:53.455: INFO/QualcommCameraHardware(92): initPreview E: preview size=320x240
    10-22 12:02:53.455: ERROR/QualcommCameraHardware(92): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
    10-22 12:02:53.455: ERROR/QualcommCameraHardware(92): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
    10-22 12:02:53.455: ERROR/QualcommCameraHardware(92): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
    10-22 12:02:53.455: ERROR/QualcommCameraHardware(92): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
    10-22 12:02:53.455: ERROR/QualcommCameraHardware(92): native_set_dimension: length: 28.
    10-22 12:02:53.455: ERROR/QualcommCameraHardware(92): ioctl error. camfd=-1, type=1, length=28, rc=-1, ctrlCmd.status=23957, Bad file number
    10-22 12:02:53.455: ERROR/QualcommCameraHardware(92): startPreview X initPreview failed. Not starting preview.
    10-22 12:02:53.465: DEBUG/QualcommCameraHardware(92): release E
    10-22 12:02:53.465: ERROR/QualcommCameraHardware(92): ioctl CAMERA_EXIT fd -1 error Bad file number
    10-22 12:02:53.465: ERROR/QualcommCameraHardware(92): config_thread exit failure: Bad file number
    10-22 12:02:53.465: DEBUG/QualcommCameraHardware(92): release X
    10-22 12:02:53.465: DEBUG/QualcommCameraHardware(92): ~QualcommCameraHardware E
    10-22 12:02:53.465: DEBUG/QualcommCameraHardware(92): ~QualcommCameraHardware X
    10-22 12:02:53.465: ERROR/QualcommCameraHardware(92): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
    10-22 12:02:53.465: ERROR/QualcommCameraHardware(92): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
    10-22 12:02:53.465: ERROR/QualcommCameraHardware(92): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
    10-22 12:02:53.465: ERROR/QualcommCameraHardware(92): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
    10-22 12:02:53.475: WARN/dalvikvm(5813): threadid=7: thread exiting with uncaught exception (group=0x400207e8)
    10-22 12:02:53.486: INFO/WindowManager(124): WIN DEATH: Window{44ffe148 com.android.launcher/com.android.launcher.Launcher paused=false}
    10-22 12:02:53.495: INFO/ActivityManager(124): Process android.process.acore (pid 5752) has died.
    10-22 12:02:53.515: INFO/ActivityManager(124): Low Memory: No more background processes.
    10-22 12:02:53.515: ERROR/AndroidRuntime(5813): FATAL EXCEPTION: Thread-8
    10-22 12:02:53.515: ERROR/AndroidRuntime(5813): java.lang.RuntimeException: startPreview failed
    10-22 12:02:53.515: ERROR/AndroidRuntime(5813): at com.android.camera.Camera.startPreview(Camera.java:1603)
    10-22 12:02:53.515: ERROR/AndroidRuntime(5813): at com.android.camera.Camera.access$4800(Camera.java:92)
    10-22 12:02:53.515: ERROR/AndroidRuntime(5813): at com.android.camera.Camera$4.run(Camera.java:834)
    10-22 12:02:53.515: ERROR/AndroidRuntime(5813): at java.lang.Thread.run(Thread.java:1096)
    10-22 12:02:53.515: ERROR/AndroidRuntime(5813): Caused by: java.lang.RuntimeException: startPreview failed
    10-22 12:02:53.515: ERROR/AndroidRuntime(5813): at android.hardware.Camera.startPreview(Native Method)
    10-22 12:02:53.515: ERROR/AndroidRuntime(5813): at com.android.camera.Camera.startPreview(Camera.java:1600)
    10-22 12:02:53.515: ERROR/AndroidRuntime(5813): ... 3 more
     

    Attached Files:

    • log.txt
      File size:
      5.1 KB
      Views:
      0

    Advertisement

Share This Page

Loading...