Yes, it's fixed.
I'm on Ubuntu 20.04. Liquidsoap is installed by apt and the package is from https://github.com/savonet/liquidsoap/releases, created by savonet.
I have not set("init.catch_exn", false).
Thanks, but thats not enough.
cp config/sample-production.engine-core.ini config/engine-core.ini
Now I get:
[ Run mode=core ]
[ Docker=false ]
**************************************************************************************
AURA ENGINE:CORE - LIQUIDSOAP SETTINGS
**************************************************************************************
Engine Configuration Folder: '../config'
Station Fallback Playlist: '../audio/playlist/station-fallback-playlist.m3u'
Station Fallback Directory: '../audio/station'
**************************************************************************************
2021/06/14 23:03:35 >>> LOG START
2021/06/14 23:03:33 [main:3] Liquidsoap 1.4.3
2021/06/14 23:03:33 [main:3] Using: bytes=[distributed with OCaml 4.02 or above] pcre=7.4.6 sedlex=2.2 menhirLib=20200624 dtools=0.4.1 duppy=0.8.0 cry=0.6.4 mm=0.5.0 xmlplaylist=0.1.4 lastfm=0.3.2 ogg=0.5.2 vorbis=0.7.1 opus=0.1.3 speex=0.2.1 mad=0.4.6 flac=0.1.5 flac.ogg=0.1.5 dynlink=[distributed with Ocaml] lame=0.3.4 shine=0.2.1 gstreamer=0.3.0 frei0r=0.1.1 fdkaac=0.3.2 theora=0.3.1 gavl=0.1.6 ffmpeg=0.4.3 bjack=0.1.5 alsa=0.2.3 ao=0.2.1 samplerate=0.1.4 taglib=0.3.6 ssl=0.5.9 magic=0.7.3 camomile=1.0.2 inotify=2.3 yojson=1.7.0 faad=0.4.0 soundtouch=0.1.8 portaudio=0.2.1 pulseaudio=0.1.3 ladspa=0.1.5 dssi=0.1.2 sdl=0.9.1 camlimages=4.2.6 srt.types=0.1.1 srt.stubs=0.1.1 srt.stubs=0.1.1 srt=0.1.1 lo=0.1.2 gd=1.0a5
2021/06/14 23:03:35 [gstreamer.loader:3] Loaded GStreamer 1.16.2 0
2021/06/14 23:03:35 [lang:3] Config file used: ../config/engine-core.ini
2021/06/14 23:03:35 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
2021/06/14 23:03:35 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.
2021/06/14 23:03:35 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.
2021/06/14 23:03:35 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.
2021/06/14 23:03:35 [lang:3] --- Set ALSA Output ---
2021/06/14 23:03:35 [sandbox:3] Sandboxing disabled
2021/06/14 23:03:35 [video.converter:3] Using preferred video converter: gavl.
2021/06/14 23:03:35 [audio.converter:3] Using samplerate converter: libsamplerate.
2021/06/14 23:03:35 [station_playlist:3] Loading playlist...
2021/06/14 23:03:35 [request:3] Nonexistent file or ill-formed URI "../audio/playlist/station-fallback-playlist.m3u"!
2021/06/14 23:03:35 [station_playlist:2] Failed when resolving playlist URI "../audio/playlist/station-fallback-playlist.m3u"!
2021/06/14 23:03:35 [station_playlist:3] Successfully loaded a playlist of 0 tracks.
2021/06/14 23:03:35 [clock.wallclock_alsa:2] Error when starting lineout: No such file or directory in inotify_add_watch(../audio/playlist/station-fallback-playlist.m3u)!
2021/06/14 23:03:35 [clock.wallclock_alsa:3] Raised by primitive operation at file "tools/file_watcher_inotify.ml", line 63, characters 15-42
2021/06/14 23:03:35 [clock.wallclock_alsa:3] Called from file "tools/tutils.ml", line 89, characters 14-17
2021/06/14 23:03:35 [clock.wallclock_alsa:3] Re-raised at file "tools/tutils.ml", line 94, characters 4-11
2021/06/14 23:03:35 [clock.wallclock_alsa:3] Called from file "sources/playlist.ml", line 468, characters 20-150
2021/06/14 23:03:35 [clock.wallclock_alsa:3] Called from file "tools/tutils.ml", line 89, characters 14-17
2021/06/14 23:03:35 [clock.wallclock_alsa:3] Re-raised at file "tools/tutils.ml", line 94, characters 4-11
2021/06/14 23:03:35 [clock.wallclock_alsa:3] Called from file "list.ml", line 110, characters 12-15
2021/06/14 23:03:35 [clock.wallclock_alsa:3] Called from file "source.ml", line 413, characters 8-20
2021/06/14 23:03:35 [clock.wallclock_alsa:3] Called from file "list.ml", line 110, characters 12-15
2021/06/14 23:03:35 [clock.wallclock_alsa:3] Called from file "source.ml", line 413, characters 8-20
2021/06/14 23:03:35 [clock.wallclock_alsa:3] Called from file "operators/switch.ml", line 109, characters 10-21
2021/06/14 23:03:35 [clock.wallclock_alsa:3] Called from file "list.ml", line 110, characters 12-15
2021/06/14 23:03:35 [clock.wallclock_alsa:3] Called from file "source.ml", line 413, characters 8-20
2021/06/14 23:03:35 [clock.wallclock_alsa:3] Called from file "operators/switch.ml", line 109, characters 10-21
2021/06/14 23:03:35 [clock.wallclock_alsa:3] Called from file "list.ml", line 110, characters 12-15
2021/06/14 23:03:35 [clock.wallclock_alsa:3] Called from file "source.ml", line 413, characters 8-20
2021/06/14 23:03:35 [clock.wallclock_alsa:3] Called from file "outputs/output.ml", line 134, characters 6-22
2021/06/14 23:03:35 [clock.wallclock_alsa:3] Called from file "source.ml", line 413, characters 8-20
2021/06/14 23:03:35 [clock.wallclock_alsa:3] Called from file "clock.ml", line 228, characters 16-27
2021/06/14 23:03:35 [lineout:1] Got ill-balanced activations (from lineout)!
2021/06/14 23:03:35 [clock:2] Error when leaving output lineout: File "source.ml", line 435, characters 12-18: Assertion failed!
2021/06/14 23:03:35 [clock:3] Raised at file "source.ml", line 435, characters 12-24
2021/06/14 23:03:35 [clock:3] Called from file "source.ml", line 440, characters 33-61
2021/06/14 23:03:35 [clock:3] Called from file "clock.ml", line 84, characters 6-13
2021/06/14 23:03:35 [linein_0:2] Falling back on interleaved S16LE
2021/06/14 23:03:35 [clock.wallclock_alsa:3] Streaming loop starts, synchronized with wallclock.
2021/06/14 23:03:35 [clock.wallclock_main:3] Streaming loop starts, synchronized with wallclock.
2021/06/14 23:03:35 [main:3] Shutdown started!
2021/06/14 23:03:35 [main:3] Waiting for main threads to terminate...
2021/06/14 23:03:35 [clock.wallclock_alsa:3] Streaming loop stopped.
2021/06/14 23:03:35 [clock.wallclock_main:3] Streaming loop stopped.
Now I could not stop with Ctrl+C but have to kill liquidsoap.
But it works when I create the missing file station-fallback-playlist.m3u:
mkdir audio/playlist
touch audio/playlist/station-fallback-playlist.m3u
So either the file station-fallback-playlist.m3u should be part of the distribution or the absence of the file should not lead to a crash.
Just test it again and it does not work as expected:
wget https://gitlab.servus.at/aura/engine-core/-/archive/master/engine-core-master.zip
unzip engine-core-master.zip
This time I got no crash but nothing happend.