[LLVMbugs] [Bug 22940] New: protoc miscompiled by clang

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Mar 17 08:58:15 PDT 2015


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

            Bug ID: 22940
           Summary: protoc miscompiled by clang
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: hans at chromium.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

protoc, used in the Chromium build, started miscompiling list night.

Last green build at Clang revision: r232443, first bad: r232457

Repro in Chromium:
$ ninja -C out/Debug
gen/protoc_out/components/autofill/content/browser/risk/proto/fingerprint.pb.cc

The actual failing command:

$ out/Debug/protoc --cpp_out
out/Debug/gen/protoc_out/components/autofill/content/browser/risk/proto
--python_out out/Debug/pyproto/components/autofill/content/browser/risk/proto
--proto_path=components/autofill/content/browser/risk/proto
components/autofill/content/browser/risk/proto/fingerprint.proto

top of the stack:

#0  std::pair<google::protobuf::Descriptor const*, int>::pair (this=0x591e48)
at
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_pair.h:109
#1  0x00000000004ee05c in
google::protobuf::SimpleDescriptorDatabase::DescriptorIndex<std::pair<void
const*, int> >::FindFile (this=0x5e8018,
filename="google/protobuf/descriptor.proto") at
../../third_party/protobuf/src/google/protobuf/descriptor_database.cc:176
#2  0x00000000004ebc0c in
google::protobuf::EncodedDescriptorDatabase::FindFileByName (this=0x5e8010,
filename="google/protobuf/descriptor.proto", output=0x7fffffffc4f8) at
../../third_party/protobuf/src/google/protobuf/descriptor_database.cc:331
#3  0x000000000047f448 in
google::protobuf::DescriptorPool::TryFindFileInFallbackDatabase (this=0x5e8130,
name="google/protobuf/descriptor.proto") at
../../third_party/protobuf/src/google/protobuf/descriptor.cc:1324
#4  0x000000000047f316 in google::protobuf::DescriptorPool::FindFileByName
(this=0x5e8130, name="google/protobuf/descriptor.proto") at
../../third_party/protobuf/src/google/protobuf/descriptor.cc:970
#5  0x00000000004bfa68 in
google::protobuf::protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto ()
at ../../third_party/protobuf/src/google/protobuf/descriptor.pb.cc:95

-- 
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/20150317/67e48277/attachment.html>


More information about the llvm-bugs mailing list