-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
LLVMSymbolizer: error reading file: No such file or directory #66
Comments
Hello preejackie, hard to say. How did you invoke insights? Can you post the file you did try to feed in? |
I invoke insights like this: contents of in.cpp |
Looks like an compilation / installation issue to me. Can you try using the Docker build file which is in the cppinsights source tree:
Then you have a shell in the docker container. The folder |
Hello, Unfortunately, I didn't have a docker account with me : (, By compilation / installation issue whether you mean by it is the issue of resulting from llvm or cppinsights ? |
Well, in general the cpp-content is parsable by cppinsights. What I see here is however, a crash. It now could be, that this comes from a mixed compilation of cppinsights. |
Does it crash also if you just use |
As far as I understand from your last comment, this is the issue in cppinsights. If so, Is there any way for getting it correct? |
No it is not crashing when insights -help |
I assume that it is due to the way/environment it was compiled. It does not crash on my machine nor in the web version. Please have at look at the Readme.md for compilation options like What does ldd insights report? |
Output of ldd insights: |
After building with debug=on. insights[0x156219a] |
hi |
Can you rebuild it with INSIGHTS_STRIP=no that should keep the symbols. |
I have build with insights_strip=no, but it didn't gave any information. |
Hello preejackie, I'm sorry but without debug symbols I have no clue where to start. I did setup a docker using Mint 19 and everything worked. I cannot reproduce your problem. Here are the things you might consider:
|
Hello preejackie, it could be that I came across your problem and if I'm correct others did as well. See this thread: And here is one answers which seems to solve it: There is also another entry I found from the Clang developers mailinglist: In short, it seems to help to build it (at least under Linux) with g++ instead of Clang. Did you compile it with Clang? |
I'm closing this due to inactivity. |
I have installed cppinsights in my PC. When I run cppinsights it throws some error like this,
LLVMSymbolizer: error reading file: No such file or directory
#0 0x000000000156219a (insights+0x156219a)
#1 0x00000000015605c4 (insights+0x15605c4)
#2 0x0000000001560702 (insights+0x1560702)
#3 0x00007f0326e3f890 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x12890)
#4 0x000000000054bb7a (insights+0x54bb7a)
#5 0x000000000051b0ca (insights+0x51b0ca)
#6 0x00000000005dccb0 (insights+0x5dccb0)
#7 0x00000000005e1715 (insights+0x5e1715)
#8 0x00000000005a19ae (insights+0x5a19ae)
#9 0x000000000053f484 (insights+0x53f484)
#10 0x000000000053607c (insights+0x53607c)
#11 0x000000000053b1ee (insights+0x53b1ee)
#12 0x000000000053ddb2 (insights+0x53ddb2)
#13 0x000000000051a869 (insights+0x51a869)
#14 0x00007f0326119b97 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b97)
#15 0x00000000004f53fa (insights+0x4f53fa)
Segmentation fault (core dumped)
What does this error information represent ? How can I get-rid of this ?
Thanks
The text was updated successfully, but these errors were encountered: