-
Notifications
You must be signed in to change notification settings - Fork 899
Clone throwing <unknown> <0xffffffff> #1454
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
Have you tried cloning any other repositories to see if they work? For example, try cloning a local repository and a GitHub repository. If those work, then we know it's something specific to BitBucket that's causing the problem. I'd also suggest trying some different BitBucket repos, just to make sure it's not the specific repo you're trying that's the source of the problem. |
Also, what linux distro and mono version are you using? |
I'll try different repo and GitHub, running Ubuntu 16.04 with mono 5.0.1.1 |
Tried cloning GitHub Repo and different BitBucket repo, issue still persists. |
I've been looking into the issue myself by integrating the source code into my project, it seems to be coming from the NativeBinaries since the source doesn't throw the error but throws above error instead. |
@bording i'm surrendering, tried a lot of things. recompiling the natives(which isnt the easiest task on Linux), reimporting nugets, working with Native package and 2Sharp source. Nothing works, it throws the same DllNotFound |
The The original crash is puzzling though. Never seen it and I can't reproduce it on my Linux system. Having you run a debug build and getting some more information would be helpful. But that's dependent on being able to load it. |
I'll look into it on Monday to see if I can fix the DLL issue.The trace send above is the stack trace being produced by a debug build, I wished I was able to get a better log because the stack trace are useless in most cases.
|
Another 4 hours spend on this issue. Manually added newest binary packages together with compiled version of commit a852e1c kept complaining about DLL. Switched over to latest NuGet of LibGit2Sharp, back to original error. Added latest LibGit2Sharp source, back at the DLL error. I keep getting pushed back and forward between these two. Anyone has any ideas since i've almost became bald because i am pulling hairs for days now 😄 |
I'm sorry that you're having such troubles here. It's hard to know what exactly the problem is here. You've mentioned a couple of things, so it's not clear to me which version(s) of LibGit2Sharp you are using, and the corresponding version of libgit2 that you're using. You mention Are you being quite careful to only build the libgit2 that corresponds to the version of LibGit2Sharp that you're using? Otherwise you will not have API compatibility. Are you ensuring that the resulting binary had the correct name? Again, I think that It does seem like there are two errors here: first, that when you compile it yourself, it cannot find the binary. This suggests that it's simply not finding it, although The other error seems like it is finding the library but there is a problem executing it. Again, |
I just tried something new, created a new project for the 3rd time, and it worked. i added SharpBucket in, it started to throw the error again. it seems to be conflicting with each other. i'm giving it a look and see if i can construct it now with this knowledge. Although i am unsure why the error is referencing towards your code while SharpBucket could be the cause of this issue |
Nope, unresolved. Stripped out SharpBucket and wrote my own way to get all the repositories listed. however it starts crashing AGAIN! Same error... |
Allright here is my lead to fix this issue, but i can't fix it since it seems to go wrong with the Native Binaries. Listing the repositories with this code:
returns the error stated at the start of this issue. Removing the part where it connects to the API(HtttpWebRequest part) solves this issue and it will run on preset repository URL's. A workaround i've created for this is doing a HttpWebRequest towards the server, write the response back to a file on the local system. Relaunch the app and use the file on the local system to initiate the cloning. all done with the latest NuGets. |
Any news on the issue? |
No, there's no news: nobody else has experienced this and we cannot reproduce it. Does this work with a different mono version? I would expect the latest LibGit2Sharp to change anything, but it would be worth trying anyway. |
@Maxdg Give mono 4.8 a try and see if that helps. I've seen some odd behavior with mono 5.0, but I haven't had time to investigate it yet. |
No activity on this issue suggests to me that it's been fixed. |
Uh oh!
There was an error while loading. Please reload this page.
I'm currently working on backup software so we can mass download repositories. Using SharpBucket to collect the repository names from BitBucket.
It crashed withing Gtk# so tried to remake the software in C# Console Application, both giving me same stracktrace.
My Code
Picture of repositories being found and read by SharpBucket
The text was updated successfully, but these errors were encountered: