Bug #2631

Crash when icecast is playing and you close Movian (Alt+F4)

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

Status:FixedStart date:05/22/2015
Priority:LowDue date:
Assignee:Andreas Smas% Done:

100%

Category:Audio
Target version:4.10
Found in version:4.9.452 Platform:Linux

Description

navigator       [INFO ]: Opening divan.tv:start
navigator       [INFO ]: Opening divan.tv:getRadioInfoById:21:%u0420%u0443%u0441%u0441%u043A%u043E%u0435%20%u0420%u0430%u0434%u0438%u043E%20%28%u0423%u043A%u0440%u0430%u0438%u043D%u0430%29
navigator       [INFO ]: Opening icecast:http://online-rusradio.tavrmedia.ua/RusRadio
Radio           [DEBUG]: http://online-rusradio.tavrmedia.ua/RusRadio content-type: audio/mpeg
Radio           [DEBUG]: Starting playback of http://online-rusradio.tavrmedia.ua/RusRadio
audio           [DEBUG]: Codec changed to mp3 (0x15001)
PA              [DEBUG]: Context ready
PA              [DEBUG]: Created stream float32le 2ch 44100Hz [front-left,front-right] (tilesize=8184)
Audio           [DEBUG]: Converting from [stereo 44100Hz s16p] to [stereo 44100Hz flt]
core            [DEBUG]: Shutdown requested, returncode = 0
showtime: /root/showtime/src/media/media.c:360: mp_release: Assertion `mp->mp_audio_decoder == ((void *)0)' failed.
CRASH           [EMERG]: Signal: 6 in thread icecast - PRG: Movian (4.9.452.g2925e) EXE: /root/showtime/build.linux/showtime, CWD: /root/showtime  
core            [DEBUG]: Caches flushed
core            [DEBUG]: arch stop=0
youtube         [DEBUG]: Unloaded
opensubtitles   [DEBUG]: Unloaded
divan.tv        [DEBUG]: Unloaded
core            [DEBUG]: API group finished
core            [DEBUG]: IPC group finished
core            [DEBUG]: Playqueue finished
core            [DEBUG]: Audio finished
core            [DEBUG]: Navigator finished
core            [DEBUG]: Backend finished
core            [DEBUG]: Slow shutdown hooks finished
CRASH           [EMERG]: Fault address ??:0 0x147b (N/A)
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.
CRASH           [EMERG]: Register dump [23]: 00007fe5b46ad510 0000000000000000 0000000000000008 0000000000000206 0000000000b49b00 0000000000b49b92 00007fe5959219c0 0000000000000000 000000000000147b 00000000000014a2 00007fe5da176028 00007fe5e09a1000 0000000000000006 0000000000000000 ffffffffffffffff 00007fe595920388 00007fe5da01b267 0000000000000206 0000000000000033 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
CRASH           [EMERG]: STACKTRACE (12 frames)
core            [DEBUG]: Blobcache finished
core            [DEBUG]: Metadb finished
core            [DEBUG]: Movian terminated normally
[email protected]:~/showtime# 

Associated revisions

Revision c83f96a5
Added by Andreas Smas over 5 years ago

icecast: Correctly terminate media pipe to make sure audio decoder exit properly

Fixes #2631

Change included in version 4.9.460

History

#1 Updated by Andreas Smas over 5 years ago

  • Status changed from New to Need feedback

Can't reproduce. Does it happen every time for you?

#2 Updated by Andreas Smas over 5 years ago

FWIW, that radio station does not play for me tried other icecast sources (di.fm) but no crash when exit.

#3 Updated by Leonid Protasov over 5 years ago

Andreas Ă–man wrote:

FWIW, that radio station does not play for me tried other icecast sources (di.fm) but no crash when exit.

Yeah, divan.tv plugin specific. Try this one:

navigator       [INFO ]: Opening divan.tv:start
navigator       [INFO ]: Opening divan.tv:paginator:getFilteredRadioAndNewFilters:getFilteredRadio:getRadioInfoById:%u0420%u0430%u0434%u0438%u043E
navigator       [INFO ]: Opening divan.tv:getRadioInfoById:1175:%u0420%u0430%u0434%u0438%u043E%2021%20%28%u0420%u043E%u0441%u0441%u0438%u044F%29
navigator       [INFO ]: Opening icecast:http://stream3.radio-21.ru:8080/Radio_21
Radio           [DEBUG]: http://stream3.radio-21.ru:8080/Radio_21 content-type: audio/mpeg
Radio           [DEBUG]: Starting playback of http://stream3.radio-21.ru:8080/Radio_21
audio           [DEBUG]: Codec changed to mp3 (0x15001)
PA              [DEBUG]: Context ready
PA              [DEBUG]: Created stream float32le 2ch 44100Hz [front-left,front-right] (tilesize=8184)
Audio           [DEBUG]: Converting from [stereo 44100Hz s16p] to [stereo 44100Hz flt]
core            [DEBUG]: Shutdown requested, returncode = 0
showtime: /root/showtime/src/media/media.c:360: mp_release: Assertion `mp->mp_audio_decoder == ((void *)0)' failed.
CRASH           [EMERG]: Signal: 6 in thread icecast - PRG: Movian (4.9.452.g2925e) EXE: /root/showtime/build.linux/showtime, CWD: /root/showtime  
core            [DEBUG]: Caches flushed
core            [DEBUG]: arch stop=0
opensubtitles   [DEBUG]: Unloaded
divan.tv        [DEBUG]: Unloaded
core            [DEBUG]: API group finished
core            [DEBUG]: IPC group finished
core            [DEBUG]: Playqueue finished
core            [DEBUG]: Audio finished
core            [DEBUG]: Navigator finished
core            [DEBUG]: Backend finished
core            [DEBUG]: Slow shutdown hooks finished
core            [DEBUG]: Blobcache finished
core            [DEBUG]: Metadb finished
core            [DEBUG]: Movian terminated normally
CRASH           [EMERG]: Fault address ??:0 0x1aaa4 (N/A)
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.
CRASH           [EMERG]: Register dump [23]: 00007f674801f430 0000000000000000 0000000000000008 0000000000000202 0000000000b574a0 0000000000b57532 0000000000800000 00007f675004cf40 000000000001aaa4 000000000001aae3 00007f6786ce2028 00007f6774003000 0000000000000006 0000000000000000 ffffffffffffffff 00007f6740c5a388 00007f6786b87267 0000000000000202 0000000000000033 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
CRASH           [EMERG]: STACKTRACE (12 frames)
[email protected]:~/showtime# 

#4 Updated by Leonid Protasov over 5 years ago

  • Priority changed from Normal to Low

#5 Updated by Andreas Smas over 5 years ago

  • Status changed from Need feedback to Accepted

Yup, reproducible now.

#6 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