Failure in cpukit/score/src/rbtreeextract.c if RTEMS_DEBUG is defined
Heinz Junkes
junkes at fhi-berlin.mpg.de
Thu Feb 13 16:56:11 UTC 2020
I'm starting an EPICS IOC. Loading works if I don't set RTEMS_DEBUG.
The loaded images are similar in size.
I have not changed anything in the EPICS software. I still have the problem that I do not understand
how the freebsd dhcpcd works and therefore wanted to set RTEMS_DEBUG to get more detailed output.
Heinz
The faulty one:
MVME2500=> setenv tfile softIoc
MVME2500=> run rtems_myTests
reading mvme2500.dtb
12363 bytes read in 32 ms (377 KiB/s)
Speed: 1000, full duplex
Using eTSEC1 device
TFTP from server 141.14.128.9; our IP address is 141.14.128.89
Filename 'softIoc.img'.
Load address: 0x10000000
Loading: #################################################################
#################################################################
###############
10.3 MiB/s
done
Bytes transferred = 2119274 (20566a hex)
WARNING: adjusting available memory to 30000000
## Booting kernel from Legacy Image at 10000000 ...
Image Name: softIoc
Created: 2020-02-13 16:08:20 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 2119210 Bytes = 2 MiB
Load Address: 00004000
Entry Point: 00004000
Verifying Checksum ... OK
## Flattened Device Tree blob at 20000000
Booting using the fdt blob at 0x20000000
Uncompressing Kernel Image ... OK
Loading Device Tree to 03ff9000, end 03fff04a ... OK
assertion "_RBTree_Find_root( the_node ) == _RBTree_Root( the_rbtree )" failed: file "../../../../../../rtems-5.0.0-m1912/c/src/../../cpukit/score/src/rbtreeextract.c", line 40, function: _RBTree_Extract
*** FATAL ***
fatal source: 7 (RTEMS_FATAL_SOURCE_ASSERT)
fatal code: 35124824 (0x0217f658)
RTEMS version: 5.0.0-m1912.31caabffdc8d155913422d99a648297bebd83831-modified
This one works:
MVME2500=> run rtems_myTests
reading mvme2500.dtb
12363 bytes read in 31 ms (388.7 KiB/s)
Speed: 1000, full duplex
Using eTSEC1 device
TFTP from server 141.14.128.9; our IP address is 141.14.128.89
Filename 'softIoc.img'.
Load address: 0x10000000
Loading: #################################################################
#################################################################
##############
10.2 MiB/s
done
Bytes transferred = 2104254 (201bbe hex)
WARNING: adjusting available memory to 30000000
## Booting kernel from Legacy Image at 10000000 ...
Image Name: softIoc
Created: 2020-02-13 16:47:26 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 2104190 Bytes = 2 MiB
Load Address: 00004000
Entry Point: 00004000
Verifying Checksum ... OK
## Flattened Device Tree blob at 20000000
Booting using the fdt blob at 0x20000000
Uncompressing Kernel Image ... OK
Loading Device Tree to 03ff9000, end 03fff04a ... OK
WARNING: OS Clock time was read before being set.
Using 1990-01-02 00:00:00.000000 UTC
initConsole --- Info ---
> On 13. Feb 2020, at 17:30, Sebastian Huber <sebastian.huber at embedded-brains.de> wrote:
>
> On 13/02/2020 17:25, Heinz Junkes wrote:
>
>> Using qoriq_e500 BSP
>> if configured with --enable-rtems-debug :
>>
>> ../../rtems-5.0.0-m1912/configure --enable-maintainer-mode --prefix=/home/epics/MVME2500/RTEMS/5.0.0-m1912 --target=powerpc-rtems5 --enable-rtemsbsp=qoriq_e500 --enable-posix --enable-cxx --disable-networking --enable-pci --enable-rtems-debug BSP_CONSOLE_BAUD=9600
>>
>> Booting fails with
>> …
>> Uncompressing Kernel Image ... OK
>> Loading Device Tree to 03ff9000, end 03fff04a ... OK
>> assertion "_RBTree_Find_root( the_node ) == _RBTree_Root( the_rbtree )" failed: file "../../../../../../rtems-5.0.0-m1912/c/src/../../cpukit/score/src/rbtreeextract.c", line 40, function: _RBTree_Extract
> This error can be caused by a lot of things (e.g. memory corruption). With which application does this happen?
More information about the users
mailing list