-
Notifications
You must be signed in to change notification settings - Fork 4
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
Excel_Toolkit: Excel crashing and restarting on shutdown #233
Comments
A possible hint, in case if that issue was specific to my machine only: I was building Excel from source at some point and registered the addin manually by clicking through the options etc. Maybe that causes some conflict with the installer? |
Thanks Pawel, a lot has been done this week trying to address with some good testing, so good to explore if this is a machine specific issue, particularly as you’ve got previous build etc. Maybe worth double checking no dlls hanging around, and worth removing all addins manually before reinstalling. |
Since the problem is still happening, I thought I will start documenting what I found here.
The error reporting section gives me this:
And, finally, the error log file gives me (I skipped the section on loaded modules as it is super long and not very relevant):
|
OK, the problem is caused by ExcelDNA intellisense server. So it is now down to trying to fix that. |
Should finally be fixed in https://github.com/BHoM/Excel_Toolkit/pull/243 |
It's happening again! |
@JosefTaylor, lets try to figure this one out once and for all. I know from BHoM/BHoM_UI#390 that Excel is not too good at handling open threads when closing. Right now we don't have unmanaged thread left in BHoM_UI nor Excel_UI though. If the crashes still happen in a manner that doesn't make sense to you, it might be good to have a chat. |
@michaelhoehn , I actually managed to get the error after trying as many files as I could find. Looking at my reliability history, I got 2 possible error codes:
As I mentioned before, the second one is linked to an issue with threads no properly handled but not sure what the first one is related to. Do you mind looking at your own reliability history (search in windows task bar to access it) and let me know what code you are getting ? |
I just realised that recently Excel crashed again for me as well. In my case it was Exception code: 0xc0020001. |
It appears that ExcelDNA IntellisenseServer was the cause of the issue. I got systematic crashes with it enabled and none once turned off. I'll do a PR soon to fix this. |
Description:
Excel still keeps on behaving weirdly. Steps taken by me today, one by one:
I am curious if that is something particular to my build or a more widespread issue.
@al-fisher @rwemay FYI
The text was updated successfully, but these errors were encountered: