Bug #4768

Startup-crash on reading playlist (with pipe:// entries)

Added by Hanspeter Müller 9 days ago. Updated 8 days ago.

Status:FixedStart date:2017-12-05
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:Crashes
Target version:-
Found in version:4.3-753~g5bd9901 Affected Versions:

Description

Hi,

since the changes to IPTV-Auto it crashes on startup when its reading my radio-playlist:

ec 5 08:27:48 tvbox tvheadend55925: START: HTS Tvheadend version 4.3-753~g5bd9901-dirty started, running as PID:55925 UID:105 GID:44, CWD:/ CNF:/home/hts/.hts/tvheadend
Dec 5 08:27:48 tvbox tvheadend55925: CRASH: Signal: 11 in PRG: /usr/bin/tvheadend (4.3-753~g5bd9901-dirty) [c647470e67e2e561a9d7cd98bba0d79539db1d03] CWD: /
Dec 5 08:27:48 tvbox tvheadend55925: CRASH: Fault address (nil) (Address not mapped)
Dec 5 08:27:48 tvbox tvheadend55925: CRASH: Loaded libraries: /usr/lib/libdvben50221.so /usr/lib/libdvbapi.so /usr/lib/libucsi.so /lib/x86_64-linux-gnu/libssl.so.1.0.0 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/libz.so.1 /usr/lib/x86_64-linux-gnu/libpcre2-8.so.0 /usr/lib/x86_64-linux-gnu/liburiparser.so.1 /usr/lib/x86_64-linux-gnu/libavahi-common.so.3 /usr/lib/x86_64-linux-gnu/libavahi-client.so.3 /usr/lib/x86_64-linux-gnu/libva.so.1 /lib/x86_64-linux-gnu/libdbus-1.so.3 /lib/x86_64-linux-gnu/libdl.so.2 /lib/x86_64-linux-gnu/libpthread.so.0 /lib/x86_64-linux-gnu/libm.so.6 /lib/x86_64-linux-gnu/librt.so.1 /usr/lib/x86_64-linux-gnu/libvdpau.so.1 /usr/lib/x86_64-linux-gnu/libX11.so.6 /usr/lib/x86_64-linux-gnu/libva-x11.so.1 /usr/lib/x86_64-linux-gnu/libva-drm.so.1 /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /lib/x86_64-linux-gnu/libbz2.so.1.0 /lib/x86_64-linux-gnu/libc.so.6 /lib/x86_64-linux-gnu/libsystemd.so.0 /lib64/ld-linux-x86-64.so.2 /usr/lib/x86_64-linux-gnu/libXext.so.6 /usr/lib/x86_64-linux-gnu/libxcb.so.1 /usr/lib/x86_64-l
Dec 5 08:27:48 tvbox tvheadend55925: CRASH: Register dump [23]: 000000000000000000007fe3c80023c1000055a7f57bef5f00007fe3c80023c100007fe3c80024e000000000000000000000000000000000000055a7f85cb380000055a7f64fd695000000000000000000007fe3ed363430000055a7f64fd69500000000000000000000000000000695000000007fffffdf00007fe3ed36300800007fe4006d858e000000000001028300000000000000330000000000000004000000000000000efffffffe7ffbba110000000000000000
Dec 5 08:27:48 tvbox tvheadend55925: CRASH: STACKTRACE
Dec 5 08:27:48 tvbox tvheadend55925: CRASH: /usr/src/tvheadend/tvheadend/src/trap.c:148 0x55a7f56ff52d 0x55a7f5499000
Dec 5 08:27:49 tvbox tvheadend55925: CRASH: ??:0 0x7fe401dfe390 0x7fe401ded000
Dec 5 08:27:49 tvbox tvheadend55925: CRASH: ??:0 0x7fe4006d858e 0x7fe400639000
Dec 5 08:27:49 tvbox tvheadend55925: avahi: Service 'Tvbox' successfully established.
Dec 5 08:27:49 tvbox tvheadend55925: CRASH: /usr/src/tvheadend/tvheadend/src/input/mpegts/iptv/iptv_auto.c:219 0x55a7f57be89e 0x55a7f5499000
Dec 5 08:27:49 tvbox tvheadend55925: CRASH: /usr/src/tvheadend/tvheadend/src/input/mpegts/iptv/iptv_auto.c:335 0x55a7f57bf363 0x55a7f5499000
Dec 5 08:27:50 tvbox tvheadend55925: CRASH: /usr/src/tvheadend/tvheadend/src/download.c:70 0x55a7f5712f70 0x55a7f5499000
Dec 5 08:27:50 tvbox tvheadend55925: CRASH: /usr/src/tvheadend/tvheadend/src/main.c:635 (discriminator 3) 0x55a7f56b6ecd 0x55a7f5499000
Dec 5 08:27:50 tvbox tvheadend55925: CRASH: /usr/src/tvheadend/tvheadend/src/wrappers.c:161 0x55a7f56c2095 0x55a7f5499000
Dec 5 08:27:50 tvbox tvheadend55925: CRASH: ??:0 0x7fe401df46ba 0x7fe401ded000

The playlist contains "urls" like

#EXTM3U
#EXTINF:-1,Klassik Radio
pipe:///usr/bin/radio http://stream.klassikradio.de/live/mp3-192/www.klassikradio.de/
#EXTINF:-1,Klassik Radio Movie
pipe:///usr/bin/radio http://stream.klassikradio.de/movie/mp3-192/www.klassikradio.de/

Without the pipe:// lines, tvheadend starts normaly

Regards

/hp

Associated revisions

Revision d92b1304
Added by Jaroslav Kysela 9 days ago

iptv auto: fix the wrong NULL url cmpid, fixes #4768

History

#1 Updated by Jaroslav Kysela 9 days ago

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

#2 Updated by Hanspeter Müller 8 days ago

Thank you, works fine again :)

/hp

Also available in: Atom PDF