Page 1 of 1

Stack overflow - core panic

Posted: Sat Feb 25, 2017 11:52 pm
by falling_stone
Hi,
I compiled the gatt_server_service_table demo from the IDF and I've got the following response from the console:

E (516) BT: app_main init bluetooth
E (516) BT: Startup BTU
E (516) BT: GATTS_CreateService: handle of service handle1
E (526) BT: osi_mem_dbg_clean full future_free 98 !!
E (526) BT: osi_mem_dbg_clean full GKI_freeb***ERROR*** A stack overflow in task hciH4T has been detected.
abort() was called at PC 0x4008615c
Guru Meditation Error: Core 0 panic'ed (abort)
Backtrace: 0x400826c4:0x3ffd9730 0x4008284d:0x3ffd9750 0x400838ea:0x3ffd9770 0x4008574f:0x3ffd9790 0x40085709:0x124a1bfb
CPU halted.

Can anyone help me how can I make the system run? (I already increased stack size by "make menuconfig" utility, it did not help)
Thank You and Best Regards,
F.S.

Re: Stack overflow - core panic

Posted: Sun Feb 26, 2017 6:07 pm
by kolban
Howdy,
A new video has been pushed to You Tube which might offer some assistance. See:

https://www.youtube.com/watch?v=9zxU9uAifMI

Re: Stack overflow - core panic

Posted: Sun Feb 26, 2017 11:54 pm
by ESP_Angus
Hi falling stone,

This example compiles and runs for me with the current esp-idf master branch version on github (commit 13dfb5568) and the default configuration.

Are there configuration, code or version differences that might be contributing to the error you're seeing?


Angus

Re: Stack overflow - core panic

Posted: Tue Feb 28, 2017 12:46 am
by falling_stone
Thank You Mr. Kolban for the useful video,
Thank You Angus for contribution, the release is the same as Yous, the problem seemed to be in enabled "Bluedroid memory debug" in menuconfig. Now its OK.