roymuste / address-sanitizer

Automatically exported from code.google.com/p/address-sanitizer
0 stars 0 forks source link

asan_symbolize.py sometimes omits newlines in stack traces #343

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Ex:

==13== WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x7ff96110a852 (/mnt/ssd/chromium/src/out_goma_msan_chained/Release/content_shell+0x4441852)
    #1 0x7ff961109b9e (/mnt/ssd/chromium/src/out_goma_msan_chained/Release/content_shell+0x4440b9e)

becomes (note the lack of :

==13== WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x7ff96110a852 in FindAllocationMemento v8/src/heap/heap-inl.h:508:27    #1 0x7ff96110a852 in _ZN2v88internal8JSObject20UpdateAllocationSiteENS0_6HandleIS1_EENS0_12ElementsKindE v8/src/objects.cc:12663:0
    #2 0x7ff961109b9e in _ZN2v88internal8JSObject32SetFastElementsCapacityAndLengthENS0_6HandleIS1_EEiiNS1_30SetFastElementsCapacitySmiModeE v8/src/objects.cc:10993:5

I don't know whether this happens only to inlined functions (seems likely).

I think this regressed a few months ago.

Original issue reported on code.google.com by earth...@google.com on 18 Sep 2014 at 6:52

GoogleCodeExporter commented 9 years ago
> (note the lack of 

Note the lack of a newline between #0 and #1

Original comment by earth...@google.com on 18 Sep 2014 at 6:52

GoogleCodeExporter commented 9 years ago
Culprit identified: https://llvm.org/svn/llvm-project/compiler-rt/trunk@213136

Original comment by earth...@google.com on 18 Sep 2014 at 6:57

GoogleCodeExporter commented 9 years ago
Fixed in r218071.

Alex, you should check any other uses of get_symbolized_lines(), whatever they 
might be.

Original comment by earth...@google.com on 18 Sep 2014 at 7:27

GoogleCodeExporter commented 9 years ago
Thanks for fixing this!
There aren't other uses of get_symbolized_lines() yet, but I'll pay attention 
to it.

Original comment by gli...@chromium.org on 19 Sep 2014 at 12:26

GoogleCodeExporter commented 9 years ago
Adding Project:AddressSanitizer as part of GitHub migration.

Original comment by ramosian.glider@gmail.com on 30 Jul 2015 at 9:06