-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Random crash when receiving a continuous stream on socket. #1084
Comments
I have very similar problem, it happens after some time of network activity (a few hours): ESP_ERROR_CHECK failed: esp_err_t 0x103 at 0x4012a9a9 Backtrace: 0x4008781c:0x3ffcb390 0x40087b99:0x3ffcb3b0 0x4012a9a9:0x3ffcb3d0 0x400e6589:0x3ffcb3f0 0x400e67ba:0x3ffcb420 I have plenty of heap free and none of tasks run out of stack. |
Seems to be a stack corruption. Closing |
Reopened. It appears time to time. |
Changed in ets_timer_legacy.c With the log: **That confirm the diagnostic of Something has broken the stack because esp_err_t esp_timer_start_once(esp_timer_handle_t timer, uint64_t timeout_us) |
Seen to be not reproductible with the last idf. Closing |
My software runs pretty well but time to time this bug happens in a random time.
I don't have timers in it apart for the sockets.
The software receives a stream of mp3 radio.
(gdb) bt
#0 0x400896d6 in invoke_abort ()
at C:/msys32/home/jp/esp/esp-idf/components/esp32/panic.c:139
#1 0x40089a9c in _esp_error_check_failed (rc=259,
file=0x3f41f914 "C:/msys32/home/jp/esp/esp-idf/components/esp32/ets_timer_legacy.c", line=89, function=0x3f41f9e0 <func$5258> "ets_timer_arm",
expression=0x3f41f974 "esp_timer_start_once(ESP_TIMER(ptimer), time_us)")
at C:/msys32/home/jp/esp/esp-idf/components/esp32/panic.c:565
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Seems to come from:
#1 0x400dfbb5 in sta_input ()
No symbol table info available.
#2 0x400e02b4 in sta_rx_cb ()
No symbol table info available.
#3 0x400e833d in ppRxPkt ()
No symbol table info available.
#4 0x400e9bf2 in ppTask ()
No symbol table info available.
But cannot investigate further.
The text was updated successfully, but these errors were encountered: