Opened 10 years ago

Closed 9 years ago

#3107 closed defect (fixed)

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

Reported by: adrpo Owned by: sjoelund.se
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 Changed 10 years ago by sjoelund.se

  • Milestone changed from Future to 1.9.2
  • Owner changed from somebody to sjoelund.se
  • Status changed from new to accepted

comment:2 Changed 10 years ago by sjoelund.se

POSIX fix in r24243. Windows has not been considered.

comment:3 Changed 9 years ago by sjoelund.se

  • Milestone changed from 1.9.2 to 1.9.3

Milestone changed to 1.9.3 since 1.9.2 was released.

comment:4 Changed 9 years ago by adrpo

  • Milestone changed from 1.9.3 to 1.9.2
  • Resolution set to fixed
  • Status changed from accepted to closed

This was actually fixed in r24256 for Windows too.

Note: See TracTickets for help on using tickets.