[llvm-bugs] [Bug 26653] New: Regression: static int llvm::ShuffleVectorInst::getMaskValue(llvm::Constant*, unsigned int): Assertion `i < Mask->getType()->getVectorNumElements() && "Index out of range"' failed during chromium/android/asan builds

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 17 10:26:47 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=26653

            Bug ID: 26653
           Summary: Regression: static int
                    llvm::ShuffleVectorInst::getMaskValue(llvm::Constant*,
                    unsigned int): Assertion `i <
                    Mask->getType()->getVectorNumElements() && "Index out
                    of range"' failed during chromium/android/asan builds
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: System Library
          Assignee: unassignedbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF
obj/third_party/webrtc/common_audio/signal_processing/common_audio_neon.cross_correlation_neon.o.d
-DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC
-DDISABLE_NACL -DCHROMIUM_BUILD -DCR_CLANG_REVISION=261077 -DCOMPONENT_BUILD
-DUSE_LIBJPEG_TURBO=1 -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1
-DUSE_PROPRIETARY_CODECS -DENABLE_BROWSER_CDMS -DENABLE_CONFIGURATION_POLICY
-DENABLE_NOTIFICATIONS -DFIELDTRIAL_TESTING_ENABLED -DADDRESS_SANITIZER
-DMEMORY_TOOL_REPLACES_ALLOCATOR -DMEMORY_SANITIZER_INITIAL_SIZE
-DENABLE_AUTOFILL_DIALOG=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1
-DENABLE_SPELLCHECK=1 -DUSE_BROWSER_SPELLCHECKER=1 -DENABLE_SUPERVISED_USERS=1
-DVIDEO_HOLE=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DENABLE_WEBVR
-DSAFE_BROWSING_DB_REMOTE -DWEBRTC_RESTRICT_LOGGING -DEXPAT_RELATIVE_PATH
-DWEBRTC_CHROMIUM_BUILD -DLOGGING_INSIDE_WEBRTC -DWEBRTC_ARCH_ARM
-DWEBRTC_ARCH_ARM_V7 -DWEBRTC_HAS_NEON -DWEBRTC_POSIX -DWEBRTC_LINUX
-DWEBRTC_ANDROID -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_OPENSSL_CERTS=1
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DANDROID -D__GNU_SOURCE=1
'-DCHROME_BUILD_ID=""' -DHAVE_SYS_UIO_H -DDYNAMIC_ANNOTATIONS_ENABLED=1
-DWTF_USE_DYNAMIC_ANNOTATIONS=1 -D_DEBUG -Igen -I../..
-I../../third_party/webrtc_overrides -I../../third_party -fstack-protector
--param=ssp-buffer-size=4 -Werror -fno-strict-aliasing -Wall -Wextra
-Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe
-fPIC -fcolor-diagnostics -Wheader-hygiene -Wno-char-subscripts
-Wno-unneeded-internal-declaration -Wno-covered-switch-default
-Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register
-Wno-inconsistent-missing-override -Wno-shift-negative-value -mfpu=neon -mllvm
-enable-interleaved-mem-accesses=0 -march=armv7-a -mtune=generic-armv7-a
-mfpu=neon -mfloat-abi=softfp -mthumb -marm -fno-omit-frame-pointer
-gline-tables-only -fsanitize=address -ffunction-sections -funwind-tables -g
-fstack-protector -fno-short-enums
--sysroot=../../third_party/android_tools/ndk//platforms/android-16/arch-arm
-D__compiler_offsetof=__builtin_offsetof -Dnan=__builtin_nan -target
arm-linux-androideabi -mllvm -asan-globals=0 -Os -g -fdata-sections
-ffunction-sections -funwind-tables -g0   -c
../../third_party/webrtc/common_audio/signal_processing/cross_correlation_neon.c
-o
obj/third_party/webrtc/common_audio/signal_processing/common_audio_neon.cross_correlation_neon.o
clang-3.9:
/b/build/slave/ClangToTAndroidASan/build/src/third_party/llvm/lib/IR/Instructions.cpp:1791:
static int llvm::ShuffleVectorInst::getMaskValue(llvm::Constant*, unsigned
int): Assertion `i < Mask->getType()->getVectorNumElements() && "Index out of
range"' failed.
0  clang-3.9 0x00000000018f26d5 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
+ 37
1  clang-3.9 0x00000000018f0466 llvm::sys::RunSignalHandlers() + 54
2  clang-3.9 0x00000000018f0691
3  libc.so.6 0x00007f67141de150
4  libc.so.6 0x00007f67141de0d5 gsignal + 53
5  libc.so.6 0x00007f67141e183b abort + 379
6  libc.so.6 0x00007f67141d6d9e
7  libc.so.6 0x00007f67141d6e42
8  clang-3.9 0x000000000157215c
llvm::ShuffleVectorInst::getMaskValue(llvm::Constant*, unsigned int) + 252
9  clang-3.9 0x0000000001ecc23b
10 clang-3.9 0x0000000001edcd08
llvm::SelectionDAGBuilder::visitBinary(llvm::User const&, unsigned int) + 424
11 clang-3.9 0x0000000001efd4ea
llvm::SelectionDAGBuilder::visit(llvm::Instruction const&) + 58
12 clang-3.9 0x0000000001f3a921
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 49
13 clang-3.9 0x0000000001f42cfe
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 1198
14 clang-3.9 0x0000000001f446fc
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 1484
15 clang-3.9 0x0000000000a59604
16 clang-3.9 0x0000000001596003
llvm::FPPassManager::runOnFunction(llvm::Function&) + 643
17 clang-3.9 0x00000000015963bb llvm::FPPassManager::runOnModule(llvm::Module&)
+ 43
18 clang-3.9 0x00000000015966cf
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 751
19 clang-3.9 0x0000000001a3159a
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_pwrite_stream*)
+ 3258
20 clang-3.9 0x0000000001febae3
21 clang-3.9 0x00000000023b3a5b clang::ParseAST(clang::Sema&, bool, bool) + 571
22 clang-3.9 0x0000000001febbbb clang::CodeGenAction::ExecuteAction() + 59
23 clang-3.9 0x0000000001d2a496 clang::FrontendAction::Execute() + 534
24 clang-3.9 0x0000000001d0638e
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 318
25 clang-3.9 0x0000000001dbc31e
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2094
26 clang-3.9 0x000000000078dea8 cc1_main(llvm::ArrayRef<char const*>, char
const*, void*) + 2392
27 clang-3.9 0x000000000074a4cb main + 6155
28 libc.so.6 0x00007f67141c976d __libc_start_main + 237
29 clang-3.9 0x0000000000789e35

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160217/d3d08125/attachment.html>


More information about the llvm-bugs mailing list