edison-fw / meta-intel-edison

Here is the meta-intel-edison that builds, tries to stay up to date. Master is based on Yocto Poky Gatesgarth LTS 5.10.yy vanilla kernels. It builds a 32bit kernel (Gatesgarth branch 64bit) with ACPI enabled and corresponding rootfs. Telegram group: https://t.me/IntelEdison Web-site:
https://edison-fw.github.io/meta-intel-edison/
MIT License
60 stars 37 forks source link

ERROR:free(): double free detected in tcache 2 #83

Closed shawnhsoia97 closed 4 years ago

shawnhsoia97 commented 4 years ago

Hi,I build thud on ubuntu 18.04.3.Just at the end when it seems to be creating the image files, I run into this "double free detected" error for both minimal and example image.

ERROR: core-image-minimal-initramfs-1.0-r0 do_rootfs: Unable to install packages. Command '/mnt/yocto/out/linux64/build/tmp/work/edison-poky-linux/core-image-minimal-initramfs/1.0-r0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f /mnt/yocto/out/linux64/build/tmp/work/edison-poky-linux/core-image-minimal-initramfs/1.0-r0/opkg.conf -t /mnt/yocto/out/linux64/build/tmp/work/edison-poky-linux/core-image-minimal-initramfs/1.0-r0/temp/ipktemp/ -o /mnt/yocto/out/linux64/build/tmp/work/edison-poky-linux/core-image-minimal-initramfs/1.0-r0/rootfs  --force_postinstall --prefer-arch-to-version   install acpi-tables base-passwd busybox initramfs-framework-base initramfs-module-setup-live initramfs-module-udev kernel-module-extcon-intel-mrfld kernel-module-intel-soc-pmic-mrfld kernel-module-mmc-block kernel-module-sdhci-acpi kernel-module-sdhci-pci run-postinsts udev' returned -6:
free(): double free detected in tcache 2

I dont know why.Haven't seen this error before.Do you have any idea?

htot commented 4 years ago

I am using dpkg. It seems you are using opkg here?

shawnhsoia97 commented 4 years ago

Yes,I using opkg.

htot commented 4 years ago

Then I wouldn't know.

shawnhsoia97 commented 4 years ago

Ok,I reverted to using dpkg and it returned to normal. Thank you.

htot commented 4 years ago

Thank you!

marler8997 commented 2 years ago

I might have run into the same issue but we use opkg over dpkg for other reasons. These commits look promising:

htot commented 2 years ago

So, it might be automatically resolved once we move to Yocto Hardknott?