Reply To: New problems with Solaris and 1586

#11647
rpedde
Participant

@bfranke wrote:

Here’s some additional info. I still haven’t found out what to do to make it crash (or actually to avoid this), sometime it works, but not always. If it gets stuck, however, this is the last output I can see in the GDB window.

Cheers,

Bjoern

Executing: INSERT INTO updated VALUES (306)
Rows: 1
Skipping file, not modified
Found /export/home0/samba/data/music/Depeche Mode/The Singles 86_98 (Disc 2)/._2-08 Useless.m4a
Found /export/home0/samba/data/music/Depeche Mode/The Singles 86_98 (Disc 2)/2-09 Only When I Lose Myself.m4a
Executing: select * from songs where path=’/export/home0/samba/data/music/Depeche Mode/The Singles 86_98 (Disc 2)/2-09 Only When I Lose Myself.m4a’ and idx=0
Thread 19: URI Match!
Thread 19: Time is 1184188401 seconds after epoch
Thread 19: Setting time header
Added *Date=Wed, 11 Jul 2007 21:13:21 GMT*
Added *Connection=keep-alive*
Added *Server=mt-daapd/svn-1586*
Added *Content-Type=text/html*
Added *Content-Language=en_us*
Thread 19: Using non-default handler
in main_auth
Checking url /xml-rpc
Checking url /xml-rpc
Dispatching auth for /xml-rpc to config auth
Checking if pw required for /xml-rpc as admin
Yep
Preparing to decode YWRtaW46bXQtZGFhcGQ=
Decoded admin:mt-daapd
Decoded user=admin, pw=mt-daapd
in main_auth
Checking url /xml-rpc
Checking url /xml-rpc
Dispatching auth for /xml-rpc to config auth
Added *HTTP_USER=admin*
Added *HTTP_PASSWD=mt-daapd*
in main_handler
Checking url /xml-rpc
Checking url /xml-rpc
Dispatching /xml-rpc to config handler
Entering config_handler
Entering config_set_status
Exiting config_set_status
Updating Connection from keep-alive to close
Entering config_set_status
Exiting config_set_status
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-1586
Emitting reponse header Connection: close
Emitting reponse header Date: Wed, 11 Jul 2007 21:13:21 GMT
Status inquiry
Returning status -1

I don’t have access to a sparc solaris box that I can handily use, but I don’t think it’s an endian issue or an alignment issue, since it works okay on ppc, mips, arm, etc.

I’ll try and replicate it on opensolaris and see if that gets me anywhere. Oh… and if you could get it to crash in gdb and get a backtrace, that would be really really helpful.

— Ron