2013/2/17 Azat Galiev <azatxa...@gmail.com>: > Good day, Friends! Hello!!
> My third problem is crashed of liquidsoap when harbor is active. Here is > full script's code: > > -------------------------------- > #!/usr/bin/env liquidsoap > > set("log.file.path", "/home/liquidsoap/logs/shtorm.log") > set("init.daemon", true) > set("init.daemon.pidfile", true) > set("init.daemon.pidfile.path", "<sysrundir>/shtorm.pid") > set("init.daemon.change_user", true) > set("init.daemon.change_user.user", "liquidsoap") > set("init.daemon.change_user.group", "liquidsoap") > set("server.telnet", true) > > def crossfade2(a, b) > add(normalize=false, [sequence([blank(duration=5.), > fade.initial(duration=10., b)]), fade.final(duration=10., a)]) > end > > playlist = request.dynamic({request.create("bar:foo", > indicators=get_process_lines("/home/liquidsoap/get_track.pl"))}) > playlist = crossfade(start_next=5., fade_out=3., fade_in=5., playlist) > playlist = audio_to_stereo(playlist) > live = input.harbor("live", port=9000, password="***", buffer=12., max=17.) > > radio = mksafe(fallback(track_sensitive=false, transitions=[crossfade2, > crossfade2], [live, playlist])) > output.dummy(fallible=true, live) > > out = output.icecast(host="localhost", port=8000, password="***", > name="Радио Шторм", description="Музыка вашего настрения!", genre="Dance, > House, Trance, R&B, Pop", url="http://radio-shtorm.ru/", encoding="UTF-8") > > out(%mp3(stereo=true, samplerate=44100, bitrate=112), mount="112", radio) > out(%mp3(stereo=true, samplerate=44100, bitrate=128), mount="128", radio) > out(%mp3(stereo=true, samplerate=44100, bitrate=64), mount="56", radio) > out(%mp3(stereo=true, samplerate=44100, bitrate=56), mount="32", radio) > out(%aac(channels=2, samplerate=44100, bitrate=40), format="audio/aacp", > mount="aacp", radio) > out(%aac(channels=2, samplerate=44100, bitrate=64), format="audio/aacp", > mount="aacp64", radio) > -------------------------------- > > And sometimes, when harbor is active, liquidsoap crashes with these > messages: > > 2013/02/16 20:55:26 [harbor_4593:2] Feeding stopped: Connection reset by > peer in read(). > 2013/02/16 20:55:26 [threads:3] Thread "harbor source feeding" terminated (1 > remaining). > > 2013/02/16 20:55:15 [harbor_4593:2] Feeding stopped: End_of_file. > 2013/02/16 20:55:15 [threads:3] Thread "harbor source feeding" terminated (1 > remaining). > > 2013/02/16 20:55:47 [harbor_4593:2] Feeding stopped: Connection reset by > peer in read(). > 2013/02/16 20:55:47 [threads:3] Thread "harbor source feeding" terminated (1 > remaining). > 2013/02/16 20:55:47 [threads:2] Queue non-blocking queue #1 crashed with > exception Bad file descriptor in select() > 2013/02/16 20:55:47 [threads:1] PANIC: Liquidsoap has crashed, exiting.. > 2013/02/16 20:55:47 [threads:1] Please report at: savonet-us...@lists.sf.net > > Sometimes falls only harbor. But sometimes, unfortunately, falls liquidsoap. Thanks for the report, it's good timing! One thing that we'd need to know though is: what version of liquidsoap are you using? If it is not the latest code, are you able to test the issue with the latest code? We've been working on this code recently and it's possible that the bug is already fixed but it's also possible it was created with the latest change.. :-) Romain ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users