Reply To: Clicking on Start Scan crashes mt-daapd

#17339
Anonymous
Inactive

I have got the same problem here, with the latest version (0.9~r1696-1.3+b1) from Debian, both on arm (NSLU2) and amd64. I added no new songs. Pushing the “start scan” button crashes the server. Here is a debug level 9 log of the last thread, until the crash:


2008-07-03 03:21:00 (8bdef65c): Got listen socket 10
2008-07-03 03:21:00 (e6bd624b): Thread 11:
2008-07-03 03:21:00 (e6bd624b): Request: POST /xml-rpc HTTP/1.1
2008-07-03 03:21:00 (e6bd624b): Thread 11: Read: User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5) KHTML/3.5.9 (like Gecko)
2008-07-03 03:21:00 (e6bd624b): Thread 11: Adding header *User-Agent=Mozilla/5.0 (compatible; Konqueror/3.5) KHTML/3.5.9 (like Gecko)*
2008-07-03 03:21:00 (e6bd624b): Added *User-Agent=Mozilla/5.0 (compatible; Konqueror/3.5) KHTML/3.5.9 (like Gecko)*
2008-07-03 03:21:00 (e6bd624b): Thread 11: Read: Referer: http://localhost:3689/index.html
2008-07-03 03:21:00 (e6bd624b): Thread 11: Adding header *Referer=http://localhost:3689/index.html*
2008-07-03 03:21:00 (e6bd624b): Added *Referer=http://localhost:3689/index.html*
2008-07-03 03:21:00 (e6bd624b): Thread 11: Read: Pragma: no-cache
2008-07-03 03:21:00 (e6bd624b): Thread 11: Adding header *Pragma=no-cache*
2008-07-03 03:21:00 (e6bd624b): Added *Pragma=no-cache*
2008-07-03 03:21:00 (e6bd624b): Thread 11: Read: Cache-control: no-cache
2008-07-03 03:21:00 (e6bd624b): Thread 11: Adding header *Cache-control=no-cache*
2008-07-03 03:21:00 (e6bd624b): Added *Cache-control=no-cache*
2008-07-03 03:21:00 (e6bd624b): Thread 11: Read: Accept: text/html, image/jpeg, image/png, text/*, image/*, */*
2008-07-03 03:21:00 (e6bd624b): Thread 11: Adding header *Accept=text/html, image/jpeg, image/png, text/*, image/*, */**
2008-07-03 03:21:00 (e6bd624b): Added *Accept=text/html, image/jpeg, image/png, text/*, image/*, */**
2008-07-03 03:21:00 (e6bd624b): Thread 11: Read: Accept-Encoding: x-gzip, x-deflate, gzip, deflate
2008-07-03 03:21:00 (e6bd624b): Thread 11: Adding header *Accept-Encoding=x-gzip, x-deflate, gzip, deflate*
2008-07-03 03:21:00 (e6bd624b): Added *Accept-Encoding=x-gzip, x-deflate, gzip, deflate*
2008-07-03 03:21:00 (e6bd624b): Thread 11: Read: Accept-Charset: utf-8, utf-8;q=0.5, *;q=0.5
2008-07-03 03:21:00 (e6bd624b): Thread 11: Adding header *Accept-Charset=utf-8, utf-8;q=0.5, *;q=0.5*
2008-07-03 03:21:00 (e6bd624b): Added *Accept-Charset=utf-8, utf-8;q=0.5, *;q=0.5*
2008-07-03 03:21:00 (e6bd624b): Thread 11: Read: Accept-Language: fr, en
2008-07-03 03:21:00 (e6bd624b): Thread 11: Adding header *Accept-Language=fr, en*
2008-07-03 03:21:00 (e6bd624b): Added *Accept-Language=fr, en*
2008-07-03 03:21:00 (e6bd624b): Thread 11: Read: Host: localhost:3689
2008-07-03 03:21:00 (e6bd624b): Thread 11: Adding header *Host=localhost:3689*
2008-07-03 03:21:00 (e6bd624b): Added *Host=localhost:3689*
2008-07-03 03:21:00 (e6bd624b): Thread 11: Read: connection: close
2008-07-03 03:21:00 (e6bd624b): Thread 11: Adding header *connection=close*
2008-07-03 03:21:00 (e6bd624b): Added *connection=close*
2008-07-03 03:21:00 (e6bd624b): Thread 11: Read: x-prototype-version: 1.4.0
2008-07-03 03:21:00 (e6bd624b): Thread 11: Adding header *x-prototype-version=1.4.0*
2008-07-03 03:21:00 (e6bd624b): Added *x-prototype-version=1.4.0*
2008-07-03 03:21:00 (e6bd624b): Thread 11: Read: x-requested-with: XMLHttpRequest
2008-07-03 03:21:00 (e6bd624b): Thread 11: Adding header *x-requested-with=XMLHttpRequest*
2008-07-03 03:21:00 (e6bd624b): Added *x-requested-with=XMLHttpRequest*
2008-07-03 03:21:00 (e6bd624b): Thread 11: Read: Content-type: application/x-www-form-urlencoded
2008-07-03 03:21:00 (e6bd624b): Thread 11: Adding header *Content-type=application/x-www-form-urlencoded*
2008-07-03 03:21:00 (e6bd624b): Added *Content-type=application/x-www-form-urlencoded*
2008-07-03 03:21:00 (e6bd624b): Thread 11: Read: Authorization: Basic Om10LWRhYXBk
2008-07-03 03:21:00 (e6bd624b): Thread 11: Adding header *Authorization=Basic Om10LWRhYXBk*
2008-07-03 03:21:00 (e6bd624b): Added *Authorization=Basic Om10LWRhYXBk*
2008-07-03 03:21:00 (e6bd624b): Thread 11: Read: Connection: Keep-Alive
2008-07-03 03:21:00 (e6bd624b): Thread 11: Adding header *Connection=Keep-Alive*
2008-07-03 03:21:00 (e6bd624b): Updating Connection from close to Keep-Alive
2008-07-03 03:21:00 (e6bd624b): Thread 11: Out of memory
2008-07-03 03:21:00: Aborting
2008-07-03 03:21:00 (fca21244): Received a message from daap server
2008-07-03 03:21:00 (fca21244): Rendezvous socket closed (daap server crashed?) Aborting.
2008-07-03 03:21:00: Aborting

It doesn’t seem to start any scan at all, before crashing…