You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Device problem occurs on:
rPi3B+. I expect that the problem occurs on other devices. I just happen to be developing in rPi3B+
Software versions of OpenWrt/LEDE release, packages, etc.
Release 19.07 trunc
Steps to reproduce
void my_function() {
struct blob_buf b; // NOTE this is a local variable
blob_buf_init(&b, 0);
blobmsg_add_string(&b, "key", "value");
blob_buf_free(&b);
}
The above will compile, but will crash when run
However by making the struct static it runs OK.
This looks to be a compiler problem. possibly only for ARM
The text was updated successfully, but these errors were encountered:
stuffa:
Supply the following if possible:
Device problem occurs on:
rPi3B+. I expect that the problem occurs on other devices. I just happen to be developing in rPi3B+
Software versions of OpenWrt/LEDE release, packages, etc.
Release 19.07 trunc
Steps to reproduce
void my_function() {
struct blob_buf b; // NOTE this is a local variable
blob_buf_init(&b, 0);
blobmsg_add_string(&b, "key", "value");
blob_buf_free(&b);
}
The above will compile, but will crash when run
However by making the struct static it runs OK.
This looks to be a compiler problem. possibly only for ARM
The text was updated successfully, but these errors were encountered: