On 6/28/20 7:05 PM, Peter Maydell wrote: > On Sun, 28 Jun 2020 at 17:46, Jean-Christophe DUBOIS > <j...@tribudubois.net> wrote: >> >> Le 28/06/2020 à 16:38, Peter Maydell a écrit : >>> On Sun, 28 Jun 2020 at 11:56, Jean-Christophe DUBOIS >>> <j...@tribudubois.net> wrote: >>>> jcd@jcd-UX305CA:~/Projects/µCOS/work$ >>>> ../../qemu/qemu/arm-softmmu/qemu-system-arm -machine mcimx6ul-evk -m >>>> 128M -display none -serial stdio -kernel ./OS.elf >>>> double free or corruption (!prev) >>>> Abandon (core dumped) >>> I can't repro using your command line but without the -kernel option, >>> so it's probably specific to something your guest code is doing. >>> I tested with git commit e7651153a8801dad6; which commit are you >>> using? >> >> I was on master (553cf5d7c47bee05a3dec9461c1f8430316d516b) >> >> Reverting the June 23rd commit series on PCA9552 fixed the problem for me. >> >>> Can you provide either the elf file or a repro example that >>> doesn't need it ? >> >> Please, find the OS.elf file as attachment. > > Ah, thanks for tracking that down. Philippe, the valgrind > error in Jean-Christophe's other email in this thread suggests > something's wrong in the typeinfo or the class init for the > pca9552 changes you've made -- would you mind having a look at it?
Oops... sure!