[Bug ipa/63696] New: Alloc-dealloc-mismatch in ipa-icf.c

2014-10-31 Thread chefmax at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: chefmax at gcc dot gnu.org CC: ygribov at gcc dot gnu.org Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Build: x86_64-pc-linux-gnu Created attachment 33850 --> ht

[Bug ipa/63696] Alloc-dealloc-mismatch in ipa-icf.c

2014-10-31 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63696 --- Comment #3 from Maxim Ostapenko --- Author: chefmax Date: Fri Oct 31 10:53:36 2014 New Revision: 216954 URL: https://gcc.gnu.org/viewcvs?rev=216954&root=gcc&view=rev Log: gcc/ 2014-10-31 Max Ostapenko PR ipa/63696 * ipa-

[Bug ipa/63696] Alloc-dealloc-mismatch in ipa-icf.c

2014-11-06 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63696 Maxim Ostapenko changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug sanitizer/61771] New: Regressions in ASan testsuite on ARM Linux

2014-07-10 Thread chefmax at gcc dot gnu.org
: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: chefmax at gcc dot gnu.org 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, y.gribov at samsung dot com

[Bug sanitizer/61771] Regressions in ASan testsuite on ARM Linux

2014-07-15 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61771 --- Comment #2 from Maxim Ostapenko --- So looks like fast unwinding in libsanitizer is not portable to GCC for ARM Linux target because of incompatible frame pointer value. But how is libsanitizer going to identify functions/object files compile

[Bug testsuite/62060] g++.dg/tsan/cond_race.C triggers heap-use-after-free

2014-08-08 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62060 --- Comment #2 from Maxim Ostapenko --- (In reply to vries from comment #1) > Tentative patch: > ... > diff --git a/gcc/testsuite/g++.dg/tsan/cond_race.C > b/gcc/testsuite/g++.dg/tsan/cond_race.C > index a937614..90dfb19 100644 > --- a/gcc/testsu

[Bug c++/62017] AddressSanitizer reports *-buffer-overflow in destructor when multiple virtual inheritance is used

2014-09-18 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62017 Maxim Ostapenko changed: What|Removed |Added CC||chefmax at gcc dot gnu.org

[Bug testsuite/63291] New: ASan reports stack-buffer-overflow in some cilkplus tests.

2014-09-18 Thread chefmax at gcc dot gnu.org
Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: chefmax at gcc dot gnu.org Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu These tests failed with stack-buffer-overflow if run with ASan enabled: FAIL: c-c

[Bug c++/62017] AddressSanitizer reports *-buffer-overflow in destructor when multiple virtual inheritance is used

2014-09-18 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62017 --- Comment #3 from Maxim Ostapenko --- Test fails only if compile on -O0 and -Os optimization levels: $ ~/install/master/bin/g++ diamond_virt.cc -fsanitize=address -Os On -O1, -O2 and -O3 ASan does not report any error.

[Bug testsuite/63292] New: ASan reports global-buffer-overflow in gcc.dg/vect/pr59594.c.

2014-09-18 Thread chefmax at gcc dot gnu.org
Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: chefmax at gcc dot gnu.org Target: x86_64-pc-linux-gnu Build: x86_64-pc-linux-gnu This test fails at line 20 with global buffer overflow: $ ~/install/master/bin

[Bug testsuite/63297] New: ASan reported heap-use-after-free in g++.old-deja/g++.law/virtual3.C.

2014-09-18 Thread chefmax at gcc dot gnu.org
Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: chefmax at gcc dot gnu.org Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 33512 --> https://gcc.gnu.org/bugzi

[Bug testsuite/63299] New: ASan reported alloc-dealloc-mismatch in g++.old-deja/g++.jason/init3.C

2014-09-18 Thread chefmax at gcc dot gnu.org
Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: chefmax at gcc dot gnu.org Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 33513 --> https://gcc.gnu.org/bugzi

[Bug testsuite/63305] New: ASan reported heap-buffer-overflow in gcc.target/i386/avx256-unaligned-load{store}-7.c

2014-09-18 Thread chefmax at gcc dot gnu.org
Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: chefmax at gcc dot gnu.org Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Build: x86_64-pc-linux-gnu ASan reported

[Bug sanitizer/63369] many asan test cases fail on ARM

2014-09-25 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63369 Maxim Ostapenko changed: What|Removed |Added CC||chefmax at gcc dot gnu.org

[Bug testsuite/63305] ASan reported heap-buffer-overflow in gcc.target/i386/avx256-unaligned-load{store}-7.c

2014-09-25 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63305 --- Comment #2 from Maxim Ostapenko --- Still fails on trunk: $ ./xgcc -B./ ~/workspace/downloads/gcc/gcc/testsuite/gcc.target/i386/avx256-unaligned-load-7.c -fsanitize=address -O3 -dp -mavx -mavx256-split-unaligned-load -o /tmp/a.out -L../x86_

[Bug testsuite/58867] asan and ubsan tests not run for installed testing

2014-10-03 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58867 Maxim Ostapenko changed: What|Removed |Added CC||chefmax at gcc dot gnu.org

[Bug sanitizer/64820] Libsanitizer fails with ((AddrIsAlignedByGranularity(addr + size))) != (0)" (0x0, 0x0) if ssp is enabled.

2015-12-08 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64820 --- Comment #9 from Maxim Ostapenko --- Author: chefmax Date: Tue Dec 8 11:34:28 2015 New Revision: 231405 URL: https://gcc.gnu.org/viewcvs?rev=231405&root=gcc&view=rev Log: 2015-12-08 Maxim Ostapenko Backport from mainline.

[Bug sanitizer/64820] Libsanitizer fails with ((AddrIsAlignedByGranularity(addr + size))) != (0)" (0x0, 0x0) if ssp is enabled.

2015-12-08 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64820 --- Comment #10 from Maxim Ostapenko --- Should be fixed on gcc-4_9-branch.

[Bug sanitizer/69147] [5 Regression] Several hundred asan failures with 5.3.1 on x86_64-apple-darwin15

2016-01-11 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69147 --- Comment #2 from Maxim Ostapenko --- Dominique, could you please run ASan tests with ASAN_OPTIONS=debug=1:verbosity=2? This might be helpful for further debugging.

[Bug sanitizer/69147] [5 Regression] Several hundred asan failures with 5.3.1 on x86_64-apple-darwin15

2016-01-11 Thread chefmax at gcc dot gnu.org
test love? If yes, how? If no, I guess I have to > do a bootstrap with it, but how? > > TIA > > Dominique > > > Le 11 janv. 2016 à 10:23, chefmax at gcc dot gnu.org > > a écrit : > > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69147 > > &g

[Bug sanitizer/69147] [5 Regression] Several hundred asan failures with 5.3.1 on x86_64-apple-darwin15

2016-01-11 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69147 --- Comment #6 from Maxim Ostapenko --- Ok, it seems that libasan calls some function to be intercepted while AsanInitInternal still not completed. Could you try to run memcmp-1.exe under gdb to provide a backtrace from failed CHECK? This way, we

[Bug sanitizer/69147] [5 Regression] Several hundred asan failures with 5.3.1 on x86_64-apple-darwin15

2016-01-12 Thread chefmax at gcc dot gnu.org
000001) > > without any backtrace available. > > > Le 11 janv. 2016 à 17:20, chefmax at gcc dot gnu.org > > a écrit : > > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69147 > > > > --- Comment #6 from Maxim Ostapenko --- > > Ok, it seems

[Bug sanitizer/69147] [5 Regression] Several hundred asan failures with 5.3.1 on x86_64-apple-darwin15

2016-01-12 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69147 --- Comment #10 from Maxim Ostapenko --- Created attachment 37310 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37310&action=edit Proposed fix. « El Capitan » is OS X 10.11, right? So, this is my vision of the problem: In OS X 10.11+ or

[Bug sanitizer/69147] [5 Regression] Several hundred asan failures with 5.3.1 on x86_64-apple-darwin15

2016-01-12 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69147 --- Comment #13 from Maxim Ostapenko --- Created attachment 37313 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37313&action=edit Second fix. My bad, could you try this one?

[Bug sanitizer/69147] [5 Regression] Several hundred asan failures with 5.3.1 on x86_64-apple-darwin15

2016-01-12 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69147 --- Comment #15 from Maxim Ostapenko --- Created attachment 37316 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37316&action=edit Third attempt. Eh, it seems that I missed one another commit from upstream that needed to be backported, sor

[Bug sanitizer/69147] [5 Regression] Several hundred asan failures with 5.3.1 on x86_64-apple-darwin15

2016-01-13 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69147 --- Comment #18 from Maxim Ostapenko --- Author: chefmax Date: Wed Jan 13 09:27:38 2016 New Revision: 232316 URL: https://gcc.gnu.org/viewcvs?rev=232316&root=gcc&view=rev Log: Cherry-pick r224315 and r241487 from upstream. PR sanitizer/

[Bug sanitizer/69147] [5 Regression] Several hundred asan failures with 5.3.1 on x86_64-apple-darwin15

2016-01-13 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69147 --- Comment #19 from Maxim Ostapenko --- Should be fixed now.

[Bug sanitizer/66880] New: 'error: case label does not reduce to an integer constant' with -fsanitize=shift -std=gnu99.

2015-07-15 Thread chefmax at gcc dot gnu.org
NCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: chefmax at gcc dot gnu.org CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org,

[Bug sanitizer/66908] Uninitialized variable when compiled with UBsan

2015-07-22 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66908 Maxim Ostapenko changed: What|Removed |Added CC||chefmax at gcc dot gnu.org

[Bug sanitizer/66908] Uninitialized variable when compiled with UBsan

2015-07-22 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66908 --- Comment #10 from Maxim Ostapenko --- (In reply to Marek Polacek from comment #9) > Oh silly me! This should work; Maxim, could you possibly try this patch? Sorry, Marek, nothing changed for C++ testcase: D.6137 = get.__delta; D

[Bug sanitizer/66908] Uninitialized variable when compiled with UBsan

2015-07-22 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66908 --- Comment #12 from Maxim Ostapenko --- (In reply to Marek Polacek from comment #11) > Hmm, still can't reproduce even with vanilla trunk: > > A = A.0; > D.2679 = get.__pfn; > D.2680 = (long int) D.2679; > D.2681 = D.2680 & 1; > if (D

[Bug sanitizer/66908] Uninitialized variable when compiled with UBsan

2015-07-23 Thread chefmax at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66908 --- Comment #15 from Maxim Ostapenko --- (In reply to Marek Polacek from comment #14) > This particular issue is fixed for GCC 6. > > Maxim, could you please open a separate PR for the ARM issue? I'll try to > fix that one as a follow-up. Sure

[Bug sanitizer/66977] New: -fsanitize=shift may introduce uninitialized variables

2015-07-23 Thread chefmax at gcc dot gnu.org
Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: chefmax at gcc dot gnu.org 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, mpolacek at gcc dot

[Bug sanitizer/84250] Symbol collision when using both Address and Undefined Behavior sanitizers (-fsanitize=address,undefined)

2021-12-22 Thread chefmax at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84250 chefmax at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #12

[Bug sanitizer/84250] Symbol collision when using both Address and Undefined Behavior sanitizers (-fsanitize=address,undefined)

2021-12-16 Thread chefmax at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84250 --- Comment #10 from chefmax at gcc dot gnu.org --- Hi Marek, sorry, I'm not really tracking this anymore :(. I don't remember exactly why option 1) from https://github.com/google/sanitizers/issues/912#issuecomment-363525012 doesn'

<    1   2