Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential incompability of RTags with llvm-10 #1407

Open
ueberschall opened this issue Jan 19, 2021 · 0 comments
Open

Potential incompability of RTags with llvm-10 #1407

ueberschall opened this issue Jan 19, 2021 · 0 comments

Comments

@ueberschall
Copy link

Describe the bug
Upon using code auto-completion of rdm crashes sporadically with the following message
Caught signal 11. That is succeeded by a stack trace which is shown below.
However that crash only appears when RTags is used with llvm-10. When I used auto-completion in
a certain code snippet in my project rdm would immediately crash, when I used llvm-10.
But when I used llvm-7 on that same snippet that didn't appear anymore.

To Reproduce

  1. Go to an arbitrary source file in a project indexed with RTags
  2. Type something. As soon as Rtags' auto-completion kicks in
  3. rdm crashes with a Caught signal 11 message and the stack trace shown below

Expected behavior
Auto-completion works without provoking crashes of rdm

Screenshots/Backtrace
Caught signal 11
/usr/local/bin/rdm(+0x5ed52)[0x5582cc095d52]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12980)[0x7f38d4771980]
/usr/lib/llvm-10/lib/libclang-10.so.1(+0xfa1c6b)[0x7f38d5ca8c6b]
/usr/lib/llvm-10/lib/libclang-10.so.1(+0x6ed237)[0x7f38d53f4237]
/usr/lib/llvm-10/lib/libclang-10.so.1(+0x3ee2f4)[0x7f38d50f52f4]
/usr/lib/llvm-10/lib/libclang-10.so.1(clang_getSpellingLocation+0x4b)[0x7f38d5105d3b]
/usr/local/bin/rdm(_ZN5RTags19DiagnosticsProvider8diagnoseEv+0x2ad)[0x5582cc0a838d]
/usr/local/bin/rdm(_ZN16CompletionThread18processDiagnosticsEPKNS_7RequestEP21CXCodeCompleteResultsP21CXTranslationUnitImpl+0x540)[0x5582cc13f500]
/usr/local/bin/rdm(_ZN16CompletionThread7processEPNS_7RequestE+0x2de1)[0x5582cc145a31]
/usr/local/bin/rdm(_ZN16CompletionThread3runEv+0xba5)[0x5582cc147975]
/usr/local/bin/rdm(_ZN6Thread10localStartEPv+0x25)[0x5582cc211e25]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76db)[0x7f38d47666db]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f38d3ab471f]

Environment (please complete the following information):

  • OS/Version: Ubuntu 18.04
  • RTags(rdm,rc): 2.38
  • Emacs: 27.1
  • LLVM/Clang: 10

Additional context
It works when llvm-7 is used

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant