You are here: Home » Topic » 20060317 multiple connections

20060317 multiple connections

This topic contains 2 replies, has 2 voices, and was last updated by  rpedde 11 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #203

    gordo
    Participant

    Running 20060317 on gentoo linux. First connection (from Soundbridge or iTunes) works fine. Attemtping to connect a second client (either Soundbridge or iTunes) fails. Not 100% reproducible sinec running -d9 I didn’t get it again. However Browsing artists doesn’t work on Soundbridge (when also connected with iTunes:

    *** glibc detected *** corrupted double-linked list: 0x080f30c0 ***

    at the same time playing from iTunes fails. Log is:

    2006-03-18 19:01:21: Item enum: got 13 songs, dmap size: 533
    2006-03-18 19:01:21: Added *Content-Length=594*
    2006-03-18 19:01:21: Emitting reponse header Content-Length: 594
    2006-03-18 19:01:21: Emitting reponse header Expires: -1
    2006-03-18 19:01:21: Emitting reponse header Cache-Control: no-cache
    2006-03-18 19:01:21: Emitting reponse header Content-Type: application/x-dmap-t$
    2006-03-18 19:01:21: Emitting reponse header DAAP-Server: mt-daapd/cvs-20060317
    2006-03-18 19:01:21: Emitting reponse header Accept-Ranges: bytes
    2006-03-18 19:01:21: Emitting reponse header Date: Sun, 19 Mar 2006 00:01:21 GMT
    2006-03-18 19:01:21: Done enumerating.
    2006-03-18 19:01:21: Entering config_set_status
    2006-03-18 19:01:21: Exiting config_set_status
    2006-03-18 19:01:21: Thread 3: Terminating
    2006-03-18 19:01:21: Thread 3: Freeing request headers
    2006-03-18 19:01:21: Thread 3: Freeing response headers
    2006-03-18 19:01:21: Thread 3: Freeing request vars
    2006-03-18 19:01:22: Thread 3: got request
    2006-03-18 19:01:22: Request: GET /update?revision-number=2&delta=2 HTTP/1.1
    2006-03-18 19:01:22: Thread 3: Read: Host: 192.168.15.12
    2006-03-18 19:01:22: Added *Host=192.168.15.12*
    2006-03-18 19:01:22: Thread 3: Read: Client-DAAP-Version: 3.2
    2006-03-18 19:01:22: Thread 3: Adding header *Client-DAAP-Version=3.2*
    2006-03-18 19:01:22: Added *Client-DAAP-Version=3.2*
    2006-03-18 19:01:22: Thread 3: Read: User-Agent: iTunes/6.0.4 (Windows; N)
    2006-03-18 19:01:22: Thread 3: Adding header *User-Agent=iTunes/6.0.4 (Windows;$
    2006-03-18 19:01:22: Added *User-Agent=iTunes/6.0.4 (Windows; N)*
    2006-03-18 19:01:22: Thread 3: Read: Accept-Language: en-us, en;q=0.50
    2006-03-18 19:01:22: Thread 3: Adding header *Accept-Language=en-us, en;q=0.50*
    2006-03-18 19:01:22: Added *Accept-Language=en-us, en;q=0.50*
    2006-03-18 19:01:22: Thread 3: Read: Client-DAAP-Access-Index: 2
    2006-03-18 19:01:22: Thread 3: Adding header *Client-DAAP-Access-Index=2*
    2006-03-18 19:01:22: Added *Client-DAAP-Access-Index=2*
    2006-03-18 19:01:22: Thread 3: Read: Client-DAAP-Validation: 8D062396351DDB2EBB$
    2006-03-18 19:01:22: Thread 3: Adding header *Client-DAAP-Validation=8D06239635$
    2006-03-18 19:01:22: Added *Client-DAAP-Validation=8D062396351DDB2EBBB3EB155C62$
    2006-03-18 19:01:22: Thread 3: Read: Accept-Encoding: gzip
    2006-03-18 19:01:22: Thread 3: Read: Accept-Encoding: gzip
    2006-03-18 19:01:22: Thread 3: Adding header *Accept-Encoding=gzip*
    2006-03-18 19:01:22: Added *Accept-Encoding=gzip*
    2006-03-18 19:01:22: Thread 3: Read:
    2006-03-18 19:01:22: Thread 3: Headers parsed!
    2006-03-18 19:01:22: Checking to see if connection matches close
    2006-03-18 19:01:22: Nope!
    2006-03-18 19:01:22: Thread 3: Connection type HTTP/1.1
    : Connection: persist
    2006-03-18 19:01:22: Thread 3: parsing GET args
    2006-03-18 19:01:22: Thread 3: Entering ws_getgetvars (revision-number=2&delta=$
    2006-03-18 19:01:22: Thread 3: Adding arg revision-number = 2
    2006-03-18 19:01:22: Added *revision-number=2*
    2006-03-18 19:01:22: Thread 3: Adding arg delta = 2
    2006-03-18 19:01:22: Added *delta=2*
    2006-03-18 19:01:22: Thread 3: Done parsing GET/POST args!
    2006-03-18 19:01:22: Thread 3: Original URI: /update
    2006-03-18 19:01:22: Thread 3: Translated URI: /update
    2006-03-18 19:01:22: Thread 3: Preparing to find handler
    2006-03-18 19:01:22: Thread 3: URI Match!
    2006-03-18 19:01:22: Thread 3: Time is 1142726482 seconds after epoch
    2006-03-18 19:01:22: Thread 3: Setting time header
    2006-03-18 19:01:22: Added *Date=Sun, 19 Mar 2006 00:01:22 GMT*
    2006-03-18 19:01:22: Thread 3: Using non-default handler
    2006-03-18 19:01:22: Added *Accept-Ranges=bytes*
    2006-03-18 19:01:22: Added *DAAP-Server=mt-daapd/cvs-20060317*
    2006-03-18 19:01:22: Added *Content-Type=application/x-dmap-tagged*
    2006-03-18 19:01:22: Added *Cache-Control=no-cache*
    2006-03-18 19:01:22: Added *Expires=-1*
    2006-03-18 19:01:22: Preparing to send update response
    2006-03-18 19:01:57: Thread 4: Entering ws_dispatcher (Connection from 192.168.$
    2006-03-18 19:01:57: Thread 4: got request
    2006-03-18 19:01:57: Request: GET /databases/1/browse/artists?session-id=1 HTTP$
    2006-03-18 19:01:57: Thread 4: Read: User-Agent: Roku SoundBridge/2.5
    2006-03-18 19:01:57: Thread 4: Adding header *User-Agent=Roku SoundBridge/2.5*
    2006-03-18 19:01:57: Added *User-Agent=Roku SoundBridge/2.5*
    2006-03-18 19:01:57: Thread 4: Read: Host: 192.168.15.12:3689
    2006-03-18 19:01:57: Thread 4: Adding header *Host=192.168.15.12:3689*
    2006-03-18 19:01:57: Added *Host=192.168.15.12:3689*
    2006-03-18 19:01:57: Thread 4: Read: Accept: */*
    2006-03-18 19:01:57: Thread 4: Adding header *Accept=*/**
    2006-03-18 19:01:57: Added *Accept=*/**
    2006-03-18 19:01:57: Thread 4: Read: Pragma: no-cache
    2006-03-18 19:01:57: Thread 4: Adding header *Pragma=no-cache*
    2006-03-18 19:01:57: Added *Pragma=no-cache*
    2006-03-18 19:01:57: Thread 4: Read: Client-DAAP-Version: 1.0
    2006-03-18 19:01:57: Thread 4: Adding header *Client-DAAP-Version=1.0*
    2006-03-18 19:01:57: Added *Client-DAAP-Version=1.0*
    2006-03-18 19:01:57: Thread 4: Read: Client-DMAP-Version: 1.0
    2006-03-18 19:01:57: Thread 4: Adding header *Client-DMAP-Version=1.0*
    2006-03-18 19:01:57: Added *Client-DMAP-Version=1.0*
    2006-03-18 19:01:57: Thread 4: Read:
    2006-03-18 19:01:57: Thread 4: Headers parsed!
    2006-03-18 19:01:57: Checking to see if connection matches keep-alive
    2006-03-18 19:01:57: Nope!
    2006-03-18 19:01:57: Thread 4: Connection type HTTP/1.0
    : Connection: non-persist
    2006-03-18 19:01:57: Thread 4: parsing GET args
    2006-03-18 19:01:57: Thread 4: Entering ws_getgetvars (session-id=1)
    2006-03-18 19:01:57: Thread 4: Adding arg session-id = 1
    2006-03-18 19:01:57: Added *session-id=1*
    2006-03-18 19:01:57: Thread 4: Done parsing GET/POST args!
    2006-03-18 19:01:57: Thread 4: Original URI: /databases/1/browse/artists
    2006-03-18 19:01:57: Thread 4: Translated URI: /databases/1/browse/artists
    2006-03-18 19:01:57: Thread 4: Preparing to find handler
    2006-03-18 19:01:57: Thread 4: URI Match!
    2006-03-18 19:01:57: Thread 4: Time is 1142726517 seconds after epoch
    2006-03-18 19:01:57: Thread 4: Setting time header
    2006-03-18 19:01:57: Added *Date=Sun, 19 Mar 2006 00:01:57 GMT*
    2006-03-18 19:01:57: Thread 4: Using non-default handler
    2006-03-18 19:01:57: Added *Accept-Ranges=bytes*
    2006-03-18 19:01:57: Added *DAAP-Server=mt-daapd/cvs-20060317*
    2006-03-18 19:01:57: Added *Content-Type=application/x-dmap-tagged*
    2006-03-18 19:01:57: Added *Cache-Control=no-cache*
    2006-03-18 19:01:57: Added *Expires=-1*
    2006-03-18 19:01:57: No query/filter
    2006-03-18 19:01:57: Executing: select distinct artist from songs
    2006-03-18 19:01:57: Getting enum size.
    2006-03-18 19:01:57: Enumerating size
    2006-03-18 19:01:57: Executing: select distinct artist from songs
    2006-03-18 19:01:57: Got size: 15188
    2006-03-18 19:01:57: Item enum: got 591 items, dmap size: 15188
    2006-03-18 19:01:57: Added *Content-Length=15240*
    2006-03-18 19:01:57: Emitting reponse header Content-Length: 15240
    2006-03-18 19:01:57: Emitting reponse header Expires: -1
    2006-03-18 19:01:57: Emitting reponse header Cache-Control: no-cache
    2006-03-18 19:01:57: Emitting reponse header Content-Type: application/x-dmap-t$
    2006-03-18 19:01:57: Emitting reponse header DAAP-Server: mt-daapd/cvs-20060317
    2006-03-18 19:01:57: Emitting reponse header Accept-Ranges: bytes
    2006-03-18 19:01:57: Emitting reponse header Date: Sun, 19 Mar 2006 00:01:57 GMT

    #4111

    rpedde
    Participant

    saw this too, a double-free in the playlist parser. I’m looking at this now.

    — Ron

    #4112

    rpedde
    Participant

    The browse issue is something else, and that’s fixed in svn and next nightlies.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.