Core dump when running script to get a file

I tried on WP750x.
I put the test script here:


root@swi-mdm9x15:/tmp# cat /tmp/test.sh
curl -o /dev/null -k https://116.66.221.43:5048/data.txt


After that I run a unsandboxed legato application:


#include “legato.h”

COMPONENT_INIT
{
system(“/tmp/test.sh”);
LE_INFO(“Hello, world.”);
}


No problem is found.
Would you please modify my script to reproduce the issue?