bblfsh / cpp-driver

C++ AST extractor / driver for the bblfsh project
GNU General Public License v3.0
11 stars 12 forks source link

Invalid character #47

Open ncordon opened 5 years ago

ncordon commented 5 years ago

From bblfsh logs we got the following messages:

rpc error: code = Internal desc = invalid character '{' looking for beginning of object key string
rpc error: code = Internal desc = invalid character '{' after object key
rpc error: code = Internal desc = invalid character '}' after object key
rpc error: code = Internal desc = invalid character '{' after array element
rpc error: code = Internal desc = invalid character 'd' after object key
Files that triggered invalid character '{' looking for beginning of object key string ``` lib/Sema/ConstraintSystem.cpp ```
Files that triggered invalid character '{' after object key ``` test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp test/Index/annotate-deep-statements.cpp external/mit/MesaLib/dist/src/gallium/state_trackers/clover/util/lazy.hpp tensorflow/core/lib/monitoring/counter.h lib/IDE/CodeCompletion.cpp include/meta/logging/logger.h Source/WebCore/page/PageThrottler.cpp Source/WebCore/platform/VNodeTracker.cpp lib/Sema/ConstraintSystem.cpp tests/codim_one/extract_boundary_mesh_09.cc Source/WebKit2/UIProcess/ProcessThrottler.cpp gnu/llvm/tools/lli/OrcLazyJIT.h src/classify/classifier/sgd.cpp ```
Files that triggered invalid character '}' after object key ``` lib/boost_1.60.0/boost/type_erasure/any.hpp ```
Files that triggered invalid character '{' after array element ``` gnu/llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp ```
Files that triggered invalid character 'd' after object key ``` include/swift/Basic/type_traits.h external/bsd/llvm/dist/clang/test/CXX/expr/expr.unary/expr.new/p2-cxx0x.cpp Source/WebKit2/Shared/WebSQLiteDatabaseTracker.cpp tests/grid/grid_generator_10.cc src/node/ext/call_credentials.cc src/node/ext/call.cc src/node/ext/channel_credentials.cc include/swift/SILOptimizer/Utils/Local.h Source/WebCore/dom/ScriptExecutionContext.h external/bsd/llvm/dist/clang/test/PCH/cxx-traits.cpp test/Parser/namespaces.cpp lib/SILOptimizer/SILCombiner/SILCombiner.h test/CXX/expr/expr.unary/expr.new/p2-cxx0x.cpp src/node/ext/byte_buffer.cc test/CXX/expr/expr.const/p3-0x.cpp servmon/include/smnet.hxx gnu/llvm/tools/lli/OrcLazyJIT.h lib/boost_1.60.0/boost/coroutine2/detail/push_control_block.ipp lib/boost_1.60.0/boost/coroutine2/detail/pull_control_block.ipp src/node/ext/server_credentials.cc src/wui/chatoverlay.cc lib/boost_1.60.0/boost/type_erasure/any.hpp external/bsd/llvm/dist/clang/test/SemaCXX/type-traits.cpp lib/Serialization/ModuleFile.cpp include/meta/classify/binary_dataset_view.h ```
dennwc commented 5 years ago

Probably unhandled driver crash. It may be caused by the native driver dumping crash info to stdout.

Or maybe an invalid escaping while encoding UAST in the native driver? This would explain { specifically.