bugGNU Prolog for Java - Bugs: bug #30630, Deadlock when running multiple...

 
 

bug #30630: Deadlock when running multiple Interpreters in different threads with the same Environment

Submitted by:  Daniel Thomas <drt24>
Submitted on:  Mon 02 Aug 2010 04:10:36 PM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Confirmed
Privacy:  Public Assigned to:  Daniel Thomas <drt24>
Open/Closed:  Open Planned Release:  0.2.5

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 02 Aug 2010 04:10:36 PM UTC, original submission:

According to the API it should be possible to use multiple threads on the same Environment as long as they use different Interpreters created using Environment#createInterpreter() http://www.gnu.org/software/gnuprologjava/api/gnu/prolog/vm/Environment.html#createInterpreter()

Unfortunately this results in deadlock in a fairly short period of time when running the inria tests in parallel with 4 threads. I suspect there are multiple flaws which result in this happening.

Current efforts to fix this bug are hampered by the lack of a good method for debugging them.

Daniel Thomas <drt24>
Project AdministratorIn charge of this item.

 

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

Attach Files:
   
   
Comment:
   

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 drt24 (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.3