Package: mt-daapd
Version: 0.9~r1696.dfsg-16
Severity: important

when issuing a simple request for a non-existing database (e.g. via curl), the
server
replies correctly but then crashes:

$ curl http://192.168.1.128:3689/rsp/db/2
<?xml version="1.0" encoding="UTF-8"
standalone="yes"?><response><status><errorcode>0</errorcode><errorstring></errorstring><records>0</records><totalrecords>0</totalrecords></status><items>sta...@worthil:

$ curl http://192.168.1.128:3689/rsp/db/2
curl: (7) couldn't connect to host

running mt-daapd in foreground with debug level 9:

Thread 1:
Request: GET /rsp/db/2 HTTP/1.1
Thread 1: Read: User-Agent: curl/7.21.0 (i486-pc-linux-gnu)
libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6
Thread 1: Adding header *User-Agent=curl/7.21.0 (i486-pc-linux-gnu)
libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6*
Added *User-Agent=curl/7.21.0 (i486-pc-linux-gnu) libcurl/7.21.0
OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6*
Thread 1: Read: Host: 192.168.1.128:3689
Thread 1: Adding header *Host=192.168.1.128:3689*
Added *Host=192.168.1.128:3689*
Thread 1: Read: Accept: */*
Thread 1: Adding header *Accept=*/**
Added *Accept=*/**
Thread 1: Read:
Thread 1: Headers parsed!
Checking to see if connection matches close
Nope!
Thread 1: Connection type HTTP/1.1
: Connection: persist
Thread 1: Original URI: /rsp/db/2
Thread 1: Translated URI: /rsp/db/2
Thread 1: Preparing to find handler
Checking /rsp/db/2 against handler for /
Thread 1: URI Match!
Thread 1: Time is 1290689875 seconds after epoch
Thread 1: Setting time header
Added *Date=Thu, 25 Nov 2010 12:57:55 GMT*
Added *Connection=keep-alive*
Added *Server=mt-daapd/svn-1696*
Added *Content-Type=text/html*
Added *Content-Language=en_us*
Thread 1: Using non-default handler
Checking if pw required for /rsp/db/2 as user
Nope
Executing: select type,query from playlists where id=2
Creating new db handle
Added *Cache-Control=no-cache*
Added *Expires=-1*
Updating Content-Type from text/html to text/xml; charset=utf-8
Emitting reponse header Expires: -1
Emitting reponse header Cache-Control: no-cache
Emitting reponse header Content-Language: en_us
Emitting reponse header Content-Type: text/xml; charset=utf-8
Emitting reponse header Server: mt-daapd/svn-1696
Emitting reponse header Connection: keep-alive
Emitting reponse header Date: Thu, 25 Nov 2010 12:57:55 GMT
Segmentation fault



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mt-daapd depends on:
ii  adduser            3.112                 add and remove users and groups
ii  avahi-daemon       0.6.27-2              Avahi mDNS/DNS-SD daemon
ii  libavahi-client3   0.6.27-2              Avahi client library
ii  libavahi-common3   0.6.27-2              Avahi common library
ii  libavcodec52       5:0.6~svn20100603-0.0 library to encode decode multimedi
ii  libavformat52      5:0.6~svn20100603-0.0 ffmpeg file format library
ii  libavutil49        4:0.5.2-6             ffmpeg utility library
ii  libc6              2.11.2-7              Embedded GNU C Library: Shared lib
ii  libflac8           1.2.1-2+b1            Free Lossless Audio Codec - runtim
ii  libid3tag0         0.15.1b-10            ID3 tag reading library from the M
ii  libjs-prototype    1.6.1-1               JavaScript Framework for dynamic w
ii  libjs-scriptaculou 1.8.3-1               JavaScript library for dynamic web
ii  libogg0            1.2.0~dfsg-1          Ogg bitstream library
ii  libsqlite3-0       3.7.3-1               SQLite 3 shared library
ii  libtagc0           1.6.3-1               TagLib Audio Meta-Data Library (C 
ii  libvorbis0a        1.3.1-1               The Vorbis General Audio Compressi
ii  libvorbisfile3     1.3.1-1               The Vorbis General Audio Compressi
ii  zlib1g             1:1.2.3.4.dfsg-3      compression library - runtime

mt-daapd recommends no packages.

mt-daapd suggests no packages.

-- Configuration Files:
/etc/mt-daapd.conf [Errno 13] Permission denied: u'/etc/mt-daapd.conf'

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to