philippe_44 wrote: 
> crap ... I see the side effect - I've moved the change, which seems to
> do the work, in a critical section where this should not happen (I was
> doing a fseek on a closed file) - in github now

Unfortunately, it's still crashing when I stop the stream.

Code:
--------------------
    [14:13:13.024632] sq_read:712 [0x10004b8e0]: read 1048576 (r:57344 w:192)
  [14:13:13.425924] sq_read:712 [0x10004b8e0]: read 1048576 (r:94208 w:192)
  
  Program received signal EXC_BAD_ACCESS, Could not access memory.
  Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000068
  [Switching to process 1205]
  0x00007fff837acdd9 in flockfile ()
  (gdb) bt
  #0  0x00007fff837acdd9 in flockfile ()
  #1  0x00007fff837b62f2 in fseek ()
  #2  0x000000010000b6a6 in sq_read (desc=0x10004bf98, dst=0x10135800a, 
bytes=1048576) at squeezetiny/main.c:669
  #3  0x0000000100011a25 in WebRead (FileHandle=0x10004bf98, buf=0x10135800a 
"@", 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 ()
  
--------------------


Code:
--------------------
    [14:18:11.022427] sq_read:712 [0x10004b8e0]: read 1048576 (r:86016 w:200)
  [14:18:11.539554] AVTBasic:343 uPNP Stop for 
http://192.168.100.228:6357/MediaRenderer_AVTransport/control (cookie 0xfa)
  
  Program received signal EXC_BAD_ACCESS, Could not access memory.
  Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000068
  [Switching to process 1252]
  0x00007fff837acdd9 in flockfile ()
  (gdb) bt
  #0  0x00007fff837acdd9 in flockfile ()
  #1  0x00007fff837b62f2 in fseek ()
  #2  0x000000010000b6a6 in sq_read (desc=0x10004c1f0, dst=0x10135e00a, 
bytes=1048576) at squeezetiny/main.c:669
  #3  0x0000000100011a25 in WebRead (FileHandle=0x10004c1f0, buf=0x10135e00a 
"ýå\023ܾôQã[ùOääñàôé××îëlØ·ïtòdå\036õgì[üßôi\t¸û[\017", 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&currency_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

Reply via email to