Skip to content

tests/net/socket/ faults on sam_e70_xplained and frdm_k64f #9614

Closed
@nniranjhana

Description

@nniranjhana

The tests in tests/net/socket/tcp and tests/net/socket/getaddrinfo run into MPU fault after the tests start.

The tests started failing after this commit: 18cec24
which is part of #9179 that adds system calls to socket APIs. What do we do here?

Arch: ARM
Platform: sam_e70_xplained, frdm_k64f

Error console log on same_e70_xplained:

 ***** Booting Zephyr OS 1.13.0-rc1 (delayed boot 1000ms) *****
 Running test suite socket_tcp
 ===================================================================
 starting test - test_v4_send_recv

***** MPU FAULT *****
  Stacking error
  Data Access Violation
  MMFAR Address: 0x20409918
**** Unknown Fatal Error 2! ****
Current thread ID = 0x2040a358
Faulting instructions address = 0xffffffff
Fatal fault in thread 0x2040a358! Aborting.

Error console log on frdm_k64f:

***** Booting Zephyr OS 1.13.0-rc1 (delayed boot 1000ms) *****
 Running test suite socket_getaddrinfo
 
 ===================================================================
 
 starting test - test_getaddrinfo_ok
 
 ***** BUS FAULT *****
   Imprecise data bus error
   NXP MPU error, port 3
     Mode: User, Data Address: 0x2000ab50
     Type: Write, Master: 0, Regions: 0x8010
 ***** Hardware exception *****
 Current thread ID = 0x20009e6c
 Faulting instruction address = 0xf52
 Fatal fault in thread 0x20009e6c! Aborting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ARMARM (32-bit) Architecturearea: NetworkingbugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions