# Re: git hangs on pthread_join

1 messages from 2013-05-27 to 2013-05-27. Participants: Ian Kumlien.
Thread: https://gitlist.dev/t/33949

## Ian Kumlien, 2013-05-27 13:58

Subject: Re: git hangs on pthread_join
Message-ID: <20130527135832.GB22308@pomac.netswarm.net>
URL: https://gitlist.dev/e/20130527135832.GB22308%40pomac.netswarm.net

```
I forgot to reply to the mailing list and now something went wrong with                                                                                               
the messages in mutt =P                                                                                                                                               
                                                                                                                                                                      
Recap:ing:                                     

On Thursday, May 23, 2013 07:01:43 am you wrote:                                                                                                                      
> I'm running a rather special configuration, basically i                                                                                                             
> have a gerrit server pushing                                                                                                                                        
...                                                                                                                                                                   
> I have found "git receive-pack"s that has been running                                                                                                              
> for days/weeks without terminating....                                                                                                                              
>                                                                                                                                                                     
...                                                                                                                                                                   
> Anyone that has any clues about what could be going                                                                                                                 
> wrong? --                                                                                                                                                           
                                                                                                                                                                      
                                                                                                                                                                      
Have you narrowed down whether this is a git client problem,                                                                                                          
or a server problem (gerrit in your case).  Is this a                                                                                                                 
repeatable issue.  Try the same operation against a clone of                                                                                                          
the repo using just git.  Check on the server side for .noz                                                                                                           
files in you repo (a jgit thing),                                                                                                                                     
                                                                                                                                                                      
---                                                                                                                                                                   
                                                                                                                                                                      
This happens both using gerrit and using git directly...                                                                                                              
                                                                                                                                                                      
My thought is more that git doesn't handle dodgy connections over                                                                                                     
openvpn (udp) that goes over dodgy international vpn links.                                                                                                           
                                                                                                                                                                      
I conclusion has always been that it ends up in a unpredictable state,                                                                                                
like a blocking read or so that just doesn't timeout... If it was a pipe                                                                                              
and not a socket then it'd always return... eventhough even a socket                                                                                                  
should timeout i have seen processes left like this for weeks.                                                                                                        
                                                                                                                                                                      
There was no .noz files on the master or the slave server.                                              

```
