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
decoding 10 results
0x4020e42a: wDev_Get_Next_TBTT at ?? line ?
0x4020c0a0: wifi_fpm_do_wakeup at ?? line ?
0x40226b3a: send_server_hello_done at /Users/igrokhotkov/e/axtls/e1/ssl/tls1_svr.c line 363
: (inlined by) send_server_hello_sequence at /Users/igrokhotkov/e/axtls/e1/ssl/tls1_svr.c line 281
: (inlined by) do_svr_handshake at /Users/igrokhotkov/e/axtls/e1/ssl/tls1_svr.c line 80
0x4020c3f3: pp_noise_test at ?? line ?
0x40211e09: hostap_input at ?? line ?
0x40211e4e: hostap_input at ?? line ?
0x40201a13: uart_init at /home/tim/.arduino15/packages/esp8266/hardware/esp8266/2.3.0/cores/esp8266/uart.c line 336
Basic Infos
Hardware
Hardware: ESP-12
Core Version: 2.3.0
Description
I get an Exception (9) error (LoadStoreAlignment) when I use strncpy(groupNames[nameIdx], pos + 8, nameLen). Workarounds that I have found include declaring groupNames[][] in the global scope, or copying the characters one by one in a for loop.
I've also had issues using calloc on groupNames[i] when I tried making it a dynamic 2D array, but I just wanted to focus on this error. Like I said, if I can figure out a smaller program that triggers this same error, I will either edit this post or upload the smaller program in the comments.
@timlag1305 strncpy may not null-terminate the result of the copy. I don't know if that is your case, your sketch is way too big to analyze, but it's the most common mistake in its use.
In any case, this is not the right place to ask for help with your particular code.
Closing per #3655 .
Sorry in advanced for the really long program. I will try to come up with a simpler case which still triggers my error.
Here's the stacktrace:
And here it is decoded:
Basic Infos
Hardware
Hardware: ESP-12
Core Version: 2.3.0
Description
I get an
Exception (9)
error (LoadStoreAlignment
) when I usestrncpy(groupNames[nameIdx], pos + 8, nameLen)
. Workarounds that I have found include declaringgroupNames[][]
in the global scope, or copying the characters one by one in a for loop.I've also had issues using
calloc
ongroupNames[i]
when I tried making it a dynamic 2D array, but I just wanted to focus on this error. Like I said, if I can figure out a smaller program that triggers this same error, I will either edit this post or upload the smaller program in the comments.Settings in IDE
Module: Adafruit HUZZAH ESP8266
Flash Size: 4MB/1MB
CPU Frequency: 80Mhz
Flash Mode: qio
Flash Frequency: 40Mhz
Upload Using: SERIAL
Reset Method: nodemcu
The text was updated successfully, but these errors were encountered: