[tor-bugs] #29859 [Applications/Tor Browser]: Playing videos on Twitter is not working and freezing the mobile browser
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Apr 10 20:33:10 UTC 2019
#29859: Playing videos on Twitter is not working and freezing the mobile browser
-------------------------------------------------+-------------------------
Reporter: gk | Owner: tbb-
| team
Type: defect | Status:
| needs_review
Priority: High | Milestone:
Component: Applications/Tor Browser | Version:
Severity: Normal | Resolution:
Keywords: tbb-mobile, GeorgKoppen201904, | Actual Points:
TorBrowserTeam201904R, tbb-8.5-must |
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Comment (by sysrqb):
I get a few errors in the logcat while testing on an emulator running API
level 19, but the end result is the video element displaying a message
saying "The media could not be played" - so this is better than crashing.
This is testing the twitter video in the description.
{{{
W/dalvikvm( 1989): dvmFindClassByName rejecting
'org/mozilla/gecko/media/CodecProxy$NativeCallbacks'
W/dalvikvm( 1989): dvmFindClassByName rejecting
'org/mozilla/gecko/media/CodecProxy'
I/ActivityManager( 1592): Start proc org.torproject.torbrowser_alpha:media
for service
org.torproject.torbrowser_alpha/org.mozilla.gecko.media.MediaManager:
pid=2336 uid=10065 gids={50065, 3003, 1028, 1015}
...
E/OMXNodeInstance( 2336): OMX_GetExtensionIndex
OMX.google.android.index.storeMetaDataInBuffers failed
W/OMXNodeInstance( 2336): OMX_GetExtensionIndex
OMX.google.android.index.prepareForAdaptivePlayback failed
E/OMXNodeInstance( 2336): OMX_GetExtensionIndex
OMX.google.android.index.storeMetaDataInBuffers failed
E/ACodec ( 2336): [OMX.google.h264.decoder] storeMetaDataInBuffers failed
w/ err -2147483648
I/SoftAAC2( 2336): Reconfiguring decoder: 0->48000 Hz, 0->2 channels
E/SoftAVC ( 2336): Decoder failed: -2
E/ACodec ( 2336): [OMX.google.h264.decoder] ERROR(0x80001001)
E/MediaCodec( 2336): Codec reported an error. (omx error 0x80001001,
internalError -2147483648)
W/System.err( 2336): java.lang.IllegalStateException
W/System.err( 2336): java.lang.IllegalStateException
W/System.err( 2336): at
android.media.MediaCodec.dequeueInputBuffer(Native Method)
W/System.err( 2336): at
org.mozilla.gecko.media.JellyBeanAsyncCodec$BufferPoller.pollInputBuffer(JellyBeanAsyncCodec.java:216)
W/System.err( 2336): at
org.mozilla.gecko.media.JellyBeanAsyncCodec$BufferPoller.handleMessageLocked(JellyBeanAsyncCodec.java:199)
W/System.err( 2336): at
org.mozilla.gecko.media.JellyBeanAsyncCodec$CancelableHandler.handleMessage(JellyBeanAsyncCodec.java:58)
W/System.err( 2336): at
android.os.Handler.dispatchMessage(Handler.java:102)
W/System.err( 2336): at android.os.Looper.loop(Looper.java:136)
W/System.err( 2336): at
android.os.HandlerThread.run(HandlerThread.java:61)
E/GeckoAsyncCodecAPIv16( 2336): codec error:-10000
W/System.err( 2336): at
android.media.MediaCodec.queueInputBuffer(Native Method)
W/System.err( 2336): at java.lang.Exception: codec error:-10000
W/System.err( 2336): at
org.mozilla.gecko.media.Codec$Callbacks.onError(Codec.java:48)
W/System.err( 2336): at
org.mozilla.gecko.media.JellyBeanAsyncCodec.queueInputBuffer(JellyBeanAsyncCodec.java:371)
W/System.err( 2336): at
org.mozilla.gecko.media.JellyBeanAsyncCodec$CallbackSender.handleMessageLocked(JellyBeanAsyncCodec.java:144)
W/System.err( 2336):
org.mozilla.gecko.media.Codec$InputProcessor.feedSampleToBuffer(Codec.java:167)
W/System.err( 2336): at
org.mozilla.gecko.media.Codec$InputProcessor.queueSample(Codec.java:107)
W/System.err( 2336): at
org.mozilla.gecko.media.Codec$InputProcessor.onSample(Codec.java:95)
W/System.err( 2336): at
org.mozilla.gecko.media.Codec$InputProcessor.access$1700(Codec.java:66)
W/System.err( 2336): at
org.mozilla.gecko.media.Codec.queueInput(Codec.java:553)
W/System.err( 2336): at
org.mozilla.gecko.media.ICodec$Stub.onTransact(ICodec.java:150)
W/System.err( 2336): at at
android.os.Binder.execTransact(Binder.java:404)
W/System.err( 2336): at dalvik.system.NativeStart.run(Native Method)
I/Gecko ( 1989): [1989, MediaPlayback #2] WARNING: Decoder=91bb2940
Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - void
mozilla::JavaCallbacksSupport::OnError(bool): file /home/android/tor-
browser/d
om/media/MediaDecoderStateMachine.cpp, line 3118
}}}
With the Azure reference, when I go to the Azure HTML5 player (DASH) and
press play the script basically hangs. I don't know what it's doing, but
the browser shows the unresponsive-script dialog but the video player
never plays the video, and I see a lot of:
{{{
I/Choreographer( 2503): Skipped 61 frames! The application may be doing
too much work on its main thread.
I/Choreographer( 1989): Skipped 79 frames! The application may be doing
too much work on its main thread.
I/Choreographer( 2503): Skipped 113 frames! The application may be doing
too much work on its main thread.
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29859#comment:14>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list