[Bug preprocessor/60436] [4.8/4.9 Regression] C preprocessor segfaults on assembly file
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 6 09:20:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60436
--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
ASAN:SIGSEGV
=================================================================
==20669==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000018 (pc
0x0000023044cf sp 0x7fff99677740 bp 0x000080000001 T0)
#0 0x23044ce in get_data_from_adhoc_loc(line_maps*, unsigned int)
../../gcc/libcpp/line-map.c:156
#1 0x22c9240 in expand_location_1 ../../gcc/gcc/input.c:142
#2 0x22cb68d in expand_location(unsigned int) ../../gcc/gcc/input.c:724
#3 0x7a3cd9 in scan_translation_unit
../../gcc/gcc/c-family/c-ppoutput.c:214
#4 0x7a3cd9 in preprocess_file(cpp_reader*)
../../gcc/gcc/c-family/c-ppoutput.c:101
#5 0x7a05df in c_common_init() ../../gcc/gcc/c-family/c-opts.c:1040
#6 0x68bccd in c_objc_common_init() ../../gcc/gcc/c/c-objc-common.c:65
#7 0x1251227 in lang_dependent_init ../../gcc/gcc/toplev.c:1712
#8 0x1251227 in do_compile ../../gcc/gcc/toplev.c:1900
#9 0x1251227 in toplev_main(int, char**) ../../gcc/gcc/toplev.c:1990
#10 0x7f051b6cafaf in __libc_start_main (/lib/libc.so.6+0x1ffaf)
#11 0x5beb60
(/var/tmp/gcc_sani/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/cc1+0x5beb60)
AddressSanitizer can not provide additional info.
More information about the Gcc-bugs
mailing list