Skip to content

mimxrt1020_evk tests/subsys/logging/log_core test_log_strdup_gc meets Unaligned memory access #13728

@hakehuang

Description

@hakehuang

Describe the bug
Unaligned memory access in test_log_strdup_gc

To Reproduce
Steps to reproduce the behavior:

  1. mkdir build; cd build
  2. cmake -DBOARD=mimxrt1020_evk ..
  3. make
  4. make flash

Expected behavior
test cases pass

Impact
logging system has potential issues

Screenshots or console output

======== Target Main Serial Content:   ========
�start application at 0x600057e9 !!!

***** Booting Zephyr OS 1.14.0-rc1 *****

Running test suite test_log_list

===================================================================

starting test - test_log_backend_runtime_filtering

PASS - test_log_backend_runtime_filtering

===================================================================

starting test - test_log_overflow

PASS - test_log_overflow

===================================================================

starting test - test_log_arguments

PASS - test_log_arguments

===================================================================

starting test - test_log_from_declared_module

PASS - test_log_from_declared_module

===================================================================

starting test - test_log_strdup_gc

***** USAGE FAULT *****

  Unaligned memory access

***** Hardware exception *****

Current thread ID = 0x80000d2c

Faulting instruction address = 0x60002a16

Fatal fault in thread 0x80000d2c! Aborting.


======== Target Main Serial Content:   ========
�start application at 0x600057e9 !!!

***** Booting Zephyr OS 1.14.0-rc1 *****

Running test suite test_log_list

===================================================================

starting test - test_log_backend_runtime_filtering

PASS - test_log_backend_runtime_filtering

===================================================================

starting test - test_log_overflow

PASS - test_log_overflow

===================================================================

starting test - test_log_arguments

PASS - test_log_arguments

===================================================================

starting test - test_log_from_declared_module

PASS - test_log_from_declared_module

===================================================================

starting test - test_log_strdup_gc

***** USAGE FAULT *****

  Unaligned memory access

***** Hardware exception *****

Current thread ID = 0x80000d2c

Faulting instruction address = 0x60002a16

Fatal fault in thread 0x80000d2c! Aborting.

Environment (please complete the following information):

  • OS: Linux
  • Toolchain Zephyr SDK
  • Commit SHA" v1.14.0_RC1

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: TestsIssues related to a particular existing or missing testbugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXP

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions