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: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Confirmed
Privacy: PublicAssigned to: Daniel Thomas <drt24>
Open/Closed: OpenPlanned 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 File(s):

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 drt24 (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-cleanup1