Gary-Hobson commented on issue #12855: URL: https://github.com/apache/nuttx/issues/12855#issuecomment-2285747962
> ```shell > Thread 1 hit Breakpoint 2, exception_common () > at /path/to/nuttx/arch/risc-v/src/common/riscv_exception_common.S:112 > 112 addi sp, sp, -XCPTCONTEXT_SIZE > (gdb) bt > #0 exception_common () > at /path/to/nuttx/arch/risc-v/src/common/riscv_exception_common.S:112 > #1 0x00000000800075dc in kasan_set_poison ( > addr=addr@entry=0x80056dd0, size=<optimized out>, > poisoned=poisoned@entry=false) > at /path/to/nuttx/mm/kasan/kasan.c:188 In the above error, it seems that dataabort/unaligned access has occurred. It is not that Kasan actively panics after detecting the error. The following error is when executing the code at address 0x80006ec2, kasan detects that it accesses an unallocated memory (addr: 0x81f81580, size is 8) > ```shell > kasan_report: kasan detected a read access error, address at 0x81f81580, size is 8, return address: 0x80006ec2 > ``` > @Rrooach Can you provide more information for analysis? defconfig, elf, log, these are all helpful in analyzing the problem If a method can be provided to reproduce the problem in the mainline code, this problem can be solved quickly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
