bugThe GNU Hurd - Bugs: bug #29953, libdiskfs: multiple calls to...


bug #29953: libdiskfs: multiple calls to diskfs_release_peropen with mutex already hold

Submitter:  Sergio López <k0ro>
Submitted:  Mon 24 May 2010 08:57:06 AM UTC
Category:  Hurd Interfaces Severity:  4 - Important
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Reproducibility:  Every Time
Size (loc):  None Planned Release:  None
Effort:  0.00
Wiki-like text discussion box: 

* Mandatory Fields

Add a New Comment Rich Markup

Mon 24 May 2010 08:57:06 AM UTC, original submission:  

diskfs_release_peropen is called as part of a cleanup operation if diskfs_create_protid returns an error. This function tries to lock the mutex of the node related to the peropen structure.

At multiple places in libdiskfs, this call is made with this mutex already hold, so the current thread (and every other thread that tries to operate with that node) is blocked forever.

This behaviour is pretty uncommon as diskfs_create_protid only fails in case that all ports available to the current task have been consumed.

Sergio López <k0ro>
Group Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by k0ro (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code