Crash using esp_bluedroid_init

j.mouton
Posts: 3
Joined: Thu May 03, 2018 6:45 am

Crash using esp_bluedroid_init

Postby j.mouton » Fri Aug 31, 2018 3:06 pm

Hello

I would like to include bluetooth fonctionnality in my soft. To do this, i began with the example "bt_spp_acceptor" with success.

Then, I wish include parts of this example. The first test is to include this bluetooth part without call it. In this way, I can check everything works fine like before. In my case, it crashs.
After some tests, I realize it crashs only if the function esp_bluedroid_init() is compiled. If I comment this function, all works fine. If I uncomment this line, but don't call, it even crashs.

Log of crash :

Code: Select all

MONITOR
--- idf_monitor on COM9 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:3508
load:0x40078000,len:0
load:0x40078000,len:12792
entry 0x40078c8c
assertion "res == pdTRUE" failed: file "C:/msys32/home/virtualJu/esp-idf/components/esp32/cpu_start.c", line 375, function: start_cp
u0_default
abort() was called at PC 0x400d44d3 on core 0
0x400d44d3: __assert_func at /Users/ivan/e/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/stdlib/../../../
.././newlib/libc/stdlib/assert.c:63 (discriminator 8)


Backtrace: 0x400920d8:0x3ffe3b80 0x400922af:0x3ffe3ba0 0x400d44d3:0x3ffe3bc0 0x40081012:0x3ffe3bf0 0x400811b0:0x3ffe3c20 0x40078a1a:
0x3ffe3c40 0x40078acd:0x3ffe3c70 0x40078c65:0x3ffe3cb0 0x40078dae:0x3ffe3e70 0x40007c31:0x3ffe3eb0 0x4000073d:0x3ffe3f20
0x400920d8: invoke_abort at C:/msys32/home/virtualJu/esp-idf/components/esp32/panic.c:648

0x400922af: abort at C:/msys32/home/virtualJu/esp-idf/components/esp32/panic.c:648

0x400d44d3: __assert_func at /Users/ivan/e/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/stdlib/../../../
.././newlib/libc/stdlib/assert.c:63 (discriminator 8)

0x40081012: start_cpu0_default at C:/msys32/home/virtualJu/esp-idf/components/esp32/cpu_start.c:375 (discriminator 1)

0x400811b0: call_start_cpu0 at C:/msys32/home/virtualJu/esp-idf/components/esp32/cpu_start.c:213


Rebooting...
Anyone got an idea ?

Who is online

Users browsing this forum: No registered users and 390 guests