There should be the asan_symbolize.py script in your checkout, see
http://clang.llvm.org/docs/AddressSanitizer.html for the instructions
how to use it.
Make sure to build your program with debug info.

HTH,
Alex

On Fri, Jan 10, 2014 at 1:03 PM, laser <[email protected]> wrote:
> Hello,
>
> I compiled a sample segment fault c code with address-santizer in gcc4.8,
> but no line number show, how to get it?
>
> ==4587== ERROR: AddressSanitizer: SEGV on unknown address 0x17fbff12 (pc
> 0x08048925 sp 0xbfdff850 bp 0xbfdff958 T0)
> AddressSanitizer can not provide additional info.
>     #0 0x8048924 (/tmp/segerror+0x8048924)
>     #1 0xb5f5f4d2 (/lib/i386-linux-gnu/libc-2.15.so+0x194d2)
>     #2 0x8048740 (/tmp/segerror+0x8048740)
> ==4587== ABORTING
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "address-sanitizer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to