Skip to content

ESP32 crashes when reading polygons #11

@jnpm

Description

@jnpm

Hi,
I have the issue that the ESP32 crashes when reading a map block with many polygons.

I get this error:

ELF file SHA256: b011cbef6d9ebf94

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_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:2
load:0x3fff0030,len:1184
load:0x40078000,len:13232
load:0x40080400,len:3028
entry 0x400805e4
[ 19][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
[ 35][V][esp32-hal-uart.c:330] uartBegin(): UART0 baud(115200) Mode(800001c) rxPin(3) txPin(1)
[ 45][V][esp32-hal-uart.c:416] uartBegin(): UART0 not installed. Starting installation
[ 56][V][esp32-hal-uart.c:467] uartBegin(): UART0 initialization done.
[I] Starting...
[ 1070][V][esp32-hal-uart.c:330] uartBegin(): UART1 baud(9600) Mode(800001c) rxPin(18) txPin(17)
[ 1080][V][esp32-hal-uart.c:416] uartBegin(): UART1 not installed. Starting installation
[ 1089][V][esp32-hal-uart.c:467] uartBegin(): UART1 initialization done.
[D] FreeHeap: 212048
[D] FreeHeap: 211652
[D] FreeHeap: 211256
[I] Opening SD Card...
SD Card Type: SDHC
SD Card Size: 244480MB
initialisation done.
[I] Waiting for satellites...
[D] Fix?:0, Sats:0, isUpdated:0
[D] lat:0.000000, lon:0.000000
[D] Altitude: 0
[D] get_map_blocks 1486
[D] load from disk (1286144, 6135808) 1487
[D] read_map_block: /mymap/+019+093/10_10
[V] count: 6225

abort() was called at PC 0x40163973 on core 1

Backtrace: 0x4008396d:0x3ffcba60 0x400959fd:0x3ffcba80 0x4009af5d:0x3ffcbaa0 0x40163973:0x3ffcbb20 0x401639ba:0x3ffcbb40 0x401633a7:0x3ffcbb60 0x4016348e:0x3ffcbb80 0x400d4dda:0x3ffcbba0 0x400d52b7:0x3ffcbbd0 0x400d587b:0x3ffcbcc0 0x400d3d58:0x3ffcbd50 0x400d41ad:0x3ffcbd80 0x400e3eae:0x3ffcbdb0

Is it normal to have map blocks with over 6000 polygons?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions