Skip to content
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

gpio_uninstall_isr_service() Interrupt wdt timeout (IDFGH-3635) #5571

Closed
drony opened this issue Jul 12, 2020 · 2 comments
Closed

gpio_uninstall_isr_service() Interrupt wdt timeout (IDFGH-3635) #5571

drony opened this issue Jul 12, 2020 · 2 comments
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@drony
Copy link

drony commented Jul 12, 2020

when i call gpio_uninstall_isr_service()

Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)

Decoding 18 results 0x4009beab: vListInsert at C:/SysGCC/esp32/esp-idf/v4.0.1/components/freertos/list.c line 188 0x4009b22d: vTaskPlaceOnEventList at C:/SysGCC/esp32/esp-idf/v4.0.1/components/freertos/tasks.c line 3508 0x40099dff: xQueueGenericReceive at C:/SysGCC/esp32/esp-idf/v4.0.1/components/freertos/queue.c line 2044 0x400d416c: esp_ipc_call_and_wait at C:/SysGCC/esp32/esp-idf/v4.0.1/components/esp_common/src/ipc.c line 116 0x400d4232: esp_ipc_call_blocking at C:/SysGCC/esp32/esp-idf/v4.0.1/components/esp_common/src/ipc.c line 128 0x400d327a: esp_intr_free at C:/SysGCC/esp32/esp-idf/v4.0.1/components/esp32/intr_alloc.c line 783 0x401585b2: gpio_uninstall_isr_service at C:/SysGCC/esp32/esp-idf/v4.0.1/components/driver/gpio.c line 430 0x400efc88: bbcore::drivers::GPIODriver::stop() at C:\Users\drony\source\repos\PR14.EMB.IR.Next\build\VisualGDB\Debug/../../../components/bbcore/include/bbcore/utils/json.hpp line 17886 0x400e6bd1: Main::on_provisioning(std::__cxx11::basic_string , std::allocator > const&) at C:\Users\drony\source\repos\PR14.EMB.IR.Next\build\VisualGDB\Debug/../../../components/bbcore/include/bbcore/utils/json.hpp line 20862 0x400e6f09: Main::on_mqtt_connected(bool)::{lambda(std::__cxx11::basic_string , std::allocator >, std::__cxx11::basic_string , std::allocator >)#1}::operator()(std::__cxx11::basic_string , std::allocator >, std::__cxx11::basic_string , std::allocator >) const at C:\Users\drony\source\repos\PR14.EMB.IR.Next\build\VisualGDB\Debug/../../../components/bbcore/include/bbcore/utils/json.hpp line 20862 : (inlined by) void std::__invoke_impl , std::allocator >, std::__cxx11::basic_string , std::allocator >)#1}&, std::__cxx11::basic_string , std::allocator >&, Main::on_mqtt_connected(bool)::{lambda(std::__cxx11::basic_string , std::allocator >, std::__cxx11::basic_string , std::allocator >)#1}&>(std::__invoke_other, Main::on_mqtt_connected(bool)::{lambda(std::__cxx11::basic_string , std::allocator >, std::__cxx11::basic_string , std::allocator >)#1}&, std::__cxx11::basic_string , std::allocator >&, Main::on_mqtt_connected(bool)::{lambda(std::__cxx11::basic_string , std::allocator >, std::__cxx11::basic_string , std::allocator >)#1}&) at c:\sysgcc\esp32\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\8.2.0\bits/invoke.h line 60 : (inlined by) std::__invoke_result , std::allocator >, std::__cxx11::basic_string , std::allocator >)#1}&, std::__cxx11::basic_string , std::allocator >&, Main::on_mqtt_connected(bool)::{lambda(std::__cxx11::basic_string , std::allocator >, std::__cxx11::basic_string , std::allocator >)#1}&>::type std::__invoke , std::allocator >, std::__cxx11::basic_string , std::allocator >)#1}&, std::__cxx11::basic_string , std::allocator >&, Main::on_mqtt_connected(bool)::{lambda(std::__cxx11::basic_string , std::allocator >, std::__cxx11::basic_string , std::allocator >)#1}&>(std::__invoke_result&&, (Main::on_mqtt_connected(bool)::{lambda(std::__cxx11::basic_string , std::allocator >, std::__cxx11::basic_string , std::allocator >)#1}&)...) at c:\sysgcc\esp32\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\8.2.0\bits/invoke.h line 95 : (inlined by) void std::_Bind , std::allocator >, std::__cxx11::basic_string , std::allocator >)#1} (std::__cxx11::basic_string , std::allocator >, std::__cxx11::basic_string , std::allocator >)>::__call (std::tuple&&, std::_Index_tuple0u, 1u>) at c:\sysgcc\esp32\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\8.2.0/functional line 400 : (inlined by) void std::_Bind , std::allocator >, std::__cxx11::basic_string , std::allocator >)#1} (std::__cxx11::basic_string , std::allocator >, std::__cxx11::basic_string , std::allocator >)>::operator(), void>() at c:\sysgcc\esp32\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\8.2.0/functional line 484 : (inlined by) std::_Function_handler , std::allocator >, std::__cxx11::basic_string , std::allocator >)#1} (std::__cxx11::basic_string , std::allocator >, std::__cxx11::basic_string , std::allocator >)> >::_M_invoke(std::_Any_data const&) at c:\sysgcc\esp32\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\8.2.0\bits/std_function.h line 297 0x400e7825: std::function ::operator()() const at c:\sysgcc\esp32\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\8.2.0\bits/std_function.h line 687 (discriminator 1) 0x400e956f: bbcore::core::MainLoop::handle_queue() at c:\sysgcc\esp32\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\8.2.0\bits/hashtable.h line 1440 0x400e9e6b: bbcore::core::MainLoop::run() at c:\sysgcc\esp32\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\8.2.0\bits/hashtable.h line 1440 0x400e1a9a: Main::main_task() at C:\Users\drony\source\repos\PR14.EMB.IR.Next\build\VisualGDB\Debug/../../../components/bbcore/include/bbcore/utils/json.hpp line 20862 0x402143a5: void std::__invoke_impl (std::__invoke_memfun_deref, void (Main::*&)(), Main*&) at C:\Users\drony\source\repos\PR14.EMB.IR.Next\build\VisualGDB\Debug/../../../components/bbcore/include/bbcore/utils/json.hpp line 20862 : (inlined by) std::__invoke_result ::type std::__invoke (void (Main::*&)(), Main*&) at c:\sysgcc\esp32\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\8.2.0\bits/invoke.h line 95 : (inlined by) void std::_Bind ::__call (std::tuple&&, std::_Index_tuple0u>) at c:\sysgcc\esp32\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\8.2.0/functional line 400 : (inlined by) void std::_Bind ::operator(), void>() at c:\sysgcc\esp32\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\8.2.0/functional line 484 : (inlined by) std::_Function_handler >::_M_invoke(std::_Any_data const&) at c:\sysgcc\esp32\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\8.2.0\bits/std_function.h line 297 0x400e7825: std::function ::operator()() const at c:\sysgcc\esp32\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\8.2.0\bits/std_function.h line 687 (discriminator 1) 0x400e9ede: bbcore::core::Task::run(void*) at C:\Users\drony\source\repos\PR14.EMB.IR.Next\build\VisualGDB\Debug/../../../components/bbcore/src/core/Task.cpp line 35 0x4009928d: vPortTaskWrapper at C:/SysGCC/esp32/esp-idf/v4.0.1/components/freertos/port.c line 403

@github-actions github-actions bot changed the title gpio_uninstall_isr_service() Interrupt wdt timeout gpio_uninstall_isr_service() Interrupt wdt timeout (IDFGH-3635) Jul 12, 2020
@Alvin1Zhang
Copy link
Collaborator

@drony Thanks for reporting. Would you please help provide more details as suggested in the issue template? Information like elf, sdk configuration, backtrace, log outputs, commit ID, hardware and etc. would help us debug further. Thanks.

@espressif-bot espressif-bot added Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Resolution: NA Issue resolution is unavailable labels Dec 7, 2021
espressif-bot pushed a commit that referenced this issue Jan 16, 2022
…io_uninstall_isr_service()

Closes #5571

Fix the bug that if the API was called from one core to free the interrupt source on the other core, it would trigger interrupt watchdog.

(cherry picked from commit 0e8286c)
dskulina pushed a commit to playable-tech/esp-idf that referenced this issue Feb 4, 2022
…io_uninstall_isr_service()

Closes espressif#5571

Fix the bug that if the API was called from one core to free the interrupt source on the other core, it would trigger interrupt watchdog.
dskulina pushed a commit to playable-tech/esp-idf that referenced this issue Feb 5, 2022
…io_uninstall_isr_service()

Closes espressif#5571

Fix the bug that if the API was called from one core to free the interrupt source on the other core, it would trigger interrupt watchdog.
espressif-bot pushed a commit that referenced this issue Feb 17, 2022
…io_uninstall_isr_service()

Closes #5571

Fix the bug that if the API was called from one core to free the interrupt source on the other core, it would trigger interrupt watchdog.

(cherry picked from commit 0e8286c)
@AxelLin
Copy link
Contributor

AxelLin commented Feb 20, 2022

@Alvin1Zhang
v4.3 does not include this fix.

espressif-bot pushed a commit that referenced this issue Mar 3, 2022
…io_uninstall_isr_service()

Closes #5571

Fix the bug that if the API was called from one core to free the interrupt source on the other core, it would trigger interrupt watchdog.

(cherry picked from commit 0e8286c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

4 participants