[media] Scene selection breaks while in playback due to memory limitations

Bug #1169395 reported by Sergio Schvezov
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mediaplayer-app
Invalid
Medium
Jim Hodapp

Bug Description

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

Tags: iso-testing
affects: phablet-tools → touch-preview-images
Changed in touch-preview-images:
assignee: nobody → Jim Hodapp (jhodapp)
importance: Undecided → Critical
Changed in touch-preview-images:
assignee: Jim Hodapp (jhodapp) → Renato Araujo Oliveira Filho (renatofilho)
Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

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.

Revision history for this message
Paul Larson (pwlars) wrote :

Confirmed on build 83. The timer next to the progress bar seems to progress, and I can still scroll through the scene selection, but the movie freezes and nothing except pause/play is selectable, and even that doesn't seem to function.

Changed in touch-preview-images:
status: New → Confirmed
affects: touch-preview-images → mediaplayer-app
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1169395

tags: added: iso-testing
Changed in mediaplayer-app:
milestone: none → ubuntu-13.05
Changed in touch-preview-images:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Renato Araujo Oliveira Filho (renatofilho)
milestone: none → ubuntu-13.05
no longer affects: touch-preview-images
Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

Since this is a low level crash I will reassign to jim who will test on the new gstreamer backend.

Changed in mediaplayer-app:
assignee: Renato Araujo Oliveira Filho (renatofilho) → Jim Hodapp (jhodapp)
Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

This bug is very similar with https://bugs.launchpad.net/mediaplayer-app/+bug/1169395

but since the log is a bit different I will keep both open.

Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

correct bug is #1181227

Bill Filler (bfiller)
Changed in mediaplayer-app:
importance: Critical → Medium
milestone: ubuntu-13.05 → ubuntu-13.06
Jim Hodapp (jhodapp)
Changed in mediaplayer-app:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.