public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/105330] New: Asan cannot work correctly for RISC-V GCC
@ 2022-04-21  7:48 cooper.joshua at linux dot alibaba.com
  0 siblings, 0 replies; only message in thread
From: cooper.joshua at linux dot alibaba.com @ 2022-04-21  7:48 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105330

            Bug ID: 105330
           Summary: Asan cannot work correctly for RISC-V  GCC
           Product: gcc
           Version: 11.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: cooper.joshua at linux dot alibaba.com
                CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
                    jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org
  Target Milestone: ---

When I use '-fsanitize=address' to compile the program, like
gcc/testsuite/gcc.dg/asan/use-after-scope-1.c and then run on Qemu, I get 
AddressSanitizer: CHECK failed: sanitizer_allocator_primary32.h:292 "((res)) <
((kNumPossibleRegions))" (0x40016, 0x40000) (tid=80622)
    <empty stack>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-21  7:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-21  7:48 [Bug sanitizer/105330] New: Asan cannot work correctly for RISC-V GCC cooper.joshua at linux dot alibaba.com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).