Skip to content
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

2.3.1 x64 windows build release exits without error #4345

Open
smoralis opened this issue Feb 6, 2025 · 2 comments
Open

2.3.1 x64 windows build release exits without error #4345

smoralis opened this issue Feb 6, 2025 · 2 comments
Labels

Comments

@smoralis
Copy link

smoralis commented Feb 6, 2025

Description

The script starts and exits without error.

Comparing 2.3.1 with 2.3.0 it seems to quit at [decoder.ffmpeg]

Steps to reproduce

Simple script

log.file.set(true)
settings.log.file.append := false
settings.log.level := 5
settings.debug := true
settings.debug_errors := true
settings.ffmpeg.log.level := 5
settings.ffmpeg.log.verbosity := "trace"


s = input.http("http://wwoz-sc.streamguys1.com/wwoz-hi.mp3")


output.dummy( fallible=true, s)

Log

HTPC@HTPC-PC C:\PortableApps\liquidsoap-2.3.1-win64
$ liquidsoap.exe test.liq
2025/02/06 19:05:03 >>> LOG START
2025/02/06 19:04:59 [ffmpeg.filter.bitstream:3] No valid mode found for filter pgs_frame_merge!
2025/02/06 19:04:59 [main:3] Liquidsoap 2.3.1
2025/02/06 19:04:59 [main:3] Using: angstrom=0.15.0 ao=0.2.4 backoff=0.1.0 base=v0.16.3 base.base_internalhash_types=v0.16.3 base.caml=v0.16.3 base.shadow_stdlib=v0.16.3 bigarray=[distributed with Ocaml] bigarray-compat=1.0.0 bigstringaf=0.9.1 bytes=[distributed with OCaml 4.02 or above] camlp-streams camomile.lib=2.0 cry=1.0.2 ctypes=0.22.0 ctypes-foreign=0.22.0 ctypes.stubs=0.22.0 curl=0.9.2 dtools=0.4.5 dune-build-info=3.2.0 dune-private-libs.dune-section=3.2.0 dune-site=3.2.0 duppy=0.9.4 ffmpeg-av=1.2.1 ffmpeg-avcodec=1.2.1 ffmpeg-avdevice=1.2.1 ffmpeg-avfilter=1.2.1 ffmpeg-avutil=1.2.1 ffmpeg-swresample=1.2.1 ffmpeg-swscale=1.2.1 fileutils=0.6.4 gen=1.1 integers liquidsoap-lang=2.3.1 liquidsoap-lang.console=2.3.1 liquidsoap_ao liquidsoap_builtins liquidsoap_core liquidsoap_ffmpeg liquidsoap_ndi liquidsoap_optionals liquidsoap_portaudio liquidsoap_runtime liquidsoap_samplerate liquidsoap_srt liquidsoap_ssl liquidsoap_stereotool magic-mime=1.3.1 mem_usage=0.1.1 menhirLib=20240715 metadata=0.3.0 mm=0.8.6 mm.audio=0.8.6 mm.base=0.8.6 mm.image=0.8.6 mm.midi=0.8.6 mm.video=0.8.6 multicore-magic=2.3.0 multicore-magic.__private__.multicore_magic_atomic_array_ocaml4=2.3.0 ndi portaudio=0.2.3 posix-base=2.0.2 posix-socket=2.2.0 posix-socket.constants=2.2.0 posix-socket.stubs=2.2.0 posix-socket.types=2.2.0 ppx_compare.runtime-lib=v0.16.0 ppx_hash.runtime-lib=v0.16.0 ppx_sexp_conv.runtime-lib=v0.16.0 re=1.11.0 samplerate=0.1.6 saturn_lockfree=0.5.0 sedlex=3.2 seq=[distributed with OCaml 4.07 or above] sexplib0=v0.16.0 srt=0.3.3 srt.constants=0.3.3 srt.stubs=0.3.3 srt.stubs.locked=0.3.3 srt.types=0.3.3 ssl=0.7.0 stdlib-shims=0.3.0 stereotool str=[distributed with Ocaml] stringext=1.6.0 threads=[distributed with Ocaml] threads.posix=[internal] unix=[distributed with Ocaml] uri=4.2.0 winsvc=1.0.1 xml-light=2.5
2025/02/06 19:04:59 [clock:3] Using builtin (low-precision) implementation for latency control
2025/02/06 19:05:03 [frame:4] frame.audio.samplerate set to: 44100
[AVFormatContext @ 00000170fe18e840] 2025/02/06 19:05:03 [frame:4] frame.video.framerate set to: 25
Opening 'http://wwoz-sc.streamguys1.com/wwoz-hi.mp3' for reading
2025/02/06 19:05:03 [main:3] User script loaded in 3.83 seconds.
[http @ 00000170fe18ef00] 2025/02/06 19:05:03 [lifecycle:5] At stage: "Liquidsoap script parse"
2025/02/06 19:05:03 [lifecycle:5] Executing action frame settings eval (stage: after Liquidsoap script parse)
2025/02/06 19:05:03 [frame:4] frame.audio.channels set to: 2
2025/02/06 19:05:03 [frame:4] frame.video.default set to: false
2025/02/06 19:05:03 [frame:4] frame.midi.channels set to: 0
2025/02/06 19:05:03 [frame:4] frame.video.width set to: 1280
2025/02/06 19:05:03 [frame:4] frame.video.height set to: 720
2025/02/06 19:05:03 [frame:4] frame.audio.samplerate set to: 44100
2025/02/06 19:05:03 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz main.
2025/02/06 19:05:03 [frame:3] Video frame size set to: 1280x720
2025/02/06 19:05:03 [frame:3] Targeting 'frame.duration': 0.02s = 882 ticks.
2025/02/06 19:05:03 [lifecycle:5] Executing action start (stage: after Liquidsoap script parse)
2025/02/06 19:05:03 [lifecycle:5] Executing action main application before start (stage: before Liquidsoap application start)
2025/02/06 19:05:03 [lifecycle:5] Executing action sandbox start (stage: before Liquidsoap application start)
2025/02/06 19:05:03 [sandbox:3] Could not find binary bwrap, disabling sandboxing.
2025/02/06 19:05:03 [lifecycle:5] Executing action core startup (stage: before Liquidsoap application start)
2025/02/06 19:05:03 [startup:3] FFmpeg filters registration: 0.05s
2025/02/06 19:05:03 [startup:3] FFmpeg bitstream filters registration: 0.00s
2025/02/06 19:05:03 [startup:3] main script hash computation: 0.06s
2025/02/06 19:05:03 [startup:3] main script cache retrieval: 0.06s
2025/02/06 19:05:03 [startup:3] stdlib hash computation: 0.05s
2025/02/06 19:05:03 [startup:3] stdlib cache retrieval: 0.05s
2025/02/06 19:05:03 [startup:3] Typechecking stdlib: 3.11s
2025/02/06 19:05:03 [startup:3] Error while saving cache: Failure("output_value: not a binary channel")
2025/02/06 19:05:03 [startup:3] Typechecking main script: 0.02s
2025/02/06 19:05:03 [startup:3] Error while saving cache: Failure("output_value: not a binary channel")
2025/02/06 19:05:03 [startup:3] Evaluating main script: 0.03s
2025/02/06 19:05:03 [lifecycle:5] Executing action Clocks start (stage: before Liquidsoap application start)
2025/02/06 19:05:03 [clock:3] Starting clock generic with 2 source(s) and sync: auto
2025/02/06 19:05:03 [threads:4] Created thread "Clock generic" (1 total).
2025/02/06 19:05:03 [lifecycle:5] At stage: "before Liquidsoap application start"
2025/02/06 19:05:03 [lifecycle:5] Executing action main application start (stage: Liquidsoap application start)
2025/02/06 19:05:03 [threads:4] Created thread "generic queue #1" (1 total).
2025/02/06 19:05:03 [threads:4] Created thread "generic queue #2" (2 total).
2025/02/06 19:05:03 [threads:4] Created thread "generic queue #3" (3 total).
2025/02/06 19:05:03 [threads:4] Created thread "generic queue #4" (4 total).
2025/02/06 19:05:03 [threads:4] Created thread "generic queue #5" (5 total).
2025/02/06 19:05:03 [threads:4] Created thread "non-blocking queue #1" (6 total).
2025/02/06 19:05:03 [threads:4] Created thread "non-blocking queue #2" (7 total).
2025/02/06 19:05:03 [lifecycle:5] Executing action ffmpeg utils initialization (stage: Liquidsoap application start)
2025/02/06 19:05:03 [lifecycle:5] Executing action video converter initialization (stage: Liquidsoap application start)
2025/02/06 19:05:03 [video.converter:3] Using preferred video converter: ffmpeg.
2025/02/06 19:05:03 [lifecycle:5] Executing action audio samplerate converter initialization (stage: Liquidsoap application start)
2025/02/06 19:05:03 [audio.converter:3] Using samplerate converter: libsamplerate.
2025/02/06 19:05:03 [lifecycle:5] At stage: "Liquidsoap application start"
2025/02/06 19:05:03 [lifecycle:5] Executing action thread start (stage: after Liquidsoap application start)
2025/02/06 19:05:03 [clock.generic:4] Clock thread is starting
2025/02/06 19:05:03 [input.http:5] Assigning source content type for frame type: 'A
2025/02/06 19:05:03 [input.http:5] Content type: {audio=pcm(stereo)}
2025/02/06 19:05:03 [source:4] Source input.http gets up with content type: {audio=pcm(stereo)} and frame type: 'A.
2025/02/06 19:05:03 [input.http:5] Clock is generic.
2025/02/06 19:05:03 [input.http:3] Content type is {audio=pcm(stereo)}.
2025/02/06 19:05:03 [output.dummy:5] Assigning source content type for frame type: {audio : pcm(stereo)}
2025/02/06 19:05:03 [output.dummy:5] Content type: {audio=pcm(stereo)}
2025/02/06 19:05:03 [source:4] Source output.dummy gets up with content type: {audio=pcm(stereo)} and frame type: {audio : pcm(stereo)}.
2025/02/06 19:05:03 [output.dummy:5] Clock is generic.
2025/02/06 19:05:03 [output.dummy:3] Content type is {audio=pcm(stereo)}.
2025/02/06 19:05:03 [dummy:5] Clock is generic.
2025/02/06 19:05:03 [dummy:3] Content type is {audio=pcm(stereo)}.
2025/02/06 19:05:03 [lifecycle:5] Executing action on start execution (stage: after Liquidsoap application start)
2025/02/06 19:05:03 [lifecycle:5] Executing action on start execution (stage: after Liquidsoap application start)
2025/02/06 19:05:03 [lifecycle:5] Executing action main loop (stage: after Liquidsoap application start)
2025/02/06 19:05:03 [lifecycle:5] At stage: "before Liquidsoap main loop"
2025/02/06 19:05:03 [lifecycle:5] Executing action main application main loop (stage: Liquidsoap main loop)
2025/02/06 19:05:03 [video.text:3] Using native implementation
[tcp @ 00000170fd5a4d40] Original list of addresses:
[tcp @ 00000170fd5a4d40] Address 205.234.212.148 port 80
[tcp @ 00000170fd5a4d40] Interleaved list of addresses:
[tcp @ 00000170fd5a4d40] Address 205.234.212.148 port 80
[tcp @ 00000170fd5a4d40] Starting connection attempt to 205.234.212.148 port 80
[tcp @ 00000170fd5a4d40] Successfully connected to 205.234.212.148 port 80
[http @ 00000170fe18ef00] request: GET /wwoz-hi.mp3 HTTP/1.1
User-Agent: Liquidsoap/2.3.1 (Win32; OCaml 4.14.1)
Accept: */*
Range: bytes=0-
Connection: close
Host: wwoz-sc.streamguys1.com
Icy-MetaData: 1


[http @ 00000170fe18ef00] header='HTTP/1.0 200 OK'
[http @ 00000170fe18ef00] http_code=200
[http @ 00000170fe18ef00] header='Access-Control-Allow-Methods: GET,OPTIONS'
[http @ 00000170fe18ef00] header='Cache-Control: no-cache'
[http @ 00000170fe18ef00] header='Pragma: no-cache'
[http @ 00000170fe18ef00] header='Expires: Mon, 26 Jul 1997 05:00:00 GMT'
[http @ 00000170fe18ef00] header='icy-br: 128'
[http @ 00000170fe18ef00] header='Instance-id: 18c3d1fe657d50ab31ad5e6a108b3194'
[http @ 00000170fe18ef00] header='Server: AIS Streaming Server 9.1.2'
[http @ 00000170fe18ef00] header='icy-genre: Various'
[http @ 00000170fe18ef00] header='icy-metaint: 1024'
[http @ 00000170fe18ef00] header='Content-Type: audio/mpeg'
[http @ 00000170fe18ef00] header='icy-name: WWOZ Mp3-ORD'
[http @ 00000170fe18ef00] header='Access-Control-Allow-Origin: *'
[http @ 00000170fe18ef00] header='Connection: close'
[http @ 00000170fe18ef00] header='icy-url: http://www.wwoz.org'
[http @ 00000170fe18ef00] header='icy-audio-info: ice-samplerate=44100;ice-bitrate=128;ice-channels=2'
[http @ 00000170fe18ef00] header='icy-pub: 1'
[http @ 00000170fe18ef00] header='icy-description: Jazz & Heritage'
[http @ 00000170fe18ef00] header='X-Loudness: -14.350871'
[http @ 00000170fe18ef00] header='Set-Cookie: AISSessionId=655bcd090ffa7371_38346420_YfPfstFT_MjA1LjIzNC4yMTIuMTQ4_00000011Lmu; Path=/; Domain=wwoz-sc.streamguys1.com; Max-Age=6000; Expires=Thu, 06 Feb 2025 18:45:05 GMT; SameSite=None; Secure'
[http @ 00000170fe18ef00] header=''
Probing mp3 score:25 size:2048
Probing mp3 score:51 size:4096
[mp3 @ 00000170fe18e840] Format mp3 probed with size=4096 and score=51
[mp3 @ 00000170fe18e840] Skipping 0 bytes of junk at 0.
[mp3 @ 00000170fe18e840] Before avformat_find_stream_info() pos: 0 bytes read:4096 seeks:0 nb_streams:1
[mp3 @ 00000170fe18e840] All info found
[mp3 @ 00000170fe18e840] stream 0: start_time: 0 duration: NOPTS
[mp3 @ 00000170fe18e840] format: start_time: 0 duration: NOPTS (estimate from bit rate) bitrate=128 kb/s
[mp3 @ 00000170fe18e840] After avformat_find_stream_info() pos: 21504 bytes read:21504 seeks:0 frames:50

HTPC@HTPC-PC C:\PortableApps\liquidsoap-2.3.1-win64
$

Expected behavior

Should work.

Log of same script with 2.3.0

HTPC@HTPC-PC C:\PortableApps\liquidsoap-2.3.1-win64
$ cd ..

HTPC@HTPC-PC C:\PortableApps
$ cd liquidsoap-2.3.0-win64

HTPC@HTPC-PC C:\PortableApps\liquidsoap-2.3.0-win64
$ liquidsoap.exe C:\PortableApps\liquidsoap-2.3.1-win64\test.liq
2025/02/06 19:09:51 >>> LOG START
2025/02/06 19:09:47 [ffmpeg.filter.bitstream:3] No valid mode found for filter pgs_frame_merge!
2025/02/06 19:09:47 [main:3] Liquidsoap 2.3.0
2025/02/06 19:09:47 [main:3] Using: angstrom=0.15.0 ao=0.2.4 base=v0.16.3 base.base_internalhash_types=v0.16.3 base.caml=v0.16.3 base.shadow_stdlib=v0.16.3 bigarray=[distributed with Ocaml] bigarray-compat=1.0.0 bigstringaf=0.9.1 bytes=[distributed with OCaml 4.02 or above] camlp-streams camomile.lib=2.0 cry=1.0.2 ctypes=0.22.0 ctypes-foreign=0.22.0 ctypes.stubs=0.22.0 curl=0.9.2 domain_shims dtools=0.4.5 dune-build-info=3.2.0 dune-private-libs.dune-section=3.2.0 dune-site=3.2.0 duppy=0.9.4 ffmpeg-av=1.2.1 ffmpeg-avcodec=1.2.1 ffmpeg-avdevice=1.2.1 ffmpeg-avfilter=1.2.1 ffmpeg-avutil=1.2.1 ffmpeg-swresample=1.2.1 ffmpeg-swscale=1.2.1 fileutils=0.6.4 gen=1.1 integers lastfm=0.3.4 liquidsoap-lang=2.3.0 liquidsoap-lang.console=2.3.0 liquidsoap_ao liquidsoap_builtins liquidsoap_core liquidsoap_ffmpeg liquidsoap_lastfm liquidsoap_ndi liquidsoap_optionals liquidsoap_portaudio liquidsoap_runtime liquidsoap_samplerate liquidsoap_srt liquidsoap_ssl liquidsoap_stereotool liquidsoap_xmlplaylist magic-mime=1.3.1 mem_usage=0.1.1 memtrace=v0.2.2 menhirLib=20230608 metadata=0.3.0 mm=0.8.6 mm.audio=0.8.6 mm.base=0.8.6 mm.image=0.8.6 mm.midi=0.8.6 mm.video=0.8.6 ndi portaudio=0.2.3 posix-base=2.0.2 posix-socket=2.0.2 posix-socket.constants=2.0.2 posix-socket.stubs=2.0.2 posix-socket.types=2.0.2 ppx_compare.runtime-lib=v0.16.0 ppx_hash.runtime-lib=v0.16.0 ppx_sexp_conv.runtime-lib=v0.16.0 re=1.11.0 samplerate=0.1.6 saturn_lockfree=0.4.1 sedlex=3.2 seq=[distributed with OCaml 4.07 or above] sexplib0=v0.16.0 srt=0.3.0 srt.constants=0.3.0 srt.stubs=0.3.0 srt.stubs.locked=0.3.0 srt.types=0.3.0 ssl=0.7.0 stdlib-shims=0.3.0 stereotool str=[distributed with Ocaml] stringext=1.6.0 threads=[distributed with Ocaml] threads.posix=[internal] unix=[distributed with Ocaml] uri=4.2.0 winsvc=1.0.1 xmlm=1.4.0 xmlplaylist=0.1.5
2025/02/06 19:09:47 [clock:3] Using builtin (low-precision) implementation for latency control
2025/02/06 19:09:51 [frame:4] frame.audio.samplerate set to: 44100
2025/02/06 19:09:51 [frame:4] frame.video.framerate set to: 25
[NULL @ 000001523a789400] 2025/02/06 19:09:51 [main:3] User script loaded in 4.16 seconds.
Opening 'http://wwoz-sc.streamguys1.com/wwoz-hi.mp3' for reading
2025/02/06 19:09:51 [lifecycle:5] At stage: "Liquidsoap script parse"
[http @ 000001523a789f00] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy,data'
2025/02/06 19:09:51 [lifecycle:5] Executing action frame settings eval (stage: after Liquidsoap script parse)
2025/02/06 19:09:51 [frame:4] frame.audio.channels set to: 2
2025/02/06 19:09:51 [frame:4] frame.video.default set to: false
2025/02/06 19:09:51 [frame:4] frame.midi.channels set to: 0
2025/02/06 19:09:51 [frame:4] frame.video.width set to: 1280
2025/02/06 19:09:51 [frame:4] frame.video.height set to: 720
2025/02/06 19:09:51 [frame:4] frame.audio.samplerate set to: 44100
2025/02/06 19:09:51 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz main.
2025/02/06 19:09:51 [frame:3] Video frame size set to: 1280x720
2025/02/06 19:09:51 [frame:3] Targeting 'frame.duration': 0.02s = 882 ticks.
2025/02/06 19:09:51 [lifecycle:5] Executing action start (stage: after Liquidsoap script parse)
2025/02/06 19:09:51 [lifecycle:5] Executing action main application before start (stage: before Liquidsoap application start)
2025/02/06 19:09:51 [lifecycle:5] Executing action sandbox start (stage: before Liquidsoap application start)
2025/02/06 19:09:51 [sandbox:3] Could not find binary bwrap, disabling sandboxing.
2025/02/06 19:09:51 [lifecycle:5] Executing action core startup (stage: before Liquidsoap application start)
2025/02/06 19:09:51 [startup:3] FFmpeg filters registration: 0.03s
2025/02/06 19:09:51 [startup:3] FFmpeg bitstream filters registration: 0.00s
2025/02/06 19:09:51 [startup:3] main script hash computation: 0.06s
2025/02/06 19:09:51 [startup:3] main script cache retrieval: 0.06s
2025/02/06 19:09:51 [startup:3] stdlib hash computation: 0.06s
2025/02/06 19:09:51 [startup:3] stdlib cache retrieval: 0.06s
2025/02/06 19:09:51 [startup:3] Typechecking stdlib: 3.45s
2025/02/06 19:09:51 [startup:3] Error while saving cache: Failure("output_value: not a binary channel")
2025/02/06 19:09:51 [startup:3] Typechecking main script: 0.02s
2025/02/06 19:09:51 [startup:3] Error while saving cache: Failure("output_value: not a binary channel")
2025/02/06 19:09:51 [startup:3] Evaluating main script: 0.03s
2025/02/06 19:09:51 [lifecycle:5] Executing action Clocks start (stage: before Liquidsoap application start)
2025/02/06 19:09:51 [clock:3] Starting clock generic with 2 source(s) and sync: auto
2025/02/06 19:09:51 [threads:4] Created thread "Clock generic" (1 total).
2025/02/06 19:09:51 [lifecycle:5] At stage: "before Liquidsoap application start"
2025/02/06 19:09:51 [lifecycle:5] Executing action main application start (stage: Liquidsoap application start)
2025/02/06 19:09:51 [threads:4] Created thread "generic queue #1" (1 total).
2025/02/06 19:09:51 [threads:4] Created thread "generic queue #2" (2 total).
2025/02/06 19:09:51 [threads:4] Created thread "generic queue #3" (3 total).
2025/02/06 19:09:51 [threads:4] Created thread "generic queue #4" (4 total).
2025/02/06 19:09:51 [threads:4] Created thread "generic queue #5" (5 total).
2025/02/06 19:09:51 [threads:4] Created thread "non-blocking queue #1" (6 total).
2025/02/06 19:09:51 [threads:4] Created thread "non-blocking queue #2" (7 total).
2025/02/06 19:09:51 [lifecycle:5] Executing action ffmpeg utils initialization (stage: Liquidsoap application start)
2025/02/06 19:09:51 [lifecycle:5] Executing action video converter initialization (stage: Liquidsoap application start)
2025/02/06 19:09:51 [video.converter:3] Using preferred video converter: ffmpeg.
2025/02/06 19:09:51 [lifecycle:5] Executing action audio samplerate converter initialization (stage: Liquidsoap application start)
2025/02/06 19:09:51 [audio.converter:3] Using samplerate converter: libsamplerate.
2025/02/06 19:09:51 [lifecycle:5] At stage: "Liquidsoap application start"
2025/02/06 19:09:51 [lifecycle:5] Executing action thread start (stage: after Liquidsoap application start)
2025/02/06 19:09:51 [clock.generic:4] Clock thread is starting
2025/02/06 19:09:51 [input.http:5] Assigning source content type for frame type: 'A
2025/02/06 19:09:51 [input.http:5] Content type: {audio=pcm(stereo)}
2025/02/06 19:09:51 [source:4] Source input.http gets up with content type: {audio=pcm(stereo)} and frame type: 'A.
2025/02/06 19:09:51 [input.http:5] Clock is generic.
2025/02/06 19:09:51 [input.http:3] Content type is {audio=pcm(stereo)}.
2025/02/06 19:09:51 [output.dummy:5] Assigning source content type for frame type: {audio : pcm(stereo)}
2025/02/06 19:09:51 [output.dummy:5] Content type: {audio=pcm(stereo)}
2025/02/06 19:09:51 [source:4] Source output.dummy gets up with content type: {audio=pcm(stereo)} and frame type: {audio : pcm(stereo)}.
2025/02/06 19:09:51 [output.dummy:5] Clock is generic.
2025/02/06 19:09:51 [output.dummy:3] Content type is {audio=pcm(stereo)}.
2025/02/06 19:09:51 [dummy:5] Clock is generic.
2025/02/06 19:09:51 [dummy:3] Content type is {audio=pcm(stereo)}.
2025/02/06 19:09:51 [lifecycle:5] Executing action on start execution (stage: after Liquidsoap application start)
2025/02/06 19:09:51 [lifecycle:5] Executing action on start execution (stage: after Liquidsoap application start)
2025/02/06 19:09:51 [lifecycle:5] Executing action main loop (stage: after Liquidsoap application start)
2025/02/06 19:09:51 [lifecycle:5] At stage: "before Liquidsoap main loop"
2025/02/06 19:09:51 [lifecycle:5] Executing action main application main loop (stage: Liquidsoap main loop)
2025/02/06 19:09:51 [video.text:3] Using native implementation
[tcp @ 000001523a6e54c0] Original list of addresses:
[tcp @ 000001523a6e54c0] Address 205.234.212.148 port 80
[tcp @ 000001523a6e54c0] Interleaved list of addresses:
[tcp @ 000001523a6e54c0] Address 205.234.212.148 port 80
[tcp @ 000001523a6e54c0] Starting connection attempt to 205.234.212.148 port 80
[tcp @ 000001523a6e54c0] Successfully connected to 205.234.212.148 port 80
[http @ 000001523a789f00] request: GET /wwoz-hi.mp3 HTTP/1.1
User-Agent: Liquidsoap/2.3.0 (Win32; OCaml 4.14.1)
Accept: */*
Range: bytes=0-
Connection: close
Host: wwoz-sc.streamguys1.com
Icy-MetaData: 1


[http @ 000001523a789f00] header='HTTP/1.0 200 OK'
[http @ 000001523a789f00] http_code=200
[http @ 000001523a789f00] header='Access-Control-Allow-Methods: GET,OPTIONS'
[http @ 000001523a789f00] header='Cache-Control: no-cache'
[http @ 000001523a789f00] header='Pragma: no-cache'
[http @ 000001523a789f00] header='Expires: Mon, 26 Jul 1997 05:00:00 GMT'
[http @ 000001523a789f00] header='icy-br: 128'
[http @ 000001523a789f00] header='Instance-id: 18c3d1fe657d50ab31ad5e6a108b3194'
[http @ 000001523a789f00] header='Server: AIS Streaming Server 9.1.2'
[http @ 000001523a789f00] header='icy-genre: Various'
[http @ 000001523a789f00] header='icy-metaint: 1024'
[http @ 000001523a789f00] header='Content-Type: audio/mpeg'
[http @ 000001523a789f00] header='icy-name: WWOZ Mp3-ORD'
[http @ 000001523a789f00] header='Access-Control-Allow-Origin: *'
[http @ 000001523a789f00] header='Connection: close'
[http @ 000001523a789f00] header='icy-url: http://www.wwoz.org'
[http @ 000001523a789f00] header='icy-audio-info: ice-samplerate=44100;ice-bitrate=128;ice-channels=2'
[http @ 000001523a789f00] header='icy-pub: 1'
[http @ 000001523a789f00] header='icy-description: Jazz & Heritage'
[http @ 000001523a789f00] header='X-Loudness: -14.350871'
[http @ 000001523a789f00] header='Set-Cookie: AISSessionId=655bcd090ffa7371_38346709_XGs5ozwY_MjA1LjIzNC4yMTIuMTQ4_00000011LnM; Path=/; Domain=wwoz-sc.streamguys1.com; Max-Age=6000; Expires=Thu, 06 Feb 2025 18:49:53 GMT; SameSite=None; Secure'
[http @ 000001523a789f00] header=''
Probing mp3 score:25 size:2048
Probing mp3 score:51 size:4096
[mp3 @ 000001523a789400] Format mp3 probed with size=4096 and score=51
[mp3 @ 000001523a789400] Skipping 0 bytes of junk at 0.
[mp3 @ 000001523a789400] Before avformat_find_stream_info() pos: 0 bytes read:4096 seeks:0 nb_streams:1
[mp3 @ 000001523a789400] All info found
[mp3 @ 000001523a789400] stream 0: start_time: 0 duration: NOPTS
[mp3 @ 000001523a789400] format: start_time: 0 duration: NOPTS (estimate from bit rate) bitrate=128 kb/s
[mp3 @ 000001523a789400] After avformat_find_stream_info() pos: 21504 bytes read:21504 seeks:0 frames:50
2025/02/06 19:09:53 [decoder.ffmpeg:3] Requested content-type for "http://wwoz-sc.streamguys1.com/wwoz-hi.mp3": {audio=pcm(stereo)}
[SWR @ 000001523b950dc0] Using fltp internally between filters
2025/02/06 19:09:53 [decoder.ffmpeg:3] FFmpeg recognizes "http://wwoz-sc.streamguys1.com/wwoz-hi.mp3" as audio: {codec: mp3, 44100Hz, 2 channel(s)}
2025/02/06 19:09:53 [decoder.ffmpeg:3] Decoded content-type for "http://wwoz-sc.streamguys1.com/wwoz-hi.mp3": {audio=pcm(stereo)}
2025/02/06 19:09:54 [input.http:5] generate_frame: got metadata at position 0: calling handlers...
2025/02/06 19:09:54 [input.http:5] calling on_track handlers..
2025/02/06 19:09:54 [dummy:5] generate_frame: got metadata at position 0: calling handlers...
2025/02/06 19:09:54 [dummy:5] calling on_track handlers..
2025/02/06 19:09:54 [input.http:5] generate_frame: got metadata at position 270: calling handlers...
2025/02/06 19:09:54 [input.http:5] calling on_track handlers..
2025/02/06 19:09:54 [dummy:5] generate_frame: got metadata at position 270: calling handlers...
2025/02/06 19:09:54 [dummy:5] calling on_track handlers..
2025/02/06 19:10:09 [main:3] Shutdown signal received.
2025/02/06 19:10:09 [threads:3] Main loop exited
2025/02/06 19:10:09 [lifecycle:5] At stage: "Liquidsoap main loop"
2025/02/06 19:10:09 [lifecycle:5] Executing action core shutdown (stage: after Liquidsoap main loop)
2025/02/06 19:10:09 [lifecycle:5] Executing action log shutdown (stage: before Liquidsoap core shutdown)
2025/02/06 19:10:09 [main:3] Shutdown started!
2025/02/06 19:10:09 [lifecycle:5] Executing action builtin source shutdown (stage: before Liquidsoap core shutdown)
2025/02/06 19:10:09 [lifecycle:5] Executing action input.ffmpeg shutdown (stage: before Liquidsoap core shutdown)
2025/02/06 19:10:09 [lifecycle:5] Executing action input.harbor shutdown (stage: before Liquidsoap core shutdown)
2025/02/06 19:10:09 [lifecycle:5] Executing action libcurl shutdown (stage: before Liquidsoap core shutdown)
2025/02/06 19:10:09 [lifecycle:5] Executing action request.dynamic shutdown (stage: before Liquidsoap core shutdown)
2025/02/06 19:10:09 [lifecycle:5] Executing action Requests shutdown (stage: before Liquidsoap core shutdown)
2025/02/06 19:10:09 [lifecycle:5] Executing action Clocks stop (stage: before Liquidsoap core shutdown)
2025/02/06 19:10:09 [clock.generic:5] Clock stopping
2025/02/06 19:10:09 [lifecycle:5] Executing action wait_for shutdown (stage: before Liquidsoap core shutdown)
2025/02/06 19:10:09 [lifecycle:5] At stage: "before Liquidsoap core shutdown"
2025/02/06 19:10:09 [lifecycle:5] Executing action initial cleanup (stage: Liquidsoap core shutdown)
2025/02/06 19:10:09 [threads:3] Waiting for main threads to terminate...
2025/02/06 19:10:09 [threads:4] Waiting for thread Clock generic to shutdown
2025/02/06 19:10:09 [clock.generic:4] Clock thread has stopped
2025/02/06 19:10:09 [source:4] Source dummy gets down.
2025/02/06 19:10:09 [source:4] Source input.http gets down.
2025/02/06 19:10:09 [threads:4] Thread "Clock generic" terminated (0 remaining).
2025/02/06 19:10:09 [threads:3] Main threads terminated.
2025/02/06 19:10:09 [lifecycle:5] Executing action Srt disconnect (stage: Liquidsoap core shutdown)
2025/02/06 19:10:09 [lifecycle:5] Executing action srt shutdown (stage: Liquidsoap core shutdown)
2025/02/06 19:10:09 [lifecycle:5] At stage: "Liquidsoap core shutdown"
2025/02/06 19:10:09 [lifecycle:5] Executing action scheduler shutdown (stage: after Liquidsoap core shutdown)
2025/02/06 19:10:09 [lifecycle:5] Executing action thread shutdown (stage: before Liquidsoap scheduler shutdown)
2025/02/06 19:10:09 [lifecycle:5] At stage: "before Liquidsoap scheduler shutdown"
2025/02/06 19:10:09 [lifecycle:5] Executing action scheduler shutdown (stage: Liquidsoap scheduler shutdown)
2025/02/06 19:10:09 [threads:3] Shutting down scheduler...
2025/02/06 19:10:09 [threads:4] Thread "generic queue #1" terminated (6 remaining).
2025/02/06 19:10:09 [threads:4] Thread "non-blocking queue #1" terminated (5 remaining).
2025/02/06 19:10:09 [threads:4] Thread "generic queue #5" terminated (4 remaining).
2025/02/06 19:10:09 [threads:4] Thread "generic queue #3" terminated (3 remaining).
2025/02/06 19:10:09 [threads:4] Thread "generic queue #4" terminated (2 remaining).
2025/02/06 19:10:09 [threads:4] Thread "generic queue #2" terminated (1 remaining).

HTPC@HTPC-PC C:\PortableApps\liquidsoap-2.3.0-win64
$

Liquidsoap version

HTPC@HTPC-PC C:\PortableApps\liquidsoap-2.3.1-win64
$ liquidsoap.exe --version
Liquidsoap 2.3.1
Copyright (c) 2003-2024 Savonet team
Liquidsoap is open-source software, released under GNU General Public License.
See <http://liquidsoap.info> for more information.

HTPC@HTPC-PC C:\PortableApps\liquidsoap-2.3.1-win64

Liquidsoap build config

HTPC@HTPC-PC C:\PortableApps\liquidsoap-2.3.1-win64
$ liquidsoap.exe --build-config

 * Liquidsoap version  : 2.3.1

 * Compilation options
   - Release build       : true
   - Git SHA             : (none)
   - OCaml version       : 4.14.1
   - OS type             : Win32
   - Libs versions       : angstrom=0.15.0 ao=0.2.4 backoff=0.1.0 base=v0.16.3 base.base_internalhash_types=v0.16.3 base.caml=v0.16.3 base.shadow_stdlib=v0.16.3 bigarray=[distributed with Ocaml] bigarray-compat=1.0.0 bigstringaf=0.9.1 bytes=[distributed with OCaml 4.02 or above] camlp-streams camomile.lib=2.0 cry=1.0.2 ctypes=0.22.0 ctypes-foreign=0.22.0 ctypes.stubs=0.22.0 curl=0.9.2 dtools=0.4.5 dune-build-info=3.2.0 dune-private-libs.dune-section=3.2.0 dune-site=3.2.0 duppy=0.9.4 ffmpeg-av=1.2.1 ffmpeg-avcodec=1.2.1 ffmpeg-avdevice=1.2.1 ffmpeg-avfilter=1.2.1 ffmpeg-avutil=1.2.1 ffmpeg-swresample=1.2.1 ffmpeg-swscale=1.2.1 fileutils=0.6.4 gen=1.1 integers liquidsoap-lang=2.3.1 liquidsoap-lang.console=2.3.1 liquidsoap_ao liquidsoap_builtins liquidsoap_core liquidsoap_ffmpeg liquidsoap_ndi liquidsoap_optionals liquidsoap_portaudio liquidsoap_runtime liquidsoap_samplerate liquidsoap_srt liquidsoap_ssl liquidsoap_stereotool magic-mime=1.3.1 mem_usage=0.1.1 menhirLib=20240715 metadata=0.3.0 mm=0.8.6 mm.audio=0.8.6 mm.base=0.8.6 mm.image=0.8.6 mm.midi=0.8.6 mm.video=0.8.6 multicore-magic=2.3.0 multicore-magic.__private__.multicore_magic_atomic_array_ocaml4=2.3.0 ndi portaudio=0.2.3 posix-base=2.0.2 posix-socket=2.2.0 posix-socket.constants=2.2.0 posix-socket.stubs=2.2.0 posix-socket.types=2.2.0 ppx_compare.runtime-lib=v0.16.0 ppx_hash.runtime-lib=v0.16.0 ppx_sexp_conv.runtime-lib=v0.16.0 re=1.11.0 samplerate=0.1.6 saturn_lockfree=0.5.0 sedlex=3.2 seq=[distributed with OCaml 4.07 or above] sexplib0=v0.16.0 srt=0.3.3 srt.constants=0.3.3 srt.stubs=0.3.3 srt.stubs.locked=0.3.3 srt.types=0.3.3 ssl=0.7.0 stdlib-shims=0.3.0 stereotool str=[distributed with Ocaml] stringext=1.6.0 threads=[distributed with Ocaml] threads.posix=[internal] unix=[distributed with Ocaml] uri=4.2.0 winsvc=1.0.1 xml-light=2.5
   - architecture        : amd64
   - host                : x86_64-w64-mingw32.static
   - target              : x86_64-w64-mingw32.static
   - system              : mingw64
   - ocamlopt_cflags     : -O2 -fno-strict-aliasing -fwrapv -mms-bitfields
   - native_c_compiler   : x86_64-w64-mingw32.static-gcc -O2 -fno-strict-aliasing -fwrapv -mms-bitfields -D_FILE_OFFSET_BITS=64
   - native_c_libraries  : -lws2_32 -lversion

 * Configured paths
   - mode              : standalone
   - standard library  : ./libs
   - scripted binaries : ./bin
   - rundir            : ./run
   - logdir            : ./log
   - user cache        : ./cache (override with $LIQ_CACHE_USER_DIR)
   - system cache      : ./cache (override with $LIQ_CACHE_SYSTEM_DIR)
   - camomile files    : ./camomile

 * Supported input formats
   - MP3               : no (requires mad)
   - AAC               : no (requires faad)
   - Ffmpeg            : yes
   - Flac (native)     : no (requires flac)
   - Flac (ogg)        : no (requires ogg)
   - Opus              : no (requires opus)
   - Speex             : no (requires speex)
   - Theora            : no (requires theora)
   - Vorbis            : no (requires vorbis)
   - WAV/AIFF          : yes (native)

 * Supported output formats
   - FDK-AAC           : no (requires fdkaac)
   - FFmpeg            : yes
   - MP3               : no (requires lame)
   - MP3 (fixed-point) : no (requires shine)
   - Flac (native)     : no (requires flac)
   - Flac (ogg)        : no (requires ogg)
   - Opus              : no (requires opus)
   - Speex             : no (requires speex)
   - Theora            : no (requires theora)
   - Vorbis            : no (requires vorbis)
   - WAV/AIFF          : yes (native)

 * Tags
   - AAC               : no (requires faad)
   - FFmpeg            : yes
   - FLAC (native)     : no (requires flac)
   - Flac (ogg)        : no (requires ogg)
   - Native decoder    : yes
   - Vorbis            : no (requires vorbis)

 * Input / output
   - ALSA              : no (requires alsa)
   - AO                : yes
   - FFmpeg            : yes
   - JACK              : no (requires bjack)
   - NDI               : yes
   - OSS               : no (requires oss)
   - Portaudio         : yes
   - Pulseaudio        : no (requires pulseaudio)
   - SRT               : yes

 * Audio manipulation
   - FFmpeg            : yes
   - LADSPA            : no (requires ladspa)
   - Lilv              : no (requires lilv)
   - Samplerate        : yes
   - SoundTouch        : no (requires soundtouch)
   - StereoTool        : yes

 * Video manipulation
   - camlimages        : no (requires camlimages)
   - FFmpeg            : yes
   - frei0r            : no (requires frei0r)
   - ImageLib          : no (requires imagelib)
   - SDL               : no (requires tsdl-image & tsdl-ttf)

 * MIDI manipulation
   - DSSI              : no (requires dssi)

 * Visualization
   - GD                : no (requires gd)
   - Graphics          : no (requires graphics)
   - SDL               : no (requires tsdl-image & tsdl-ttf)

 * Additional libraries
   - FFmpeg filters    : yes
   - FFmpeg devices    : yes
   - inotify           : no (requires inotify)
   - irc               : no (requires irc-client-unix)
   - jemalloc          : no (requires jemalloc)
   - lo                : no (requires lo)
   - memtrace          : no (requires memtrace)
   - osc               : no (requires osc-unix)
   - ssl               : yes
   - sqlite3           : no (requires sqlite3)
   - tls               : no (requires tls-liquidsoap)
   - posix-time2       : no (requires posix)
   - windows service   : yes
   - YAML support      : no (requires yaml)
   - XML playlists     : no (requires xmlplaylist)

 * Monitoring
   - Prometheus        : no (requires prometheus)


HTPC@HTPC-PC C:\PortableApps\liquidsoap-2.3.1-win64
$

Installation method

From official packages in the release artifacts

Additional Info

Also mentioned here
#4300

@smoralis smoralis added the bug label Feb 6, 2025
@madrxx
Copy link

madrxx commented Feb 8, 2025

This is also the case for me still.

@toots
Copy link
Member

toots commented Feb 8, 2025

Thanks for the report. This looks like a segfault. I'll have a look at it as soon as possible.

Meanwhile, 2.3.0 should be safe to use. There isn't much changes or bugfixes there that impact the windows build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants