| Summary: | "Program received signal SIGSEGV, Segmentation fault" while idle | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | redmaw |
| Component: | general | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | crash | CC: | mail, master.haber |
| Priority: | NOR | ||
| Version First Reported In: | 5.0.2 | ||
| Target Milestone: | --- | ||
| Platform: | Appimage | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
redmaw
2016-10-25 03:57:03 UTC
This crash is not while idle; it's in the background parser. Which project(s) did you load? I had custom cmake projects with C++ and python open. You are right in that it was not idle, but at the time I filed the bug I couldn't think of a better way to indicate the problem was not a result of direct user action. Are the projects available somewhere so I could load them and see if I can reproduce the crash? No, unfortunately this is not an open source project (I don't own the rights). I will get some open source projects and report back on if KDevelop still crashes with them. Something changed in my environment that prevents me from running the AppImage now so I think it will be best to close this as I can't reproduce it either. I will work on the issue eventually probably but it will be at least a few weeks until I get around to it. kdevelop: symbol lookup error: /usr/lib64/libGL.so.1: undefined symbol: _glapi_Dispatch Did we break that between 5.0.1 and 5.0.2 ...? No, I never changed the AppImage so it is definitely something that change on my end. I'll get to it eventually but in the meantime I was able to generate a segfault while parsing the Linux kernel source as test on another system so see if that works for you. i have noticed it 'randomly' crashing on my appimage as well. it seems to do it right after changing something in the code, but i cant get any backtrace, it seems there is a corrupt stack or something. It crashes at least once per hour at the moment, but it didnt do this before. sometimes though it doesnt even require me to change something, simply highlighting a section of code will crash it. Thread 1 "kdevelop" received signal SIGSEGV, Segmentation fault. [Switching to LWP 24312] 0x7c240d7d in ?? () (gdb) bt #0 0x7c240d7d in ?? () Backtrace stopped: Cannot access memory at address 0xf393b450 I also ran into an issue where the appimage wouldnt open and just instantly segfaults, deleting the cache didnt seem to change that, but rebooting did. it does not seem to happen to me at all when using a built version of master instead of the appimage. I have used the AppImage on a modern linux distro and do not have any problems. The code base is very small for that project though so the background parse does not run much (only a couple threads too). Back trace for the crash when parsing the linux kernel source: (gdb) bt #0 0x00007fffacfd9e8c in clang::analyze_format_string::ArgType::matchesType () from kdevelop5/KDevelop-5.0.2-1-x86_64/usr/lib/libclang.so.3.8 #1 0x000000000aa977c9 in ?? () #2 0x0000000000000002 in ?? () #3 0x0000000009d676e0 in ?? () #4 0x00007fffac4198b8 in (anonymous namespace)::CheckScanfHandler::HandleScanfSpecifier () from kdevelop5/KDevelop-5.0.2-1-x86_64/usr/lib/libclang.so.3.8 #5 0x00007fffacfe2c98 in clang::analyze_format_string::ParseScanfString () from kdevelop5/KDevelop-5.0.2-1-x86_64/usr/lib/libclang.so.3.8 #6 0x00007ffff1253ec8 in main_arena () from /lib64/libc.so.6 #7 0x00000000049df6d0 in ?? () #8 0x00007fffced4c0e0 in ?? () #9 0x0000000100000050 in ?? () #10 0x0000000004a3f3e0 in ?? () #11 0x00007fffced4c170 in ?? () #12 0x0000000000000000 in ?? () That is unrelated to the original issue and looks very much like a bug in libclang. It should be reported (and fixed) there. Okay, looks I need to continue to try and reproduce the original issue. Thank you for the crash report. As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you. Have not seen in this issue in years so changing to resolved/worksforme. |