philippe_44 wrote:
> I did the same, once I was able to have a VM. Only problem I saw is with
> streaming services and I'm wondering if this is linked to that EOF
> detection that might be different on OSX. We can PM that if you want,
> just a few details before: the same "buffer" file is opened twice (2
> handles): once for write, fed by LMS sending data to sq2u, and a 2nd
> time in read mode used by the sq2u upnp webserver to feed the upnp
> player. In streaming, EOF of the read pointer will be reached multiple
> times, but sq2u does not give up (just wait a bit) because it knows that
> LMS has more data to send. What seems to happen is that on OSX, when EOF
> is detected once, even if the file is replenished through the write
> handle, the read handle is stuck. I'll have to put some trace to confirm
> that b/c I don't have any debugging capability on OSX, but I would need
> your help for compilation ...)
The change you made in 0.2.1.0a5 allows remote streams to play now, but
when I stop playback from the webgui s2u crashes.
Here's the back trace from two crashes at stop.
Code:
--------------------
[07:22:38.267440] AVTBasic:343 uPNP Stop for
http://192.168.100.228:6357/MediaRenderer_AVTransport/control (cookie 0x6f)
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000068
[Switching to process 679]
0x00007fff837acdd9 in flockfile ()
(gdb) bt
#0 0x00007fff837acdd9 in flockfile ()
#1 0x00007fff837b62f2 in fseek ()
#2 0x000000éÛá\033ê"..., buflen=1048576) at
squeeze2upnp/webserver.c:122es=1048576) at squeezetiny/main.c:673
#4 0x0000000100022cd7 in http_SendMessage ()=0x10004c1f0, buf=0x101b5e00a
"ïÖbÉo×mÈEØRÇtÚÅâܶÃkÞ$ÃIß\022Ä^ßâ\001Ý`àÝÞÞÝ#5 0x0000000100025ec9 in
web_server_callback
()/Ù°×_Ý)âõÕÇæËÕªêËÕíáÕÍîÅÕÝíüÔ<ë¾ÓqèµÒ]æ8ÒîäIÒeä*ÓðäwÕd娨ä¤Û
#6 0x000000010001c429 in handle_request ()
#7 0x0000000100037b61 in WorkerThread ()
#8 0x00007fff83794fd6 in _pthread_start ()
#9 0x00007fff83794e89 in thread_start ()
--------------------
Code:
--------------------
[07:31:20.973880] sq_read:714 [0x10004b8e0]: read 1048576 (r:86016 w:190)
[07:31:20.974048] AVTBasic:343 uPNP Stop for
http://192.168.100.228:6357/MediaRenderer_AVTransport/control (cookie 0x1f8)
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000068
[Switching to process 701]
0x00007fff837acdd9 in flockfile ()
(gdb) bt
#0 0x00007fff837acdd9 in flockfile ()
#1 0x00007fff837b62f2 in fseek ()
#2 0x000000010000b70d in sq_read (desc=0x10004c1f0, dst=0x10135800a,
bytes=1048576) at squeezetiny/main.c:673
#3 0x0000000100011a25 in WebRead (FileHandle=0x10004c1f0, buf=0x10135800a
"¾ê\027ú|éôè³ð", buflen=1048576) at squeeze2upnp/webserver.c:122
#4 0x0000000100022cd7 in http_SendMessage ()
#5 0x0000000100025ec9 in web_server_callback ()
#6 0x000000010001c429 in handle_request ()
#7 0x0000000100037b61 in WorkerThread ()
#8 0x00007fff83794fd6 in _pthread_start ()
#9 0x00007fff83794e89 in thread_start ()
--------------------
Ralphy
*1*-Touch, *4*-Classics, *2*-Booms, *1*-Reverted UE Radio
'Squeezebox client builds'
(https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=102496
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins