[U-Boot] sandbox does not complete efi_selftest

Heinrich Schuchardt xypron.glpk at gmx.de
Mon Sep 17 21:07:16 UTC 2018


In efi_next the command

./u-boot -v -d selfconfig.dtb

leads to a segmentation fault for sandbox_defconfig.

The command is executed by ConsoleSandbox.get_spawn().

We cannot expect 'make tests' to succeed until this is fixed.

Valgrind indicates where the segmentation fault occurs:

==13906== Invalid read of size 4
==13906==    at 0x14C4D7: find_id (bootstage.c:72)
==13906==    by 0x14C564: bootstage_add_record (bootstage.c:106)
==13906==    by 0x1C45FA: hang (hang.c:27)
==13906==    by 0x144359: board_init_f (board_f.c:901)
==13906==    by 0x127556: main (start.c:319)
==13906==  Address 0x0 is not stack'd, malloc'd or (recently) free'd

Best regards

Heinrich


More information about the U-Boot mailing list