Hi!

First time trying to use liquidsoap and it's slipping out of my hands already.

I used a basic liq script:

#!/usr/bin/liquidsoap
# Log dir
set("log.file.path","/tmp/FHM1-radio.log")

# Music
# myplaylist = playlist("/SAMBA/MediaStream/radio1/mp3/")
myplaylist = playlist("/SAMBA/MediaStream/radio1/playlist.txt")
# Some jingles
#jingles = playlist("~/radio/jingles.m3u")
# If something goes wrong, we'll play this
security = single("/SAMBA/MediaStream/radio1/announcement1.ogg")

# Start building the feed with music
radio = myplaylist
# Now add some jingles
#radio = random(weights = [1, 4],[jingles, radio])
# And finally the security
radio = fallback(track_sensitive = false, [radio, security])

# Stream it out
#output.icecast.vorbis(
#  host = "localhost", port = 8000,
#  password = "sourcepwd", mount = "FHM1-radio.ogg",
#  radio)

out(radio)

-- END SCRIPT --

Even if I use icecast as output, it still does a segmentation fault.

My OGG and MP3 files are OK.
My ALSA card is working fine (I tested with command line programs).

What could be failing?

My liquidsoap version is 0.9.3.

I tried to do a gdb trace if it's of any use:

(gdb) set args -v --debug /etc/liquidsoap/FHM1.liq
(gdb) run
Starting program: /usr/bin/liquidsoap -v --debug /etc/liquidsoap/FHM1.liq
[Thread debugging using libthread_db enabled]
[New Thread 0xb78a3a60 (LWP 30978)]
2011/03/16 15:44:31 >>> LOG START
2011/03/16 15:44:31 [protocols.external:3] Didn't find "ufetch"
2011/03/16 15:44:31 [protocols.external:3] Found "/usr/bin/wget"
2011/03/16 15:44:31 [main:3] Liquidsoap 0.9.3
2011/03/16 15:44:31 [lang:3] flac binary not found: flac decoder disabled.
2011/03/16 15:44:31 [lang:3] metaflac binary not found: flac metadata resolver 
disabled.
2011/03/16 15:44:31 [decoder:4] Trying OGG decoder for 
"/SAMBA/MediaStream/radio1/announcement1.ogg"...
2011/03/16 15:44:31 [ogg.demuxer:4] Found a ogg logical stream, serial: 2f9dc49
2011/03/16 15:44:31 [ogg.demuxer:4] Trying ogg/vorbis format
2011/03/16 15:44:31 [decoder:3] Decoder OGG chosen for 
"/SAMBA/MediaStream/radio1/announcement1.ogg".
2011/03/16 15:44:31 [ogg.demuxer:4] Found a ogg logical stream, serial: 2f9dc49
2011/03/16 15:44:31 [ogg.demuxer:4] Trying ogg/vorbis format
2011/03/16 15:44:31 [single:3] "/SAMBA/MediaStream/radio1/announcement1.ogg" is 
static, resolving once for all...
2011/03/16 15:44:31 [video.converter:4] Couldn't find prefered video converter: 
gavl
2011/03/16 15:44:31 [audio.converter:4] Couldn't find prefered samplerate 
converter: libsamplerate
2011/03/16 15:44:31 [audio.converter:4] Using native samplerate converter
[New Thread 0xb763bb70 (LWP 30985)]
[New Thread 0xb6e3ab70 (LWP 30986)]
2011/03/16 15:44:31 [threads:3] Created thread "generic queue #1".
[New Thread 0xb6639b70 (LWP 30987)]
[New Thread 0xb5e38b70 (LWP 30988)]
2011/03/16 15:44:31 [threads:3] Created thread "root" (1 total).
2011/03/16 15:44:31 [root:3] Waking up active nodes...
2011/03/16 15:44:31 [source:4] src_5052 gets up
2011/03/16 15:44:31 [source:4] mksafe gets up
2011/03/16 15:44:31 [source:4] src_5048 gets up
2011/03/16 15:44:31 [source:4] src_5043 gets up
2011/03/16 15:44:31 [playlist(dot)txt:3] Loading playlist...
2011/03/16 15:44:31 [playlist(dot)txt:3] No mime type specified, trying 
autodetection.
2011/03/16 15:44:31 [playlist parser:4] Trying audio/x-scpls parser
2011/03/16 15:44:31 [playlist parser:4] Trying audio/mpegurl parser
2011/03/16 15:44:31 [playlist(dot)txt:3] Playlist treated as format 
audio/mpegurl
2011/03/16 15:44:31 [playlist(dot)txt:3] Successfully loaded a playlist of 2 
tracks.
2011/03/16 15:44:31 [playlist(dot)txt:4] Activations changed: static=[], 
dynamic=[src_5048:mksafe:ao:ao].
2011/03/16 15:44:31 [decoder:4] Trying OGG decoder for 
"/SAMBA/MediaStream/radio1/QuajiroPromo.ogg"...
2011/03/16 15:44:31 [source:4] src_5045 gets up
2011/03/16 15:44:31 [src_5045:4] Activations changed: static=[], 
dynamic=[src_5048:mksafe:ao:ao].
2011/03/16 15:44:31 [ogg.demuxer:4] Found a ogg logical stream, serial: 574cee3
2011/03/16 15:44:31 [src_5048:4] Activations changed: static=[], 
dynamic=[mksafe:ao:ao].
2011/03/16 15:44:31 [ogg.demuxer:4] Trying ogg/vorbis format
2011/03/16 15:44:31 [source:4] safe_blank gets up
2011/03/16 15:44:31 [decoder:3] Decoder OGG chosen for 
"/SAMBA/MediaStream/radio1/QuajiroPromo.ogg".
2011/03/16 15:44:31 [safe_blank:4] Activations changed: static=[], 
dynamic=[mksafe:ao:ao].
2011/03/16 15:44:31 [ogg.demuxer:4] Found a ogg logical stream, serial: 574cee3
2011/03/16 15:44:31 [mksafe:4] Activations changed: static=[ao:ao], dynamic=[].
2011/03/16 15:44:31 [ogg.demuxer:4] Trying ogg/vorbis format
2011/03/16 15:44:31 [ogg.demuxer:4] Found a ogg logical stream, serial: 2f9dc49
2011/03/16 15:44:31 [ogg.demuxer:4] Trying ogg/vorbis format
2011/03/16 15:44:31 [src_5045:3] Prepared 
"/SAMBA/MediaStream/radio1/announcement1.ogg" (RID 0).
2011/03/16 15:44:31 [ao:4] Activations changed: static=[ao], dynamic=[].
2011/03/16 15:44:31 [ao:4] Enabling caching mode (active source)
[New Thread 0xb54ffb70 (LWP 30989)]
2011/03/16 15:44:31 [playlist(dot)txt:4] Remaining: 0, queued: 0, adding: 
1323000 (RID 2)
2011/03/16 15:44:31 [threads:3] Created thread "ao" (2 total).
2011/03/16 15:44:31 [root:3] Broadcast starts up!
2011/03/16 15:44:31 [mksafe:3] Switch to src_5048.
2011/03/16 15:44:31 [src_5048:4] Activations changed: static=[mksafe:ao:ao], 
dynamic=[mksafe:ao:ao].
2011/03/16 15:44:31 [src_5048:3] Switch to src_5045.
2011/03/16 15:44:31 [src_5045:4] Activations changed: 
static=[src_5048:mksafe:ao:ao], dynamic=[src_5048:mksafe:ao:ao].
2011/03/16 15:44:31 [playlist(dot)txt:4] Remaining: 0, queued: 1323000, taking: 
1323000
2011/03/16 15:44:31 [ogg.demuxer:4] Found a ogg logical stream, serial: 574cee3
2011/03/16 15:44:31 [ogg.demuxer:4] Trying ogg/vorbis format
2011/03/16 15:44:31 [playlist(dot)txt:3] Prepared 
"/SAMBA/MediaStream/radio1/QuajiroPromo.ogg" (RID 2).
2011/03/16 15:44:31 [src_5048:3] Switch to playlist(dot)txt with transition.
2011/03/16 15:44:31 [src_5045:4] Activations changed: static=[], 
dynamic=[src_5048:mksafe:ao:ao].
2011/03/16 15:44:31 [playlist(dot)txt:4] Activations changed: 
static=[src_5048:mksafe:ao:ao], dynamic=[src_5048:mksafe:ao:ao].

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb54ffb70 (LWP 30989)]
0x081f723f in ocaml_ao_stubs_driver_options ()
Current language:  auto; currently asm
(gdb) bt full
#0  0x081f723f in ocaml_ao_stubs_driver_options ()
No locals.
#1  0x081a9441 in camlAo__driver_of_internal_driver_98 ()
No locals.
#2  0xffffffff in ?? ()
No symbol table info available.
#3  0xffffffff in ?? ()
No symbol table info available.
#4  0xb7851868 in ?? ()
No symbol table info available.
#5  0xb7658370 in ?? ()
No symbol table info available.
#6  0xb7756688 in ?? ()
No symbol table info available.
#7  0xb77566ac in ?? ()
No symbol table info available.
#8  0xb54ff388 in ?? ()
No symbol table info available.
#9  0x081a954c in camlAo__get_default_driver_101 ()
No locals.
#10 0x00000001 in ?? ()
No symbol table info available.
#11 0x080e695f in camlAo_out__method_get_device_204 ()
No locals.
#12 0xb54ff254 in ?? ()
No symbol table info available.
#13 0x08224ff4 in ?? ()
No symbol table info available.
#14 0x08224ff4 in ?? ()
No symbol table info available.
#15 0x081c2d50 in camlPcre__code_end ()
No locals.
#16 0xb7756688 in ?? ()
No symbol table info available.
#17 0xb7658370 in ?? ()
No symbol table info available.
#18 0x0820500b in caml_mutex_unlock ()
No locals.
#19 0xb7e943ab in start_thread () from /lib/libpthread.so.0
No locals.
#20 0xb7b28b1e in clone () from /lib/libc.so.6
No symbol table info available.
(gdb)

Thanks,

Vieri



      

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to