HARDWARE=maguro
JENKINS_BUILD=80
UBUNTU=manhattan-quantal-armhf-20130415-0
Steps to reproduce:
- Launch sintel video from Lens
- Rotate to landscape
- Seek so that scene selection is shown
- Select scene
Expected result:
- Video skips to scene
Actual result:
- Media Player UI freezes
Additional info:
V/MediaCompatibilityLayer( 815): int android_media_get_volume(MediaPlayerWrapper*, int*)
V/MediaCompatibilityLayer( 815): int android_media_pause(MediaPlayerWrapper*)
W/TimedEventQueue( 129): Event 653 was not found in the queue, already cancelled?
V/MediaCompatibilityLayer( 815): int android_media_seek_to(MediaPlayerWrapper*, int)
V/MediaCompatibilityLayer( 815): msg: 4, ext1: 0, ext2: 0
V/MediaCompatibilityLayer( 815): MEDIA_SEEK_COMPLETE msg
V/MediaCompatibilityLayer( 815): int android_media_get_volume(MediaPlayerWrapper*, int*)
V/MediaCompatibilityLayer( 815): int android_media_play(MediaPlayerWrapper*)
V/MediaCompatibilityLayer( 815): Is playing?: yes
V/MediaCompatibilityLayer( 815): void android_media_set_video_texture_needs_update_cb(MediaPlayerWrapper*, on_video_texture_needs_update, void*)
V/MediaCompatibilityLayer( 815): void MediaPlayerWrapper::setVideoTextureNeedsUpdateCb(on_video_texture_needs_update, void*)
V/MediaCompatibilityLayer( 815): int android_media_set_preview_texture(MediaPlayerWrapper*, int)
V/MediaCompatibilityLayer( 815): android::status_t MediaPlayerWrapper::setVideoSurfaceTexture(const android::sp<android::SurfaceTexture>&)
W/TimedEventQueue( 129): Event 655 was not found in the queue, already cancelled?
W/BufferQueue( 815): [unnamed-592-0] cancelBuffer: BufferQueue has been abandoned!
W/BufferQueue( 815): [unnamed-592-0] cancelBuffer: BufferQueue has been abandoned!
W/BufferQueue( 815): [unnamed-592-0] cancelBuffer: BufferQueue has been abandoned!
W/BufferQueue( 815): [unnamed-592-0] cancelBuffer: BufferQueue has been abandoned!
W/BufferQueue( 815): [unnamed-592-0] cancelBuffer: BufferQueue has been abandoned!
W/BufferQueue( 815): [unnamed-592-0] cancelBuffer: BufferQueue has been abandoned!
W/BufferQueue( 815): [unnamed-592-0] cancelBuffer: BufferQueue has been abandoned!
W/BufferQueue( 815): [unnamed-592-0] cancelBuffer: BufferQueue has been abandoned!
W/BufferQueue( 815): [unnamed-592-0] cancelBuffer: BufferQueue has been abandoned!
I/OMXCodec( 129): [OMX.TI.DUCATI1.VIDEO.DECODER] AVC profile = 77 (Main), level = 40
I/OMXCodec( 129): [OMX.TI.DUCATI1.VIDEO.DECODER] video dimensions are 1920 x 1080
I/OMXCodec( 129): [OMX.TI.DUCATI1.VIDEO.DECODER] Crop rect is 1920 x 1080 @ (0, 0)
I/OMXCodec( 129): [OMX.TI.DUCATI1.VIDEO.DECODER] video dimensions are 2048 x 1184
I/OMXCodec( 129): [OMX.TI.DUCATI1.VIDEO.DECODER] Crop rect is 1920 x 1080 @ (0, 0)
E/IMGSRV ( 127): :0: PVRSRVAllocDeviceMem: Error 1 returned
E/IMGSRV ( 127): :0: GenericAlloc: Failed to allocate device memory
W/GraphicBufferAllocator( 127): alloc(2048, 1184, 256, 00002300, ...) failed -12 (Out of memory)
D/GraphicBufferAllocator( 127): Allocated buffers:
D/GraphicBufferAllocator( 127): 0x4147fc98: 5120.00 KiB | 720 (1024) x 1280 | 5 | 0x00001a00
D/GraphicBufferAllocator( 127): 0x4147fd28: 5120.00 KiB | 720 (1024) x 1280 | 5 | 0x00001a00
D/GraphicBufferAllocator( 127): 0x4148eb18: 1552.50 KiB | 720 ( 736) x 540 | 5 | 0x00000b00
D/GraphicBufferAllocator( 127): 0x41493598: 1552.50 KiB | 720 ( 736) x 540 | 5 | 0x00000b00
D/GraphicBufferAllocator( 127): 0x414947c0: 1552.50 KiB | 720 ( 736) x 540 | 5 | 0x00000b00
D/GraphicBufferAllocator( 127): 0x4149aca0: 3680.00 KiB | 720 ( 736) x 1280 | 5 | 0x00000b00
D/GraphicBufferAllocator( 127): 0x4149b1b0: 3680.00 KiB | 720 ( 736) x 1280 | 5 | 0x00000b00
D/GraphicBufferAllocator( 127): 0x4149b310: 3680.00 KiB | 720 ( 736) x 1280 | 5 | 0x00000b00
D/GraphicBufferAllocator( 127): 0x4149b940: 3680.00 KiB | 720 ( 736) x 1280 | 5 | 0x00000b00
D/GraphicBufferAllocator( 127): 0x4149da88: 3680.00 KiB | 720 ( 736) x 1280 | 5 | 0x00000b00
D/GraphicBufferAllocator( 127): 0x4149e6d0: 3680.00 KiB | 720 ( 736) x 1280 | 5 | 0x00000b00
D/GraphicBufferAllocator( 127): Total allocated (estimate): 36977.50 KB
D/GraphicBufferAllocator( 127): IMG Graphics HAL state:
D/GraphicBufferAllocator( 127): Dumping all active sync objects..
D/GraphicBufferAllocator( 127): ID=40, 0xP...FHWR=0x00000b00, WOP/WOC=0xa9/0xa9, ROP/ROC=0x0/0x0, ROP2/ROC2=0x75/0x75, WOC DevVA=0x0d806874, ROC DevVA=0x0d80687c, ROC2 DevVA
E/SurfaceFlinger( 127): GraphicBufferAlloc::createGraphicBuffer(w=2048, h=1184) failed (Out of memory), handle=0x0
E/BufferQueue( 815): [unnamed-592-1] dequeueBuffer: SurfaceComposer::createGraphicBuffer failed
E/OMXCodec( 129): dequeueBuffer failed: Out of memory (12)
E/OMXCodec( 129): [OMX.TI.DUCATI1.VIDEO.DECODER] allocateBuffersOnPort (output) failed (err = -12)
E/MediaPlayer( 815): error (1, -2147483648)
V/MediaCompatibilityLayer( 815): msg: 100, ext1: 1, ext2: -2147483648
V/MediaCompatibilityLayer( 815): MEDIA_ERROR msg
V/MediaCompatibilityLayer( 815): int android_media_seek_to(MediaPlayerWrapper*, int)
E/MediaPlayer( 815): Attempt to perform seekTo in wrong state: mPlayer=0x11740b0, mCurrentState=0
this looks like a problem in the low level API. Nothing related with the application.
I will do some tests to confirm that.
OBS: works nice on my image build 55.