Skip to content

strtol crashes #35176

@aep

Description

@aep
void main(void)
{
   strtol("10",0, 10);
}
[00:00:00.475,000] <err> os:  ** FATAL EXCEPTION
[00:00:00.475,000] <err> os:  ** CPU 0 EXCCAUSE 28 (load prohibited)
[00:00:00.475,000] <err> os:  **  PC 0x4000be94 VADDR (nil)
[00:00:00.475,000] <err> os:  **  PS 0x60a20
[00:00:00.475,000] <err> os:  **    (INTLEVEL:0 EXCM: 0 UM:1 RING:0 WOE:1 OWB:10 CALLINC:2)
[00:00:00.475,000] <err> os:  **  A0 0x80056822  SP 0x3ffe5ca0  A2 0x3f4001e8  A3 0x3ffe5cc0
[00:00:00.475,000] <err> os:  **  A4 0x3ffe5ca0  A5 0x4  A6 0x144  A7 (nil)
[00:00:00.475,000] <err> os:  **  A8 (nil)  A9 0x3ffe5bd0 A10 0x13 A11 0x25
[00:00:00.475,000] <err> os:  ** A12 0x3f400525 A13 0x13 A14 0x3ffe5ca0 A15 0x8
[00:00:00.475,000] <err> os:  ** LBEG 0x400014fd LEND 0x4000150d LCOUNT 0xffffffff
[00:00:00.475,000] <err> os:  ** SAR 0x4
[00:00:00.484,000] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
[00:00:00.484,000] <err> os: Current thread: 0x3ffb0cf8 (unknown)
[00:00:00.672,000] <err> os: Halting system


Metadata

Metadata

Assignees

Labels

bugThe issue is a bug, or the PR is fixing a bugplatform: ESP32Espressif ESP32priority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions