RTEMS 5.1 pc686 BSP malloc_info problem?

Alan Cudmore alan.cudmore at gmail.com
Sun Oct 4 20:06:23 UTC 2020


Hi,
I have a problem in RTEMS 5.1 where the pc686 running on QEMU seems to
block or spin when trying to acquire a lock for the malloc_info call.
The CPU utilization goes up to 100 (on the QEMU host) leading me to
think the calling task is spinning waiting on the lock. Tasks with
lower priority than the calling task stop running as well. I also get
this problem when running the "malloc info" shell command.
I don't see this problem with the leon3 BSP built from the same source
tree and executed on QEMU.

Is there an SMP related initialization or perhaps QEMU option I might
be missing? I can run the same code without problems on the RTEMS 4.11
release (same QEMU binary and QEMU options)

Thanks,
Alan


More information about the devel mailing list