Opened 10 years ago

Closed 10 years ago

#3107 closed defect (fixed)

alarm should kill the children processes too (such as running simulation)

Reported by: Adrian Pop Owned by: Martin Sjölund
Priority: high Milestone: 1.9.2
Component: Interactive Environment Version: trunk
Keywords: Cc:

Description

If you say alarm(10); in a script and then run a long running simulation omc is killed but the started simulation process remains running.

This happens in Windows for:
testsuite/openmodelica/cppruntime/hpcom/Modelica.Electrical.Spice3.Examples.CoupledInductors_listr_omp.mos
you can get the same in Linux if you do:

stopTime := 100000;
timeout := 20;

Change History (4)

comment:1 by Martin Sjölund, 10 years ago

Milestone: Future1.9.2
Owner: changed from somebody to Martin Sjölund
Status: newaccepted

comment:2 by Martin Sjölund, 10 years ago

POSIX fix in r24243. Windows has not been considered.

comment:3 by Martin Sjölund, 10 years ago

Milestone: 1.9.21.9.3

Milestone changed to 1.9.3 since 1.9.2 was released.

comment:4 by Adrian Pop, 10 years ago

Milestone: 1.9.31.9.2
Resolution: fixed
Status: acceptedclosed

This was actually fixed in r24256 for Windows too.

Note: See TracTickets for help on using tickets.