[gstreamer-bugs] [Bug 597946] New: GstPoll fails on MacOSX

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Oct 9 12:55:26 PDT 2009


https://bugzilla.gnome.org/show_bug.cgi?id=597946
  GStreamer | gstreamer (core) | git

           Summary: GstPoll fails on MacOSX
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Mac OS
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: bilboed at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Running suite(s): GstPoll
66%: Checks: 6, Failures: 2, Errors: 0
gst/gstpoll.c:207:F:general:test_poll_wait_restart:0: Write descriptor should
be writeable
gst/gstpoll.c:311:F:general:test_poll_controllable:0: Write descriptor should
be writeable


The problem seems to be well known ([0], [1]) and comes down to
stdin/stdout/stderr being devices and not pipes on macosx ... and therefore not
pollable (they return POLLNVAL straight away).

The second link proposes a fix... but something tells me it's maybe not what we
want.

Shall we limit usage of GstPoll on macosx to fds different from
stdin/stdout/stderr ? Shall we put a big fat warning ? Shall we make
gst_poll_add_fd return false for 0/1/2 fds ?

[0]: http://valhenson.livejournal.com/21031.html
[1]: http://wiki.oriontransfer.org/snippets:poll_and_kqueue

P.S. Steve, if you read this, just die ! sorry, I meant iDie (available with
the latest iSuicide and it's iFailure extension pack)

-- 
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