Logcat message of YouTube 5.1.10 for debugging

For general discussion and questions specific to Android development for HTC HD2/Leo
Moderator: Forum Moderator

Logcat message of YouTube 5.1.10 for debugging

Postby domking » Sat Sep 28, 2013 4:31 pm

I use Tytung's NexusHD2-CM10.2 3.1 ROM and YouTube 5.1.10, as Tytung metioned that YouTube v4.5.17 will cause big problem. But I wanna know what happened for YouTube, when I click a video to play, logcat shows:
Code: Select all
W/YouTube (19001): javax.net.ssl.SSLPeerUnverifiedException: No peer certificate
W/YouTube (19001):    at org.apache.harmony.xnet.provider.jsse.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:146)
W/YouTube (19001):    at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:93)
W/YouTube (19001):    at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:388)
W/YouTube (19001):    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:165)
W/YouTube (19001):    at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
W/YouTube (19001):    at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
W/YouTube (19001):    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
W/YouTube (19001):    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
W/YouTube (19001):    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
W/YouTube (19001):    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
W/YouTube (19001):    at com.google.android.apps.youtube.core.async.ar.b(SourceFile:35)
W/YouTube (19001):    at com.google.android.apps.youtube.core.async.q.a(SourceFile:91)
W/YouTube (19001):    at com.google.android.apps.youtube.core.async.k.a(SourceFile:74)
W/YouTube (19001):    at com.google.android.apps.youtube.core.client.d.a(SourceFile:22)
W/YouTube (19001):    at com.google.android.apps.youtube.core.async.j.run(SourceFile:41)
W/YouTube (19001):    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
W/YouTube (19001):    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
W/YouTube (19001):    at com.google.android.apps.youtube.core.utils.ae.run(SourceFile:40)
W/YouTube (19001):    at java.lang.Thread.run(Thread.java:841)

It seems like Certificate problem, hoping that logcat message above is useful for a solution.
Device: Google Nexus 4
Android version: 4.4.2 KitKat
Baseband version: M9615A-CEFWMAZM-2.0.1701.02
Kernel version: 3.4.0-perf-ga6edd5e
Build number: KTU84L

Device: HTC HD2 (LEO512)
HSPL: 2.08.HSPL
Bootloader: MAGLDR v1.13
Kernel: 2.6.32_tytung_jellybean_r2
ROM: NexusHD2-KitKat-CM11.0 V4.5
Recovery: ClockworkMod Recovery 5.0.2.6
domking
Junior Member
 
Posts: 10
Joined: Thu Sep 26, 2013 3:43 pm
Country: China (cn)
Has thanked: 10 times
Been thanked: 4 times

Advertisement
 

Re: Logcat message of YouTube 5.1.10 for debugging

Postby tytung » Sat Sep 28, 2013 5:50 pm

domking wrote:I use Tytung's NexusHD2-CM10.2 3.1 ROM and YouTube 5.1.10, as Tytung metioned that YouTube v4.5.17 will cause big problem. But I wanna know what happened for YouTube, when I click a video to play, logcat shows:
Code: Select all
W/YouTube (19001): javax.net.ssl.SSLPeerUnverifiedException: No peer certificate
W/YouTube (19001):    at org.apache.harmony.xnet.provider.jsse.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:146)
W/YouTube (19001):    at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:93)
W/YouTube (19001):    at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:388)
W/YouTube (19001):    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:165)
W/YouTube (19001):    at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
W/YouTube (19001):    at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
W/YouTube (19001):    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
W/YouTube (19001):    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
W/YouTube (19001):    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
W/YouTube (19001):    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
W/YouTube (19001):    at com.google.android.apps.youtube.core.async.ar.b(SourceFile:35)
W/YouTube (19001):    at com.google.android.apps.youtube.core.async.q.a(SourceFile:91)
W/YouTube (19001):    at com.google.android.apps.youtube.core.async.k.a(SourceFile:74)
W/YouTube (19001):    at com.google.android.apps.youtube.core.client.d.a(SourceFile:22)
W/YouTube (19001):    at com.google.android.apps.youtube.core.async.j.run(SourceFile:41)
W/YouTube (19001):    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
W/YouTube (19001):    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
W/YouTube (19001):    at com.google.android.apps.youtube.core.utils.ae.run(SourceFile:40)
W/YouTube (19001):    at java.lang.Thread.run(Thread.java:841)

It seems like Certificate problem, hoping that logcat message above is useful for a solution.


No. YouTube v4.5.17 works fine.
Only newer versions (v5.0.21 and v5.1.10) cannot load/play video.
It's not a specific issue for HD2. There're other legacy devices to have the same issue if you read the comments in the Play Store. So the problem is on the Google side.

Your logcat looks like a connection issue.
I guess you try to connect to YouTube in China and the connection is blocked by the Great Firewall of China.
Paste your logcat to GitHub Gist or any similar websites, and link it in your post if you need any help. (Don't forget to tell us your HD2 setup/configuration.)

Device: HTC HD2 (LEO512)
HSPL: 2.08.HSPL
Radio: Leo_RADIO_2.15.50.14
Bootloader: MAGLDR v1.13
Recovery: ClockworkMod Recovery 5.0.2.6

My work for Android on HD2:
Image
User avatar
tytung
Site Admin
 
Posts: 588
Joined: Sun Jun 09, 2013 2:12 pm
Country: Taiwan (tw)
Has thanked: 204 times
Been thanked: 1349 times

Re: Logcat message of YouTube 5.1.10 for debugging

Postby tytung » Sat Sep 28, 2013 6:04 pm

The logcat of newer YouTube apps (v5.0.21 and v5.1.10) is as follows.
I/OMXCodec(4229): [OMX.qcom.video.decoder.avc] AVC profile = 66 (Baseline), level = 30
D/QCvdec(4229): VDEC Open with new H 360 and W 640
D/QCvdec(4229): Height 360 adjusted to 368
D/QCvdec(4229): portDefn->nBufferSize 345600 m_height 360 m_width 640
D/QCvdec(4229): portDefn->nBufferSize 345600 m_height 360 m_width 640
W/QCvdec(4229): get_config: unknown param 117440527
I/OMXCodec(4229): [OMX.qcom.video.decoder.avc] video dimensions are 640 x 360
D/QCvdec(4229): portDefn->nBufferSize 345600 m_height 360 m_width 640
W/QCvdec(4229): H264_Utils::check_header
W/QCvdec(4229): check_header: start code 26
W/QCvdec(4229): check_header: start code got fisrt NAL 4
W/QCvdec(4229): check_header: start code looking for second NAL 4
W/QCvdec(4229): Error at extract rbsp line 1548
W/QCvdec(4229): check_header: start code partial nal in one buffer 26
W/QCvdec(4229): H264_Utils::check_header
W/QCvdec(4229): check_header: start code 8
W/QCvdec(4229): check_header: start code got fisrt NAL 4
W/QCvdec(4229): check_header: start code looking for second NAL 4
W/QCvdec(4229): Error at extract rbsp line 1548
W/QCvdec(4229): check_header: start code partial nal in one buffer 8
W/QCvdec(4229): H264 profile 66, level 30
W/QCvdec(4229): vdec_open
W/QCvdec(4229): ERROR - adsp: Request cpu_dma_freq read failed
W/QCvdec(4229): add_entry_subframe_stitching- H264
W/QCvdec(4229): FA: Setting Tail to NULL
W/QCvdec(4229): add_entry_subframe_stitching- H264
I/OMXNodeInstance(4229): OMX_FreeBuffer for buffer header 0x2a0beca0 successful
I/OMXNodeInstance(4229): OMX_FreeBuffer for buffer header 0x2a0becf0 successful
I/OMXNodeInstance(4229): OMX_FreeBuffer for buffer header 0x2a0bed40 successful
I/OMXNodeInstance(4229): OMX_FreeBuffer for buffer header 0x2a0bed90 successful
I/OMXNodeInstance(4229): OMX_FreeBuffer for buffer header 0x2a0bede0 successful
I/OMXNodeInstance(4229): OMX_FreeBuffer for buffer header 0x2a0bee30 successful
I/OMXNodeInstance(4229): OMX_FreeBuffer for buffer header 0x2a0bee80 successful
I/OMXNodeInstance(4229): OMX_FreeBuffer for buffer header 0x2a0beed0 successful
W/QCvdec(4229): add_entry_subframe_stitching - add entry previous buffer
W/QCvdec(4229): add_entry_subframe_stitching- H264
D/QCvdec(4229): portDefn->nBufferSize 353280 m_height 360 m_width 640
W/QCvdec(4229): add_entry_subframe_stitching - add entry previous buffer
W/QCvdec(4229): add_entry_subframe_stitching- H264
W/QCvdec(4229): add_entry_subframe_stitching - add entry previous buffer
W/QCvdec(4229): get_config: unknown param 117440527
W/QCvdec(4229): add_entry_subframe_stitching- H264
I/OMXCodec(4229): [OMX.qcom.video.decoder.avc] video dimensions are 640 x 368
W/QCvdec(4229): add_entry_subframe_stitching - add entry previous buffer
W/QCvdec(4229): OMXCORE-SM:Recieved command ENABLE (3)
W/QCvdec(4229): add_entry_subframe_stitching- H264
D/QCvdec(4229): portDefn->nBufferSize 353280 m_height 360 m_width 640
W/QCvdec(4229): add_entry_subframe_stitching - add entry previous buffer
W/QCvdec(4229): add_entry_subframe_stitching- H264
W/QCvdec(4229): add_entry_subframe_stitching - add entry previous buffer
W/QCvdec(4229): VideoHeap : fd 38 data 1117978624 size 7868416
W/QCvdec(4229): m_heap_ptr =705426080
I/SoftAAC2(4229): Reconfiguring decoder: 0->44100 Hz, 0->2 channels
I/OMXNodeInstance(4229): OMX_FreeBuffer for buffer header 0x2a0d3718 successful
I/OMXNodeInstance(4229): OMX_FreeBuffer for buffer header 0x2a0d3928 successful
I/OMXNodeInstance(4229): OMX_FreeBuffer for buffer header 0x2a0d3a68 successful
I/OMXNodeInstance(4229): OMX_FreeBuffer for buffer header 0x2a0d3b90 successful
W/AudioPolicyManager(4229): getDeviceForStrategy() unknown strategy: 3
W/AudioPolicyManager(4229): getDeviceForStrategy() unknown strategy: 5
W/AudioPolicyManager(4229): getDeviceForStrategy() unknown strategy: 3
W/AudioPolicyManager(4229): getDeviceForStrategy() unknown strategy: 3
W/AudioPolicyManager(4229): getDeviceForStrategy() unknown strategy: 5
I/SoftwareRenderer(4229): Buffer color format: 0x7FA30C00
I/SoftwareRenderer(4229): Video params: mWidth: 640, mHeight: 368, mCropWidth: 640, mCropHeight: 368, mCropTop: 0, mCropLeft: 0
I/AudioMixer(4229): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
E/memalloc(4229): /dev/pmem: Failed to map buffer size:5394432 offset:5038080 fd:44 Error: Invalid argument
E/gralloc(4229): Could not mmap handle 0x2a0bee38, fd=44 (Invalid argument)
E/gralloc(4229): gralloc_register_buffer: gralloc_map failed

W/GraphicBufferMapper(4229): registerBuffer(0x2a0bee38) failed -22 (Invalid argument)
E/GraphicBuffer(4229): unflatten: registerBuffer failed: Invalid argument (-22)
E/memalloc(4229): /dev/pmem: Failed to map buffer size:5394432 offset:5038080 fd:44 Error: Invalid argument
E/gralloc(4229): Could not mmap handle 0x2a0bee38, fd=44 (Invalid argument)
E/libgenlock(4229): perform_lock_unlock_operation: GENLOCK_IOC_DREADLOCK failed (lockType0x1,err=Bad file number fd=44)
E/gralloc(4229): gralloc_lock: genlock_lock_buffer (lockType=0x2) failed

W/GraphicBufferMapper(4229): lock(...) failed -22 (Invalid argument)
A/SoftwareRenderer(4229): frameworks/av/media/libstagefright/colorconversion/SoftwareRenderer.cpp:184 CHECK_EQ( 0,mapper.lock( buf->handle, GRALLOC_USAGE_SW_WRITE_OFTEN, bounds, &dst)) failed: 0 vs. -22
A/libc(4229): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 4236 (TimedEventQueue)

I/DEBUG(81): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG(81): Build fingerprint: 'htc/cm_leo/leo:4.3/JSS15Q/eng.tytung.20130907.131949:eng/test-keys'
I/DEBUG(81): Revision: '0'
I/DEBUG(81): pid: 4229, tid: 4236, name: UNKNOWN >>> /system/bin/mediaserver <<<
I/DEBUG(81): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
W/NativeCrashListener(379): Couldn't find ProcessRecord for pid 4229
I/DEBUG(81): r0 00000027 r1 00000000 r2 00000008 r3 deadbaad
I/DEBUG(81): r4 00000000 r5 415477b4 r6 2a0b1230 r7 00000000
I/DEBUG(81): r8 00000000 r9 00000000 sl 41547cd8 fp 2a01bbc8
I/DEBUG(81): ip 00000001 sp 415477b0 lr 400a78c3 pc 400a4e24 cpsr 600f0030
I/DEBUG(81): d0 65764564656d696e d1 74736426202c7374
I/DEBUG(81): d2 656c696166202951 d3 2e73762030203a75
I/DEBUG(81): d4 5247202c656c646e d5 53555f434f4c4c41
I/DEBUG(81): d6 575f57535f454741 d7 54464f5f45544952
I/DEBUG(81): d8 0000000000000000 d9 0000000000000000
I/DEBUG(81): d10 0000000000000000 d11 0000000000000000
I/DEBUG(81): d12 0000000000000000 d13 0000000000000000
I/DEBUG(81): d14 0000000000000000 d15 0000000000000000
I/DEBUG(81): d16 3ef5276650448ea9 d17 419de23a0c000000
I/DEBUG(81): d18 4000000000000000 d19 3f72677c10000000
I/DEBUG(81): d20 3fc55554dce6a713 d21 bf66c16b5f3aa8cf
I/DEBUG(81): d22 3f7263f52da7fbae d23 3f80000000000000
I/DEBUG(81): d24 3ee533958e6c8d39 d25 bee5344d23f7038a
I/DEBUG(81): d26 4025931319798d6e d27 4000000000000000
I/DEBUG(81): d28 3fffed9c0ad25804 d29 bf7272163691fb82
I/DEBUG(81): d30 3ff0000000000000 d31 3f801272163691fc
I/DEBUG(81): scr 60000010
I/DEBUG(81): backtrace:
I/DEBUG(81): #00 pc 0001ee24 /system/lib/libc.so
I/DEBUG(81): #01 pc 0001c62c /system/lib/libc.so (abort+4)
I/DEBUG(81): #02 pc 000089fb /system/lib/libcutils.so (__android_log_assert+86)
I/DEBUG(81): #03 pc 0008e6a7 /system/lib/libstagefright.so (android::SoftwareRenderer::render(void const*, unsigned int, void*)+574)
I/DEBUG(81): #04 pc 00059f2d /system/lib/libstagefright.so (android::AwesomePlayer::onVideoEvent()+1692)
I/DEBUG(81): #05 pc 0005774f /system/lib/libstagefright.so
I/DEBUG(81): #06 pc 00085e37 /system/lib/libstagefright.so (android::TimedEventQueue::threadEntry()+334)
I/DEBUG(81): #07 pc 00085e81 /system/lib/libstagefright.so (android::TimedEventQueue::ThreadWrapper(void*)+16)
I/DEBUG(81): #08 pc 0000cb48 /system/lib/libc.so (__thread_entry+72)
I/DEBUG(81): #09 pc 0000ccc4 /system/lib/libc.so (pthread_create+208)
Paste your logcat to GitHub Gist or any similar websites, and link it in your post if you need any help. (Don't forget to tell us your HD2 setup/configuration.)

Device: HTC HD2 (LEO512)
HSPL: 2.08.HSPL
Radio: Leo_RADIO_2.15.50.14
Bootloader: MAGLDR v1.13
Recovery: ClockworkMod Recovery 5.0.2.6

My work for Android on HD2:
Image
User avatar
tytung
Site Admin
 
Posts: 588
Joined: Sun Jun 09, 2013 2:12 pm
Country: Taiwan (tw)
Has thanked: 204 times
Been thanked: 1349 times

Re: Logcat message of YouTube 5.1.10 for debugging

Postby domking » Sun Sep 29, 2013 2:29 am

tytung wrote:
No. YouTube v4.5.17 works fine.
Only newer versions (v5.0.21 and v5.1.10) cannot load/play video.
It's not a specific issue for HD2. There're other legacy devices to have the same issue if you read the comments in the Play Store. So the problem is on the Google side.

Your logcat looks like a connection issue.
I guess you try to connect to YouTube in China and the connection is blocked by the Great Firewall of China.


Yeah, I try to connect to YouTube in China with proxy, YouTube v4.5.17 works for me too, I just want to know what happened for Newer YouTube. As your comments below, I know it's legacy issure.

Thank you.
Device: Google Nexus 4
Android version: 4.4.2 KitKat
Baseband version: M9615A-CEFWMAZM-2.0.1701.02
Kernel version: 3.4.0-perf-ga6edd5e
Build number: KTU84L

Device: HTC HD2 (LEO512)
HSPL: 2.08.HSPL
Bootloader: MAGLDR v1.13
Kernel: 2.6.32_tytung_jellybean_r2
ROM: NexusHD2-KitKat-CM11.0 V4.5
Recovery: ClockworkMod Recovery 5.0.2.6
domking
Junior Member
 
Posts: 10
Joined: Thu Sep 26, 2013 3:43 pm
Country: China (cn)
Has thanked: 10 times
Been thanked: 4 times

Re: Logcat message of YouTube 5.1.10 for debugging

Postby t80u » Sat Oct 05, 2013 2:22 am

tytung wrote:No. YouTube v4.5.17 works fine.
Only newer versions (v5.0.21 and v5.1.10) cannot load/play video.
It's not a specific issue for HD2. There're other legacy devices to have the same issue if you read the comments in the Play Store. So the problem is on the Google side
Does the problem just happen on legacy devices running Jelly Bean? Because I have a PPC device, a HTC RhodiumW (Windows Mobile device running Android 2.3 via SDCard) and the newer version of youtube works fine there but it doesn't on HD2 or Desire :? A little bit ironic :lol: Could it be a codec/video driver problem? Because I've noticed that apps like MovieCity Play and PowerDVD Mobile doesn't play the videos too.
t80u
Junior Member
 
Posts: 6
Joined: Tue Sep 17, 2013 6:27 pm
Country: United States (us)
Has thanked: 2 times
Been thanked: 0 time

Re: Logcat message of YouTube 5.1.10 for debugging

Postby tytung » Sun Oct 06, 2013 6:32 am

t80u wrote: Does the problem just happen on legacy devices running Jelly Bean? Because I have a PPC device, a HTC RhodiumW (Windows Mobile device running Android 2.3 via SDCard) and the newer version of youtube works fine there but it doesn't on HD2 or Desire :? A little bit ironic :lol: Could it be a codec/video driver problem? Because I've noticed that apps like MovieCity Play and PowerDVD Mobile doesn't play the videos too.

I think it's related to JellyBean.
If anyone runs YouTube on Gingerbread (Android 2.3) on HD2, it might be fine.
Paste your logcat to GitHub Gist or any similar websites, and link it in your post if you need any help. (Don't forget to tell us your HD2 setup/configuration.)

Device: HTC HD2 (LEO512)
HSPL: 2.08.HSPL
Radio: Leo_RADIO_2.15.50.14
Bootloader: MAGLDR v1.13
Recovery: ClockworkMod Recovery 5.0.2.6

My work for Android on HD2:
Image
User avatar
tytung
Site Admin
 
Posts: 588
Joined: Sun Jun 09, 2013 2:12 pm
Country: Taiwan (tw)
Has thanked: 204 times
Been thanked: 1349 times

Re: Logcat message of YouTube 5.1.10 for debugging

Postby symbuzzer » Sun Oct 06, 2013 8:07 am

tytung wrote:I think it's related to JellyBean.
If anyone runs YouTube on Gingerbread (Android 2.3) on HD2, it might be fine.


I agree with tytung. I use 2.3.7 and havent any problem with youtube (both official app and built in web browser)
symbuzzer
Forum Moderator
 
Posts: 320
Joined: Mon Jun 24, 2013 7:05 am
Country: Turkey (tr)
Has thanked: 176 times
Been thanked: 168 times

Re: Logcat message of YouTube 5.1.10 for debugging

Postby bernida » Wed Oct 09, 2013 4:45 am

hello guys

I just wanted to contribute to the topic.
I was SUCCESSFULLY using youtube 5.0.21!
however, it was with my old long-term ROM, namely this one:
http://forum.xda-developers.com/showthread.php?t=1934000
[13-NOV-2012][ROM][JB][4.1.2] PACman HD2 v1.2a [PA/AOKP/CM10][NativeSD][WIP]

Okay, some sidefacts have to be considered: I have changed the Youtube DPI to 140 or 160, dunno anymore (to make youtube enable HD-playback)
also I made a lot of tweaks and stuff to this ROM (unimportant), but the most important thing is, that I modified it to use HD/720p playback (only low/high-quality would work else...)
here is the related post
http://forum.xda-developers.com/showpost.php?p=37673436&postcount=1231

Sad that I cant have the "old new" Youtube in tablet mode, I really liked that. normal size looks way too big and its like too less information on too much space :D - but thats a different topic....or is it possible to change the DPI without paranoid android? - sorry for offtopic

I hope these are some valuable hints, if you need anything else, just ask
bernida
Junior Member
 
Posts: 4
Joined: Wed Oct 09, 2013 4:27 am
Country: Germany (de)
Has thanked: 2 times
Been thanked: 3 times


Return to HD2 Android Q&A, Help & Troubleshooting and General

Who is online

Users browsing this forum: No registered users and 1 guest

cron