[Bug sanitizer/79944] asan: incorrect instrumentation of atomic operations

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79944 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug sanitizer/79944] asan: incorrect instrumentation of atomic operations

2017-05-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79944 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Tue May 30 08:13:33 2017 New Revision: 248658 URL: https://gcc.gnu.org/viewcvs?rev=248658&root=gcc&view=rev Log: Backported from mainline 2017-03-09 Jakub Jelinek

[Bug sanitizer/79944] asan: incorrect instrumentation of atomic operations

2017-05-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79944 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Fri May 5 21:40:10 2017 New Revision: 247685 URL: https://gcc.gnu.org/viewcvs?rev=247685&root=gcc&view=rev Log: Backported from mainline 2017-03-09 Jakub Jelinek

[Bug sanitizer/79944] asan: incorrect instrumentation of atomic operations

2017-03-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79944 --- Comment #8 from Jakub Jelinek --- Fixed on the trunk so far.

[Bug sanitizer/79944] asan: incorrect instrumentation of atomic operations

2017-03-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79944 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Thu Mar 9 09:20:23 2017 New Revision: 245991 URL: https://gcc.gnu.org/viewcvs?rev=245991&root=gcc&view=rev Log: PR sanitizer/79944 * asan.c (get_mem_refs_of_builtin_call)

[Bug sanitizer/79944] asan: incorrect instrumentation of atomic operations

2017-03-08 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79944 --- Comment #6 from Dmitry Vyukov --- Just build kernel with it. Boots fine and sustains some load now. Did not do any positive tests, though. Thanks for the quick fix!

[Bug sanitizer/79944] asan: incorrect instrumentation of atomic operations

2017-03-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79944 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug sanitizer/79944] asan: incorrect instrumentation of atomic operations

2017-03-07 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79944 --- Comment #4 from Dmitry Vyukov --- Attached second minimized reproducer. Build it with: gcc dmaengine2.c -fsanitize=address -O2 -lasan -g It produces: ==57662==ERROR: AddressSanitizer: unknown-crash on address 0x00601321 at pc 0x0040

[Bug sanitizer/79944] asan: incorrect instrumentation of atomic operations

2017-03-07 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79944 --- Comment #3 from Dmitry Vyukov --- Created attachment 40918 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40918&action=edit reproducer2

[Bug sanitizer/79944] asan: incorrect instrumentation of atomic operations

2017-03-07 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79944 --- Comment #2 from Dmitry Vyukov --- I've shutup that bug with dest = NULL, but then I immediately got this: BUG: KASAN: global-out-of-bounds in clear_bit include/linux/bitops_compiler.h:15 [inline] BUG: KASAN: global-out-of-bounds in dma_chann

[Bug sanitizer/79944] asan: incorrect instrumentation of atomic operations

2017-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79944 --- Comment #1 from Jakub Jelinek --- I'll have a look tomorrow.