[Bug 1585] New: pipe->Semaphore not deleted by pipe_release when file open flags are O_WRONLY | O_NONBLOCK

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Jun 22 11:59:11 UTC 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1585

           Summary: pipe->Semaphore not deleted by pipe_release when file
                    open flags are O_WRONLY | O_NONBLOCK
           Product: RTEMS
           Version: 4.10
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: filesystem
        AssignedTo: chrisj at rtems.org
        ReportedBy: bharath.s.jois at gmail.com


Call to rtems_semaphore_delete from pipe_release returns RTEMS_RESOURCE_IN_USE
when the fifo_open is called with WRONLY non-blocking mode. 

The semaphore is obtained in pipe_new when the resources for the pipe are
allocated and is not released before the call to rtems_semaphore_delete in this
case.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list