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


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

Submitted by:  Sergio López <k0ro>
Submitted on:  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: 

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.6