-
Notifications
You must be signed in to change notification settings - Fork 33
MonoDevelop.VersionControl.Git crashes with a SIGSEGV #52
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
Comments
thanks for trying! you can try to disable the git-addin with Tools->Extensions->Versioncontrol->GitSupport Another hint would be:
and compile again. BUT |
I'm using Debian sid
That fixed the issue and the editor is now working. Thanks!
I tried this multiple times, before and after removing .NET5 and it still does not fix the issue until I disable
Yes, I ran into the same issue and it got resolved after removing .NET5. Thank you! |
I complied it on debian buster and it isn't working either, so it is some sort of debian specific bug. dotnet --info output:
mono --version output:
|
See: dotdevelop/libgit2sharp#2 |
@Molytho @muhammadsammy this branch worked for me on a fresh debian 10 install: https://github.com/dotdevelop/dotdevelop/tree/dd/issues/52 can you confirm? |
Yes, can confirm it working on debian sid. thanks |
Sorry, can't confirm it. Now it crashes with a SIGSEGV. I will look into it when i have more time. |
It's not an issue with libgit2sharp.nativebinaries. The arguments being passed to git_status_list_new (the first native libgit2 method in backtrace) are invalid, so this might be an issue in libgit2sharp. |
The issue lies somewhere in the marshalling. It is caused by the native call here. |
the libgit2sharp - nuget used comes from this tree: https://github.com/dotdevelop/libgit2sharp/tree/dd/issues/2 |
This is just to confirm that this issue is not confined to debian - the same occurs on ubuntu, fedora and Arch. Using the current Eg - open the (fairly complex) Solution https://github.com/dotdevelop/xwt The solution can be loaded, and all packages restored successfully, but if the Solution pad is opened the crash occurs. Disabling the Version Control Git support extension from the Tools menu allows the Solution pad to be opened and the Xwt TestApps project to be edited and run without problems. However, simple projects such as a Gtk# "Hello World" test (Framework 4.7.2) work OK even with the VC extension enabled (and the project is a git repo). $ dotnet --info details (abbreviated) are:-
I was about to raise a new Issue, but then noticed this same problem, together with your further investigations, tucked away as if it was only a debian sid/buster issue. Perhaps it's worth renaming it? |
I've had the following (different) results with recent versions of In all cases the repository to be checked out is https://github.com/dotdevelop/xwt
This then Loads the repo and all packages are restored OK, but crashes with a However,
I've no facilities for debugging any of these versions further (dotdevelop won't yet build itself!) but perhaps the differences between these versions might suggest something? |
new issue here: dotdevelop/libgit2sharp#3 in the testrun, the error shows up, see: https://github.com/dotdevelop/libgit2sharp/runs/1770928010?check_suite_focus=true |
Uh oh!
There was an error while loading. Please reload this page.
Thanks for making this IDE compile again!
I get an error message
The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception
whever I open any file of in a solution with the IDE.I see that #30 got closed, so is it related to this error or the editor is not ready yet?
Environment data
Built from the
main
branch.dotnet --info output:
The text was updated successfully, but these errors were encountered: