Bug #2677

Movian crashes on some HLS links

Added by Leonid Protasov over 5 years ago. Updated over 5 years ago.

Status:FixedStart date:06/09/2015
Priority:NormalDue date:
Assignee:Andreas Smas% Done:

100%

Category:HLS
Target version:4.10
Found in version:4.9.521 Platform:Linux

Description

Just play via webui:

hls:http://iphone.sg.softspb.com/ip/15__350.m3u8

CRASH           [EMERG]: Signal: 11 in thread video player - PRG: Movian (4.9.521.ga4e4e.dirty) EXE: /root/showtime/build.linux/showtime, CWD: /root/showtime  
CRASH           [EMERG]: Fault address ??:0 (nil) (Address not mapped)
CRASH           [EMERG]: Loaded libraries: /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 /usr/lib/x86_64-linux-gnu/libfreetype.so.6 /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 /usr/lib/x86_64-linux-gnu/libX11.so.6 /usr/lib/x86_64-linux-gnu/libXext.so.6 /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 /usr/lib/x86_64-linux-gnu/libpulse.so.0 /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 /lib/x86_64-linux-gnu/libglib-2.0.so.0 /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 /usr/lib/x86_64-linux-gnu/libwebkitgtk-1.0.so.0 /usr/lib/x86_64-linux-gnu/libXss.so.1 /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 /usr/lib/x86_64-linux-gnu/libXv.so.1 /usr/lib/x86_64-linux-gnu/libavahi-common.so.3 /usr/lib/x86_64-linux-gnu/libavahi-client.so.3 /lib/x86_64-linux-gnu/libssl.so.1.0.0 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /usr/lib/x86_64-linux-gnu/libvdpau.so.1 /lib/x86_64-linux-gnu/libpthread.so.0 /lib/x86_64-linux-gnu/librt.so.1 /lib/x86_64-linux-gnu/libdl.so.2 /lib/x86_64-linux-gnu/libz.so.1 /lib/x86_64-linux-gnu/libm.so.6 /lib/x86_64-linux-gnu/libc.so.6 /lib/x86_64-linux-gnu/libpng12.so.0 /lib/x86_64-linux-gnu/libexpat.so.1 /usr/lib/x86_64-linux-gnu/libxcb.so.1 /usr/lib/x86_64-linux-gnu/libglapi.so.0 /usr/lib/x86_64-linux-gnu/libXdamage.so.1 /usr/lib/x86_64-linux-gnu/libXfixes.so.3 /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 /usr/lib/x86_64-linux-gnu/libdrm.so.2 /lib/x86_64-linux-gnu/libjson-c.so.2 /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-6.0.so /lib/x86_64-linux-gnu/libdbus-1.so.3 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0 /usr/lib/x86_64-linux-gnu/libcairo.so.2 /usr/lib/x86_64-linux-gn 
CRASH           [EMERG]: Register dump [23]: 0000000000000100 0000000000000000 0000000000000000 00007f2e18000078 00007f2e18003ce0 00007f2e18004cb0 00007f2df8df24f0 00007f2e105d0a80 0000000000000000 00007f2e18003ce0 0000000000000000 00007f2e105d0a80 0000000000000001 0000000000b4cb41 0000000000000023 00007f2df8df2200 00000000004d6e28 0000000000010206 0000000000000033 0000000000000004 000000000000000e 0000000000000000 0000000000000000 
CRASH           [EMERG]: STACKTRACE (10 frames)
CRASH           [EMERG]: /root/showtime/src/arch/linux/linux_trap.c:271 0x41208b
CRASH           [EMERG]: /root/showtime/src/arch/linux/linux_trap.c:340 0x4c2cc0
CRASH           [EMERG]: ??:0 0x7f2e3a4d6d10
CRASH           [EMERG]: /root/showtime/src/main.h:151 0x4d6e28
CRASH           [EMERG]: /root/showtime/src/backend/hls/hls.c:2065 0x4d81cf
CRASH           [EMERG]: /root/showtime/src/video/video_playback.c:237 0x5d002b
CRASH           [EMERG]: /root/showtime/src/video/video_playback.c:719 (discriminator 12) 0x5d0bbc
CRASH           [EMERG]: /root/showtime/src/arch/posix/posix_threads.c:160 0x4c4860
CRASH           [EMERG]: ??:0 0x7f2e3a4cd6aa
CRASH           [EMERG]: clone+0x6d  (/lib/x86_64-linux-gnu/libc.so.6)

Associated revisions

Revision 51f9af62
Added by Andreas Smas over 5 years ago

hls: Don't crash when playlist is empty

Fixes #2677

Change included in version 4.9.522

History

#1 Updated by Andreas Smas over 5 years ago

  • Status changed from New to Accepted

Problem when playlist is empty it seems:

$ curl -v http://iphone.sg.softspb.com/ip/15__350.m3u8
* Hostname was NOT found in DNS cache
*   Trying 205.234.230.82...
* Connected to iphone.sg.softspb.com (205.234.230.82) port 80 (#0)
> GET /ip/15__350.m3u8 HTTP/1.1
> User-Agent: curl/7.35.0
> Host: iphone.sg.softspb.com
> Accept: */*
> 
< HTTP/1.1 204 No Content
* Server nginx is not blacklisted
< Server: nginx
< Date: Tue, 09 Jun 2015 20:06:09 GMT
< Connection: keep-alive
< 
* Connection #0 to host iphone.sg.softspb.com left intact

#2 Updated by Andreas Smas over 5 years ago

  • Status changed from Accepted to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF