Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] sim:ostest receives SIGSEGV in kasan_mem_to_shadow when build with CMake #13302

Closed
1 task done
Jasinsky opened this issue Sep 5, 2024 · 0 comments · Fixed by #13347
Closed
1 task done

[BUG] sim:ostest receives SIGSEGV in kasan_mem_to_shadow when build with CMake #13302

Jasinsky opened this issue Sep 5, 2024 · 0 comments · Fixed by #13347
Labels
Arch: simulator Issues related to the SIMulator Area: Native port Native port issues OS: Linux Issues related to Linux (building system, etc) Type: Bug Something isn't working

Comments

@Jasinsky
Copy link
Contributor

Jasinsky commented Sep 5, 2024

Description / Steps to reproduce the issue

Make based build passes ostest, CMake build does not.

cd <nuttx_os_root>
mkdir build && cd build
cmake .. -G Ninja -DBOARD_CONFIG=sim:ostest
ninja
gdb nuttx
gdb > start
gdb > c
Program received signal SIGSEGV, Segmentation fault.
0x0000555555556e71 in kasan_mem_to_shadow (ptr=0x7ffff7afffff, size=1, bit=<error reading variable: Cannot access memory at address 0x7fffff7feff8>) at /home/dan/priv/nuttx/nuttx/mm/kasan/kasan.c:107

On which OS does this issue occur?

[Linux]

What is the version of your OS?

6.8.0-40-generic #40~22.04.3-Ubuntu SMP

NuttX Version

da6ddea (master)

Issue Architecture

[simulator]

Issue Area

[Native port]

Verification

  • I have verified before submitting the report.
@Jasinsky Jasinsky added the Type: Bug Something isn't working label Sep 5, 2024
@github-actions github-actions bot added OS: Linux Issues related to Linux (building system, etc) Area: Native port Native port issues Arch: simulator Issues related to the SIMulator labels Sep 5, 2024
@xiaoxiang781216 xiaoxiang781216 linked a pull request Sep 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch: simulator Issues related to the SIMulator Area: Native port Native port issues OS: Linux Issues related to Linux (building system, etc) Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant