GitHub with 4.5 - constant crashing of GitHub windows client

All,

this one drove me nuts the last 2 days …

I want to try out the 4.5 preview build/branch that is on github.

I fork and clone, all fine.

As soon as i start the github windows client and it tries to load the commits, it crashes. Every single time.

Version of the github client: 2.4.0.12

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	GitHub.exe
  Application Version:	2.4.0.12
  Application Timestamp:	5419e61b
  Fault Module Name:	StackHash_5deb
  Fault Module Version:	6.1.7601.18247
  Fault Module Timestamp:	521ea8e7

I managed to get a debug log once, interesting parts:

2014-09-29 18:26:33.4266|ERROR|thread: 1|RepositoryViewModel|Failed refreshing repository
LibGit2Sharp.LibGit2SharpException: No valid git object identified by 'refs/remotes/origin/HEAD' exists in the repository.
   at LibGit2Sharp.Core.Ensure.GitObjectIsNotNull(GitObject gitObject, String identifier, Func`2 exceptionBuilder)
   at LibGit2Sharp.Core.Ensure.GitObjectIsNotNull(GitObject gitObject, String identifier)
   at LibGit2Sharp.Repository.Lookup(String objectish, GitObjectType type, LookUpOptions lookUpOptions)
   at LibGit2Sharp.RepositoryExtensions.DereferenceToCommit(Repository repo, String identifier)
   at LibGit2Sharp.RepositoryExtensions.SingleCommittish(Repository repo, Object identifier)
   at LibGit2Sharp.RepositoryExtensions.<Committishes>d__2.MoveNext()
   at LibGit2Sharp.RepositoryExtensions.<Committishes>d__2.MoveNext()
   at System.Linq.Enumerable.<TakeWhileIterator>d__40`1.MoveNext()
   at LibGit2Sharp.CommitLog.CommitEnumerator.InternalHidePush(IList`1 identifier, HidePushSignature hidePush)
   at LibGit2Sharp.CommitLog.CommitEnumerator.Hide(IList`1 identifier)
   at LibGit2Sharp.CommitLog.CommitEnumerator..ctor(Repository repo, CommitFilter filter)
   at LibGit2Sharp.CommitLog.GetEnumerator()
   at System.Linq.Enumerable.<TakeIterator>d__3a`1.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at GitHub.RepositoryConnection.GetCommits(CommitQuery commitQuery)
   at GitHub.Helpers.GitClient.<>c__DisplayClass43.<LoadCommitsForRepo>b__41()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()

Anyone else sxperiencing this, or is that something i need to raise with the GitHub support ?

Thx & mbr

Swiss_Sarge

I’m using the newest GitHub client with my 4.5 fork with no problems (Win7 x64). So I guess you’d better ask GitHub support about this error.

Hi Swiss_Sarge,

I just created a new Fork and cloned it to my computer. I did see some issues with the 4.5 branch and the windows GitHub client, but I can’t tell yet if those issues are on our side or GitHub’s. I am trying to get some additional information about what is happening.

I take that back. I tried to create new fork and clone it. But github client crashes while trying to load commits history.

UPDATE: I tried to remove GitHub client completely (with all of its folders in AppData\Roaming and AppData\Local). Then I installed it again and cloned my fork. It worked. And now it works with no issues.

Have you tried using the Git Shell command line client that was installed with the GitHub Windows client?

Hi Swiss_Sarge,

We have not heard from you with regards to this issue for some time. Do you still need assistance with this? I will be marking this issue as resolved for now, but please feel free to re-open this issue at any time if you need any more help.