billyfish / libgit2

A cross-platform, linkable library implementation of Git that you can use in your application.
https://libgit2.org/
Other
1 stars 1 forks source link

crash during clone #1

Open steen-lund opened 4 years ago

steen-lund commented 4 years ago

Reproduction steps

sgit git@github.com:steen-lund/GLBlankers.git glb-git

Expected behavior

clone of repository in directory

Actual behavior

crash Crashlog_sgit-amiga-libgit2_latest.debug_2020-05-18_21-35-01.txt

Version of libgit2 (release number or SHA1)

Operating system(s) tested

billyfish commented 4 years ago

Thanks for this, the git@... type urls aren't supported yet so I'm guessing you mean the https version. I could replicate your crash, however if I increased the stack, the crash went away, though the ssl part seems to have a problem, so I need to look at what's happening there. Here is the output I get after increasing the stack


New Shell process 13 13.RAM Disk:> stack 200000 13.RAM Disk:> t: 13.RAM Disk:T> Workspace:sgit-test/sgit-amiga-libgit2_latest clone https://github.com/steen-lund/GLBlankers.git glb remote: Enumerating objects: 504, done. Counting objects: 100remote: % (504/504), done. remote: Compressing objects: 100% (202/202), done.

ERROR 2: trying to map shared-writeable: 13.RAM Disk:T> Workspace:sgit-test/lg2 clone https://github.com/steen-lund/GLBlankers.git glb Bad news: the SSL certificate is invalid 13.RAM Disk:T>

steen-lund commented 4 years ago

I meant exactly what I wrote :) I did use the git@ type url and there were no complaints. I will try increasing the stack and try again later.

billyfish commented 4 years ago

Ah, sorry and tak :-) I'm working on getting it to use amissl as the version of openssl that it was using is quite old.