Bug#880569: forked-daapd: segfaults on start up (converting old format db)

Jonathan Dowland jmtd at debian.org
Thu Nov 2 12:40:03 UTC 2017


Package: forked-daapd
Version: 24.2-2
Severity: normal

# /usr/sbin/forked-daapd -f
[  LOG]     main: Forked Media Server Version 24.2 taking off
[  LOG]     main: Built 2017-04-02 with: --enable-itunes --enable-lastfm --enable-chromecast --enable-mpd --with-alsa --with-pulseaudio
[  LOG]     main: mDNS init
[  LOG]     mdns: Avahi state change: Client running
[  LOG]       db: Database schema outdated, upgrading schema v15.0 -> v19.0...
Segmentation fault

-- System Information:
Debian Release: 9.0
  APT prefers stable
  APT policy: (900, 'stable'), (700, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages forked-daapd depends on:
ii  adduser              3.115
ii  avahi-daemon         0.6.32-2
ii  init-system-helpers  1.48
ii  libantlr3c-3.2-0     3.2-3+b2
ii  libasound2           1.1.3-5
ii  libavahi-client3     0.6.32-2
ii  libavahi-common3     0.6.32-2
ii  libavcodec-extra57   7:3.2.5-1
ii  libavfilter6         7:3.2.5-1
ii  libavformat57        7:3.2.5-1
ii  libavutil55          7:3.2.5-1
ii  libc6                2.24-11
ii  libconfuse1          3.0+dfsg-2
ii  libcurl3-gnutls      7.52.1-5
ii  libevent-2.0-5       2.0.21-stable-3
ii  libgcrypt20          1.7.6-2
ii  libgnutls30          3.5.8-5
ii  libgpg-error0        1.26-2
ii  libjson-c3           0.12.1-1.1
ii  libmxml1             2.10-1+b1
ii  libplist3            1.12+git+1+e37ca00-0.3
ii  libprotobuf-c1       1.2.1-2
ii  libpulse0            10.0-1
ii  libsqlite3-0         3.16.2-5
ii  libswscale4          7:3.2.5-1
ii  libunistring0        0.9.6+really0.9.3-0.1
ii  lsb-base             9.20161125
ii  psmisc               22.21-2.1+b2
ii  zlib1g               1:1.2.8.dfsg-5

Versions of packages forked-daapd recommends:
ii  libavcodec-extra                       7:3.2.5-1
ii  libavcodec-extra57 [libavcodec-extra]  7:3.2.5-1

forked-daapd suggests no packages.

-- Configuration Files:
/etc/forked-daapd.conf changed:
general {
	# Username
	uid = "daapd"
	logfile = "/var/log/forked-daapd.log"
	# Database location
	# Available levels: fatal, log, warning, info, debug, spam
	loglevel = log
	# Admin password for the non-existent web interface
	admin_password = "unused"
	# Enable/disable IPv6
	ipv6 = no
}
library {
	# Name of the library as displayed by the clients
	# %h: hostname, %v: version
	name = "My Music on %h"
	# TCP port to listen on. Default port is 3689 (daap)
	port = 3689
	# Password for the library. Optional.
	# Directories to index
	directories = { "/music" }
	# Directories containing podcasts
	# For each directory that is indexed the path is matched against these
	# names. If there is a match all items in the directory are marked as 
	# podcasts. Eg. if you index /srv/music, and your podcasts are in
	# /srv/music/Podcasts, you can set this to "/Podcasts".
	# (changing this setting only takes effect after rescan, see the README)
	podcasts = { "/Podcasts" }
	# Directories containing audiobooks
	# For each directory that is indexed the path is matched against these
	# names. If there is a match all items in the directory are marked as 
	# audiobooks.
	# (changing this setting only takes effect after rescan, see the README)
	audiobooks = { "/Audiobooks" }
	# Directories containing compilations (eg soundtracks)
	# For each directory that is indexed the path is matched against these
	# names. If there is a match all items in the directory are marked as 
	# compilations.
	# (changing this setting only takes effect after rescan, see the README)
	compilations = { "/Compilations" }
	# Compilations usually have many artists, and if you don't want every
	# artist to be listed when artist browsing in Remote, you can set
	# a single name which will be used for all music in the compilation dir
	# (changing this setting only takes effect after rescan, see the README)
	compilation_artist = "Various artists"
	# There are 5 default playlists: "Library", "Music", "Movies", "TV Shows"
	# and "Podcasts". Here you can change the names of these playlists.
	# Artwork file names (without file type extension)
	# forked-daapd will look for jpg and png files with these base names
	# File types the scanner should ignore
	# Non-audio files will never be added to the database, but here you
	# can prevent the scanner from even probing them. This might improve
	# scan time. By default .db and .ini are ignored.
	# Disable startup file scanning
	# When forked-daapd starts it will do an initial file scan of your
	# library (and then watch it for changes). If you are sure your library
	# never changes while forked-daapd is not running, you can disable the
	# initial file scan and save some system ressources. Disabling this scan
	# may lead to forked-daapd's database coming out of sync with the
	# library. If that happens read the instructions in the README on how
	# to trigger a full rescan.
	# Should iTunes metadata override ours?
	# Formats: mp4a, mp4v, mpeg, alac, flac, mpc, ogg, wma, wmal, wmav, aif, wav
	# Formats that should never be transcoded
	# Formats that should always be transcoded
}
audio {
	# Name - used in the speaker list in Remote
	nickname = "Computer"
	# Audio device name for local audio output
	# Mixer channel to use for volume control - ALSA/Linux only
	# If not set, PCM will be used if available, otherwise Master.
}
	# forked-daapd's volume goes to 11! If that's more than you can handle
	# you can set a lower value here
	# AirPlay password
spotify {
	# Directory where user settings should be stored (credentials)
	# Cache directory
	# Set preferred bitrate for music streaming
	# 0: No preference (default), 1: 96kbps, 2: 160kbps, 3: 320kbps
}


-- no debconf information



More information about the pkg-multimedia-maintainers mailing list