[Nexus 4 Android Development] a3Dman:
Videos hang

[MENTION=6117313]ganachoco[/MENTION]

It seems that there is a problem with video playback. After playing a videos for a while, videos from any app hangs the whole device with only audio coming.

I've got a log of this

01-16 18:25:10.156 648 658 I ActivityManager: START u0 {cmp=com.banjo.android/.activity.VideoPlayerActivity (has extras)} from uid 10089 on display 0

01-16 18:25:10.270 648 1763 I MediaFocusControl: AudioFocus requestAudioFocus() from android.media.AudioManager@3e0b83d req=1flags=0x0

01-16 18:25:10.298 28452 28452 W MediaPlayer: Couldn't open file on client side; trying server side: java.io.FileNotFoundException: No content provider: https://d2lzghgvw1jtbn.cloudfront.net/event_updates/videos/2/688391160814022656.mp4

01-16 18:25:10.314 193 30942 D NuPlayer: onSetVideoSurface(0xb7242ba8, no video decoder)

01-16 18:25:10.389 648 666 I ActivityManager: Displayed com.banjo.android/.activity.VideoPlayerActivity: +221ms

01-16 18:25:10.389 1491 1491 I Keyboard.Facilitator: onFinishInput()

01-16 18:25:11.502 193 30944 I SampleTable: There are reordered frames present.

01-16 18:25:11.504 193 30942 D NuPlayerDriver: notifyListener_l(0xb7259aa0), (5, 360, 640)

01-16 18:25:11.504 193 30942 D NuPlayerDriver: notifyListener_l(0xb7259aa0), (3, 12, 0)

01-16 18:25:12.504 193 30942 D NuPlayerDriver: notifyListener_l(0xb7259aa0), (3, 20, 0)

01-16 18:25:13.106 648 742 D ConnectivityService: notifyType CAP_CHANGED for NetworkAgentInfo [WIFI () - 259]

01-16 18:25:13.504 193 30942 D NuPlayerDriver: notifyListener_l(0xb7259aa0), (3, 29, 0)

01-16 18:25:13.504 193 30942 D NuPlayerDriver: notifyListener_l(0xb7259aa0), (1, 0, 0)

01-16 18:25:13.511 28452 28452 D MediaPlayer: getMetadata

01-16 18:25:13.513 193 692 D NuPlayerDriver: start(0xb7259aa0), state is 4, eos is 0

01-16 18:25:13.513 193 30942 I GenericSource: start

01-16 18:25:13.531 193 30942 D NuPlayerDriver: notifyListener_l(0xb7259aa0), (3, 36, 0)

01-16 18:25:13.580 193 30976 E OMXNodeInstance: setConfig(ad:google.aac.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)

01-16 18:25:13.580 193 30976 I ACodec : codec does not support config priority (err -2147483648)

01-16 18:25:13.581 193 30976 I MediaCodec: MediaCodec will operate in async mode

01-16 18:25:13.584 193 30978 I SoftAAC2: Reconfiguring decoder: 0->44100 Hz, 0->2 channels

01-16 18:25:13.585 193 30974 I MediaCodec: [OMX.qcom.video.decoder.avc] setting surface generation to 197639

01-16 18:25:13.588 193 30977 E OMX-VDEC-1080P: Extension: OMX.google.android.index.storeANWBufferInMetadata not implemented

01-16 18:25:13.589 193 30977 E OMX-VDEC-1080P: Extension: OMX.google.android.index.storeMetaDataInBuffers not implemented

01-16 18:25:13.589 193 30977 E OMXNodeInstance: getExtensionIndex(ae:qcom.decoder.avc, OMX.google.android.index.storeMetaDataInBuffers) ERROR: NotImplemented(0x80001006)

01-16 18:25:13.589 193 30977 E ACodec : [OMX.qcom.video.decoder.avc] storeMetaDataInBuffers failed w/ err -2147483648

01-16 18:25:13.589 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.589 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.589 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.589 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.590 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.590 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.590 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.590 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.590 193 30977 E OMXNodeInstance: setConfig(ae:qcom.decoder.avc, ConfigPriority(0x6f800002)) ERROR: NotImplemented(0x80001006)

01-16 18:25:13.590 193 30977 I ACodec : codec does not support config priority (err -2147483648)

01-16 18:25:13.590 193 30977 E OMXNodeInstance: setConfig(ae:qcom.decoder.avc, ConfigOperatingRate(0x6f800003)) ERROR: NotImplemented(0x80001006)

01-16 18:25:13.590 193 30977 I ACodec : codec does not support config operating rate (err -2147483648)

01-16 18:25:13.590 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.590 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.592 193 30974 I MediaCodec: MediaCodec will operate in async mode

01-16 18:25:13.601 193 688 D audio_hw_primary: out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2

01-16 18:25:13.608 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.608 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.608 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.608 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.609 193 30977 D SurfaceUtils: set up nativeWindow 0xb7242bb0 for 360x640, color 0x7fa30c03, rotation 0, usage 0x42002900

01-16 18:25:13.609 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.609 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.609 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.609 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.613 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.613 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.613 193 30977 E OMX-VDEC-1080P: GET_MV_BUFFER_SIZE returned: Size: 65536 and alignment: 8192

01-16 18:25:13.619 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.619 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.622 193 688 D audio_hw_primary: select_devices: out_snd_device(2: speaker) in_snd_device(0: none)

01-16 18:25:13.623 193 688 D ACDB-LOADER: ACDB -> send_afe_cal

01-16 18:25:13.623 193 688 D audio_hw_primary: enable_snd_device: snd_device(2: speaker)

01-16 18:25:13.623 193 30942 D NuPlayerDriver: notifyListener_l(0xb7259aa0), (6, 0, 0)

01-16 18:25:13.629 193 688 D audio_hw_primary: enable_audio_route: apply and update mixer path: low-latency-playback

01-16 18:25:13.631 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.631 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.636 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.636 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.638 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.638 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.641 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.641 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.643 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.643 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.645 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.645 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.647 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.647 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.650 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.650 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.652 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.652 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.654 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.654 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.656 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.656 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.658 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.658 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.660 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.660 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.661 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.661 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.663 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.663 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.665 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.665 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.666 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.666 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.668 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.668 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.670 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.670 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.671 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.671 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.841 193 30981 E OMX-VDEC-1080P:

01-16 18:25:13.841 193 30981 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.842 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.842 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.842 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.842 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.843 193 30977 D SurfaceUtils: set up nativeWindow 0xb7242bb0 for 360x640, color 0x7fa30c03, rotation 0, usage 0x42002900

01-16 18:25:13.843 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.843 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.843 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.843 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.859 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.859 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.860 193 30977 E OMX-VDEC-1080P: GET_MV_BUFFER_SIZE returned: Size: 65536 and alignment: 8192

01-16 18:25:13.864 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.864 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.867 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.867 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.870 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.870 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.873 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.873 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.876 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.876 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.879 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.879 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.882 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.882 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.887 193 30981 E :

01-16 18:25:13.887 193 30981 E : not in avi mode

01-16 18:25:13.899 193 30977 E OMX-VDEC-1080P:

01-16 18:25:13.899 193 30977 E OMX-VDEC-1080P: No color conversion required

01-16 18:25:13.900 193 30942 D NuPlayerDriver: notifyListener_l(0xb7259aa0), (5, 360, 640)

01-16 18:25:13.900 193 30942 D NuPlayerDriver: notifyListener_l(0xb7259aa0), (200, 3, 0)

01-16 18:25:13.901 28452 28462 W MediaPlayer: info/warning (3, 0)

01-16 18:25:14.547 193 30942 D NuPlayerDriver: notifyListener_l(0xb7259aa0), (3, 36, 0)

01-16 18:25:15.083 193 30977 E OMXNodeInstance: fillBuffer::storeFenceInMeta(ae:qcom.decoder.avc, 0x1a [368640@0xb71ff678 fc=46]) ERROR: ??(0xffffffc2)

01-16 18:25:15.083 193 30977 E ACodec : signalError(omxError 0x80001001, internalError -62)

01-16 18:25:15.083 193 30974 E MediaCodec: Codec reported err 0xffffffc2, actionCode 0, while in state 6

01-16 18:25:15.083 193 30973 E NuPlayerDecoder: Decoder (video) reported error : 0xffffffc2

01-16 18:25:15.083 193 30942 E NuPlayer: received error(0xffffffc2) from video decoder, flushing(0), now shutting down

01-16 18:25:15.084 193 30942 D NuPlayerDriver: notifyListener_l(0xb7259aa0), (100, 1, -62)

01-16 18:25:15.084 28452 28466 E MediaPlayer: error (1, -62)

01-16 18:25:15.087 193 30973 E NuPlayerDecoder: failed to flush OMX.qcom.video.decoder.avc (err=-38)

01-16 18:25:15.087 193 30942 E NuPlayer: received error(0xffffffda) from video decoder, flushing(2), now shutting down

01-16 18:25:15.087 193 30942 D NuPlayerDriver: notifyListener_l(0xb7259aa0), (100, 1, -38)

01-16 18:25:15.088 28452 29008 E MediaPlayer: error (1, -38)

01-16 18:25:15.088 28452 28452 E MediaPlayer: Error (1,-62)

01-16 18:25:15.088 28452 28452 D VideoView: Error: 1,-62

01-16 18:25:15.098 193 30977 E Surface : getSlotFromBufferLocked: unknown buffer: 0xb7220418

01-16 18:25:15.098 193 30977 E ACodec : queueBuffer failed in onOutputBufferDrained: -22

01-16 18:25:15.098 193 30977 E ACodec : signalError(omxError 0x80001001, internalError -22)

01-16 18:25:15.098 193 30977 E Surface : getSlotFromBufferLocked: unknown buffer: 0xb7213058

01-16 18:25:15.098 193 30977 E ACodec : queueBuffer failed in onOutputBufferDrained: -22

01-16 18:25:15.098 193 30977 E ACodec : signalError(omxError 0x80001001, internalError -22)

01-16 18:25:15.098 193 30977 E Surface : getSlotFromBufferLocked: unknown buffer: 0xb721f300

01-16 18:25:15.098 193 30977 E ACodec : queueBuffer failed in onOutputBufferDrained: -22

01-16 18:25:15.098 193 30977 E ACodec : signalError(omxError 0x80001001, internalError -22)

01-16 18:25:15.099 193 30974 E MediaCodec: Codec reported err 0xffffffea, actionCode 0, while in state 10

01-16 18:25:15.099 193 30974 E MediaCodec: Codec reported err 0xffffffea, actionCode 0, while in state 10

01-16 18:25:15.099 193 30974 E MediaCodec: Codec reported err 0xffffffea, actionCode 0, while in state 10

01-16 18:25:15.107 193 30977 E Surface : getSlotFromBufferLocked: unknown buffer: 0xb7213058

01-16 18:25:15.107 193 30977 W ACodec : [OMX.qcom.video.decoder.avc] can not return buffer 31 to native window

01-16 18:25:15.107 193 30977 E Surface : getSlotFromBufferLocked: unknown buffer: 0xb7220418

01-16 18:25:15.107 193 30977 W ACodec : [OMX.qcom.video.decoder.avc] can not return buffer 30 to native window

01-16 18:25:15.108 193 30977 E Surface : getSlotFromBufferLocked: unknown buffer: 0xb71ff678

01-16 18:25:15.108 193 30977 W ACodec : [OMX.qcom.video.decoder.avc] can not return buffer 26 to native window

01-16 18:25:15.108 193 30977 E Surface : getSlotFromBufferLocked: unknown buffer: 0xb721f300

01-16 18:25:15.109 193 30977 W ACodec : [OMX.qcom.video.decoder.avc] can not return buffer 25 to native window

01-16 18:25:15.116 193 30942 D NuPlayerDriver: notifyListener_l(0xb7259aa0), (6, 0, 0)

01-16 18:25:15.134 193 30982 E OMX-VDEC-1080P:

01-16 18:25:15.134 193 30982 E OMX-VDEC-1080P: Error in ioctl read next msg

01-16 18:25:15.134 193 30977 E :

01-16 18:25:15.134 193 30977 E : Destroy C2D instance

01-16 18:25:15.134 193 30977 E :

01-16 18:25:15.134 193 30977 E : Destroy C2D instance

01-16 18:25:15.138 193 30942 W AMessage: failed to post message as target looper for handler 0 is gone.

01-16 18:25:15.338 648 26319 D NetlinkSocketObserver: NeighborEvent{elapsedMs=413142743, 192.168.1.1, [0026F23D174A], RTM_NEWNEIGH, NUD_REACHABLE}

01-16 18:25:15.547 193 30942 D NuPlayerDriver: notifyListener_l(0xb7259aa0), (3, 64, 0)

01-16 18:25:16.121 648 742 D ConnectivityService: notifyType CAP_CHANGED for NetworkAgentInfo [WIFI () - 259]

01-16 18:25:16.552 193 30942 D NuPlayerDriver: notifyListener_l(0xb7259aa0), (3, 78, 0)

01-16 18:25:17.554 193 30942 D NuPlayerDriver: notifyListener_l(0xb7259aa0), (3, 86, 0)

01-16 18:25:17.971 193 30946 I NuCachedSource2: caching reached eos.

01-16 18:25:18.559 193 30942 D NuPlayerDriver: notifyListener_l(0xb7259aa0), (3, 100, 0)

01-16 18:25:19.624 648 711 I PowerManagerService: Going to sleep due to power button (uid 1000)...

01-16 18:25:19.629 193 17466 W AudioPolicyIntefaceImpl: getOutputForAttr uid 10023 tried to pass itself off as 1000

01-16 18:25:19.630 824 837 W AudioTrack: AUDIO_OUTPUT_FLAG_FAST denied by client; transfer 4, track 44100 Hz, output 48000 Hz

01-16 18:25:19.630 193 193 W AudioFlinger: uid 10023 tried to pass itself off as 1000

01-16 18:25:22.157 648 742 D ConnectivityService: notifyType CAP_CHANGED for NetworkAgentInfo [WIFI () - 259]

01-16 18:25:25.181 648 742 D ConnectivityService: notifyType CAP_CHANGED for NetworkAgentInfo [WIFI () - 259]

01-16 18:25:26.139 648 26319 D NetlinkSocketObserver: NeighborEvent{elapsedMs=413153544, 192.168.1.1, [0026F23D174A], RTM_NEWNEIGH, NUD_STALE}

01-16 18:25:27.339 28452 28452 E MediaPlayer: Error (1,-38)

01-16 18:25:27.339 28452 28452 D VideoView: Error: 1,-38

01-16 18:25:33.022 193 30975 I NuPlayerDecoder: [audio] saw output EOS

01-16 18:25:33.514 193 30942 D NuPlayerDriver: notifyListener_l(0xb7259aa0), (2, 0, 0)

01-16 18:25:33.749 648 26319 D NetlinkSocketObserver: NeighborEvent{elapsedMs=413161154, 192.168.1.1, [0026F23D174A], RTM_NEWNEIGH, NUD_PROBE}

01-16 18:25:36.507 193 688 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-playback

01-16 18:25:36.508 193 688 D audio_hw_primary: disable_snd_device: snd_device(2: speaker)

The device is usable after the video finishes. A reboot fixes this issue.