-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash after stream starts in 1.3.5, but 1.3.4 is ok #5
Comments
Thanks for the effort, this is very helpful. Would you mind running a
Thanks! |
On Jan 7, 2019, at 6:24 AM, Romain Beauxis ***@***.***> wrote:
Thanks for the effort, this is very helpful.
Would you mind running a gdb stack trace against the crash?
liquidsoap did not write any log entries in response to this, and it did not save an OS X crash report.
(I used sudo because without it I got a warning about gdb not being code-signed.)
sudo gdb ~/.opam/default/bin/liquidsoap
GNU gdb (GDB) 8.2.1
[deleted copyright & help notices]
Reading symbols from /Users/bob/.opam/default/bin/liquidsoap...
warning: `/Users/bob/.opam/default/.opam-switch/build/liquidsoap.1.3.5/src/tools/unix_c.o': can't open to read symbols: No such file or directory.
done.
(gdb) run 'set("log.level",4)' 'set("log.file.path","/usr/local/hqp_liquidsoap/log/liquidsoap.log")' 'set("log.file",true)' 'output.icecast(%ogg(%flac(compression=5)), input.pulseaudio(device="4", fallible=true), fallible=true, host="localhost", port=8000, password="sourcepwd", mount="mystream", format="audio/ogg")'
Starting program: /Users/bob/.opam/default/bin/liquidsoap 'set("log.level",4)' 'set("log.file.path","/usr/local/hqp_liquidsoap/log/liquidsoap.log")' 'set("log.file",true)' 'output.icecast(%ogg(%flac(compression=5)), input.pulseaudio(device="4", fallible=true), fallible=true, host="localhost", port=8000, password="sourcepwd", mount="mystream", format="audio/ogg")'
[New Thread 0x1003 of process 23914]
During startup program terminated with signal ?, Unknown signal.
(gdb) thread apply all bt
(gdb)
|
On osx you should use
|
~bob$ lldb --version
lldb-1000.0.38.2
Swift-4.2
~ bob$ lldb ~/.opam/default/bin/liquidsoap
(lldb) target create "/Users/bob/.opam/default/bin/liquidsoap"
Current executable set to '/Users/bob/.opam/default/bin/liquidsoap' (x86_64).
(lldb) r 'set("log.level",4)' 'set("log.file.path","/usr/local/hqp_liquidsoap/log/liquidsoap.log")' 'set("log.file",true)' 'output.icecast(%ogg(%flac(compression=5)), input.pulseaudio(device="4", fallible=true), fallible=true, host="localhost", port=8000, password="sourcepwd", mount="mystream", format="audio/ogg")'
Process 28692 launched: '/Users/bob/.opam/default/bin/liquidsoap' (x86_64)
Process 28692 stopped
* thread #2, stop reason = EXC_BAD_ACCESS (code=2, address=0x102cab668)
frame #0: 0x0000000102cab668
-> 0x102cab668: nop
0x102cab669: stc
Target 0: (liquidsoap) stopped.
(lldb) bt all
thread #1, queue = 'com.apple.main-thread'
frame #0: 0x00007fff712f303a libsystem_kernel.dylib`__sigwait + 10
frame #1: 0x00007fff714bcad9 libsystem_pthread.dylib`sigwait + 61
frame #2: 0x0000000100225caf liquidsoap`caml_wait_signal + 95
frame #3: 0x00000001001a30f0 liquidsoap`camlDtools__wait_signal_2272 + 256
frame #4: 0x00000001001a3236 liquidsoap`camlDtools__main_2520 + 278
frame #5: 0x00000001001a3538 liquidsoap`camlDtools__catch_2532 + 248
frame #6: 0x000000010000bff9 liquidsoap`camlMain__Make_2438 + 1321
frame #7: 0x0000000100009600 liquidsoap`camlRunner__entry + 64
frame #8: 0x0000000100002179 liquidsoap`caml_program + 4969
frame #9: 0x0000000100250ab4 liquidsoap`caml_start_program + 92
frame #10: 0x000000010022ee6c liquidsoap`caml_startup_common(argv=0x00007ffeefbff860, pooling=<unavailable>) at startup.c:157 [opt]
frame #11: 0x000000010022eedb liquidsoap`caml_main [inlined] caml_startup_exn(argv=<unavailable>) at startup.c:162 [opt]
frame #12: 0x000000010022eed4 liquidsoap`caml_main [inlined] caml_startup(argv=<unavailable>) at startup.c:167 [opt]
frame #13: 0x000000010022eed4 liquidsoap`caml_main(argv=<unavailable>) at startup.c:174 [opt]
frame #14: 0x000000010022ef4c liquidsoap`main(argc=<unavailable>, argv=<unavailable>) at main.c:44 [opt]
frame #15: 0x00007fff711a2015 libdyld.dylib`start + 1
* thread #2, stop reason = EXC_BAD_ACCESS (code=2, address=0x102cab668)
* frame #0: 0x0000000102cab668
frame #1: 0x0000000100250ab4 liquidsoap`caml_start_program + 92
frame #2: 0x00000001002483a9 liquidsoap`caml_callback(closure=<unavailable>, arg=<unavailable>) at callback.c:173 [opt]
frame #3: 0x0000000100215e25 liquidsoap`ogg_enc_write_callback + 597
frame #4: 0x0000000100834f99 libFLAC.8.dylib`write_bitbuffer_ + 535
frame #5: 0x0000000100832ce4 libFLAC.8.dylib`init_stream_internal_ + 4409
frame #6: 0x0000000100831ba5 libFLAC.8.dylib`FLAC__stream_encoder_init_stream + 33
frame #7: 0x00000001002160ad liquidsoap`ocaml_flac_encoder_ogg_create + 573
frame #8: 0x000000010016f8a0 liquidsoap`camlOgg_flac__create_inner_1966 + 176
frame #9: 0x000000010003b940 liquidsoap`camlOgg_flac_encoder__get_enc_1642 + 48
frame #10: 0x000000010003ba21 liquidsoap`camlOgg_flac_encoder__header_encoder_1824 + 17
frame #11: 0x000000010003dbd9 liquidsoap`camlOgg_muxer__register_track_1664 + 361
frame #12: 0x000000010003cd14 liquidsoap`camlOgg_encoder__f_1515 + 52
frame #13: 0x00000001001bfa81 liquidsoap`camlStdlib__list__iter_1148 + 33
frame #14: 0x000000010003cc63 liquidsoap`camlOgg_encoder__streams_start_1510 + 83
frame #15: 0x000000010003cd95 liquidsoap`camlOgg_encoder__encode_1511 + 53
frame #16: 0x00000001000998dd liquidsoap`camlOutput__f_2555 + 141
frame #17: 0x0000000100099941 liquidsoap`camlOutput__fun_2976 + 65
frame #18: 0x0000000100097bb7 liquidsoap`camlOutput__fun_2830 + 503
frame #19: 0x00000001000fc0dc liquidsoap`camlClock__fun_3328 + 444
frame #20: 0x00000001001bfb38 liquidsoap`camlStdlib__list__fold_left_1162 + 40
frame #21: 0x00000001000fa5b1 liquidsoap`camlClock__fun_3281 + 225
frame #22: 0x00000001000fd561 liquidsoap`camlClock__loop_2575 + 785
frame #23: 0x00000001000fad0d liquidsoap`camlClock__fun_3525 + 749
frame #24: 0x0000000100121b42 liquidsoap`camlTutils__fun_3123 + 802
frame #25: 0x00000001001b2059 liquidsoap`camlThread__fun_2004 + 137
frame #26: 0x0000000100250ab4 liquidsoap`caml_start_program + 92
frame #27: 0x0000000100226708 liquidsoap`caml_thread_start + 104
frame #28: 0x00007fff714ba661 libsystem_pthread.dylib`_pthread_body + 340
frame #29: 0x00007fff714ba50d libsystem_pthread.dylib`_pthread_start + 377
frame #30: 0x00007fff714b9bf9 libsystem_pthread.dylib`thread_start + 13
thread #3
frame #0: 0x00007fff712f2a16 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff714bb589 libsystem_pthread.dylib`_pthread_cond_wait + 732
frame #2: 0x0000000100226ffd liquidsoap`caml_condition_wait + 93
frame #3: 0x00000001001a4482 liquidsoap`camlDtools__fun_3957 + 66
frame #4: 0x00000001001a428c liquidsoap`camlDtools__mutexify_2889 + 124
frame #5: 0x00000001001a4413 liquidsoap`camlDtools__f_2905 + 35
frame #6: 0x00000001001b2059 liquidsoap`camlThread__fun_2004 + 137
frame #7: 0x0000000100250ab4 liquidsoap`caml_start_program + 92
frame #8: 0x0000000100226708 liquidsoap`caml_thread_start + 104
frame #9: 0x00007fff714ba661 libsystem_pthread.dylib`_pthread_body + 340
frame #10: 0x00007fff714ba50d libsystem_pthread.dylib`_pthread_start + 377
frame #11: 0x00007fff714b9bf9 libsystem_pthread.dylib`thread_start + 13
thread #4
frame #0: 0x00007fff712f2cf2 libsystem_kernel.dylib`__select + 10
frame #1: 0x000000010022676f liquidsoap`caml_thread_tick + 79
frame #2: 0x00007fff714ba661 libsystem_pthread.dylib`_pthread_body + 340
frame #3: 0x00007fff714ba50d libsystem_pthread.dylib`_pthread_start + 377
frame #4: 0x00007fff714b9bf9 libsystem_pthread.dylib`thread_start + 13
thread #5
frame #0: 0x00007fff712f2a16 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff714bb589 libsystem_pthread.dylib`_pthread_cond_wait + 732
frame #2: 0x0000000100226ffd liquidsoap`caml_condition_wait + 93
frame #3: 0x0000000100199a35 liquidsoap`camlDuppy__run_1617 + 645
frame #4: 0x0000000100199bdd liquidsoap`camlDuppy__f_1623 + 61
frame #5: 0x0000000100199765 liquidsoap`camlDuppy__queue_inner_3876 + 501
frame #6: 0x0000000100122132 liquidsoap`camlTutils__queue_2366 + 354
frame #7: 0x0000000100121b42 liquidsoap`camlTutils__fun_3123 + 802
frame #8: 0x00000001001b2059 liquidsoap`camlThread__fun_2004 + 137
frame #9: 0x0000000100250ab4 liquidsoap`caml_start_program + 92
frame #10: 0x0000000100226708 liquidsoap`caml_thread_start + 104
frame #11: 0x00007fff714ba661 libsystem_pthread.dylib`_pthread_body + 340
frame #12: 0x00007fff714ba50d libsystem_pthread.dylib`_pthread_start + 377
frame #13: 0x00007fff714b9bf9 libsystem_pthread.dylib`thread_start + 13
thread #6
frame #0: 0x00007fff712f409a libsystem_kernel.dylib`poll + 10
frame #1: 0x00000001002220d4 liquidsoap`caml_poll(_read=15, _write=3068, _err=3068, _timeout=<unavailable>) at duppy_stubs.c:95 [opt]
frame #2: 0x0000000100197f10 liquidsoap`camlDuppy__poll_1215 + 80
frame #3: 0x0000000100199124 liquidsoap`camlDuppy__f_1540 + 644
frame #4: 0x0000000100198c64 liquidsoap`camlDuppy__process_1531 + 228
frame #5: 0x0000000100199997 liquidsoap`camlDuppy__run_1617 + 487
frame #6: 0x0000000100199bdd liquidsoap`camlDuppy__f_1623 + 61
frame #7: 0x0000000100199765 liquidsoap`camlDuppy__queue_inner_3876 + 501
frame #8: 0x0000000100122132 liquidsoap`camlTutils__queue_2366 + 354
frame #9: 0x0000000100121b42 liquidsoap`camlTutils__fun_3123 + 802
frame #10: 0x00000001001b2059 liquidsoap`camlThread__fun_2004 + 137
frame #11: 0x0000000100250ab4 liquidsoap`caml_start_program + 92
frame #12: 0x0000000100226708 liquidsoap`caml_thread_start + 104
frame #13: 0x00007fff714ba661 libsystem_pthread.dylib`_pthread_body + 340
frame #14: 0x00007fff714ba50d libsystem_pthread.dylib`_pthread_start + 377
frame #15: 0x00007fff714b9bf9 libsystem_pthread.dylib`thread_start + 13
thread #7
frame #0: 0x00007fff712f2a16 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff714bb589 libsystem_pthread.dylib`_pthread_cond_wait + 732
frame #2: 0x0000000100226ffd liquidsoap`caml_condition_wait + 93
frame #3: 0x0000000100199a35 liquidsoap`camlDuppy__run_1617 + 645
frame #4: 0x0000000100199bdd liquidsoap`camlDuppy__f_1623 + 61
frame #5: 0x0000000100199765 liquidsoap`camlDuppy__queue_inner_3876 + 501
frame #6: 0x00000001001220ef liquidsoap`camlTutils__queue_2366 + 287
frame #7: 0x0000000100121b42 liquidsoap`camlTutils__fun_3123 + 802
frame #8: 0x00000001001b2059 liquidsoap`camlThread__fun_2004 + 137
frame #9: 0x0000000100250ab4 liquidsoap`caml_start_program + 92
frame #10: 0x0000000100226708 liquidsoap`caml_thread_start + 104
frame #11: 0x00007fff714ba661 libsystem_pthread.dylib`_pthread_body + 340
frame #12: 0x00007fff714ba50d libsystem_pthread.dylib`_pthread_start + 377
frame #13: 0x00007fff714b9bf9 libsystem_pthread.dylib`thread_start + 13
thread #8
frame #0: 0x00007fff712f2a16 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff714bb589 libsystem_pthread.dylib`_pthread_cond_wait + 732
frame #2: 0x0000000100226ffd liquidsoap`caml_condition_wait + 93
frame #3: 0x0000000100199a35 liquidsoap`camlDuppy__run_1617 + 645
frame #4: 0x0000000100199bdd liquidsoap`camlDuppy__f_1623 + 61
frame #5: 0x0000000100199765 liquidsoap`camlDuppy__queue_inner_3876 + 501
frame #6: 0x00000001001220ef liquidsoap`camlTutils__queue_2366 + 287
frame #7: 0x0000000100121b42 liquidsoap`camlTutils__fun_3123 + 802
frame #8: 0x00000001001b2059 liquidsoap`camlThread__fun_2004 + 137
frame #9: 0x0000000100250ab4 liquidsoap`caml_start_program + 92
frame #10: 0x0000000100226708 liquidsoap`caml_thread_start + 104
frame #11: 0x00007fff714ba661 libsystem_pthread.dylib`_pthread_body + 340
frame #12: 0x00007fff714ba50d libsystem_pthread.dylib`_pthread_start + 377
frame #13: 0x00007fff714b9bf9 libsystem_pthread.dylib`thread_start + 13
thread #9
frame #0: 0x00007fff712f2a16 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff714bb589 libsystem_pthread.dylib`_pthread_cond_wait + 732
frame #2: 0x0000000100226ffd liquidsoap`caml_condition_wait + 93
frame #3: 0x0000000100122bea liquidsoap`camlTutils__fun_3267 + 58
frame #4: 0x000000010012137c liquidsoap`camlTutils__mutexify_1007 + 108
frame #5: 0x00000001001a3429 liquidsoap`camlDtools__thread_2525 + 233
frame #6: 0x00000001001b2059 liquidsoap`camlThread__fun_2004 + 137
frame #7: 0x0000000100250ab4 liquidsoap`caml_start_program + 92
frame #8: 0x0000000100226708 liquidsoap`caml_thread_start + 104
frame #9: 0x00007fff714ba661 libsystem_pthread.dylib`_pthread_body + 340
frame #10: 0x00007fff714ba50d libsystem_pthread.dylib`_pthread_start + 377
frame #11: 0x00007fff714b9bf9 libsystem_pthread.dylib`thread_start + 13
thread #10, name = 'threaded-ml'
frame #0: 0x00007fff712f2cf2 libsystem_kernel.dylib`__select + 10
frame #1: 0x00000001008f01c2 libpulsecommon-12.2.dylib`pa_poll + 430
frame #2: 0x00000001007d10a3 libpulse.0.dylib`poll_func + 54
frame #3: 0x00000001007c2ef0 libpulse.0.dylib`pa_mainloop_poll + 240
frame #4: 0x00000001007c3447 libpulse.0.dylib`pa_mainloop_iterate + 46
frame #5: 0x00000001007c34dc libpulse.0.dylib`pa_mainloop_run + 29
frame #6: 0x00000001007d1437 libpulse.0.dylib`thread + 111
frame #7: 0x00000001008f0f01 libpulsecommon-12.2.dylib`internal_thread_func + 79
frame #8: 0x00007fff714ba661 libsystem_pthread.dylib`_pthread_body + 340
frame #9: 0x00007fff714ba50d libsystem_pthread.dylib`_pthread_start + 377
frame #10: 0x00007fff714b9bf9 libsystem_pthread.dylib`thread_start + 13
(lldb)
|
Thanks for this. As I was fearing, the flac encoder is the source of your issue. The implementation for this encoder is tricky, I'll try to revisit it as soon as time allows. |
Actually, I just realized that there's a list of pending changes on this binding. Any chance you could test with the latest code? Here's how to do it with
|
On Wed, Jan 09, 2019 at 08:49:06AM -0800, Romain Beauxis wrote:
Thanks for this. As I was fearing, the flac encoder is the source of your issue. The implementation for this encoder is tricky, I'll try to revisit it as soon as time allows.
--
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/686#issuecomment-452757924
Will this issue affect the play back of flac files? I have a number in my playlist. Should we convert them to something else till this issue is resolved?
|
hoi,
in windows flac decoding and encoding works fine, how comes?
p
… Will this issue affect the play back of flac files? I have a number in my playlist. Should we convert them to something else till this ...
|
My success with the dev version of ocaml-flac was short-lived. Liquidsoap 1.3.5 still crashes as soon as the stream begins. (However, 1.3.4 continues to work.)
|
Ok, I can reproduce! Stay tuned.. |
Ok, last commit should have fixed it. Mind trying? |
On Jan 9, 2019, at 7:32 PM, Romain Beauxis ***@***.***> wrote:
Ok, last commit should have fixed it. Mind trying?
Your changes to ocaml-flac and liquidsoap eliminated the crash, but now liquidsoap cannot output to icecast. The error written to the log is:
[mystream:2] Error while sending data: could not write data to host: Broken pipe in write()!
Again, my bash script is (spaces replaced by line breaks for clarity):
~/.opam/default/bin/liquidsoap
set("log.level",4)’ 'set("log.file.path","/usr/local/hqp_liquidsoap/log/liquidsoap.log")' 'set("log.file",true)’
'output.icecast(%ogg(%flac(compression=5)), input.pulseaudio(device="4", fallible=true), fallible=true, host="localhost", port=8000, password="sourcepwd", mount="mystream", format="audio/ogg”)'
Log output:
2019/01/10 00:29:23 >>> LOG START
2019/01/10 00:29:23 [main:3] Liquidsoap 1.3.5+scm (file:///Users/bob/liquidsoap@e4b4b299d5f424a2cd580e79cf6985473709811a:20190109:235513)
2019/01/10 00:29:23 [main:3] Using: bytes=[distributed with OCaml 4.02 or above] pcre=7.3.5 dtools=0.4.1 duppy=0.8.0 cry=0.6.2 mm=0.4.0 ogg=0.5.2 flac=0.1.4 flac.ogg=0.1.4 dynlink=[distributed with Ocaml] magic=0.7.3 camomile=1.0.1 inotify=2.1 pulseaudio=0.1.3
2019/01/10 00:29:23 [main:2]
2019/01/10 00:29:23 [main:2] DISCLAIMER: This version of Liquidsoap has been
2019/01/10 00:29:23 [main:2] compiled from a snapshot of the development code.
2019/01/10 00:29:23 [main:2] As such, it should not be used in production
2019/01/10 00:29:23 [main:2] unless you know what you are doing!
2019/01/10 00:29:23 [main:2]
2019/01/10 00:29:23 [main:2] We are, however, very interested in any feedback
2019/01/10 00:29:23 [main:2] about our development code and committed to fix
2019/01/10 00:29:23 [main:2] issues as soon as possible.
2019/01/10 00:29:23 [main:2]
2019/01/10 00:29:23 [main:2] If you are interested in collaborating to
2019/01/10 00:29:23 [main:2] the development of Liquidsoap, feel free to
2019/01/10 00:29:23 [main:2] drop us a mail at <[email protected]>
2019/01/10 00:29:23 [main:2] or to join the #savonet IRC channel on Freenode.
2019/01/10 00:29:23 [main:2]
2019/01/10 00:29:23 [main:2] Please send any bug report or feature request
2019/01/10 00:29:23 [main:2] at <https://github.com/savonet/liquidsoap/issues>.
2019/01/10 00:29:23 [main:2]
2019/01/10 00:29:23 [main:2] We hope you enjoy this snapshot build of Liquidsoap!
2019/01/10 00:29:23 [main:2]
2019/01/10 00:29:23 [dynamic.loader:3] Could not find dynamic module for lame encoder.
2019/01/10 00:29:23 [dynamic.loader:3] Could not find dynamic module for fdkaac encoder.
2019/01/10 00:29:23 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
2019/01/10 00:29:23 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.
2019/01/10 00:29:23 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.
2019/01/10 00:29:23 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.
2019/01/10 00:29:23 [video.converter:4] Couldn't find preferred video converter: gavl.
2019/01/10 00:29:23 [audio.converter:4] Couldn't find preferred samplerate converter: libsamplerate.
2019/01/10 00:29:23 [audio.converter:4] Using native samplerate converter
2019/01/10 00:29:23 [threads:3] Created thread "generic queue #1".
2019/01/10 00:29:23 [threads:3] Created thread "generic queue #2".
2019/01/10 00:29:23 [threads:3] Created thread "non-blocking queue #1".
2019/01/10 00:29:23 [threads:3] Created thread "non-blocking queue #2".
2019/01/10 00:29:23 [clock:4] Currently 1 clocks allocated.
2019/01/10 00:29:23 [clock.wallclock_pulse:4] Starting 2 sources...
2019/01/10 00:29:23 [source:4] Source pulse_6193 gets up.
2019/01/10 00:29:23 [clock.wallclock_pulse:4] Delegating clock to active sources.
2019/01/10 00:29:23 [pulse_in(4):4] Activations changed: static=[pulse_in(4)], dynamic=[].
2019/01/10 00:29:23 [pulse_in(4):4] Enabling caching mode: active source.
2019/01/10 00:29:23 [source:4] Source output.icecast_6197 gets up.
2019/01/10 00:29:23 [pulse_in(4):4] Activations changed: static=[mystream:mystream, pulse_in(4)], dynamic=[].
2019/01/10 00:29:23 [mystream:4] Activations changed: static=[mystream], dynamic=[].
2019/01/10 00:29:23 [mystream:4] Enabling caching mode: active source.
2019/01/10 00:29:23 [mystream:3] Connecting mount mystream for source@localhost...
2019/01/10 00:29:23 [mystream:3] Connection setup was successful.
2019/01/10 00:29:23 [threads:3] Created thread "wallclock_pulse" (1 total).
2019/01/10 00:29:23 [clock:4] Main phase starts.
2019/01/10 00:29:23 [clock.wallclock_pulse:3] Streaming loop starts, synchronized by active sources.
2019/01/10 00:29:23 [ogg.muxer:4] mystream: Starting all streams
2019/01/10 00:30:10 [mystream:2] Error while sending data: could not write data to host: Broken pipe in write()!
2019/01/10 00:30:10 [ogg.muxer:4] mystream: Setting end of track 1a29e929.
2019/01/10 00:30:10 [ogg.muxer:4] mystream: Every ogg logical tracks have ended: setting end of stream.
2019/01/10 00:30:10 [mystream:3] Closing connection...
2019/01/10 00:30:10 [mystream:3] Will try to reconnect in 3.00 seconds.
2019/01/10 00:30:14 [mystream:3] Connecting mount mystream for source@localhost...
2019/01/10 00:30:14 [mystream:3] Connection setup was successful.
2019/01/10 00:30:14 [ogg.muxer:4] mystream: Starting all streams
2019/01/10 00:30:27 [mystream:2] Error while sending data: could not write data to host: Broken pipe in write()!
2019/01/10 00:30:27 [ogg.muxer:4] mystream: Setting end of track 1e6a5bc9.
2019/01/10 00:30:27 [ogg.muxer:4] mystream: Every ogg logical tracks have ended: setting end of stream.
2019/01/10 00:30:27 [mystream:3] Closing connection...
2019/01/10 00:30:27 [mystream:3] Will try to reconnect in 3.00 seconds.
2019/01/10 00:30:31 [mystream:3] Connecting mount mystream for source@localhost...
2019/01/10 00:30:31 [mystream:3] Connection setup was successful.
2019/01/10 00:30:31 [ogg.muxer:4] mystream: Starting all streams
2019/01/10 00:30:31 [mystream:2] Error while sending data: could not write data to host: Broken pipe in write()!
2019/01/10 00:30:31 [ogg.muxer:4] mystream: Setting end of track 232a392.
2019/01/10 00:30:31 [ogg.muxer:4] mystream: Every ogg logical tracks have ended: setting end of stream.
2019/01/10 00:30:31 [mystream:3] Closing connection...
2019/01/10 00:30:31 [mystream:3] Will try to reconnect in 3.00 seconds.
2019/01/10 00:30:35 [mystream:3] Connecting mount mystream for source@localhost...
2019/01/10 00:30:35 [mystream:3] Connection setup was successful.
2019/01/10 00:30:35 [ogg.muxer:4] mystream: Starting all streams
2019/01/10 00:30:35 [mystream:2] Error while sending data: could not write data to host: Broken pipe in write()!
2019/01/10 00:30:35 [ogg.muxer:4] mystream: Setting end of track 289d70e6.
2019/01/10 00:30:35 [ogg.muxer:4] mystream: Every ogg logical tracks have ended: setting end of stream.
2019/01/10 00:30:35 [mystream:3] Closing connection...
2019/01/10 00:30:35 [mystream:3] Will try to reconnect in 3.00 seconds.
2019/01/10 00:30:39 [mystream:3] Connecting mount mystream for source@localhost...
2019/01/10 00:30:39 [mystream:3] Connection setup was successful.
2019/01/10 00:30:39 [ogg.muxer:4] mystream: Starting all streams
2019/01/10 00:30:39 [mystream:2] Error while sending data: could not write data to host: Broken pipe in write()!
2019/01/10 00:30:39 [ogg.muxer:4] mystream: Setting end of track 2673f260.
2019/01/10 00:30:39 [ogg.muxer:4] mystream: Every ogg logical tracks have ended: setting end of stream.
2019/01/10 00:30:39 [mystream:3] Closing connection...
2019/01/10 00:30:39 [mystream:3] Will try to reconnect in 3.00 seconds.
2019/01/10 00:30:43 [mystream:3] Connecting mount mystream for source@localhost...
2019/01/10 00:30:43 [mystream:3] Connection setup was successful.
2019/01/10 00:30:43 [ogg.muxer:4] mystream: Starting all streams
2019/01/10 00:30:43 [mystream:2] Error while sending data: could not write data to host: Broken pipe in write()!
2019/01/10 00:30:43 [ogg.muxer:4] mystream: Setting end of track 283ad766.
2019/01/10 00:30:43 [ogg.muxer:4] mystream: Every ogg logical tracks have ended: setting end of stream.
2019/01/10 00:30:43 [mystream:3] Closing connection...
2019/01/10 00:30:43 [mystream:3] Will try to reconnect in 3.00 seconds.
2019/01/10 00:30:47 [mystream:3] Connecting mount mystream for source@localhost...
2019/01/10 00:30:47 [mystream:3] Connection setup was successful.
2019/01/10 00:30:47 [ogg.muxer:4] mystream: Starting all streams
2019/01/10 00:30:47 [mystream:2] Error while sending data: could not write data to host: Broken pipe in write()!
2019/01/10 00:30:47 [ogg.muxer:4] mystream: Setting end of track 264a5aad.
2019/01/10 00:30:47 [ogg.muxer:4] mystream: Every ogg logical tracks have ended: setting end of stream.
2019/01/10 00:30:47 [mystream:3] Closing connection...
2019/01/10 00:30:47 [mystream:3] Will try to reconnect in 3.00 seconds.
2019/01/10 00:30:51 [mystream:3] Connecting mount mystream for source@localhost...
2019/01/10 00:30:51 [mystream:3] Connection setup was successful.
2019/01/10 00:30:51 [ogg.muxer:4] mystream: Starting all streams
2019/01/10 00:30:51 [mystream:2] Error while sending data: could not write data to host: Broken pipe in write()!
2019/01/10 00:30:51 [ogg.muxer:4] mystream: Setting end of track 14e101fc.
2019/01/10 00:30:51 [ogg.muxer:4] mystream: Every ogg logical tracks have ended: setting end of stream.
2019/01/10 00:30:51 [mystream:3] Closing connection...
2019/01/10 00:30:51 [mystream:3] Will try to reconnect in 3.00 seconds.
2019/01/10 00:30:55 [mystream:3] Connecting mount mystream for source@localhost...
2019/01/10 00:30:55 [mystream:3] Connection setup was successful.
2019/01/10 00:30:55 [ogg.muxer:4] mystream: Starting all streams
2019/01/10 00:30:55 [mystream:2] Error while sending data: could not write data to host: Broken pipe in write()!
2019/01/10 00:30:55 [ogg.muxer:4] mystream: Setting end of track 1d809512.
2019/01/10 00:30:55 [ogg.muxer:4] mystream: Every ogg logical tracks have ended: setting end of stream.
2019/01/10 00:30:55 [mystream:3] Closing connection...
2019/01/10 00:30:55 [mystream:3] Will try to reconnect in 3.00 seconds.
2019/01/10 00:30:59 [mystream:3] Connecting mount mystream for source@localhost...
2019/01/10 00:30:59 [mystream:3] Connection setup was successful.
2019/01/10 00:30:59 [ogg.muxer:4] mystream: Starting all streams
2019/01/10 00:30:59 [mystream:2] Error while sending data: could not write data to host: Broken pipe in write()!
2019/01/10 00:30:59 [ogg.muxer:4] mystream: Setting end of track 37954f32.
2019/01/10 00:30:59 [ogg.muxer:4] mystream: Every ogg logical tracks have ended: setting end of stream.
2019/01/10 00:30:59 [mystream:3] Closing connection...
2019/01/10 00:30:59 [mystream:3] Will try to reconnect in 3.00 seconds.
2019/01/10 00:31:03 [mystream:3] Connecting mount mystream for source@localhost...
2019/01/10 00:31:03 [mystream:3] Connection setup was successful.
2019/01/10 00:31:03 [ogg.muxer:4] mystream: Starting all streams
2019/01/10 00:31:03 [mystream:2] Error while sending data: could not write data to host: Broken pipe in write()!
2019/01/10 00:31:03 [ogg.muxer:4] mystream: Setting end of track 356d65bf.
2019/01/10 00:31:03 [ogg.muxer:4] mystream: Every ogg logical tracks have ended: setting end of stream.
2019/01/10 00:31:03 [mystream:3] Closing connection...
2019/01/10 00:31:03 [mystream:3] Will try to reconnect in 3.00 seconds.
2019/01/10 00:31:07 [mystream:3] Connecting mount mystream for source@localhost...
2019/01/10 00:31:07 [mystream:3] Connection setup was successful.
2019/01/10 00:31:07 [ogg.muxer:4] mystream: Starting all streams
2019/01/10 00:31:07 [mystream:2] Error while sending data: could not write data to host: Broken pipe in write()!
2019/01/10 00:31:07 [ogg.muxer:4] mystream: Setting end of track 20e60548.
2019/01/10 00:31:07 [ogg.muxer:4] mystream: Every ogg logical tracks have ended: setting end of stream.
2019/01/10 00:31:07 [mystream:3] Closing connection...
2019/01/10 00:31:07 [mystream:3] Will try to reconnect in 3.00 seconds.
|
Ok, thanks for your patience. This is all fixed now, will release the binding shortly. |
After upgrading liquidsoap to 1.3.5, it crashes as soon as the stream starts. Downgrading to 1.3.4 solved the problem. opam did not downgrade any of the dependencies when downgrading liquidsoap to 1.3.4, so the problem seems to be in liquidsoap itself.
Before liquidsoap crashes, I know it briefly transmits a stream to icecast because icecast runs an “on-connect” script I configured in icecast.
Liquidsoap is launched from a bash script with this command:
Log output from liquidsoap: (Crashes immediately after last entry.)
Libraries:
The text was updated successfully, but these errors were encountered: