Re: Need help debugging sp02.exe run on Strong APA scheduler

2020-09-24 Thread Richi Dubey
> > Deleting a suspended thread would not require any actions on the Ready set > of threads, for example. This is exactly what I was wondering. I'll look into data structures as you suggested. Thanks. On Thu, Sep 24, 2020 at 2:57 AM Joel Sherrill wrote: > > > On Wed, Sep 23, 2020 at 11:54 AM

Re: Need help debugging sp02.exe run on Strong APA scheduler

2020-09-23 Thread Joel Sherrill
On Wed, Sep 23, 2020 at 11:54 AM Richi Dubey wrote: > Thanks for the advice. > > I feel something is going wrong when we're trying to delete a suspended > task because maybe I'm not handling the suspension/deletion of tasks > properly in my code. Do you think this might be true for my code >

Re: Need help debugging sp02.exe run on Strong APA scheduler

2020-09-23 Thread Richi Dubey
Thanks for the advice. I feel something is going wrong when we're trying to delete a suspended task because maybe I'm not handling the suspension/deletion of tasks properly in my code. Do you think this might be true for my code

Re: Need help debugging sp02.exe run on Strong APA scheduler

2020-09-22 Thread Joel Sherrill
This isn't a proper solution but a debug technique. When stepping and running result in different behavior, it is sometimes useful to run to a specific point and look at data structures for anomalies. Since TA1 never prints, I wonder if something went wrong with the data structures before INIT del

Need help debugging sp02.exe run on Strong APA scheduler

2020-09-22 Thread Richi Dubey
Hi, I've been trying to debug why sp02 keeps failing on Strong APA scheduler and it's hard for me to debug because there are different points at which the same program breaks on gdb even though this is a single processor test. I have attached the different error logs. In error.txt, we can see that