I recently fixed a crash that happens under ASan when calling fclose(0). Is that what’s happening? Can you try with top of tree compiler-rt?
Kuba Sent from my iPhone > On Feb 11, 2018, at 7:50 AM, David Barto <[email protected]> wrote: > > > ==6960==AddressSanitizer CHECK failed: > ../../../../libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:200 > "((h->type == CommonInterceptorMetadata::CIMT_FILE)) != (0)" (0x0, 0x0) > #0 0x7fde4f128005 in AsanCheckFailed > ../../../../libsanitizer/asan/asan_rtl.cc:66 > #1 0x7fde4f144b45 in __sanitizer::CheckFailed(char const*, int, char > const*, unsigned long long, unsigned long long) > ../../../../libsanitizer/sanitizer_common/sanitizer_termination.cc:77 > #2 0x7fde4f11cb8c in GetInterceptorMetadata > ../../../../libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:200 > #3 0x7fde4f11cc3c in __interceptor_fclose > ../../../../libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:5345 > #4 0xb5c6f8 in Log::~Log() > /var/lib/jenkins/workspace/sparqlverse_parameterized_ubsan/gqe/source/utils/log.cpp:96 > #5 0x5c0e9a in main > /var/lib/jenkins/workspace/sparqlverse_parameterized_ubsan/gqe/source/ctrl/start.cpp:1373 > #6 0x7fde4c024d1c in __libc_start_main (/lib64/libc.so.6+0x1ed1c) > #7 0x5c2bc0 > (/var/lib/jenkins/workspace/sparqlverse_parameterized_ubsan/gqe/.binaries/sbx_go+0x5c2bc0) > > This only happens on the Linux check. The MacOS X run doesn’t present this > error. > CentOS 7, Gcc 7.2.0. > > David > > David Barto > [email protected] > > Sometimes, my best code does nothing. Most of the rest of it has bugs. > > > > -- > 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/d/optout. -- 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/d/optout.
