Ticket #149 (closed Bug: fixed)

Opened 10 years ago

Last modified 10 years ago

bug in scheduling simulation with aperiodic tasks

Reported by: jlegrand Owned by:
Priority: minor Milestone: 3.0
Component: framework Version:
Keywords: Cc:

Description (last modified by jlegrand) (diff)

When i launch the simulation with a project which contains 3 processor/core and each one contains 3 aperiodic task, the following error is raised :

CONSTRAINT_ERRORscheduler-dynamic_priority-edf.adb:98 tag check failed

The corresponding code :

96 Dynamic_Priority_Tcb_Ptr (Si.Tcbs (i)).Dynamic_Deadline  :=
97              Si.Tcbs (i).wake_up_time +
98              Periodic_Task_Ptr (Si.Tcbs (i).Tsk).deadline;

Indeed, i only have aperiodic tasks and the task is forced to be a periodic one.
Feature or bug?

Attachments

test_aperiodic1.xmlv3 (10.3 KB) - added by jlegrand 10 years ago.
test_periodic1.xmlv3 (13.6 KB) - added by jlegrand 10 years ago.

Change History

Changed 10 years ago by jlegrand

comment:1 Changed 10 years ago by jlegrand

  • Description modified (diff)

Almost same error with test_periodic1.xmlv3 file :

CONSTRAINT_ERRORscheduler-dynamic_priority-edf.adb:96 tag check failed

This time it is on the 96th line!

Changed 10 years ago by jlegrand

comment:2 Changed 10 years ago by jlegrand

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.