[mythtv-commits] Ticket #2430: UPnP sendfile64 returns Invalid argument error.

MythTV mythtv at cvs.mythtv.org
Wed Sep 20 10:55:43 UTC 2006


#2430: UPnP sendfile64 returns Invalid argument error.
-----------------------------+----------------------------------------------
 Reporter:  MTisza at ieee.org  |       Owner:  ijr    
     Type:  defect           |      Status:  new    
 Priority:  major            |   Milestone:  unknown
Component:  mythtv           |     Version:  0.20   
 Severity:  medium           |  
-----------------------------+----------------------------------------------
 Line 287 of httrequest.cpp uses sendfile64 to send the files out to the
 UPnP/http client.  I narrowed down my probelm to that call, and changed it
 as such to find the error message:
         if (sendfile64( getSocketHandle(), file, &offset, llSize ) < 0 )
         {
                 perror("Error sending file: ");
         }
 After that I can see:
 2006-09-20 06:33:47.977 HttpWorkerThread::ProcessWork:Begin( -1394639952 )
 socket=15
 Error sending file: : Invalid argument
 2006-09-20 06:33:47.987 HttpWorkerThread::ProcessWork:End( -1394639952 )

 This only happens on some files.  At first I thought it was only & all
 large files.  After some additional testing I can see a file that's 5.8GB
 so that's out I think.
 All my files are recorded OTA/ATSC/HD.  They play fine locally, but not
 via UPnP.  My troublshooting included a complete reinstall of the OS, from
 ubuntu at first to kubuntu.  Both were dapper drake releases.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/2430>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list