mt-daapd crashes on startup

Bug #346595 reported by Jorge Suarez on 2009-03-22
This bug report is a duplicate of:  Bug #343069: Avahi causing mt-daap to segfault. Edit Remove
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
mt-daapd (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: mt-daapd

It crashes all the time:

[ 1668.230676] mt-daapd[3034]: segfault at 4 ip b74696b6 sp bff648b8 error 6 in libdbus-1.so.3.4.0[b7444000+36000]
[ 1798.836976] mt-daapd[3552]: segfault at 4 ip b73a36b6 sp bfa9f758 error 6 in libdbus-1.so.3.4.0[b737e000+36000]
[ 1828.882057] mt-daapd[3565]: segfault at 4 ip b73ae6b6 sp bffaac08 error 6 in libdbus-1.so.3.4.0[b7389000+36000]
[ 1903.415138] mt-daapd[3667]: segfault at 4 ip b73536b6 sp bf94ddb8 error 6 in libdbus-1.so.3.4.0[b732e000+36000]
[ 3386.576881] mt-daapd[4244]: segfault at 4 ip b74e16b6 sp bfadb7a8 error 6 in libdbus-1.so.3.4.0[b74bc000+36000]
[ 3579.786642] mt-daapd[4326]: segfault at 4 ip b73176b6 sp bfe11a98 error 6 in libdbus-1.so.3.4.0[b72f2000+36000]

Found out it won't crash if you disable mDNS

Jorge Suarez (andres-430) wrote :
Download full text (4.7 KiB)

Startup sequence with debug enabled

andres@server1:~$ sudo mt-daapd -f -d9
Loading config file /etc/mt-daapd.conf
Opening file:///etc/mt-daapd.conf?ascii=1
Checking handler for file
opening /etc/mt-daapd.conf
Config file open
Got general/web_root, convert to general/web_root (/usr/share/mt-daapd/admin-root)
Found existing section
Got general/port, convert to general/port (3689)
Found existing section
Got general/admin_pw, convert to general/admin_pw (mt-daapd)
Found existing section
Got general/db_type, convert to general/db_type (sqlite3)
Found existing section
Got general/db_parms, convert to general/db_parms (/var/cache/mt-daapd)
Found existing section
Got general/mp3_dir, convert to general/mp3_dir (/media/storage/Audio)
Found existing section
Found 1 tokens in /media/storage/Audio
Token 1: /media/storage/Audio
Got general/servername, convert to general/servername (Music!!)
Found existing section
Got general/runas, convert to general/runas (mt-daapd)
Found existing section
Got general/extensions, convert to general/extensions (.mp3,.m4a,.m4p,.ogg,.flac,.mpc,.wma)
Found existing section
Expanding precomments to 2048
Expanding precomments to 4096
Got general/logfile, convert to general/logfile (/var/log/mt-daapd.log)
Found existing section
Got general/rescan_interval, convert to general/rescan_interval (3600)
Found existing section
Got general/scan_type, convert to general/scan_type (2)
Found existing section
Got general/compress, convert to general/compress (1)
Found existing section
Got plugins/plugin_dir, convert to plugins/plugin_dir (/usr/lib/mt-daapd/plugins)
Found existing section
Got plugins/plugins, convert to plugins/plugins (rsp.so,ssc-ffmpeg.so)
Found existing section
Found 2 tokens in rsp.so,ssc-ffmpeg.so
Token 1: rsp.so
Token 2: ssc-ffmpeg.so
Got scanning/process_playlists, convert to scanning/process_playlists (1)
Found existing section
Got scanning/process_itunes, convert to scanning/process_itunes (1)
Found existing section
Got scanning/process_m3u, convert to scanning/process_m3u (1)
Found existing section
Checking existence of /usr/share/mt-daapd/admin-root
Checking existence of /usr/share/mt-daapd/admin-root
Checking existence of /var/cache/mt-daapd
Checking existence of /var/cache/mt-daapd
Config entry general/compress is deprecated. Please review the sample config
Checking existence of /usr/lib/mt-daapd/plugins
Checking existence of /usr/lib/mt-daapd/plugins
Loading new config file.
Opening file:///var/log/mt-daapd.log?mode=a&ascii=1
Checking handler for file
opening /var/log/mt-daapd.log
Firefly Version svn-1696: Starting with debuglevel 9
Attempting to load plugin /usr/lib/mt-daapd/plugins/ssc-ffmpeg.so
Couldn't get lib handle for /usr/lib/mt-daapd/plugins/ssc-ffmpeg.so
Error loading plugin /usr/lib/mt-daapd/plugins/ssc-ffmpeg.so: /usr/lib/mt-daapd/plugins/ssc-ffmpeg.so: undefined symbol: avcodec_decode_audio
Attempting to load plugin /usr/lib/mt-daapd/plugins/out-daap.so
Loaded plugin /usr/lib/mt-daapd/plugins/out-daap.so (daap/svn-1696)
New transcode codec list:
Attempting to load plugin /usr/lib/mt-daapd/plugins/ssc-script.so
No ssc program specified for script transcoder.
Error loading plugin /usr/lib/mt-daapd...

Read more...

Jamal Fanaian (jamalta) wrote :
Download full text (4.8 KiB)

I am also experiencing a similar bug. I was getting the segmentation fault that the previous commenter experienced. If I stopped avahi-daemon the service worked perfectly though. After starting avahi and trying again I got a different error though. Here is the output that is currently being generated by mt-daapd with debug level 9.

I am running Ubuntu Jaunty 9.04.

jamal@jfhome:~$ sudo mt-daapd -f -d 9
Loading config file /etc/mt-daapd.conf
Opening file:///etc/mt-daapd.conf?ascii=1
Checking handler for file
opening /etc/mt-daapd.conf
Config file open
Got general/web_root, convert to general/web_root (/usr/share/mt-daapd/admin-root)
Found existing section
Got general/port, convert to general/port (3689)
Found existing section
Got general/admin_pw, convert to general/admin_pw (mt-daapd)
Found existing section
Got general/db_type, convert to general/db_type (sqlite3)
Found existing section
Got general/db_parms, convert to general/db_parms (/var/cache/mt-daapd)
Found existing section
Got general/mp3_dir, convert to general/mp3_dir (/home/jamal/Music)
Found existing section
Found 1 tokens in /home/jamal/Music
Token 1: /home/jamal/Music
Got general/servername, convert to general/servername (Firefly %v on %h)
Found existing section
Got general/runas, convert to general/runas (mt-daapd)
Found existing section
Got general/extensions, convert to general/extensions (.mp3,.m4a,.m4p,.ogg,.flac,.mpc)
Found existing section
Got general/never_transcode, convert to general/never_transcode (ogg)
Found existing section
Expanding precomments to 2048
Expanding precomments to 4096
Got general/scan_type, convert to general/scan_type (2)
Found existing section
Got plugins/plugin_dir, convert to plugins/plugin_dir (/usr/lib/mt-daapd/plugins)
Found existing section
Got plugins/plugins, convert to plugins/plugins (rsp.so)
Found existing section
Found 1 tokens in rsp.so
Token 1: rsp.so
Got scanning/process_playlists, convert to scanning/process_playlists (1)
Found existing section
Got scanning/process_itunes, convert to scanning/process_itunes (1)
Found existing section
Got scanning/process_m3u, convert to scanning/process_m3u (1)
Found existing section
Checking existence of /usr/share/mt-daapd/admin-root
Checking existence of /usr/share/mt-daapd/admin-root
Checking existence of /var/cache/mt-daapd
Checking existence of /var/cache/mt-daapd
Checking existence of /usr/lib/mt-daapd/plugins
Checking existence of /usr/lib/mt-daapd/plugins
Loading new config file.
Firefly Version svn-1696: Starting with debuglevel 9
Attempting to load plugin /usr/lib/mt-daapd/plugins/out-daap.so
Loaded plugin /usr/lib/mt-daapd/plugins/out-daap.so (daap/svn-1696)
New transcode codec list:
Attempting to load plugin /usr/lib/mt-daapd/plugins/ssc-script.so
No ssc program specified for script transcoder.
Error loading plugin /usr/lib/mt-daapd/plugins/ssc-script.so: plugin declined to load
Attempting to load plugin /usr/lib/mt-daapd/plugins/rsp.so
Loaded plugin /usr/lib/mt-daapd/plugins/rsp.so (rsp/svn-1696)
New transcode codec list:
Attempting to load plugin /usr/lib/mt-daapd/plugins/ssc-ffmpeg.so
Couldn't get lib handle for /usr/lib/mt-daapd/plugins/ssc-ffmpeg.so
Error loading plugin /usr/lib/...

Read more...

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mt-daapd (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers