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

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

Add a New Comment Rich Markup

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>
Group administrator


(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 drt24 (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.13-4448.
    Corresponding source code