Project

General

Profile

Bug #3693

MultiInstanceComposite actor deadlocks sometimes

Added by jianwu jianwu about 10 years ago. Updated over 9 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
actors
Target version:
Start date:
12/04/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3693

Description

When this actor is used in a workflow, Kepler sometimes deadlocks. To see this, repeatedley run a workflow with this actor. It freezes primarily during preinitialize, but sometimes during wrapup.

mic-1-simple.xml (27.8 KB) mic-1-simple.xml jianwu jianwu, 12/04/2008 03:36 PM

History

#1 Updated by Christopher Brooks about 10 years ago

I can't reproduce this.
In Kepler-1.0.0 on a multicore Windows 2003 Server with Java 1.6.0_07, I did:
1) Started Kepler by clicking in the icon
2) Help -> About -> Documentation
3) Clicked on "background information about Ptolemy" -> Quick Tour -> "complete list of demos" -> SDF -> DFTSubset
4) I ran the demo several times and did not hang for me.

There could easily be a bug here, but I'm not sure what model
was being run and on what platform and with what version of the JVM.

To check the JVM version, start up Kepler and click on Tools -> Check System
Settings.

#2 Updated by jianwu jianwu about 10 years ago

The deadlocks appear to occur when using PN (probably due to multi-threading). I'll upload a simple workflow. Note that you may need to try many times to see the deadlock.

#4 Updated by Daniel Crawl about 10 years ago

I was able to reproduce the deadlock in Jianwu's workflow on:

Windows XP, java 1.6.0_11, Kepler 1.0.0
Mac, java 1.5.0_16, both Kepler 1.0.0 and head

#5 Updated by Redmine Admin over 5 years ago

Original Bugzilla ID was 3693

Also available in: Atom PDF