[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#727307: segfaults after 3 days



Package: liquidsoap
Version: 1.0.1+repack1-1.1
Severity: normal

quidsoap[16658]: segfault at fffffffffffffffb ip 00007f4c35df4a59 sp 00007f4c2addd560 error 5 in libc-2.13.so[7f4c35d79000+180000]

This happened after 3 days of continuously running, at the end of a
song, the stream just disappeared.

I couldn't find teh core dump, since liquidsoap seems to run with a CWD
of /, I assume it couldn't be written. I have attached a gdb process to
it to catch it when it crashes next time.

Here's a copy of my configuration:

#!/usr/bin/liquidsoap

# anarcat radio liquidsoap file.

# log to the logdir
# disabled while we test
set("log.file.path","/var/log/liquidsoap/anaradio.log")

# Listening icecast server settings
set("harbor.bind_addr","0.0.0.0")

# Store passwords in another configuration file,
# so that the main config can be safely version-controlled.
%include "passwords.liq.inc"

# checklist:
# 1. favorite playlist
# 2. random playlist
# 3. jingles playlist
# 4. manual playlist
#
# if 4, play it
# else play a weighted mix of 1,2,3

# 1. favorite playlist
favorites = playlist.safe(reload_mode="watch", '/srv/playlists/Favoris.m3u')

# 2. random playlist
shuffle = playlist('/srv/mp3')

# 2.1 incoming random playlist
incoming = playlist('/srv/incoming')

# play incoming one out of 15 times
shuffle = rotate(weights = [1, 15], [incoming, shuffle])

# 3. jingles playlist
jingles = playlist.safe(reload_mode="watch", '/srv/playlists/jingles.m3u')

# 3.1 strangelove
jingles = rotate(weights = [1, 10], [playlist('/srv/playlists/strangelove.m3u'), jingles])

# play favorites roughly half the time, and jingles every 15 songs
radio = rotate(weights = [5, 10, 1], [favorites, shuffle, jingles])

# 4. manual / live input
# XXX: this introduces significant latency and overhead, would need to
# be replaced by an RTP multicast listener
live = input.harbor("radio.ogg",port=8001,password=pass)

# time-configurable crossfade
def crossfade(t,a,b)
  add(normalize=false,
	  [ sequence([ blank(duration=t/2.),
	               fade.initial(duration=t,b) ]),
	    fade.final(duration=t,a) ])
end

# output live if available, fallback on radio
# we crossfade between the two, we could add jingles when switching, see also
# http://liquidsoap.fm/doc-svn/cookbook.html
output.icecast(%vorbis,
  host = "localhost", port = 8000,
  url = "http://anarc.at/services/radio";,
  description = "Anarcat Radio!",
  password = pass, mount = "radio.ogg",
  fallback(track_sensitive=false,
           transitions=[crossfade(5.),crossfade(3.)],
           [live,radio]))

# XXX: missing RTP multicast output

-- System Information:
Debian Release: 7.2
  APT prefers stable
  APT policy: (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages liquidsoap depends on:
ii  adduser                 3.113+nmu3
pn  libc6                   <none>
ii  libcamomile-ocaml-data  0.8.4-2
ii  libmagic1               5.11-2
ii  libpcre3                1:8.30-5
ii  perl                    5.14.2-21+deb7u1
ii  sox                     14.4.0-3
ii  wget                    1.13.4-3

Versions of packages liquidsoap recommends:
ii  liquidsoap-plugin-faad        1.0.1+repack1-1.1
ii  liquidsoap-plugin-flac        1.0.1+repack1-1.1
ii  liquidsoap-plugin-icecast     1.0.1+repack1-1.1
ii  liquidsoap-plugin-lame        1.0.1+repack1-1.1
ii  liquidsoap-plugin-mad         1.0.1+repack1-1.1
ii  liquidsoap-plugin-pulseaudio  1.0.1+repack1-1.1
ii  liquidsoap-plugin-taglib      1.0.1+repack1-1.1
ii  liquidsoap-plugin-voaacenc    1.0.1+repack1-1.1
ii  liquidsoap-plugin-vorbis      1.0.1+repack1-1.1
ii  logrotate                     3.8.1-4
ii  mp3gain                       1.5.2-r2-2
ii  vorbis-tools                  1.4.0-1
ii  vorbisgain                    0.37-2

Versions of packages liquidsoap suggests:
ii  festival                       1:2.1~release-5.1
ii  icecast2                       2.3.2-9+deb7u2
ii  liguidsoap                     1.0.1+repack1-1.1
pn  liquidsoap-plugin-samplerate   <none>
pn  liquidsoap-plugin-xmlplaylist  <none>
ii  mplayer2 [mplayer]             2.0-554-gf63dbad-1+b1

-- Configuration Files:
/etc/liquidsoap/radio.liq.example changed [not included]

-- no debconf information


Reply to: