[Bug 694246] New: gsttcp.c drop tcpconnection on EINTR

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Feb 19 23:24:21 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=694246
  GStreamer | gst-plugins-base | 0.10.36

           Summary: gsttcp.c  drop tcpconnection on EINTR
    Classification: Platform
           Product: GStreamer
           Version: 0.10.36
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: chris.ruehl at gtsys.com.hk
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=236901)
 View: https://bugzilla.gnome.org/attachment.cgi?id=236901
 Review: https://bugzilla.gnome.org/review?bug=694246&attachment=236901

restart gst_poll_wait() when errno==EINTR

Hi, 
we are using the tcpclientsrc to connect a local loopback tcp port.
Its an embedded system armv7 - we discover a problem that the gsttcp.c :270
set the gst_poll_wait() and return with error if a Interupted System Call
happen.
errno = EINTR.

At this point the EINTR is not to handle as an error. Its safe to retry setup
the gst_poll_wait() again.

Please review attached patch which works great with our project!

regards
Chris

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list