[LITMUS^RT] Hit crash in C-EDF (configured as partitioned)
Björn Brandenburg
bbb at mpi-sws.org
Tue Jan 29 12:17:17 CET 2013
On Jan 29, 2013, at 3:44 AM, Glenn Elliott <gelliott at cs.unc.edu> wrote:
> With the ECRTS crunch, I don't expect anyone to take a look at this, but I think I may have hit a bug with C-EDF when cluster size = 1 (partitioned). It is a pretty strange crash. Waking from sys_wait_for_ts_release() seems to lead to a crash in unlink(). The code is trying to remove the bheap node of the waiting task from the ready queue. The check on is_queued() is successful, but the remove() call fails in a NULL pointer dereference.
I've hit the same bug. It's triggered by arming the timer for a job twice. I have a fix, but it doesn't apply cleanly to the mainline plugin (I've ripped out the rt_domain code for my version). I'll see if I can quickly extract an experimental patch.
- Björn
More information about the litmus-dev
mailing list