Closed mevalver closed 2 years ago
Describe the bug While developing a new ethernet driver for Intel Cyclone V SoC DevKit board, we were testing the example located in https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/net/civetweb/websocket_server
When the message is too long, the Zephyr kernel has problem: [00:00:54.132,000] os: MPU FAULT [00:00:54.132,000] os: Stacking error (context area might be not valid) [00:00:54.132,000] os: Data Access Violation [00:00:54.132,000] os: MMFAR Address: 0x2000ceb8 [00:00:54.132,000] os: r0/a1: 0x121bcb9f r1/a2: 0x4e7439c2 r2/a3: 0x2 [00:00:54.132,000] os: r3/a4: 0xe45754cc r12/ip: 0xcc2d83d0 r14/lr: 0xd [00:00:54.132,000] os: xpsr: 0xb7aec000 [00:00:54.132,000] os: Faulting instruction address (r15/pc): 0x01a05abf [00:00:54.132,000] os: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0 [00:00:54.132,000] os: Current thread: 0x20005438 (unknown) [00:00:54.219,000] os: Halting system
We validated this problem in two boards cyclonev_socdk and nucleo_f429zi
To Reproduce Steps to reproduce the behavior:
Expected behavior The message is to be clearly passed on the webserver page without errors on the board.
"Fixed" by the removal of civetweb. See #46746 for more details. Thanks for taking the time to file an issue and sorry for the inconvenience.
Describe the bug While developing a new ethernet driver for Intel Cyclone V SoC DevKit board, we were testing the example located in https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/net/civetweb/websocket_server
When the message is too long, the Zephyr kernel has problem: [00:00:54.132,000] os: MPU FAULT
[00:00:54.132,000] os: Stacking error (context area might be not valid)
[00:00:54.132,000] os: Data Access Violation
[00:00:54.132,000] os: MMFAR Address: 0x2000ceb8
[00:00:54.132,000] os: r0/a1: 0x121bcb9f r1/a2: 0x4e7439c2 r2/a3: 0x2
[00:00:54.132,000] os: r3/a4: 0xe45754cc r12/ip: 0xcc2d83d0 r14/lr: 0xd
[00:00:54.132,000] os: xpsr: 0xb7aec000
[00:00:54.132,000] os: Faulting instruction address (r15/pc): 0x01a05abf
[00:00:54.132,000] os: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0
[00:00:54.132,000] os: Current thread: 0x20005438 (unknown)
[00:00:54.219,000] os: Halting system
We validated this problem in two boards cyclonev_socdk and nucleo_f429zi
To Reproduce Steps to reproduce the behavior:
Expected behavior The message is to be clearly passed on the webserver page without errors on the board.