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 the
execution fails somewhere in _Context_Switch while it is not the case when
I step inside in case II, and other random things like these keep
happening. I'd appreciate it if you direct my thoughts.

I'm testing the source over this
<https://lists.rtems.org/pipermail/devel/2020-August/061661.html> and this
<https://lists.rtems.org/pipermail/devel/2020-September/061832.html> patch.

Thanks,
Richi.
Thread 1 hit Breakpoint 6, Init (argument=2108532) at 
/home/richi/quick-start/src/rtems/c/src/../../testsuites/sptests/sp02/init.c:26
26        TEST_BEGIN();
(gdb) ni
0x00100aa2      26        TEST_BEGIN();
(gdb) 
0x00100aa6      26        TEST_BEGIN();
(gdb) 
0x00100aaa      26        TEST_BEGIN();
(gdb) 
28        status = rtems_task_create(
(gdb) 
0x00100ab2      28        status = rtems_task_create(
(gdb) 
0x00100ab4      28        status = rtems_task_create(
(gdb) 
0x00100ab6      28        status = rtems_task_create(
(gdb) 
0x00100ab8      28        status = rtems_task_create(
(gdb) 
0x00100aba      28        status = rtems_task_create(
(gdb) 
0x00100abe      28        status = rtems_task_create(
(gdb) 
0x00100ac0      28        status = rtems_task_create(
(gdb) 
0x00100ac4      28        status = rtems_task_create(
(gdb) 
0x00100ac8      28        status = rtems_task_create(
(gdb) 

0x00100acc      28        status = rtems_task_create(
(gdb) 
36        directive_failed( status, "rtems_task_create of RTEMS_PREEMPT" );
(gdb) 
0x00100ad2      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100ad6      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100ad8      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100adc      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100ade      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100ae0      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b10      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b14      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b16      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b18      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b36      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b38      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b3a      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
38        status = rtems_task_start( preempt_task_id, Preempt_task, 0 );
(gdb) 
0x00100b6c      38        status = rtems_task_start( preempt_task_id, 
Preempt_task, 0 );
(gdb) 
0x00100b6e      38        status = rtems_task_start( preempt_task_id, 
Preempt_task, 0 );
(gdb) 
0x00100b72      38        status = rtems_task_start( preempt_task_id, 
Preempt_task, 0 );
(gdb) 
0x00100b76      38        status = rtems_task_start( preempt_task_id, 
Preempt_task, 0 );
(gdb) 
0x00100b78      38        status = rtems_task_start( preempt_task_id, 
Preempt_task, 0 );
(gdb) 

0x00100b7c      38        status = rtems_task_start( preempt_task_id, 
Preempt_task, 0 );
(gdb) 
39        directive_failed( status, "rtems_task_start of RTEMS_PREEMPT" );
(gdb) 
0x00100b82      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b86      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b88      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b8c      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b8e      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b90      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100bc0      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100bc4      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100bc6      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100bc8      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100be6      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100be8      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100bea      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 

41        puts( "INIT - rtems_task_wake_after - yielding processor" );
(gdb) 
0x00100c1e      41        puts( "INIT - rtems_task_wake_after - yielding 
processor" );
(gdb) 
0x00100c22      41        puts( "INIT - rtems_task_wake_after - yielding 
processor" );
(gdb) 

42        status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
(gdb) 
0x00100c28      42        status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR 
);
(gdb) 

0x00100c2c      42        status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR 
);
(gdb) 
43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c32      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 


0x00100c36      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c38      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c3c      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c3e      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c40      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c70      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 


0x00100c74      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c76      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c78      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c96      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c98      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c9a      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
45        Task_name[ 1 ] =  rtems_build_name( 'T', 'A', '1', ' ' );
(gdb) 
0x00100cce      45        Task_name[ 1 ] =  rtems_build_name( 'T', 'A', '1', ' 
' );
(gdb) 
0x00100cd2      45        Task_name[ 1 ] =  rtems_build_name( 'T', 'A', '1', ' 
' );
(gdb) 
0x00100cd6      45        Task_name[ 1 ] =  rtems_build_name( 'T', 'A', '1', ' 
' );
(gdb) 
0x00100cda      45        Task_name[ 1 ] =  rtems_build_name( 'T', 'A', '1', ' 
' );
(gdb) 
46        Task_name[ 2 ] =  rtems_build_name( 'T', 'A', '2', ' ' );
(gdb) 

0x00100ce0      46        Task_name[ 2 ] =  rtems_build_name( 'T', 'A', '2', ' 
' );
(gdb) 
0x00100ce4      46        Task_name[ 2 ] =  rtems_build_name( 'T', 'A', '2', ' 
' );
(gdb) 
0x00100ce8      46        Task_name[ 2 ] =  rtems_build_name( 'T', 'A', '2', ' 
' );
(gdb) 
0x00100cec      46        Task_name[ 2 ] =  rtems_build_name( 'T', 'A', '2', ' 
' );
(gdb) 
47        Task_name[ 3 ] =  rtems_build_name( 'T', 'A', '3', ' ' );
(gdb) 
0x00100cf2      47        Task_name[ 3 ] =  rtems_build_name( 'T', 'A', '3', ' 
' );
(gdb) 
0x00100cf6      47        Task_name[ 3 ] =  rtems_build_name( 'T', 'A', '3', ' 
' );
(gdb) 

0x00100cfa      47        Task_name[ 3 ] =  rtems_build_name( 'T', 'A', '3', ' 
' );
(gdb) 

0x00100cfe      47        Task_name[ 3 ] =  rtems_build_name( 'T', 'A', '3', ' 
' );
(gdb) 
49        status = rtems_task_create(
(gdb) 
0x00100d04      49        status = rtems_task_create(
(gdb) 
0x00100d08      49        status = rtems_task_create(
(gdb) 
0x00100d0a      49        status = rtems_task_create(
(gdb) 
0x00100d0c      49        status = rtems_task_create(
(gdb) 
0x00100d0e      49        status = rtems_task_create(
(gdb) 

0x00100d10      49        status = rtems_task_create(
(gdb) 

0x00100d12      49        status = rtems_task_create(
(gdb) 
0x00100d14      49        status = rtems_task_create(
(gdb) 
0x00100d18      49        status = rtems_task_create(
(gdb) 
0x00100d1a      49        status = rtems_task_create(
(gdb) 

0x00100d1e      49        status = rtems_task_create(
(gdb) 
57        directive_failed( status, "rtems_task_create of TA1" );
(gdb) 
0x00100d24      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d28      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d2a      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d2e      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d30      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d32      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d62      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d66      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d68      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d6a      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d88      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d8a      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d8c      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
59        status = rtems_task_create(
(gdb) 
0x00100dc0      59        status = rtems_task_create(
(gdb) 
0x00100dc4      59        status = rtems_task_create(
(gdb) 
0x00100dc6      59        status = rtems_task_create(
(gdb) 
0x00100dc8      59        status = rtems_task_create(
(gdb) 
0x00100dca      59        status = rtems_task_create(
(gdb) 
0x00100dcc      59        status = rtems_task_create(
(gdb) 
0x00100dce      59        status = rtems_task_create(
(gdb) 
0x00100dd0      59        status = rtems_task_create(
(gdb) 
0x00100dd4      59        status = rtems_task_create(
(gdb) 
0x00100dd6      59        status = rtems_task_create(
(gdb) 


0x00100dda      59        status = rtems_task_create(
(gdb) 
67        directive_failed( status, "rtems_task_create of TA2" );
(gdb) 
0x00100de0      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100de4      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100de6      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100dea      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100dec      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100dee      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100e1e      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 

0x00100e22      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100e24      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100e26      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100e44      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100e46      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100e48      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
69        status = rtems_task_create(
(gdb) 
0x00100e7c      69        status = rtems_task_create(
(gdb) 
0x00100e80      69        status = rtems_task_create(
(gdb) 
0x00100e82      69        status = rtems_task_create(
(gdb) 
0x00100e84      69        status = rtems_task_create(
(gdb) 
0x00100e86      69        status = rtems_task_create(
(gdb) 
0x00100e88      69        status = rtems_task_create(
(gdb) 
0x00100e8a      69        status = rtems_task_create(
(gdb) 
0x00100e8c      69        status = rtems_task_create(
(gdb) 
0x00100e90      69        status = rtems_task_create(
(gdb) 

0x00100e92      69        status = rtems_task_create(
(gdb) 

0x00100e96      69        status = rtems_task_create(
(gdb) 
77        directive_failed( status, "rtems_task_create of TA3" );
(gdb) 

0x00100e9c      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 

0x00100ea0      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100ea2      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100ea6      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100ea8      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100eaa      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100eda      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100ede      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100ee0      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100ee2      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100f00      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100f02      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100f04      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 

79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 
0x00100f38      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 
0x00100f3c      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 
0x00100f3e      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 
0x00100f40      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 
0x00100f44      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 
0x00100f48      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 
0x00100f4a      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 

0x00100f4e      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 
80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f54      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f58      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f5a      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 

0x00100f5e      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 

0x00100f60      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f62      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f92      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 

0x00100f96      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f98      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f9a      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100fb8      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100fba      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100fbc      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
0x00100ff0      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
0x00100ff4      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
0x00100ff6      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
0x00100ff8      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
0x00100ffc      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
0x00101000      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
0x00101002      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 


0x00101006      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x0010100c      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x00101010      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x00101012      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x00101016      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x00101018      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 

0x0010101a      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 

0x0010104a      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 

0x0010104e      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x00101050      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x00101052      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x0010107c      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x0010107e      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x00101080      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
0x001010b4      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 

0x001010b8      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
0x001010ba      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
0x001010bc      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
0x001010c0      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
0x001010c4      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
0x001010c6      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
0x001010ca      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x001010d0      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x001010d4      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x001010d6      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x001010da      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x001010dc      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x001010de      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x0010110e      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x00101112      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x00101114      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x00101116      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x00101134      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x00101136      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x00101138      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
88        puts( "INIT - suspending TA2 while middle task on a ready chain" );
(gdb) 

0x0010116c      88        puts( "INIT - suspending TA2 while middle task on a 
ready chain" );
(gdb) 
0x00101170      88        puts( "INIT - suspending TA2 while middle task on a 
ready chain" );
(gdb) 
89        status = rtems_task_suspend( Task_id[ 2 ] );
(gdb) 
0x00101178      89        status = rtems_task_suspend( Task_id[ 2 ] );
(gdb) 
0x0010117c      89        status = rtems_task_suspend( Task_id[ 2 ] );
(gdb) 
0x0010117e      89        status = rtems_task_suspend( Task_id[ 2 ] );
(gdb) 
0x00101180      89        status = rtems_task_suspend( Task_id[ 2 ] );
(gdb) 
0x00101184      89        status = rtems_task_suspend( Task_id[ 2 ] );
(gdb) 
90        directive_failed( status, "rtems_task_suspend of TA2" );
(gdb) 
0x0010118a      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x0010118e      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x00101190      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x00101194      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x00101196      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x00101198      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x001011c8      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 

0x001011cc      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x001011ce      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x001011d0      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x001011ee      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x001011f0      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x001011f2      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
92        status = rtems_task_delete( Task_id[ 1 ] );
(gdb) 
0x00101226      92        status = rtems_task_delete( Task_id[ 1 ] );
(gdb) 

0x0010122a      92        status = rtems_task_delete( Task_id[ 1 ] );
(gdb) 
0x0010122c      92        status = rtems_task_delete( Task_id[ 1 ] );
(gdb) 
0x0010122e      92        status = rtems_task_delete( Task_id[ 1 ] );
(gdb) 


0x00101232      92        status = rtems_task_delete( Task_id[ 1 ] );
(gdb) 
93        directive_failed( status, "rtems_task_delete of TA1" );
(gdb) 

0x00101238      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x0010123c      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x0010123e      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x00101242      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x00101244      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 

0x00101246      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x00101276      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x0010127a      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x0010127c      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x0010127e      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x0010129c      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x0010129e      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x001012a0      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
95        status = rtems_task_delete( Task_id[ 2 ] );
(gdb) 
0x001012d4      95        status = rtems_task_delete( Task_id[ 2 ] );
(gdb) 
0x001012d8      95        status = rtems_task_delete( Task_id[ 2 ] );
(gdb) 
0x001012da      95        status = rtems_task_delete( Task_id[ 2 ] );
(gdb) 
0x001012dc      95        status = rtems_task_delete( Task_id[ 2 ] );
(gdb) 

Thread 1 hit Breakpoint 2, _ARMV4_Exception_data_abort_default () at 
/home/richi/quick-start/src/rtems/c/src/../../cpukit/score/cpu/arm/armv4-exception-default.S:70
70              sub     sp, #MORE_CONTEXT_SIZE
(gdb) continue
Continuing.

Thread 1 hit Breakpoint 1, _ARM_Exception_default (frame=0x205e70 
<_ISR_Stack_area_begin+4016>) at 
/home/richi/quick-start/src/rtems/c/src/../../cpukit/score/cpu/arm/arm-exception-default.c:24
24        rtems_fatal( RTEMS_FATAL_SOURCE_EXCEPTION, (rtems_fatal_code) frame );
(gdb) 
Continuing.

Thread 1 hit Breakpoint 5, _Terminate (the_source=RTEMS_FATAL_SOURCE_EXCEPTION, 
the_error=2121328) at 
/home/richi/quick-start/src/rtems/c/src/../../cpukit/score/src/interr.c:36
36        _User_extensions_Fatal( the_source, the_error );
(gdb) 
Continuing.

Thread 1 hit Breakpoint 4, bsp_reset () at 
/home/richi/quick-start/src/rtems/c/src/lib/libbsp/arm/realview-pbx-a9/../../../../../../bsps/arm/realview-pbx-a9/start/bspreset.c:19
19        volatile uint32_t *sys_lock = (volatile uint32_t *) 0x10000020;
(gdb) 
Continuing.

Thread 1 hit Breakpoint 6, Init (argument=2108532) at 
/home/richi/quick-start/src/rtems/c/src/../../testsuites/sptests/sp02/init.c:26
26        TEST_BEGIN();
(gdb) ni
0x00100aa2      26        TEST_BEGIN();
(gdb) 
0x00100aa6      26        TEST_BEGIN();
(gdb) 
0x00100aaa      26        TEST_BEGIN();
(gdb) 

28        status = rtems_task_create(
(gdb) 

0x00100ab2      28        status = rtems_task_create(
(gdb) 
0x00100ab4      28        status = rtems_task_create(
(gdb) 
0x00100ab6      28        status = rtems_task_create(
(gdb) 
0x00100ab8      28        status = rtems_task_create(
(gdb) 
0x00100aba      28        status = rtems_task_create(
(gdb) 
0x00100abe      28        status = rtems_task_create(
(gdb) 
0x00100ac0      28        status = rtems_task_create(
(gdb) 
0x00100ac4      28        status = rtems_task_create(
(gdb) 
0x00100ac8      28        status = rtems_task_create(
(gdb) 
0x00100acc      28        status = rtems_task_create(
(gdb) 
36        directive_failed( status, "rtems_task_create of RTEMS_PREEMPT" );
(gdb) 

0x00100ad2      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100ad6      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100ad8      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100adc      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100ade      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 

0x00100ae0      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 

0x00100b10      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 

0x00100b14      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b16      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b18      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b36      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b38      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 

0x00100b3a      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
38        status = rtems_task_start( preempt_task_id, Preempt_task, 0 );
(gdb) 

0x00100b6c      38        status = rtems_task_start( preempt_task_id, 
Preempt_task, 0 );
(gdb) 
0x00100b6e      38        status = rtems_task_start( preempt_task_id, 
Preempt_task, 0 );
(gdb) 
0x00100b72      38        status = rtems_task_start( preempt_task_id, 
Preempt_task, 0 );
(gdb) 

0x00100b76      38        status = rtems_task_start( preempt_task_id, 
Preempt_task, 0 );
(gdb) 
0x00100b78      38        status = rtems_task_start( preempt_task_id, 
Preempt_task, 0 );
(gdb) 
0x00100b7c      38        status = rtems_task_start( preempt_task_id, 
Preempt_task, 0 );
(gdb) 
39        directive_failed( status, "rtems_task_start of RTEMS_PREEMPT" );
(gdb) 
0x00100b82      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 

0x00100b86      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 

0x00100b88      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b8c      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b8e      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b90      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100bc0      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100bc4      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100bc6      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100bc8      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100be6      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100be8      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100bea      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
41        puts( "INIT - rtems_task_wake_after - yielding processor" );
(gdb) 
0x00100c1e      41        puts( "INIT - rtems_task_wake_after - yielding 
processor" );
(gdb) 
0x00100c22      41        puts( "INIT - rtems_task_wake_after - yielding 
processor" );
(gdb) 
42        status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
(gdb) 

0x00100c28      42        status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR 
);
(gdb) 



0x00100c2c      42        status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR 
);
(gdb) 
43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c32      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c36      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c38      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c3c      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c3e      43        directive_failed( status, "rtems_task_wake_after" );

(gdb) 
0x00100c40      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c70      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 


0x00100c74      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c76      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c78      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c96      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c98      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c9a      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
45        Task_name[ 1 ] =  rtems_build_name( 'T', 'A', '1', ' ' );
(gdb) 
0x00100cce      45        Task_name[ 1 ] =  rtems_build_name( 'T', 'A', '1', ' 
' );
(gdb) 
0x00100cd2      45        Task_name[ 1 ] =  rtems_build_name( 'T', 'A', '1', ' 
' );
(gdb) 
0x00100cd6      45        Task_name[ 1 ] =  rtems_build_name( 'T', 'A', '1', ' 
' );
(gdb) 
0x00100cda      45        Task_name[ 1 ] =  rtems_build_name( 'T', 'A', '1', ' 
' );
(gdb) 
46        Task_name[ 2 ] =  rtems_build_name( 'T', 'A', '2', ' ' );
(gdb) 
0x00100ce0      46        Task_name[ 2 ] =  rtems_build_name( 'T', 'A', '2', ' 
' );
(gdb) 
0x00100ce4      46        Task_name[ 2 ] =  rtems_build_name( 'T', 'A', '2', ' 
' );
(gdb) 
0x00100ce8      46        Task_name[ 2 ] =  rtems_build_name( 'T', 'A', '2', ' 
' );
(gdb) 
0x00100cec      46        Task_name[ 2 ] =  rtems_build_name( 'T', 'A', '2', ' 
' );
(gdb) 
47        Task_name[ 3 ] =  rtems_build_name( 'T', 'A', '3', ' ' );
(gdb) 
0x00100cf2      47        Task_name[ 3 ] =  rtems_build_name( 'T', 'A', '3', ' 
' );
(gdb) 
0x00100cf6      47        Task_name[ 3 ] =  rtems_build_name( 'T', 'A', '3', ' 
' );
(gdb) 
0x00100cfa      47        Task_name[ 3 ] =  rtems_build_name( 'T', 'A', '3', ' 
' );
(gdb) 
0x00100cfe      47        Task_name[ 3 ] =  rtems_build_name( 'T', 'A', '3', ' 
' );
(gdb) 
49        status = rtems_task_create(
(gdb) 
0x00100d04      49        status = rtems_task_create(
(gdb) 
0x00100d08      49        status = rtems_task_create(
(gdb) 
0x00100d0a      49        status = rtems_task_create(
(gdb) 
0x00100d0c      49        status = rtems_task_create(
(gdb) 
0x00100d0e      49        status = rtems_task_create(
(gdb) 
0x00100d10      49        status = rtems_task_create(
(gdb) 
0x00100d12      49        status = rtems_task_create(
(gdb) 
0x00100d14      49        status = rtems_task_create(
(gdb) 
0x00100d18      49        status = rtems_task_create(
(gdb) 
0x00100d1a      49        status = rtems_task_create(
(gdb) 
0x00100d1e      49        status = rtems_task_create(
(gdb) 
57        directive_failed( status, "rtems_task_create of TA1" );
(gdb) 
0x00100d24      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d28      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d2a      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d2e      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d30      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d32      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d62      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d66      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d68      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d6a      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d88      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d8a      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d8c      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
59        status = rtems_task_create(
(gdb) 
0x00100dc0      59        status = rtems_task_create(
(gdb) 
0x00100dc4      59        status = rtems_task_create(
(gdb) 
0x00100dc6      59        status = rtems_task_create(
(gdb) 
0x00100dc8      59        status = rtems_task_create(
(gdb) 

0x00100dca      59        status = rtems_task_create(
(gdb) 

0x00100dcc      59        status = rtems_task_create(
(gdb) 
0x00100dce      59        status = rtems_task_create(
(gdb) 
0x00100dd0      59        status = rtems_task_create(
(gdb) 

0x00100dd4      59        status = rtems_task_create(
(gdb) 
0x00100dd6      59        status = rtems_task_create(
(gdb) 
0x00100dda      59        status = rtems_task_create(
(gdb) 
67        directive_failed( status, "rtems_task_create of TA2" );
(gdb) 
0x00100de0      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100de4      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100de6      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100dea      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100dec      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100dee      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100e1e      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 

0x00100e22      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100e24      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100e26      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100e44      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 

0x00100e46      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 

0x00100e48      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
69        status = rtems_task_create(
(gdb) 
0x00100e7c      69        status = rtems_task_create(
(gdb) 
0x00100e80      69        status = rtems_task_create(
(gdb) 

0x00100e82      69        status = rtems_task_create(
(gdb) 

0x00100e84      69        status = rtems_task_create(
(gdb) 
0x00100e86      69        status = rtems_task_create(
(gdb) 
0x00100e88      69        status = rtems_task_create(
(gdb) 

0x00100e8a      69        status = rtems_task_create(
(gdb) 
0x00100e8c      69        status = rtems_task_create(
(gdb) 
0x00100e90      69        status = rtems_task_create(
(gdb) 
0x00100e92      69        status = rtems_task_create(
(gdb) 

0x00100e96      69        status = rtems_task_create(
(gdb) 
77        directive_failed( status, "rtems_task_create of TA3" );
(gdb) 
0x00100e9c      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100ea0      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100ea2      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100ea6      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100ea8      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100eaa      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100eda      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100ede      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100ee0      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100ee2      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100f00      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100f02      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100f04      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 

79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 
0x00100f38      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 
0x00100f3c      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 
0x00100f3e      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 
0x00100f40      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 
0x00100f44      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 
0x00100f48      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 
0x00100f4a      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 

0x00100f4e      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 
80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 


0x00100f54      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f58      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f5a      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f5e      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f60      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 

0x00100f62      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f92      80        directive_failed( status, "rtems_task_start of TA1" );

(gdb) 
0x00100f96      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f98      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f9a      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100fb8      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100fba      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100fbc      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
0x00100ff0      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
0x00100ff4      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
0x00100ff6      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
0x00100ff8      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
0x00100ffc      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
0x00101000      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
0x00101002      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
0x00101006      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x0010100c      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 


0x00101010      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x00101012      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x00101016      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 

0x00101018      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x0010101a      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x0010104a      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 

0x0010104e      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x00101050      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x00101052      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x0010107c      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x0010107e      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x00101080      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 

0x001010b4      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
0x001010b8      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
0x001010ba      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
0x001010bc      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
0x001010c0      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
0x001010c4      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
0x001010c6      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
0x001010ca      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x001010d0      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 


0x001010d4      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x001010d6      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x001010da      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x001010dc      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x001010de      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x0010110e      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x00101112      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x00101114      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x00101116      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x00101134      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x00101136      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x00101138      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
88        puts( "INIT - suspending TA2 while middle task on a ready chain" );
(gdb) 
0x0010116c      88        puts( "INIT - suspending TA2 while middle task on a 
ready chain" );
(gdb) 
0x00101170      88        puts( "INIT - suspending TA2 while middle task on a 
ready chain" );
(gdb) 
89        status = rtems_task_suspend( Task_id[ 2 ] );
(gdb) 
0x00101178      89        status = rtems_task_suspend( Task_id[ 2 ] );
(gdb) 
0x0010117c      89        status = rtems_task_suspend( Task_id[ 2 ] );
(gdb) 
0x0010117e      89        status = rtems_task_suspend( Task_id[ 2 ] );
(gdb) 
0x00101180      89        status = rtems_task_suspend( Task_id[ 2 ] );
(gdb) 
0x00101184      89        status = rtems_task_suspend( Task_id[ 2 ] );
(gdb) 
90        directive_failed( status, "rtems_task_suspend of TA2" );
(gdb) 
0x0010118a      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 

0x0010118e      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 

0x00101190      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x00101194      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x00101196      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x00101198      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x001011c8      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x001011cc      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 

0x001011ce      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 

0x001011d0      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x001011ee      90        directive_failed( status, "rtems_task_suspend of TA2" 
);

(gdb) 
0x001011f0      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x001011f2      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
92        status = rtems_task_delete( Task_id[ 1 ] );
(gdb) 
0x00101226      92        status = rtems_task_delete( Task_id[ 1 ] );
(gdb) 
0x0010122a      92        status = rtems_task_delete( Task_id[ 1 ] );
(gdb) 
0x0010122c      92        status = rtems_task_delete( Task_id[ 1 ] );
(gdb) 
0x0010122e      92        status = rtems_task_delete( Task_id[ 1 ] );
(gdb) 
0x00101232      92        status = rtems_task_delete( Task_id[ 1 ] );
(gdb) 
93        directive_failed( status, "rtems_task_delete of TA1" );
(gdb) 
0x00101238      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x0010123c      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x0010123e      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x00101242      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x00101244      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x00101246      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x00101276      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x0010127a      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x0010127c      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x0010127e      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x0010129c      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x0010129e      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x001012a0      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
95        status = rtems_task_delete( Task_id[ 2 ] );
(gdb) 
0x001012d4      95        status = rtems_task_delete( Task_id[ 2 ] );
(gdb) si
0x001012d8      95        status = rtems_task_delete( Task_id[ 2 ] );
(gdb) 
0x001012da      95        status = rtems_task_delete( Task_id[ 2 ] );
(gdb) 
0x001012dc      95        status = rtems_task_delete( Task_id[ 2 ] );
(gdb) 
rtems_task_delete (id=0) at 
/home/richi/quick-start/src/rtems/c/src/../../cpukit/rtems/src/taskdelete.c:27
27      {
(gdb) b _Thread_Do_dispatch 
Breakpoint 8 at 0x10cb32: file 
/home/richi/quick-start/src/rtems/c/src/../../cpukit/score/src/threaddispatch.c,
 line 267.
(gdb) continue
Continuing.

Thread 1 hit Breakpoint 8, _Thread_Do_dispatch (cpu_self=0x2024c0 
<_Per_CPU_Information>, level=1610613075) at 
/home/richi/quick-start/src/rtems/c/src/../../cpukit/score/src/threaddispatch.c:267
267         !_ISR_Is_enabled( level )
(gdb) ni
0x0010cb34      267         !_ISR_Is_enabled( level )
(gdb) 
0x0010cb38      267         !_ISR_Is_enabled( level )
(gdb) 
0x0010cb3a      267         !_ISR_Is_enabled( level )
(gdb) 
0x0010cb3e      267         !_ISR_Is_enabled( level )
(gdb) 
266       if (
(gdb) 
0x0010cb42      266       if (
(gdb) 
276       executing = cpu_self->executing;
(gdb) 
0x0010cb4c      276       executing = cpu_self->executing;
(gdb) 
0x0010cb4e      276       executing = cpu_self->executing;
(gdb) 
281         level = _Thread_Preemption_intervention( executing, cpu_self, level 
);
(gdb) 
0x0010cb52      281         level = _Thread_Preemption_intervention( executing, 
cpu_self, level );
(gdb) 
0x0010cb54      281         level = _Thread_Preemption_intervention( executing, 
cpu_self, level );
(gdb) 
0x0010cb56      281         level = _Thread_Preemption_intervention( executing, 
cpu_self, level );
(gdb) 
0x0010cb5a      281         level = _Thread_Preemption_intervention( executing, 
cpu_self, level );
(gdb) 
282         heir = _Thread_Get_heir_and_make_it_executing( cpu_self );
(gdb) 
0x0010cb5e      282         heir = _Thread_Get_heir_and_make_it_executing( 
cpu_self );
(gdb) 
0x0010cb62      282         heir = _Thread_Get_heir_and_make_it_executing( 
cpu_self );
(gdb) 
289         if ( heir == executing )
(gdb) 
0x0010cb66      289         if ( heir == executing )
(gdb) 
0x0010cb68      289         if ( heir == executing )
(gdb) 
0x0010cb6a      289         if ( heir == executing )
(gdb) 
296         if ( heir->budget_algorithm == 
THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
(gdb) 
0x0010cb6e      296         if ( heir->budget_algorithm == 
THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
(gdb) 
0x0010cb72      296         if ( heir->budget_algorithm == 
THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
(gdb) 
0x0010cb74      296         if ( heir->budget_algorithm == 
THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
(gdb) 
299         _ISR_Local_enable( level );
(gdb) 
0x0010cb88      299         _ISR_Local_enable( level );
(gdb) 
304         _Thread_Save_fp( executing );
(gdb) 
0x0010cb8e      304         _Thread_Save_fp( executing );
(gdb) ni
305         _Context_Switch( &executing->Registers, &heir->Registers );
(gdb) 
0x0010cb94      305         _Context_Switch( &executing->Registers, 
&heir->Registers );
(gdb) si
0x0010cb98      305         _Context_Switch( &executing->Registers, 
&heir->Registers );
(gdb) 
0x0010cb9a      305         _Context_Switch( &executing->Registers, 
&heir->Registers );
(gdb) 
0x0010cb9e      305         _Context_Switch( &executing->Registers, 
&heir->Registers );
(gdb) 
0x0010cba0      305         _Context_Switch( &executing->Registers, 
&heir->Registers );
(gdb) 
0x0010cba2      305         _Context_Switch( &executing->Registers, 
&heir->Registers );
(gdb) 
_CPU_Context_switch () at 
/home/richi/quick-start/src/rtems/c/src/../../cpukit/score/cpu/arm/cpu_asm.S:56
56      DEFINE_FUNCTION_ARM(_CPU_Context_switch)
(gdb) ni
_CPU_Context_switch_arm () at 
/home/richi/quick-start/src/rtems/c/src/../../cpukit/score/cpu/arm/cpu_asm.S:58
58              GET_SELF_CPU_CONTROL    r2
(gdb) 
59              ldr     r3, [r2, #PER_CPU_ISR_DISPATCH_DISABLE]
(gdb) 
60              stm     r0, {r4, r5, r6, r7, r8, r9, r10, r11, r13, r14}
(gdb) 
63              add     r5, r0, #ARM_CONTEXT_CONTROL_D8_OFFSET
(gdb) 
64              vstm    r5, {d8-d15}
(gdb) 
67              str     r3, [r0, #ARM_CONTEXT_CONTROL_ISR_DISPATCH_DISABLE]
(gdb) 
75              dmb
(gdb) 
76              add     sp, r2, #(PER_CPU_INTERRUPT_FRAME_AREA + 
CPU_INTERRUPT_FRAME_SIZE)
(gdb) 
_CPU_Context_switch_arm () at 
/home/richi/quick-start/src/rtems/c/src/../../cpukit/score/cpu/arm/cpu_asm.S:77
77              mov     r3, #0
(gdb) 
78              strb    r3, [r0, #ARM_CONTEXT_CONTROL_IS_EXECUTING_OFFSET]
(gdb) 
83              add     r3, r1, #ARM_CONTEXT_CONTROL_IS_EXECUTING_OFFSET
(gdb) 
84              ldrexb  r4, [r3]
(gdb) 
85              cmp     r4, #0
(gdb) 
86              bne     .L_get_potential_new_heir
(gdb) 
89              mov     r4, #1
(gdb) 
90              strexb  r5, r4, [r3]
(gdb) 
91              cmp     r5, #0
(gdb) 
92              bne     .L_get_potential_new_heir
(gdb) 
93              dmb
(gdb) 
103             ldr     r3, [r1, #ARM_CONTEXT_CONTROL_THREAD_ID_OFFSET]
(gdb) 
106             ldr     r4, [r1, #ARM_CONTEXT_CONTROL_ISR_DISPATCH_DISABLE]
(gdb) 
109             add     r5, r1, #ARM_CONTEXT_CONTROL_D8_OFFSET
(gdb) 
110             vldm    r5, {d8-d15}
(gdb) 
114             mcr     p15, 0, r3, c13, c0, 3
(gdb) 
117             str     r4, [r2, #PER_CPU_ISR_DISPATCH_DISABLE]
(gdb) 
121             ldm     r1, {r4, r5, r6, r7, r8, r9, r10, r11, r13, pc}
(gdb) 
_Thread_Handler () at 
/home/richi/quick-start/src/rtems/c/src/../../cpukit/score/src/threadhandler.c:73
73      {
(gdb) 
0x0010d0aa      73      {
(gdb) 
0x0010d0ac      73      {
(gdb) 
84        executing = _Thread_Executing;
(gdb) 
0x0010d0b2      84        executing = _Thread_Executing;
(gdb) 
0x0010d0b4      84        executing = _Thread_Executing;
(gdb) 
0x0010d0b6      84        executing = _Thread_Executing;
(gdb) 
0x0010d0ba      84        executing = _Thread_Executing;
(gdb) 
90        level = executing->Start.isr_level;
(gdb) 
0x0010d0be      90        level = executing->Start.isr_level;
(gdb) 
0x0010d0c2      90        level = executing->Start.isr_level;
(gdb) 
91        _ISR_Set_level( level );
(gdb) 
0x0010d0c6      91        _ISR_Set_level( level );
(gdb) 
98        _Thread_Restore_fp( executing );
(gdb) 
0x0010d0cc      98        _Thread_Restore_fp( executing );
(gdb) 
101       _User_extensions_Thread_switch( NULL, executing );
(gdb) 
0x0010d0d2      101       _User_extensions_Thread_switch( NULL, executing );
(gdb) 
0x0010d0d4      101       _User_extensions_Thread_switch( NULL, executing );
(gdb) 
108       _ISR_Local_disable( level );
(gdb) 
0x0010d0dc      108       _ISR_Local_disable( level );
(gdb) 
113       cpu_self = _Per_CPU_Get();
(gdb) 
0x0010d0e2      113       cpu_self = _Per_CPU_Get();
(gdb) 
122       _Thread_Do_dispatch( cpu_self, level );
(gdb) 
0x0010d0e6      122       _Thread_Do_dispatch( cpu_self, level );
(gdb) 
0x0010d0e8      122       _Thread_Do_dispatch( cpu_self, level );
(gdb) 

Thread 1 hit Breakpoint 8, _Thread_Do_dispatch (cpu_self=0x2024c0 
<_Per_CPU_Information>, level=339) at 
/home/richi/quick-start/src/rtems/c/src/../../cpukit/score/src/threaddispatch.c:267
267         !_ISR_Is_enabled( level )
(gdb) 
0x0010cb34      267         !_ISR_Is_enabled( level )
(gdb) 
0x0010cb38      267         !_ISR_Is_enabled( level )
(gdb) 
0x0010cb3a      267         !_ISR_Is_enabled( level )
(gdb) 
0x0010cb3e      267         !_ISR_Is_enabled( level )
(gdb) 
266       if (
(gdb) 
0x0010cb42      266       if (
(gdb) 
276       executing = cpu_self->executing;
(gdb) 
0x0010cb4c      276       executing = cpu_self->executing;
(gdb) 
0x0010cb4e      276       executing = cpu_self->executing;
(gdb) 
281         level = _Thread_Preemption_intervention( executing, cpu_self, level 
);
(gdb) 
0x0010cb52      281         level = _Thread_Preemption_intervention( executing, 
cpu_self, level );
(gdb) 
0x0010cb54      281         level = _Thread_Preemption_intervention( executing, 
cpu_self, level );
(gdb) 
0x0010cb56      281         level = _Thread_Preemption_intervention( executing, 
cpu_self, level );
(gdb) 
0x0010cb5a      281         level = _Thread_Preemption_intervention( executing, 
cpu_self, level );
(gdb) 
282         heir = _Thread_Get_heir_and_make_it_executing( cpu_self );
(gdb) 
0x0010cb5e      282         heir = _Thread_Get_heir_and_make_it_executing( 
cpu_self );
(gdb) 
0x0010cb62      282         heir = _Thread_Get_heir_and_make_it_executing( 
cpu_self );
(gdb) 
289         if ( heir == executing )
(gdb) 
0x0010cb66      289         if ( heir == executing )
(gdb) 
0x0010cb68      289         if ( heir == executing )
(gdb) 
0x0010cb6a      289         if ( heir == executing )
(gdb) 
290           goto post_switch;
(gdb) 
323       cpu_self->thread_dispatch_disable_level = 0;
(gdb) 
0x0010cbd0      323       cpu_self->thread_dispatch_disable_level = 0;
(gdb) 
0x0010cbd2      323       cpu_self->thread_dispatch_disable_level = 0;
(gdb) 
324       _Profiling_Thread_dispatch_enable( cpu_self, 0 );
(gdb) 
0x0010cbd6      324       _Profiling_Thread_dispatch_enable( cpu_self, 0 );
(gdb) 
0x0010cbd8      324       _Profiling_Thread_dispatch_enable( cpu_self, 0 );
(gdb) 
326       _ISR_Local_enable( level );
(gdb) 
0x0010cbde      326       _ISR_Local_enable( level );
(gdb) 
328       _Thread_Run_post_switch_actions( executing );
(gdb) 
0x0010cbe4      328       _Thread_Run_post_switch_actions( executing );
(gdb) 

Thread 1 hit Breakpoint 1, _ARM_Exception_default (frame=0x205a70 
<_ISR_Stack_area_begin+2992>) at 
/home/richi/quick-start/src/rtems/c/src/../../cpukit/score/cpu/arm/arm-exception-default.c:24
24        rtems_fatal( RTEMS_FATAL_SOURCE_EXCEPTION, (rtems_fatal_code) frame );
(gdb) bt
#0  _ARM_Exception_default (frame=0x205a70 <_ISR_Stack_area_begin+2992>) at 
/home/richi/quick-start/src/rtems/c/src/../../cpukit/score/cpu/arm/arm-exception-default.c:24
#1  0x00119e14 in save_more_context () at 
/home/richi/quick-start/src/rtems/c/src/../../cpukit/score/cpu/arm/armv4-exception-default.S:163
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) 

Thread 1 hit Breakpoint 6, Init (argument=2108532) at 
/home/richi/quick-start/src/rtems/c/src/../../testsuites/sptests/sp02/init.c:26
26        TEST_BEGIN();
(gdb) ni
0x00100aa2      26        TEST_BEGIN();
(gdb) 
0x00100aa6      26        TEST_BEGIN();
(gdb) 

0x00100aaa      26        TEST_BEGIN();
(gdb) 

28        status = rtems_task_create(
(gdb) 
0x00100ab2      28        status = rtems_task_create(
(gdb) 
0x00100ab4      28        status = rtems_task_create(
(gdb) 
0x00100ab6      28        status = rtems_task_create(
(gdb) 
0x00100ab8      28        status = rtems_task_create(
(gdb) 
0x00100aba      28        status = rtems_task_create(
(gdb) 
0x00100abe      28        status = rtems_task_create(
(gdb) 

0x00100ac0      28        status = rtems_task_create(
(gdb) 

0x00100ac4      28        status = rtems_task_create(
(gdb) 
0x00100ac8      28        status = rtems_task_create(
(gdb) 

0x00100acc      28        status = rtems_task_create(
(gdb) 
36        directive_failed( status, "rtems_task_create of RTEMS_PREEMPT" );
(gdb) 
0x00100ad2      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 


0x00100ad6      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100ad8      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 

0x00100adc      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100ade      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100ae0      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b10      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 

0x00100b14      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 

0x00100b16      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b18      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b36      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b38      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b3a      36        directive_failed( status, "rtems_task_create of 
RTEMS_PREEMPT" );
(gdb) 
38        status = rtems_task_start( preempt_task_id, Preempt_task, 0 );
(gdb) 
0x00100b6c      38        status = rtems_task_start( preempt_task_id, 
Preempt_task, 0 );
(gdb) 
0x00100b6e      38        status = rtems_task_start( preempt_task_id, 
Preempt_task, 0 );
(gdb) 
0x00100b72      38        status = rtems_task_start( preempt_task_id, 
Preempt_task, 0 );
(gdb) 
0x00100b76      38        status = rtems_task_start( preempt_task_id, 
Preempt_task, 0 );
(gdb) 
0x00100b78      38        status = rtems_task_start( preempt_task_id, 
Preempt_task, 0 );
(gdb) 

0x00100b7c      38        status = rtems_task_start( preempt_task_id, 
Preempt_task, 0 );
(gdb) 
39        directive_failed( status, "rtems_task_start of RTEMS_PREEMPT" );
(gdb) 
0x00100b82      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 

0x00100b86      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b88      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b8c      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b8e      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100b90      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100bc0      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100bc4      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100bc6      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100bc8      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100be6      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100be8      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
0x00100bea      39        directive_failed( status, "rtems_task_start of 
RTEMS_PREEMPT" );
(gdb) 
41        puts( "INIT - rtems_task_wake_after - yielding processor" );
(gdb) 
0x00100c1e      41        puts( "INIT - rtems_task_wake_after - yielding 
processor" );
(gdb) 
0x00100c22      41        puts( "INIT - rtems_task_wake_after - yielding 
processor" );
(gdb) 
42        status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
(gdb) 
0x00100c28      42        status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR 
);
(gdb) 



0x00100c2c      42        status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR 
);
(gdb) 
43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 

0x00100c32      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c36      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c38      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c3c      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c3e      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c40      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c70      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 


0x00100c74      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c76      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c78      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c96      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 
0x00100c98      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 

0x00100c9a      43        directive_failed( status, "rtems_task_wake_after" );
(gdb) 

45        Task_name[ 1 ] =  rtems_build_name( 'T', 'A', '1', ' ' );
(gdb) 
0x00100cce      45        Task_name[ 1 ] =  rtems_build_name( 'T', 'A', '1', ' 
' );
(gdb) 
0x00100cd2      45        Task_name[ 1 ] =  rtems_build_name( 'T', 'A', '1', ' 
' );
(gdb) 
0x00100cd6      45        Task_name[ 1 ] =  rtems_build_name( 'T', 'A', '1', ' 
' );
(gdb) 
0x00100cda      45        Task_name[ 1 ] =  rtems_build_name( 'T', 'A', '1', ' 
' );
(gdb) 
46        Task_name[ 2 ] =  rtems_build_name( 'T', 'A', '2', ' ' );
(gdb) 
0x00100ce0      46        Task_name[ 2 ] =  rtems_build_name( 'T', 'A', '2', ' 
' );
(gdb) 
0x00100ce4      46        Task_name[ 2 ] =  rtems_build_name( 'T', 'A', '2', ' 
' );
(gdb) 
0x00100ce8      46        Task_name[ 2 ] =  rtems_build_name( 'T', 'A', '2', ' 
' );
(gdb) 
0x00100cec      46        Task_name[ 2 ] =  rtems_build_name( 'T', 'A', '2', ' 
' );
(gdb) 
47        Task_name[ 3 ] =  rtems_build_name( 'T', 'A', '3', ' ' );
(gdb) 
0x00100cf2      47        Task_name[ 3 ] =  rtems_build_name( 'T', 'A', '3', ' 
' );
(gdb) 
0x00100cf6      47        Task_name[ 3 ] =  rtems_build_name( 'T', 'A', '3', ' 
' );
(gdb) 
0x00100cfa      47        Task_name[ 3 ] =  rtems_build_name( 'T', 'A', '3', ' 
' );
(gdb) 
0x00100cfe      47        Task_name[ 3 ] =  rtems_build_name( 'T', 'A', '3', ' 
' );
(gdb) 
49        status = rtems_task_create(
(gdb) 
0x00100d04      49        status = rtems_task_create(
(gdb) 
0x00100d08      49        status = rtems_task_create(
(gdb) 
0x00100d0a      49        status = rtems_task_create(
(gdb) 
0x00100d0c      49        status = rtems_task_create(
(gdb) 
0x00100d0e      49        status = rtems_task_create(
(gdb) 
0x00100d10      49        status = rtems_task_create(
(gdb) 
0x00100d12      49        status = rtems_task_create(
(gdb) 
0x00100d14      49        status = rtems_task_create(
(gdb) 
0x00100d18      49        status = rtems_task_create(
(gdb) 
0x00100d1a      49        status = rtems_task_create(
(gdb) 


0x00100d1e      49        status = rtems_task_create(
(gdb) 
57        directive_failed( status, "rtems_task_create of TA1" );
(gdb) 
0x00100d24      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 


0x00100d28      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d2a      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d2e      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d30      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d32      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d62      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 


0x00100d66      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d68      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d6a      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d88      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d8a      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
0x00100d8c      57        directive_failed( status, "rtems_task_create of TA1" 
);
(gdb) 
59        status = rtems_task_create(
(gdb) 
0x00100dc0      59        status = rtems_task_create(
(gdb) 
0x00100dc4      59        status = rtems_task_create(
(gdb) 
0x00100dc6      59        status = rtems_task_create(
(gdb) 
0x00100dc8      59        status = rtems_task_create(
(gdb) 
0x00100dca      59        status = rtems_task_create(
(gdb) 
0x00100dcc      59        status = rtems_task_create(
(gdb) 
0x00100dce      59        status = rtems_task_create(
(gdb) 
0x00100dd0      59        status = rtems_task_create(
(gdb) 
0x00100dd4      59        status = rtems_task_create(
(gdb) 

0x00100dd6      59        status = rtems_task_create(
(gdb) 

0x00100dda      59        status = rtems_task_create(
(gdb) 
67        directive_failed( status, "rtems_task_create of TA2" );
(gdb) 
0x00100de0      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100de4      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100de6      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100dea      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100dec      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100dee      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100e1e      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100e22      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100e24      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100e26      67        directive_failed( status, "rtems_task_create of TA2" 
);

(gdb) 
0x00100e44      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100e46      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
0x00100e48      67        directive_failed( status, "rtems_task_create of TA2" 
);
(gdb) 
69        status = rtems_task_create(
(gdb) 

0x00100e7c      69        status = rtems_task_create(
(gdb) 

0x00100e80      69        status = rtems_task_create(
(gdb) 

0x00100e82      69        status = rtems_task_create(
(gdb) 
0x00100e84      69        status = rtems_task_create(
(gdb) 
0x00100e86      69        status = rtems_task_create(
(gdb) 
0x00100e88      69        status = rtems_task_create(
(gdb) 
0x00100e8a      69        status = rtems_task_create(
(gdb) 
0x00100e8c      69        status = rtems_task_create(
(gdb) 
0x00100e90      69        status = rtems_task_create(
(gdb) 
0x00100e92      69        status = rtems_task_create(
(gdb) 

0x00100e96      69        status = rtems_task_create(
(gdb) 
77        directive_failed( status, "rtems_task_create of TA3" );
(gdb) 
0x00100e9c      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100ea0      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100ea2      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100ea6      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100ea8      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100eaa      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 

0x00100eda      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 

0x00100ede      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 

0x00100ee0      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100ee2      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100f00      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100f02      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
0x00100f04      77        directive_failed( status, "rtems_task_create of TA3" 
);
(gdb) 
79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 

0x00100f38      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 
0x00100f3c      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 
0x00100f3e      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 
0x00100f40      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 
0x00100f44      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 
0x00100f48      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 

0x00100f4a      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 


0x00100f4e      79        status = rtems_task_start( Task_id[ 1 ], Task_1, 0 );
(gdb) 
80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f54      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f58      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f5a      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f5e      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f60      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f62      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f92      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 

0x00100f96      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f98      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100f9a      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100fb8      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100fba      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
0x00100fbc      80        directive_failed( status, "rtems_task_start of TA1" );
(gdb) 
82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
0x00100ff0      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
0x00100ff4      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
0x00100ff6      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
0x00100ff8      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
0x00100ffc      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
0x00101000      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
0x00101002      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 

0x00101006      82        status = rtems_task_start( Task_id[ 2 ], Task_2, 0 );
(gdb) 
83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 

0x0010100c      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x00101010      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x00101012      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x00101016      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x00101018      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x0010101a      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x0010104a      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x0010104e      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x00101050      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x00101052      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x0010107c      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x0010107e      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
0x00101080      83        directive_failed( status, "rtems_task_start of TA2" );
(gdb) 
85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
0x001010b4      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
0x001010b8      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
0x001010ba      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
0x001010bc      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
0x001010c0      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
0x001010c4      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
0x001010c6      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 

0x001010ca      85        status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
(gdb) 
86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x001010d0      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 

0x001010d4      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x001010d6      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x001010da      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x001010dc      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x001010de      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x0010110e      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 

0x00101112      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x00101114      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x00101116      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x00101134      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x00101136      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 
0x00101138      86        directive_failed( status, "rtems_task_start of TA3" );
(gdb) 

88        puts( "INIT - suspending TA2 while middle task on a ready chain" );
(gdb) 

0x0010116c      88        puts( "INIT - suspending TA2 while middle task on a 
ready chain" );
(gdb) 
0x00101170      88        puts( "INIT - suspending TA2 while middle task on a 
ready chain" );
(gdb) 

89        status = rtems_task_suspend( Task_id[ 2 ] );
(gdb) 
0x00101178      89        status = rtems_task_suspend( Task_id[ 2 ] );
(gdb) 
0x0010117c      89        status = rtems_task_suspend( Task_id[ 2 ] );
(gdb) 
0x0010117e      89        status = rtems_task_suspend( Task_id[ 2 ] );
(gdb) 
0x00101180      89        status = rtems_task_suspend( Task_id[ 2 ] );
(gdb) 

0x00101184      89        status = rtems_task_suspend( Task_id[ 2 ] );
(gdb) 
90        directive_failed( status, "rtems_task_suspend of TA2" );
(gdb) 

0x0010118a      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 

0x0010118e      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x00101190      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x00101194      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x00101196      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x00101198      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x001011c8      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 


0x001011cc      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x001011ce      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x001011d0      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x001011ee      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x001011f0      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
0x001011f2      90        directive_failed( status, "rtems_task_suspend of TA2" 
);
(gdb) 
92        status = rtems_task_delete( Task_id[ 1 ] );
(gdb) 
0x00101226      92        status = rtems_task_delete( Task_id[ 1 ] );
(gdb) 
0x0010122a      92        status = rtems_task_delete( Task_id[ 1 ] );
(gdb) 
0x0010122c      92        status = rtems_task_delete( Task_id[ 1 ] );
(gdb) 
0x0010122e      92        status = rtems_task_delete( Task_id[ 1 ] );
(gdb) 
0x00101232      92        status = rtems_task_delete( Task_id[ 1 ] );
(gdb) 
93        directive_failed( status, "rtems_task_delete of TA1" );
(gdb) 
0x00101238      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x0010123c      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x0010123e      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x00101242      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x00101244      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x00101246      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x00101276      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x0010127a      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x0010127c      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x0010127e      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x0010129c      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x0010129e      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
0x001012a0      93        directive_failed( status, "rtems_task_delete of TA1" 
);
(gdb) 
95        status = rtems_task_delete( Task_id[ 2 ] );
(gdb) 
0x001012d4      95        status = rtems_task_delete( Task_id[ 2 ] );
(gdb) si
0x001012d8      95        status = rtems_task_delete( Task_id[ 2 ] );
(gdb) 
0x001012da      95        status = rtems_task_delete( Task_id[ 2 ] );
(gdb) 
0x001012dc      95        status = rtems_task_delete( Task_id[ 2 ] );
(gdb) 
rtems_task_delete (id=0) at 
/home/richi/quick-start/src/rtems/c/src/../../cpukit/rtems/src/taskdelete.c:27
27      {
(gdb) 
0x00108740      27      {
(gdb) ni
0x00108742      27      {
(gdb) 
0x00108744      27      {
(gdb) 
32        _Thread_queue_Context_initialize( &context.Base );
(gdb) 
0x0010874a      32        _Thread_queue_Context_initialize( &context.Base );
(gdb) 
0x0010874c      32        _Thread_queue_Context_initialize( &context.Base );
(gdb) 
33        the_thread = _Thread_Get( id, &context.Base.Lock_context.Lock_context 
);
(gdb) 
0x00108754      33        the_thread = _Thread_Get( id, 
&context.Base.Lock_context.Lock_context );
(gdb) 
0x00108756      33        the_thread = _Thread_Get( id, 
&context.Base.Lock_context.Lock_context );
(gdb) b _Thread_queue_Enqueue
Breakpoint 7 at 0x11120e: file 
/home/richi/quick-start/src/rtems/c/src/../../cpukit/score/src/threadqenqueue.c,
 line 398.
(gdb) continue
Continuing.

Thread 1 hit Breakpoint 7, _Thread_queue_Enqueue (queue=0x201a60 
<_RTEMS_tasks_Objects+3880>, operations=0x1207d8 
<_Thread_queue_Operations_priority>, the_thread=0x200b38 
<_RTEMS_tasks_Objects>, queue_context=0x206da8) at 
/home/richi/quick-start/src/rtems/c/src/../../cpukit/score/src/threadqenqueue.c:398
398       _Thread_Wait_claim( the_thread, queue );
(gdb) ni
0x00111210      398       _Thread_Wait_claim( the_thread, queue );
(gdb) 
0x00111212      398       _Thread_Wait_claim( the_thread, queue );
(gdb) 
400       if ( !_Thread_queue_Path_acquire_critical( queue, the_thread, 
queue_context ) ) {
(gdb) 
0x00111218      400       if ( !_Thread_queue_Path_acquire_critical( queue, 
the_thread, queue_context ) ) {
(gdb) 
0x0011121a      400       if ( !_Thread_queue_Path_acquire_critical( queue, 
the_thread, queue_context ) ) {
(gdb) 
0x0011121c      400       if ( !_Thread_queue_Path_acquire_critical( queue, 
the_thread, queue_context ) ) {
(gdb) 
0x00111220      400       if ( !_Thread_queue_Path_acquire_critical( queue, 
the_thread, queue_context ) ) {
(gdb) 
0x00111222      400       if ( !_Thread_queue_Path_acquire_critical( queue, 
the_thread, queue_context ) ) {
(gdb) 
0x00111226      400       if ( !_Thread_queue_Path_acquire_critical( queue, 
the_thread, queue_context ) ) {
(gdb) 
0x00111228      400       if ( !_Thread_queue_Path_acquire_critical( queue, 
the_thread, queue_context ) ) {
(gdb) 
0x0011122a      400       if ( !_Thread_queue_Path_acquire_critical( queue, 
the_thread, queue_context ) ) {
(gdb) 
410       _Thread_queue_Context_clear_priority_updates( queue_context );
(gdb) 
0x00111256      410       _Thread_queue_Context_clear_priority_updates( 
queue_context );
(gdb) 
411       _Thread_Wait_claim_finalize( the_thread, operations );
(gdb) 
0x0011125c      411       _Thread_Wait_claim_finalize( the_thread, operations );
(gdb) 
0x0011125e      411       _Thread_Wait_claim_finalize( the_thread, operations );
(gdb) 
412       ( *operations->enqueue )( queue, the_thread, queue_context );
(gdb) 
0x00111264      412       ( *operations->enqueue )( queue, the_thread, 
queue_context );
(gdb) 
0x00111266      412       ( *operations->enqueue )( queue, the_thread, 
queue_context );
(gdb) 
0x00111268      412       ( *operations->enqueue )( queue, the_thread, 
queue_context );
(gdb) 
0x0011126a      412       ( *operations->enqueue )( queue, the_thread, 
queue_context );
(gdb) 
0x0011126c      412       ( *operations->enqueue )( queue, the_thread, 
queue_context );
(gdb) 
414       _Thread_queue_Path_release_critical( queue_context );
(gdb) 
0x00111270      414       _Thread_queue_Path_release_critical( queue_context );
(gdb) 
416       the_thread->Wait.return_code = STATUS_SUCCESSFUL;
(gdb) 
0x00111276      416       the_thread->Wait.return_code = STATUS_SUCCESSFUL;
(gdb) 
0x00111278      416       the_thread->Wait.return_code = STATUS_SUCCESSFUL;
(gdb) 
417       _Thread_Wait_flags_set( the_thread, THREAD_QUEUE_INTEND_TO_BLOCK );
(gdb) 
0x00111280      417       _Thread_Wait_flags_set( the_thread, 
THREAD_QUEUE_INTEND_TO_BLOCK );
(gdb) 
0x00111282      417       _Thread_Wait_flags_set( the_thread, 
THREAD_QUEUE_INTEND_TO_BLOCK );
(gdb) 
418       cpu_self = _Thread_queue_Dispatch_disable( queue_context );
(gdb) 
0x00111288      418       cpu_self = _Thread_queue_Dispatch_disable( 
queue_context );
(gdb) 
0x0011128c      418       cpu_self = _Thread_queue_Dispatch_disable( 
queue_context );
(gdb) 
419       _Thread_queue_Queue_release( queue, 
&queue_context->Lock_context.Lock_context );
(gdb) 
0x00111290      419       _Thread_queue_Queue_release( queue, 
&queue_context->Lock_context.Lock_context );
(gdb) 
0x00111292      419       _Thread_queue_Queue_release( queue, 
&queue_context->Lock_context.Lock_context );
(gdb) 
0x00111294      419       _Thread_queue_Queue_release( queue, 
&queue_context->Lock_context.Lock_context );
(gdb) 
421       ( *queue_context->enqueue_callout )(
(gdb) 
0x0011129a      421       ( *queue_context->enqueue_callout )(
(gdb) 
0x0011129c      421       ( *queue_context->enqueue_callout )(
(gdb) 
0x0011129e      421       ( *queue_context->enqueue_callout )(
(gdb) 
0x001112a0      421       ( *queue_context->enqueue_callout )(
(gdb) 
0x001112a2      421       ( *queue_context->enqueue_callout )(
(gdb) 
0x001112a4      421       ( *queue_context->enqueue_callout )(
(gdb) 
431       _Thread_Set_state( the_thread, queue_context->thread_state );
(gdb) 
0x001112a8      431       _Thread_Set_state( the_thread, 
queue_context->thread_state );
(gdb) 
0x001112aa      431       _Thread_Set_state( the_thread, 
queue_context->thread_state );
(gdb) 
0x001112ac      431       _Thread_Set_state( the_thread, 
queue_context->thread_state );
(gdb) 
0x001112ae      431       _Thread_Set_state( the_thread, 
queue_context->thread_state );
(gdb) 
442       success = _Thread_Wait_flags_try_change_acquire(
(gdb) 
0x001112b6      442       success = _Thread_Wait_flags_try_change_acquire(
(gdb) 
0x001112ba      442       success = _Thread_Wait_flags_try_change_acquire(
(gdb) 
0x001112bc      442       success = _Thread_Wait_flags_try_change_acquire(
(gdb) 
0x001112c0      442       success = _Thread_Wait_flags_try_change_acquire(
(gdb) 
0x001112c2      442       success = _Thread_Wait_flags_try_change_acquire(
(gdb) 
447       if ( !success ) {
(gdb) 
0x001112c6      447       if ( !success ) {
(gdb) 
0x001112ca      447       if ( !success ) {
(gdb) 
0x001112cc      447       if ( !success ) {
(gdb) 
0x001112ce      447       if ( !success ) {
(gdb) 
451       _Thread_Priority_update( queue_context );
(gdb) 
0x001112da      451       _Thread_Priority_update( queue_context );
(gdb) 
452       _Thread_Dispatch_direct( cpu_self );
(gdb) si
0x001112e0      452       _Thread_Dispatch_direct( cpu_self );
(gdb) 
_Thread_Dispatch_direct (cpu_self=0x0) at 
/home/richi/quick-start/src/rtems/c/src/../../cpukit/score/src/threaddispatch.c:351
351     {
(gdb) ni
0x0010cbf2      351     {
(gdb) 
0x0010cbf4      351     {
(gdb) 
0x0010cbf6      351     {
(gdb) 
354       if ( cpu_self->thread_dispatch_disable_level != 1 ) {
(gdb) 
0x0010cbfa      354       if ( cpu_self->thread_dispatch_disable_level != 1 ) {
(gdb) p cpu_self->thread_dispatch_disable_level
$2 = 1
(gdb) ni
0x0010cbfc      354       if ( cpu_self->thread_dispatch_disable_level != 1 ) {
(gdb) 
0x0010cbfe      354       if ( cpu_self->thread_dispatch_disable_level != 1 ) {
(gdb) 
358       _ISR_Local_disable( level );
(gdb) ni
0x0010cc0a      358       _ISR_Local_disable( level );
(gdb) 
359       _Thread_Do_dispatch( cpu_self, level );
(gdb) si
0x0010cc0e      359       _Thread_Do_dispatch( cpu_self, level );
(gdb) 
0x0010cc10      359       _Thread_Do_dispatch( cpu_self, level );
(gdb) 
_Thread_Do_dispatch (cpu_self=0x1, level=0) at 
/home/richi/quick-start/src/rtems/c/src/../../cpukit/score/src/threaddispatch.c:260
260     {
(gdb) ni
0x0010cb2a      260     {
(gdb) 
0x0010cb2c      260     {
(gdb) 
0x0010cb2e      260     {
(gdb) ni
0x0010cb30      260     {
(gdb) 
267         !_ISR_Is_enabled( level )
(gdb) 
0x0010cb34      267         !_ISR_Is_enabled( level )
(gdb) 
0x0010cb38      267         !_ISR_Is_enabled( level )
(gdb) 
0x0010cb3a      267         !_ISR_Is_enabled( level )
(gdb) 
0x0010cb3e      267         !_ISR_Is_enabled( level )
(gdb) 
266       if (
(gdb) 
0x0010cb42      266       if (
(gdb) 
276       executing = cpu_self->executing;
(gdb) 
0x0010cb4c      276       executing = cpu_self->executing;
(gdb) 
0x0010cb4e      276       executing = cpu_self->executing;
(gdb) 
281         level = _Thread_Preemption_intervention( executing, cpu_self, level 
);
(gdb) 
0x0010cb52      281         level = _Thread_Preemption_intervention( executing, 
cpu_self, level );
(gdb) 
0x0010cb54      281         level = _Thread_Preemption_intervention( executing, 
cpu_self, level );
(gdb) 
0x0010cb56      281         level = _Thread_Preemption_intervention( executing, 
cpu_self, level );
(gdb) 
0x0010cb5a      281         level = _Thread_Preemption_intervention( executing, 
cpu_self, level );
(gdb) 
282         heir = _Thread_Get_heir_and_make_it_executing( cpu_self );
(gdb) 
0x0010cb5e      282         heir = _Thread_Get_heir_and_make_it_executing( 
cpu_self );
(gdb) 
0x0010cb62      282         heir = _Thread_Get_heir_and_make_it_executing( 
cpu_self );
(gdb) 
289         if ( heir == executing )
(gdb) p heir
$3 = (Thread_Control *) 0x201a50 <_RTEMS_tasks_Objects+3864>
(gdb) ni
0x0010cb66      289         if ( heir == executing )
(gdb) p executing 
$4 = (Thread_Control *) 0x200b38 <_RTEMS_tasks_Objects>
(gdb) ni
0x0010cb68      289         if ( heir == executing )
(gdb) 
0x0010cb6a      289         if ( heir == executing )
(gdb) 
296         if ( heir->budget_algorithm == 
THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
(gdb) 
0x0010cb6e      296         if ( heir->budget_algorithm == 
THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
(gdb) 
0x0010cb72      296         if ( heir->budget_algorithm == 
THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
(gdb) 
0x0010cb74      296         if ( heir->budget_algorithm == 
THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
(gdb) 
299         _ISR_Local_enable( level );
(gdb) 
0x0010cb88      299         _ISR_Local_enable( level );
(gdb) 
304         _Thread_Save_fp( executing );
(gdb) 
0x0010cb8e      304         _Thread_Save_fp( executing );
(gdb) 
305         _Context_Switch( &executing->Registers, &heir->Registers );
(gdb) 
0x0010cb94      305         _Context_Switch( &executing->Registers, 
&heir->Registers );
(gdb) 
0x0010cb98      305         _Context_Switch( &executing->Registers, 
&heir->Registers );
(gdb) 
0x0010cb9a      305         _Context_Switch( &executing->Registers, 
&heir->Registers );
(gdb) 
0x0010cb9e      305         _Context_Switch( &executing->Registers, 
&heir->Registers );
(gdb) 
0x0010cba0      305         _Context_Switch( &executing->Registers, 
&heir->Registers );
(gdb) 
0x0010cba2      305         _Context_Switch( &executing->Registers, 
&heir->Registers );

 ./qemu-system-arm -net none -nographic -M realview-pbx-a9 -m 256M -kernel 
~/quick-start/build/b3-realview/arm-rtems5/c/realview_pbx_a9_qemu/testsuites/sptests/sp02.exe
 -smp 4 -s -S


*** BEGIN OF TEST SP 2 ***
*** TEST VERSION: 5.0.0.61ccb9c05dcd695114541960aa6bfc1315f30514-modified
*** TEST STATE: EXPECTED_PASS
*** TEST BUILD: RTEMS_NETWORKING RTEMS_POSIX_API RTEMS_SMP
*** TEST TOOLS: 7.5.0 20191114 (RTEMS 5, RSB 5 (0b7e87143b76), Newlib fbaa096)
INIT - rtems_task_wake_after - yielding processor
PREEMPT - rtems_task_delete - deleting self
INIT - suspending TA2 while middle task on a ready chain

*** FATAL ***
fatal source: 9 (RTEMS_FATAL_SOURCE_EXCEPTION)

R0   = 0x00201320 R8  = 0x00000000
R1   = 0x00201298 R9  = 0x00000000
R2   = 0x00201828 R10 = 0x00000000
R3   = 0x00000000 R11 = 0x00000000
R4   = 0x0010eca9 R12 = 0x00000000
R5   = 0x00000000 SP  = 0x00206c08
R6   = 0x00000000 LR  = 0x00118825
R7   = 0x00206c08 PC  = 0x00116b48
CPSR = 0x000001f3 VEC = 0x00000004
FPEXC = 0x40000000
FPSCR = 0x00000000
D00 = 0x0000000000000000
D01 = 0x0000000000000000
D02 = 0x0000000000000000
D03 = 0x0000000000000000
D04 = 0x0000000000000000
D05 = 0x0000000000000000
D06 = 0x0000000000000000
D07 = 0x0000000000000000
D08 = 0x0000000000000000
D09 = 0x0000000000000000
D10 = 0x0000000000000000
D11 = 0x0000000000000000
D12 = 0x0000000000000000
D13 = 0x0000000000000000
D14 = 0x0000000000000000
D15 = 0x0000000000000000
D16 = 0x00000000061396b5
D17 = 0x687a000000000000
D18 = 0x0000000000000000
D19 = 0x0000000000000000
D20 = 0x0000000000000000
D21 = 0x0000000000000000
D22 = 0x0000000000000000
D23 = 0x0000000000000000
D24 = 0x0000000000000000
D25 = 0x0000000000000000
D26 = 0x0000000000000000
D27 = 0x0000000000000000
D28 = 0x0000000000000000
D29 = 0x0000000000000000
D30 = 0x0000000000000000
D31 = 0x0000000000000000
RTEMS version: 5.0.0.61ccb9c05dcd695114541960aa6bfc1315f30514-modified
RTEMS tools: 7.5.0 20191114 (RTEMS 5, RSB 5 (0b7e87143b76), Newlib fbaa096)
executing thread ID: 0x08a010001
executing thread name: UI1 

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to