← Back to team overview

touch-packages team mailing list archive

[Bug 1410301] Re: [krillin] 1 in 5 images taken by camera corrupted with qtubuntu-camera from RTM silo 0 == trunk rev 132

 

And a camera_service crash:
I/DEBUG   ( 5562): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   ( 5562): Build fingerprint: 'bq/Aquaris_E4.5/Aquaris_E45:4.4.2/KOT49H/1420640387:user/dev-keys'
I/DEBUG   ( 5562): pid: 28, tid: 200, name: Capture@CmdQue  >>> /system/bin/camera_service <<<
I/DEBUG   ( 5562): signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr b34e6000
I/DEBUG   ( 5562):     r0 b34e5ff0  r1 b848dc1f  r2 00000203  r3 00000007
I/DEBUG   ( 5562):     r4 b34e5465  r5 00000e0a  r6 b84acad0  r7 b53f9493
I/DEBUG   ( 5562):     r8 b848d058  r9 b53fa37e  sl b53fafb5  fp 00000018
I/DEBUG   ( 5562):     ip e0000000  sp b3600ac8  lr 000000f5  pc b6e9241c  cpsr 20030010
I/DEBUG   ( 5562): 
I/DEBUG   ( 5562): backtrace:
V/AudioMTKFilterManager( 2065): +process() insize 4096
I/DEBUG   ( 5562):     #00  pc 0002641c  /system/lib/libc.so (__memcpy_base+112)
I/DEBUG   ( 5562):     #01  pc 00003825  /system/lib/libcam.exif.so (ExifUtils::exifAppnMake(unsigned int, unsigned char*, unsigned char*, unsigned int, unsigned int*)+48)
I/DEBUG   ( 5562):     #02  pc 0000343b  /system/lib/libcam.exif.so (CamExif::appendDebugInfo(int, int, unsigned char**, unsigned int*)+150)
V/AudioMTKFilterManager( 2065): -process() outsize 0
I/DEBUG   ( 5562):     #03  pc 000035f1  /system/lib/libcam.exif.so (CamExif::appendDebugExif(unsigned char*, unsigned int*)+324)
I/DEBUG   ( 5562):     #04  pc 0004f6b5  /system/lib/libcam.camadapter.so (android::NSShot::ImpShot::makeExifHeader(unsigned int, unsigned char*, unsigned int, unsigned char*, unsigned int&, unsigned int, unsigned int, unsigned int, unsigned int)+340)
I/DEBUG   ( 5562):     #05  pc 00041227  /system/lib/libcam.camadapter.so (android::NSShot::NormalShot::handleJpegData(unsigned char*, unsigned int, unsigned char*, unsigned int)+110)
I/DEBUG   ( 5562):     #06  pc 000412eb  /system/lib/libcam.camadapter.so (android::NSShot::NormalShot::fgCamShotDataCb(void*, NSCamShot::CamShotDataInfo)+38)
I/DEBUG   ( 5562):     #07  pc 0000ba63  /system/lib/libcam.camshot.so (NSCamShot::CamShotImp::onDataCallback(NSCamShot::CamShotDataInfo const&) const+26)
I/DEBUG   ( 5562):     #08  pc 0000bc63  /system/lib/libcam.camshot.so (NSCamShot::CamShotImp::handleDataCallback(int, unsigned int, unsigned int, unsigned char*, unsigned int)+32)
W/AudioMTKStreamOut( 2065): filters fail to process
I/DEBUG   ( 5562):     #09  pc 0000dfbd  /system/lib/libcam.camshot.so (NSCamShot::SingleShot::startOne(NSCamHW::ImgBufInfo const&)+504)
I/DEBUG   ( 5562):     #10  pc 0000e6e1  /system/lib/libcam.camshot.so (NSCamShot::SingleShot::startOne(NSCamShot::SensorParam const&)+456)
I/DEBUG   ( 5562):     #11  pc 0000ea93  /system/lib/libcam.camshot.so (NSCamShot::ISImagerBridge::setRotation(unsigned int)+26)
I/DEBUG   ( 5562):     #12  pc 00040f29  /system/lib/libcam.camadapter.so (android::NSShot::NormalShot::onCmd_capture()+184)
I/DEBUG   ( 5562):     #13  pc 00040f9b  /system/lib/libcam.camadapter.so (android::NSShot::EvShot::sendCommand(unsigned int, unsigned int, unsigned int)+28)
I/DEBUG   ( 5562):     #14  pc 0004f0fb  /system/lib/libcam.camadapter.so (android::NSShot::IShot::sendCommand(android::NSShot::ECommand, unsigned int, unsigned int)+8)
I/DEBUG   ( 5562):     #15  pc 0006ac6d  /system/lib/libcam.camadapter.so (android::NSMtkDefaultCamAdapter::CamAdapter::onCaptureThreadLoop()+932)
I/DEBUG   ( 5562):     #16  pc 0006a28d  /system/lib/libcam.camadapter.so (android::NSMtkDefaultCamAdapter::CaptureCmdQueThread::threadLoop()+40)
I/DEBUG   ( 5562):     #17  pc 0000e991  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+104)
I/DEBUG   ( 5562):     #18  pc 0000d650  /system/lib/libc.so (__thread_entry+72)
D/AudioSpeechEnhanceInfo( 2065): WriteReferenceBuffer 1
I/DEBUG   ( 5562): 
I/DEBUG   ( 5562): stack:
I/DEBUG   ( 5562):          b3600a88  b36018c4  [stack:4461]
I/DEBUG   ( 5562):          b3600a8c  00000005  
I/DEBUG   ( 5562):          b3600a90  00000005  
I/DEBUG   ( 5562):          b3600a94  b36018c4  [stack:4461]
I/DEBUG   ( 5562):          b3600a98  b36018c4  [stack:4461]
I/DEBUG   ( 5562):          b3600a9c  b6dd3883  /system/lib/libutils.so (android::VectorImpl::insertAt(void const*, unsigned int, unsigned int)+44)
I/DEBUG   ( 5562):          b3600aa0  00000001  
I/DEBUG   ( 5562):          b3600aa4  00000008  
I/DEBUG   ( 5562):          b3600aa8  b36018d8  [stack:4461]
I/DEBUG   ( 5562):          b3600aac  b84800e0  [heap]
I/DEBUG   ( 5562):          b3600ab0  00000000  
I/DEBUG   ( 5562):          b3600ab4  b36018d8  [stack:4461]
I/DEBUG   ( 5562):          b3600ab8  00000004  
I/DEBUG   ( 5562):          b3600abc  00000000  
I/DEBUG   ( 5562):          b3600ac0  b3600b70  [stack:4461]
I/DEBUG   ( 5562):          b3600ac4  b3600b40  [stack:4461]
I/DEBUG   ( 5562):     #00  b3600ac8  b34e5469  
I/DEBUG   ( 5562):          b3600acc  b53f7829  /system/lib/libcam.exif.so (ExifUtils::exifAppnMake(unsigned int, unsigned char*, unsigned char*, unsigned int, unsigned int*)+52)
I/DEBUG   ( 5562):     #01  b3600ad0  b53f77f5  /system/lib/libcam.exif.so (ExifUtils::exifAppnMake(unsigned int, unsigned char*, unsigned char*, unsigned int, unsigned int*))
I/DEBUG   ( 5562):          b3600ad4  00000e0a  
I/DEBUG   ( 5562):          b3600ad8  00000000  
I/DEBUG   ( 5562):          b3600adc  00000003  
I/DEBUG   ( 5562):          b3600ae0  b3600b40  [stack:4461]
I/DEBUG   ( 5562):          b3600ae4  b53f743d  /system/lib/libcam.exif.so (CamExif::appendDebugInfo(int, int, unsigned char**, unsigned int*)+152)
I/DEBUG   ( 5562):     #02  b3600ae8  00000e0a  
I/DEBUG   ( 5562):          b3600aec  b3600b0c  [stack:4461]
I/DEBUG   ( 5562):          b3600af0  00000004  
I/DEBUG   ( 5562):          b3600af4  00000003  
I/DEBUG   ( 5562):          b3600af8  00000e08  
I/DEBUG   ( 5562):          b3600afc  b848d058  [heap]
I/DEBUG   ( 5562):          b3600b00  000000c8  
I/DEBUG   ( 5562):          b3600b04  00000007  
I/DEBUG   ( 5562):          b3600b08  00000100  
I/DEBUG   ( 5562):          b3600b0c  00000000  
I/DEBUG   ( 5562):          b3600b10  b8472660  [heap]
I/DEBUG   ( 5562):          b3600b14  b53f77f5  /system/lib/libcam.exif.so (ExifUtils::exifAppnMake(unsigned int, unsigned char*, unsigned char*, unsigned int, unsigned int*))
I/DEBUG   ( 5562):          b3600b18  b36017f0  [stack:4461]
I/DEBUG   ( 5562):          b3600b1c  b3600b44  [stack:4461]
I/DEBUG   ( 5562):          b3600b20  b3600b70  [stack:4461]
I/DEBUG   ( 5562):          b3600b24  b3601720  [stack:4461]
I/DEBUG   ( 5562):          ........  ........
I/DEBUG   ( 5562): 
I/DEBUG   ( 5562): memory near r0:
I/DEBUG   ( 5562):     b34e5fd0 00f10000 00f10000 00f10000 00f10000  
I/DEBUG   ( 5562):     b34e5fe0 00f10000 00f10000 00f10000 00f10000  
I/DEBUG   ( 5562):     b34e5ff0 6f666e20 2c2a745f 67697376 5f6c616e  
I/DEBUG   ( 5562): memory map around fault addr b34e6000:
I/DEBUG   ( 5562):     b34c5000-b34e6000 rw- 
I/DEBUG   ( 5562):     b34e6000-b34e7000 r-- /proc/xlog/setfil
I/DEBUG   ( 5562):     b34e9000-b34ea000 rw- /dev/ashmem/MemoryHeapBase (deleted)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtubuntu-camera in Ubuntu.
https://bugs.launchpad.net/bugs/1410301

Title:
  [krillin] 1 in 5 images taken by camera corrupted with qtubuntu-camera
  from RTM silo 0 == trunk rev 132

Status in qtubuntu-camera package in Ubuntu:
  Confirmed

Bug description:
  Steps to reproduce:
  1. Flash krillin with latest RTM proposed: ubuntu-device-flash touch --channel=ubuntu-touch/ubuntu-rtm/14.09-proposed --bootstrap
  2. Install packages from RTM Silo 0:
     a. Add PPA 0 to /etc/apt/sources.list: deb http://ppa.launchpad.net/ci-train-ppa-service/landing-000/ubuntu-rtm 14.09 main
     b. sudo apt-get update
     c. sudo apt-get install cameraplugin-aal libandroid-properties1 libhybris libhybris-common1 libhybris-test libhybris-utils libmedia1 libhardware2
  3. Unplug USB cable
  4. Reboot
  5. Launch camera and take a dozen pictures of sufficient complexity, ie. not of a blank wall but of a detailed landscape for example that will yield fairly big image files

  Current result:
  Some pictures are corrupt and cannot be opened.

  Expected result:
  All pictures can be opened.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtubuntu-camera/+bug/1410301/+subscriptions


References