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 InterfacesSeverity: 4 - Important
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: OpenReproducibility: Every Time
Size (loc): NonePlanned Release: None
Effort: 0.00
Wiki-like text discussion box: 

Add a New Comment (Rich MarkupRich 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup