git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git hangs on pthread_join

From
IKIan Kumlien <pomac@vapor.com>
Date
May 27, 2013, 13:58 UTC
Message-ID
<20130527135832.GB22308@pomac.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.                                              
Message 1 of 1 in “Re: git hangs on pthread_join”
  1. Ian KumlienMay 27, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.