solettaproject / soletta

Soletta Project is a framework for making IoT devices. With Soletta Project's libraries developers can easily write software for devices that control actuators/sensors and communicate using standard technologies. It enables adding smartness even on the smallest edge devices.
http://solettaproject.org
Apache License 2.0
227 stars 109 forks source link

Sol-fbp-generator crashes #2279

Open mattiantonini opened 7 years ago

mattiantonini commented 7 years ago

Issue Description

Hello, I'm trying to compile the oic-server-example in soletta-small-oses-samples but the sol-fbp-generator crashes.

make[1]: Leaving directory `/home/mattia/Thesis/soletta-small-oses-samples/oic-server/riot_stage'
make: Leaving directory `/home/mattia/Thesis/soletta-small-oses-samples/BUILD'
*** Error in `/usr/bin/sol-fbp-generator': munmap_chunk(): invalid pointer: 0x00002af5b9b3c827 ***
make[1]: *** [main.c] Aborted (core dumped)
make: *** [riot] Error 2

I've installed the generator from repos. Do you have any suggestion? Cheers, Mattia

Steps to reproduce

  1. Set-up a a Soletta/RIOT-OS Basis
  2. make RIOTBASE=/home/mattia/Thesis/RIOT -C /home/mattia/Thesis/soletta-small-oses-samples/BUILD/ riot BOARD=samr21-xpro clean all

    Board information

Host OS and architecture: Ubuntu 14.04.4 LTS x86_64 (Kernel: 4.2.0-41-generic)

Target OS and platform: RIOT-OS on SAMR21-XPRO

Logs

ceolin commented 7 years ago

i've seen sol-fbp-generator crashing when building for linux targets too, but for the log it seems something different. I'll investigate both problems soon. Thank you for the logs, they are very helpfull.