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

2015-01-14 Thread Ricardo Salveti
Fixed on krillin RTM 194.

** Changed in: qtubuntu-camera (Ubuntu)
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2015-01-13 Thread Ricardo Salveti
We found out that the problem is the size of the thumbnail quality set
in the android layer (originally as 100).

Using 80 instead was already enough to get this issue fixed (thumbnail
always = 64k), which is also the value used by mako.

** Changed in: qtubuntu-camera (Ubuntu)
   Status: Confirmed = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2015-01-13 Thread Ricardo Salveti
Fix available at http://people.canonical.com/~jhm/barajas/ubuntu-
rtm-14.09/device_krillin-20150113-2a2e4c5.tar.xz.

To be tested by QA still.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2015-01-13 Thread Ricardo Salveti
This is what I get on 
.cache/upstart/application-click-com.ubuntu.camera_camera_3.0.0.412.log when 
I'm able to reproduce the issue:
Warning: Directory Thumbnail, entry 0x0201: Data area exceeds data buffer, 
ignoring it.
Warning: JPEG format error, rc = 4
Failed to update EXIF timestamps. Picture will be saved as UTC timezone.
Scaling thumbnail failed: Failed to load image 
'/home/phablet/Pictures/com.ubuntu.camera/image20150113_133512810.jpg': Error 
interpreting JPEG image file (Invalid JPEG file structure: two SOI markers)
file:///usr/share/click/preinstalled/com.ubuntu.camera/3.0.0.412/PhotogridView.qml:71:13:
 QML Image: Failed to get image from provider: 
image://thumbnailer/file:///home/phablet/Pictures/com.ubuntu.camera/image20150113_133512810.jpg
Scaling thumbnail failed: Failed to load image 
'/home/phablet/Pictures/com.ubuntu.camera/image20150113_133514729.jpg': Error 
interpreting JPEG image file (JPEG datastream contains no image)
file:///usr/share/click/preinstalled/com.ubuntu.camera/3.0.0.412/PhotogridView.qml:71:13:
 QML Image: Failed to get image from provider: 
image://thumbnailer/file:///home/phablet/Pictures/com.ubuntu.camera/image20150113_133514729.jpg
Scaling thumbnail failed: Failed to load image 
'/home/phablet/Pictures/com.ubuntu.camera/image20150113_133523223.jpg': Error 
interpreting JPEG image file (JPEG datastream contains no image)
file:///usr/share/click/preinstalled/com.ubuntu.camera/3.0.0.412/PhotogridView.qml:71:13:
 QML Image: Failed to get image from provider: 
image://thumbnailer/file:///home/phablet/Pictures/com.ubuntu.camera/image20150113_133523223.jpg
Corrupt JPEG data: 65423 extraneous bytes before marker 0xd9
JPEG datastream contains no image

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2015-01-13 Thread Florian Boucault
Logs attached

** Summary changed:

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

** Attachment added: application-click-com.ubuntu.camera_camera_3.0.0.412.log
   
https://bugs.launchpad.net/ubuntu/+source/qtubuntu-camera/+bug/1410301/+attachment/4297526/+files/application-click-com.ubuntu.camera_camera_3.0.0.412.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2015-01-13 Thread Florian Boucault
The bug is not happening with the previous version of qtubuntu-camera
published in RTM which was at bzr rev 119. Therefore this bug is
triggered by one of these commits:

131 - Add useful image and thumbnail aspect ratio debugging and a warning when 
the two ratios don't match. 
129 - Added support for getting and setting image encoding quality. 
127 - Make sure the client app doesn't freeze after first recording and then 
taking a still picture. 
126 - Make sure that Pulse stops reading the microphone stream when recording 
stops. Also make sure that the microphone reading worker thread stops cleanly 
on app termination.
124 - Fix incorrect preview window size bug when the thumbnail aspect ratio and 
preview window aspect ratio aren't the same 
122 - Support outputLocation() when parameter is a directory path, so one can 
assign external storage path (e.g. SD card) from QML using 
'camera.videoRecorder.outputLocation'. 
120 - Add thumbnail size selection support. 

I verified that adding revision 129 to trunk rev 119 does not trigger
the bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2015-01-13 Thread Florian Boucault
** Attachment added: syslog
   
https://bugs.launchpad.net/ubuntu/+source/qtubuntu-camera/+bug/1410301/+attachment/4297527/+files/syslog

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2015-01-13 Thread Ricardo Salveti
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 0203  r3 0007
I/DEBUG   ( 5562): r4 b34e5465  r5 0e0a  r6 b84acad0  r7 b53f9493
I/DEBUG   ( 5562): r8 b848d058  r9 b53fa37e  sl b53fafb5  fp 0018
I/DEBUG   ( 5562): ip e000  sp b3600ac8  lr 00f5  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 3825  /system/lib/libcam.exif.so 
(ExifUtils::exifAppnMake(unsigned int, unsigned char*, unsigned char*, unsigned 
int, unsigned int*)+48)
I/DEBUG   ( 5562): #02  pc 343b  /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 35f1  /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 ba63  /system/lib/libcam.camshot.so 
(NSCamShot::CamShotImp::onDataCallback(NSCamShot::CamShotDataInfo const) 
const+26)
I/DEBUG   ( 5562): #08  pc bc63  /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 dfbd  /system/lib/libcam.camshot.so 
(NSCamShot::SingleShot::startOne(NSCamHW::ImgBufInfo const)+504)
I/DEBUG   ( 5562): #10  pc e6e1  /system/lib/libcam.camshot.so 
(NSCamShot::SingleShot::startOne(NSCamShot::SensorParam const)+456)
I/DEBUG   ( 5562): #11  pc ea93  /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 e991  /system/lib/libutils.so 
(android::Thread::_threadLoop(void*)+104)
I/DEBUG   ( 5562): #18  pc d650  /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  0005  
I/DEBUG   ( 5562):  b3600a90  0005  
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  0001  
I/DEBUG   ( 5562):  b3600aa4  0008  
I/DEBUG   ( 5562):  b3600aa8  b36018d8  [stack:4461]
I/DEBUG   ( 5562):  b3600aac  b84800e0  [heap]
I/DEBUG   ( 5562):  b3600ab0    
I/DEBUG   ( 5562):  b3600ab4  b36018d8  [stack:4461]
I/DEBUG   ( 5562):  b3600ab8  0004  
I/DEBUG   ( 5562):  b3600abc    
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 

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

2015-01-13 Thread Florian Boucault
** Changed in: qtubuntu-camera (Ubuntu)
 Assignee: (unassigned) = Jim Hodapp (jhodapp)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2015-01-13 Thread Ricardo Salveti
Some useful info from logcat:
120375 I/MtkCam/MtkCamUtils(  918): {CamProfile}[SingleShot::createJpegImg] : 
(0-th) === [start--now: 6 ms]^M
120376 D/CamShot/SingleShot(  918): [MBOOL 
NSCamShot::SingleShot::createJpegImg(const NSCamHW::ImgBufInfo, const 
NSCamShot::JpegParam, MUINT32, MUINT32, const NSCamHW::ImgBufInfo, MUINT32)] 
-^M
120377 D/MtkCam/Shot(  918): (200)(NormalShot)[handleJpegData] + (puJpgBuf, 
jpgSize, puThumbBuf, thumbSize) = (0xb247b000, 3144576, 0xb330a000, 89600)^M
120378 D/MtkCam/Shot(  918): (200)(NormalShot)[makeExifHeader] + (u4CamMode, 
puThumbBuf, u4ThumbSize, puExifBuf) = (5, 0xb330a000, 89600, 0xb34c5008)^M
120379 W/MtkCam/Shot(  918): (200)(NormalShot)[makeExifHeader] The thumbnail 
size is large than 63K, the exif header will be broken^M
120380 D/CamExif (  918): (200)[CamExif] - this:0xb36017f0^M
120381 D/CamExif (  918): (200)[init]  
mCamExifParam 
120382 D/CamExif (  918): ^M
120383 D/CamExif (  918): (200)[init] u4GpsIsOn: 0, u4GPSAltitude: 0, 
uGPSLatitude: , uGPSLongitude: , uGPSTimeStamp: , uGPSProcessingMethod:  
120384 D/CamExif (  918): ^M
120385 D/CamExif (  918): (200)[init] u4Orientation: 0, u4Facing: 0, 
u4ZoomRatio: 114, u4ImgIndex: 0, u4GroupId: 0, u4FocusH: 0, u4FocusL: 0 
120386 D/CamExif (  918): ^M
120387 D/CamExif (  918): (200)[init]  mCamDbgParam 

120388 D/CamExif (  918): ^M
120389 D/CamExif (  918): (200)[init] u4ShotMode: 0, u4CamMode: 5 
120390 D/CamExif (  918): ^M
120391 D/CamExif (  918): (200)[init] 
===
120392 D/CamExif (  918): ^M
120393 D/MEXIF   (  918): (200)[ExifUtils] - this:0xb84acad0, 
debug.camera.exif.loglevel=1^M

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs