knowledge-database (beta)

Current group: comp.soft-sys.ptolemy

RE: Vergil lock-ups

RE: Vergil lock-ups  
Edward A. Lee
From:Edward A. Lee
Subject:RE: Vergil lock-ups
Date:Thu, 06 Jan 2005 17:21:30 -0800

I have not been able to replicate this, but I'm using the CVS tree, which
has some deadlock fixed in PN.

It would be very helpful to have a stack trace. If you started vergil
from the command line on Cygwin, you can get this by typing control-break.

Edward

At 03:22 PM 1/6/2005 -0700, jeff_patterson@agilent.com wrote:
>I have been able to reproduce the (or a similar one)problem repeatedly. It
>seems that if during a simulation one hits the stop button on a vergil
>window that does not have focus, it causes vergil to hang in some sort of
>infinite loop. In this case, the status still says 'executing' (I am
>pretty sure that the other hangs showed 'execution complete' but perhaps I
>was wrong).
>
>To see this problem, execute a long simulation with some sort of plot.
>During the simulation, give focus to the plot window. Now hit the stop
>button **without** first giving focus back to the vergil window. The
>simulation stops but the the status still says 'executing'. No further
>changes can be made to the model. Often times it is necessary to kill
>javaw (using the task manager) and restart vergil to resume normal
>functionality.
>
>Hopefully this won't be too hard to fix.
>
>Jeff
>
>
>-----Original Message-----
>From: Edward A. Lee [mailto:eal@eecs.berkeley.edu]
>Sent: Tuesday, December 21, 2004 9:28 AM
>To: Jeff Patterson
>Cc: ptolemy-hackers@eecs.berkeley.edu
>Subject: Re: Vergil lock-ups
>
>
>
>Hmm... If you can save, then the UI must not be actually hanging
>(which would be a deadlock problem, probably). I suspect it's a problem
>with an infinite loop. What is your model doing? Is it a DE model?
>DE has a "feature" that if an actor fails to consume input tokens that
>are present, the actor is refired at the current time. If it continues
>to fail to consume the token, an infinite execution where time does
>not advance results...
>
>Edward
>
>At 06:21 AM 12/21/2004 -0800, Jeff Patterson wrote:
> >Since installing PTII v4.01 I've been having trouble with vergil locking
> >up. It seems to occur after a simulation is stopped prematurely (i.e.
> >using the stop button) at which point no modifications (moving actors,
> >changing parameters etc.) are possible. You can however save the file.
> >When it is in this mode it consumes all available CPU resources. I see
> >this in both a windows NT and linux installation.
> >
> >Any ideas?
> >
> >Jeff Patterson
> >Agilent Technologies
> >
> >
> >
> >
> >----------------------------------------------------------------------------
> >Posted to the ptolemy-hackers mailing list. Please send administrative
> >mail for this list to: ptolemy-hackers-request@ptolemy.eecs.berkeley.edu
>
>------------
>Edward A. Lee, Professor
>518 Cory Hall, UC Berkeley, Berkeley, CA 94720
>phone: 510-642-0455, fax: 510-642-2718
>eal@eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal

------------
Edward A. Lee, Professor
518 Cory Hall, UC Berkeley, Berkeley, CA 94720
phone: 510-642-0455, fax: 510-642-2718
eal@eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal


----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: ptolemy-hackers-request@ptolemy.eecs.berkeley.edu
   

Copyright © 2006 knowledge-database   -   All rights reserved