OK, happened again, so icecast output goes down, liq stops outputting on 
stdout, doesn't respond to ^C. server socket is still connected (no timeout), 
and tells:
```
uptime
0d 12h 39m 28s
END
request.alive
8 9 10 0 7
request.on_air
7
END
request.trace 7
[2018/08/17 01:03:22] Pushed ["/home/ubuntu/demo/party/Maness Star - La danse 
du chien.mp3";...].
[2018/08/17 01:07:13] Currently on air.
END
cross.status
on
END
```

But then I hit ^D and couldn't talk to liq through the socket anymore.
The on air metadata is on sync with the last log:
```

2018/08/17 01:05:58 [buffer_23323:4] Content kind is {audio=2;video=0;midi=0}.  
                                                                                
                    
2018/08/17 01:05:58 [buffer_23323:4] Activations changed: 
static=[smart_cross_8952_after:add_23374:smart_cross_8952], dynamic=[].         
                                          
2018/08/17 01:05:58 [fallback_8950:4] Activations changed: 
static=[smart_cross_8952_after:add_23374:smart_cross_8952, 
smart_cross_8952_after:fade_in_23311:add_23312:smart_cross_8952], 
dynamic=[smart_cross_8952].
2018/08/17 01:05:58 [fallback_8950:4] Enabling caching mode: two static 
activations.
2018/08/17 01:05:58 [smart_cross_8952_after:4] Activations changed: 
static=[add_23374:smart_cross_8952], dynamic=[].
2018/08/17 01:05:58 [source:4] Source smart_cross_8952_before gets up.
2018/08/17 01:05:58 [smart_cross_8952_before:4] Content kind is 
{audio=2;video=0;midi=0}.
2018/08/17 01:05:58 [smart_cross_8952_before:4] Activations changed: 
static=[add_23374:smart_cross_8952], dynamic=[].
2018/08/17 01:05:58 [add_23374:4] Activations changed: 
static=[smart_cross_8952], dynamic=[].
2018/08/17 01:05:58 [add_23312:4] Activations changed: static=[], dynamic=[].
2018/08/17 01:05:58 [source:4] Source add_23312 gets down.
2018/08/17 01:05:58 [fade_in_23311:4] Activations changed: static=[], 
dynamic=[].
2018/08/17 01:05:58 [source:4] Source fade_in_23311 gets down.
2018/08/17 01:05:58 [smart_cross_8952_after:4] Activations changed: static=[], 
dynamic=[].
2018/08/17 01:05:58 [source:4] Source smart_cross_8952_after gets down.
2018/08/17 01:05:58 [fallback_8950:4] Activations changed: 
static=[smart_cross_8952_after:add_23374:smart_cross_8952], 
dynamic=[smart_cross_8952].
2018/08/17 01:05:58 [fallback_8950:4] Disabling caching mode.
2018/08/17 01:05:58 [smart_cross_8952_before:4] Activations changed: static=[], 
dynamic=[].
2018/08/17 01:05:58 [source:4] Source smart_cross_8952_before gets down.
2018/08/17 01:06:00 [buffer_23323:4] End of track.
2018/08/17 01:06:00 [buffer_23323:4] Buffer emptied, buffering needed.
2018/08/17 01:06:00 [buffer_23323:4] Activations changed: static=[], dynamic=[].
2018/08/17 01:06:00 [source:4] Source buffer_23323 gets down.
2018/08/17 01:06:03 [smart_cross_8952_before:4] End of track.
2018/08/17 01:06:03 [smart_cross_8952_before:4] Buffer emptied, buffering 
needed.
2018/08/17 01:06:04 [smart_cross_8952:4] Buffering end of track...
2018/08/17 01:06:04 [source:4] Garbage collected add_23312.
2018/08/17 01:06:04 [source:4] Garbage collected fade_in_23311.
2018/08/17 01:06:04 [source:4] Garbage collected smart_cross_8952_after.
2018/08/17 01:06:04 [source:4] Garbage collected buffer_23258.
2018/08/17 01:06:04 [source:4] Garbage collected smart_cross_8952_before.
2018/08/17 01:06:04 [smart_cross_8952:4] More buffering will be needed.
2018/08/17 01:07:03 [decoder:4] Trying method "META" for 
"/home/ubuntu/demo/chill/04 Istikbar.mp3"...
2018/08/17 01:07:03 [decoder:4] Trying method "WAV" for 
"/home/ubuntu/demo/chill/04 Istikbar.mp3"...
2018/08/17 01:07:03 [decoder.wav/aiff:4] Invalid file extension for 
"/home/ubuntu/demo/chill/04 Istikbar.mp3"!
2018/08/17 01:07:03 [decoder:4] Trying method "AIFF" for 
"/home/ubuntu/demo/chill/04 Istikbar.mp3"...
2018/08/17 01:07:03 [decoder.wav/aiff:4] Invalid file extension for 
"/home/ubuntu/demo/chill/04 Istikbar.mp3"!
2018/08/17 01:07:03 [decoder:4] Trying method "MIDI" for 
"/home/ubuntu/demo/chill/04 Istikbar.mp3"...
2018/08/17 01:07:03 [decoder:4] Trying method "IMAGE" for 
"/home/ubuntu/demo/chill/04 Istikbar.mp3"...
2018/08/17 01:07:03 [decoder:4] Trying method "FLAC" for 
"/home/ubuntu/demo/chill/04 Istikbar.mp3"...
2018/08/17 01:07:03 [decoder.flac:4] Invalid file extension for 
"/home/ubuntu/demo/chill/04 Istikbar.mp3"!
2018/08/17 01:07:03 [decoder:4] Trying method "AAC" for 
"/home/ubuntu/demo/chill/04 Istikbar.mp3"...
2018/08/17 01:07:03 [decoder.aac:4] Libfaad recognizes 
"/home/ubuntu/demo/chill/04 Istikbar.mp3" as AAC (44100Hz,2 channels).
2018/08/17 01:07:03 [decoder.aac:4] Invalid file extension for 
"/home/ubuntu/demo/chill/04 Istikbar.mp3"!
2018/08/17 01:07:03 [decoder:4] Trying method "MP4" for 
"/home/ubuntu/demo/chill/04 Istikbar.mp3"...
2018/08/17 01:07:03 [decoder:4] Decoder "MP4" failed on 
"/home/ubuntu/demo/chill/04 Istikbar.mp3": Faad.Failed!
2018/08/17 01:07:03 [decoder:4] Trying method "OGG" for 
"/home/ubuntu/demo/chill/04 Istikbar.mp3"...
2018/08/17 01:07:03 [decoder.ogg:4] Invalid file extension for 
"/home/ubuntu/demo/chill/04 Istikbar.mp3"!
2018/08/17 01:07:03 [decoder:4] Trying method "MAD" for 
"/home/ubuntu/demo/chill/04 Istikbar.mp3"...
2018/08/17 01:07:03 [decoder.mad:4] Libmad recognizes 
"/home/ubuntu/demo/chill/04 Istikbar.mp3" as mpeg audio (layer III, 128kbps, 
44100Hz, 2 channels).
2018/08/17 01:07:03 [decoder:3] Method "MAD" accepted 
"/home/ubuntu/demo/chill/04 Istikbar.mp3".
2018/08/17 01:07:03 [metadata.flac:4] Invalid file extension for 
"/home/ubuntu/demo/chill/04 Istikbar.mp3"!
2018/08/17 01:07:03 [metadata.mp4:4] Invalid file extension for 
"/home/ubuntu/demo/chill/04 Istikbar.mp3"!
2018/08/17 01:07:03 [decoder.ogg:4] Invalid file extension for 
"/home/ubuntu/demo/chill/04 Istikbar.mp3"!
2018/08/17 01:07:03 [chill(dot)m3u:4] Remaining: 9.9s, queued: 0.0s, adding: 
30.0s (RID 10)
2018/08/17 01:07:13 [decoder:4] Decoding "/home/ubuntu/demo/chill/02 Sikiliza 
Kwa Wahenga (Main Title).mp3" ended: Mad.End_of_stream.
2018/08/17 01:07:13 [chill(dot)m3u:3] Finished with "/home/ubuntu/demo/chill/02 
Sikiliza Kwa Wahenga (Main Title).mp3".
2018/08/17 01:07:13 [chill(dot)m3u:4] Remaining: 0.0s, queued: 30.0s, taking: 
30.0s
2018/08/17 01:07:13 [chill(dot)m3u:3] Prepared "/home/ubuntu/demo/chill/04 
Istikbar.mp3" (RID 10).
2018/08/17 01:07:13 [rotate_8947:3] Switch to party(dot)m3u with forgetful 
transition.
2018/08/17 01:07:13 [chill(dot)m3u:4] Activations changed: static=[], 
dynamic=[rotate_8947:switch_8949:fallback_8950:smart_cross_8952, 
rotate_8945:switch_8949:fallback_8950:smart_c
ross_8952, rotate_8943:switch_8949:fallback_8950:smart_cross_8952, 
rotate_8941:switch_8949:fallback_8950:smart_cross_8952].
2018/08/17 01:07:13 [chill(dot)m3u:4] Disabling caching mode.
2018/08/17 01:07:13 [party(dot)m3u:4] Activations changed: 
static=[rotate_8947:switch_8949:fallback_8950:smart_cross_8952, 
rotate_8945:switch_8949:fallback_8950:smart_cross_8952],
dynamic=[rotate_8947:switch_8949:fallback_8950:smart_cross_8952, 
rotate_8945:switch_8949:fallback_8950:smart_cross_8952, 
rotate_8943:switch_8949:fallback_8950:smart_cross_8952].
2018/08/17 01:07:13 [smart_cross_8952:3] Analysis: -62.502080dB / -11.618629dB 
(5.01s / 1.99s)
2018/08/17 01:07:13 [smart_crossfade:4] Before: 
("replaygain_track_peak","0.95651245")
2018/08/17 01:07:13 [smart_crossfade:4] Before: ("album","Get Out")
2018/08/17 01:07:13 [smart_crossfade:4] Before: ("date","2017")
2018/08/17 01:07:13 [smart_crossfade:4] Before: 
("kind","{audio=2;video=0;midi=0}")
2018/08/17 01:07:13 [smart_crossfade:4] Before: ("year","2017")
2018/08/17 01:07:13 [smart_crossfade:4] Before: ("artist","Michael Abels")
2018/08/17 01:07:13 [smart_crossfade:4] Before: ("decoder","MAD")
2018/08/17 01:07:13 [smart_crossfade:4] Before: ("title","Sikiliza Kwa Wahenga 
(Main Title)")
2018/08/17 01:07:13 [smart_crossfade:4] Before: ("label","Back Lot Music")
2018/08/17 01:07:13 [smart_crossfade:4] Before: 
("filename","/home/ubuntu/demo/chill/02 Sikiliza Kwa Wahenga (Main Title).mp3")
2018/08/17 01:07:13 [smart_crossfade:4] Before: ("temporary","false")
2018/08/17 01:07:13 [smart_crossfade:4] Before: ("source","chill(dot)m3u")
2018/08/17 01:07:13 [smart_crossfade:4] Before: ("tracknumber","02/43")
2018/08/17 01:07:13 [smart_crossfade:4] Before: 
("initial_uri","/home/ubuntu/demo/chill/02 Sikiliza Kwa Wahenga (Main 
Title).mp3")
2018/08/17 01:07:13 [smart_crossfade:4] Before: 
("quodlibet::replaygain_reference_loudness","89 dB")
2018/08/17 01:07:13 [smart_crossfade:4] Before: ("playlist_length","23")
2018/08/17 01:07:13 [smart_crossfade:4] Before: ("status","playing")
2018/08/17 01:07:13 [smart_crossfade:4] Before: 
("replaygain_reference_loudness","89 dB")
2018/08/17 01:07:13 [smart_crossfade:4] Before: 
("replaygain_track_gain","-4.25000000 dB")
2018/08/17 01:07:13 [smart_crossfade:4] Before: 
("replaygain_album_gain","-4.25000000 dB")
2018/08/17 01:07:13 [smart_crossfade:4] Before: ("albumartist","Michael Abels")
2018/08/17 01:07:13 [smart_crossfade:4] Before: ("on_air","2018/08/17 01:05:58")
2018/08/17 01:07:13 [smart_crossfade:4] Before: ("rid","6")
2018/08/17 01:07:13 [smart_crossfade:4] Before: 
("replaygain_album_peak","0.95651245")
2018/08/17 01:07:13 [smart_crossfade:4] Before: ("genre","Score")
2018/08/17 01:07:13 [smart_crossfade:4] Before: ("playlist_position","5")
2018/08/17 01:07:13 [smart_crossfade:4] After : 
("replaygain_track_peak","0.98638916")
2018/08/17 01:07:13 [smart_crossfade:4] After : ("album","zouglou youtube rip")
2018/08/17 01:07:13 [smart_crossfade:4] After : ("compatible_brands","iso6mp41")
2018/08/17 01:07:13 [smart_crossfade:4] After : 
("kind","{audio=2;video=0;midi=0}")
2018/08/17 01:07:13 [smart_crossfade:4] After : ("decoder","MAD")
2018/08/17 01:07:13 [smart_crossfade:4] After : ("encoding","Lavf57.19.100")
2018/08/17 01:07:13 [smart_crossfade:4] After : 
("filename","/home/ubuntu/demo/party/Maness Star - La danse du chien.mp3")
2018/08/17 01:07:13 [smart_crossfade:4] After : ("temporary","false")
2018/08/17 01:07:13 [smart_crossfade:4] After : ("source","party(dot)m3u")
2018/08/17 01:07:13 [smart_crossfade:4] After : 
("initial_uri","/home/ubuntu/demo/party/Maness Star - La danse du chien.mp3")
```

This happened at 01:07:13, stream started at 20:58:25. Liq process was still 
using RAM and CPU, strace yields this:
```
strace: Process 29247 attached
rt_sigtimedwait([INT TERM], 
```

I couldn't get a coredump as the env wasn't set for it, but I restarted it 
using gdb, so we'll see...
ocamlc is: 4.05.0
liquidsoap is 1.3.3 from opam
OS is Ubuntu 18.04 64 bits

I will try the branch if that is relevant.
The liq code is here : 
https://gist.github.com/gilou/33ffcdb2d345ea1f09642b4399f33f84
This script (though more complex) runs on liq 1.2.0 / 4.02.3  / ubuntu 16.04.2 
compiled from the source tarball without failing.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/596#issuecomment-413791450
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to