Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-19301

clangbackend.stderr: libclang: crash detected in code completion

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 4.4.1
    • C/C++/Obj-C++ Support
    • Arch Linux

      Clang v.5.0.0

    Description

      Hi. i switch to clangCodeModel, enable it and restart qtcreator, but when i hit CTRL+SPACE in function parameters, it throw an exception:

      clangbackend.stderr: /usr/lib/qtcreator/../../lib/libLLVM-5.0.so(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamE+0x2b)[0x7f1b5c1419bb]

      clangbackend.stderr: /usr/lib/qtcreator/../../lib/libLLVM-5.0.so(_ZN4llvm3sys17RunSignalHandlersEv+0x56)[0x7f1b5c13f806]

      clangbackend.stderr: /usr/lib/qtcreator/../../lib/libLLVM-5.0.so(+0x808953)[0x7f1b5c13f953]
      clangbackend.stderr: /usr/lib/qtcreator/../libc.so.6(+0x34920)[0x7f1b61112920]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x936d4f)[0x7f1b62de4d4f]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x93731c)[0x7f1b62de531c]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x9382ad)[0x7f1b62de62ad]

      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x93b6f9)[0x7f1b62de96f9]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x62fe9f)[0x7f1b62adde9f]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x1259e13)[0x7f1b63707e13]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x1253ffc)[0x7f1b63701ffc]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x1256455)[0x7f1b63704455]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x1257b0d)[0x7f1b63705b0d]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x12586fa)[0x7f1b637066fa]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x129d0db)[0x7f1b6374b0db]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x129dbf8)[0x7f1b6374bbf8]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x129e501)[0x7f1b6374c501]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x12a247d)[0x7f1b6375047d]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x12a4d5d)[0x7f1b63752d5d]

      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x12142cb)[0x7f1b636c22cb]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x1234885)[0x7f1b636e2885]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x120ea93)[0x7f1b636bca93]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x120f0ea)[0x7f1b636bd0ea]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x1215bc7)[0x7f1b636c3bc7]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x1216d3a)[0x7f1b636c4d3a]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x1216ea2)[0x7f1b636c4ea2]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x120b1d8)[0x7f1b636b91d8]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x4c2846)[0x7f1b62970846]

      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x478bb9)[0x7f1b62926bb9]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x203109)[0x7f1b626b1109]
      clangbackend.stderr: /usr/lib/qtcreator/../libclang.so.5(+0x203ecc)[0x7f1b626b1ecc]

      clangbackend.stderr: /usr/lib/qtcreator/../../lib/libLLVM-5.0.so(_ZN4llvm20CrashRecoveryContext9RunSafelyENS_12function_refIFvvEEE+0x23)[0x7f1b5c0b6283]

      clangbackend.stderr: /usr/lib/qtcreator/../../lib/libLLVM-5.0.so(+0x77f375)[0x7f1b5c0b6375]

      clangbackend.stderr: /usr/lib/qtcreator/../../lib/libLLVM-5.0.so(+0x80bc4d)[0x7f1b5c142c4d]
      clangbackend.stderr: /usr/lib/qtcreator/./../libpthread.so.0(+0x708a)[0x7f1b60cc308a]

      clangbackend.stderr: /usr/lib/qtcreator/../libc.so.6(clone+0x3f)[0x7f1b611d447f]

      clangbackend.stderr: libclang: crash detected in code completion

      clangbackend.stderr: libclang: crash detected in code completion

      Attachments

        Issue Links

          Activity

            People

              kosjar Nikolai Kosjar
              linarcx lin arcx
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: