-
Notifications
You must be signed in to change notification settings - Fork 86
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
Crashes Xcode 7 when using autocomplete #71
Comments
Is alsow reproducable in Xcode 7.1 beta 1 removing the plugin solved this issue for me. |
Looking at that crash report there is no mention of the minimap or any of the methods involved in getting it to work. I have been running both of them in parallel for the last couple of day but, unfortunately, I wasn't able to reproduce the crash. |
This is definitely happening on my end in 7.0 and 7.1b2 - removing plugins one by one (and I'd removed fuzzy autocomplete days ago as the most obvious possible cause), SCXcodeMiniMap is definitely the culprit. You're quite correct that the stack trace doesn't mention SCXcodeMiniMap, but it's possible an underlying implementation detail of one of the DVT* classes has changed, and is causing SCXMM to exhibit different behavior. My instinct is something's reloading way too often as the user types, but I have nothing to back that up other than watching behavior over 80+ crashes. 😝 Here's an example stack trace of the crashed thread - hope it helps you figure out what might be happening!
|
The crash is easy to reproduce. |
Hope that helps. |
+1 @ccrsno1 ! This is the way to reproduce. When I remove SCXcodeMiniMap I can't reproduce the crash ... |
When I remove SCXcodeMiniMap crash about |
+1 @ccrsno1 ! |
Same here. Hiding the MiniMap fixes it, but I miss it already :( |
yes ,it crash a lot in Xcode 7. Hope somebody can fix it. |
I'm also getting this crash. It's consistently reproducible whenever I hit backspace during code complete. I've isolated the MiniMap plugin, and I still get the crash, so it definitely is the cause. This sucks because I really like the MiniMap for code navigation. Hope this can be resolved soon. |
I've been running the 2 plugins side by side for the past couple of months and I've received zero crashes. That being said, I've got absolutely nothing to go on. |
I did a little testing and I think what might be going on is based on Xcode version. The crash I was getting was in Xcode 7.0.1 on Yosemite. I also don't think its a conflict with another plugin (FuzzyAutocomplete) since in my testing I can remove all plugins except SCXcodeMiniMap and still get the crash. I tested it on a clean install of Xcode 7.2 on El Capitan and I was not seeing the same issue. However, I did get a crash upon first restarting Xcode with the SCXcodeMinimap plugin installed (attached file). I'm not sure if SCXcodeMiniMap is the cause, but its referenced in the crash report. After this initial crash, I didn't get any more crashing in the testing that I did. The only plugins I had installed were Alcatraz and SCXcodeMiniMap. I'm not sure if this is still something that you are willing to track down and fix since its most likely only happening in older versions of Xcode, but for many of us on older code bases upgrading isn't an option (as much as I'd like to). At least I know that when I do upgrade it will be safe to run the MiniMap plugin. I'm also including the crash under Xcode 7.0.1 in case there's anything useful in that. Thanks for your work on this plugin... its a really nice feature addition to Xcode. |
Right, thank you for the detailed description. I followed that second crash report and the the commit above should fix it. As for the first one (7.0.1 on Yosemite), I'm a bit confused.. you said that you removed all other plugins while testing but I can see references to Can you have another look at it, please ? Maybe even try getting it to crash with only FuzzyAutocompletePlugin installed. |
ok, this time I made sure the plugins were completely removed. Before I was just removing the bundles. This time the crash report looks to be a bit more isolated. |
Perfect, thank you for looking into it. |
I can confirm that I'm getting crashes on Yosemite on XCode 7.2 w/ FuzzyAutoComplete installed. Tried using the latest version + latest pre-release. Have yet to try with El Capitan. |
Still getting the crash on Yosemite, without any FuzzyAutoComplete plugin installed ... crash is gone when I uninstall SCXCodeMiniMap ...
|
It appears that this bug described here is caused by SCXcodeMiniMap:
FuzzyAutocomplete/FuzzyAutocompletePlugin#92
Removing SCXcodeMiniMap fixes the issue, as well as installing SCXcodeMiniMap without FuzzyAutocomplete casues Xcode 7 to crash again.
The text was updated successfully, but these errors were encountered: