threads / discuss / 15676

mysterious error message

Subject: mysterious error message

## tl;dr

8 messages between Sep 25, 2008 and Sep 28, 2008.

replies: 7people: 4as markdown or json

Tom Sgouros· Sep 25, 2008, 21:33 UTC · lore
Hello all:
I receive the following error message when I try to do a 'git push':
  tomfool@toms-box:hpl$ git push
  updating 'refs/heads/master'
    from ad4ae7925d3dd23798e7c5b733d2d8f930f7410f
    to   5b5f5fae014a4f3535fa10b0f6e28b4bf3225dc3
   Also local refs/remotes/origin/master
  Generating pack...
  Done counting 10 objects.
  Deltifying 10 objects...
  error: pack-objects died with strange error
  unpack eof before pack header was fully read
  ng refs/heads/master n/a (unpacker error)
  error: failed to push to 'ssh://tomfool@as220.org/home/tomfool/hpl.git'
  tomfool@toms-box:hpl$

I haven't been able to interpret this message, and haven't found it in the documentation, and google has let me down, too. Can anyone tell me what is causing it?

I'm a new git user, and this is a new git archive. I've successfully done a couple of git push operations before, though. The connection I'm making is via ssh. I'm working on a Mac OS X (10.4.9) machine over here and the server to which I'm trying to push is a Linux box (2.6.22-gentoo-r6).

Many thanks,
 -tom
-- 
 ------------------------
 tomfool at as220 dot org
 http://sgouros.com  
 http://whatcheer.net
Uwe Kleine-König· Sep 26, 2008, 08:20 UTC · re: Tom Sgouros · lore

Re: mysterious error message

Hello,
On Thu, Sep 25, 2008 at 05:33:38PM -0400, Tom Sgouros wrote:
Show 19 quoted lines
> I receive the following error message when I try to do a 'git push':
> 
>   tomfool@toms-box:hpl$ git push
>   updating 'refs/heads/master'
>     from ad4ae7925d3dd23798e7c5b733d2d8f930f7410f
>     to   5b5f5fae014a4f3535fa10b0f6e28b4bf3225dc3
>    Also local refs/remotes/origin/master
>   Generating pack...
>   Done counting 10 objects.
>   Deltifying 10 objects...
>   error: pack-objects died with strange error
>   unpack eof before pack header was fully read
>   ng refs/heads/master n/a (unpacker error)
>   error: failed to push to 'ssh://tomfool@as220.org/home/tomfool/hpl.git'
>   tomfool@toms-box:hpl$
> 
> I haven't been able to interpret this message, and haven't found it in
> the documentation, and google has let me down, too.  Can anyone tell me
> what is causing it?

I think it's a problem on the pushing side. Maybe out of disk space (in $GIT_DIR or $TMP_DIR)? Does git repack work?

HTH Uwe

tom sgouros· Sep 26, 2008, 14:29 UTC · re: Uwe Kleine-König · lore

Re: mysterious error message

Show 25 quoted lines
> Hello,
> 
> On Thu, Sep 25, 2008 at 05:33:38PM -0400, Tom Sgouros wrote:
> > I receive the following error message when I try to do a 'git push':
> > 
> >   tomfool@toms-box:hpl$ git push
> >   updating 'refs/heads/master'
> >     from ad4ae7925d3dd23798e7c5b733d2d8f930f7410f
> >     to   5b5f5fae014a4f3535fa10b0f6e28b4bf3225dc3
> >    Also local refs/remotes/origin/master
> >   Generating pack...
> >   Done counting 10 objects.
> >   Deltifying 10 objects...
> >   error: pack-objects died with strange error
> >   unpack eof before pack header was fully read
> >   ng refs/heads/master n/a (unpacker error)
> >   error: failed to push to 'ssh://tomfool@as220.org/home/tomfool/hpl.git'
> >   tomfool@toms-box:hpl$
> > 
> > I haven't been able to interpret this message, and haven't found it in
> > the documentation, and google has let me down, too.  Can anyone tell me
> > what is causing it?
> I think it's a problem on the pushing side.  Maybe out of disk space (in
> $GIT_DIR or $TMP_DIR)?  Does git repack work?
> 

I did have a disk space issue on the pushing side, but have cleared it up. Is there something that needs to be reset, do you think?

Yes, git repack seems to work fine. "Counting 215 objects, Deltifying 215 objects." But I still get the same error message afterwards.

Thanks,
 -tom
-- 
 ------------------------
 tomfool at as220 dot org
 http://sgouros.com  
 http://whatcheer.net
Johannes Schindelin· Sep 26, 2008, 12:01 UTC · re: Tom Sgouros · lore

Re: mysterious error message

Hi,
On Thu, 25 Sep 2008, Tom Sgouros wrote:
Show 15 quoted lines
> I receive the following error message when I try to do a 'git push':
> 
>   tomfool@toms-box:hpl$ git push
>   updating 'refs/heads/master'
>     from ad4ae7925d3dd23798e7c5b733d2d8f930f7410f
>     to   5b5f5fae014a4f3535fa10b0f6e28b4bf3225dc3
>    Also local refs/remotes/origin/master
>   Generating pack...
>   Done counting 10 objects.
>   Deltifying 10 objects...
>   error: pack-objects died with strange error
>   unpack eof before pack header was fully read
>   ng refs/heads/master n/a (unpacker error)
>   error: failed to push to 'ssh://tomfool@as220.org/home/tomfool/hpl.git'
>   tomfool@toms-box:hpl$

I got this message when I tried to push a project with submodules to a server which had submodule-ignorant git installed. Maybe it's that?

Ciao, Dscho

Shawn O. Pearce· Sep 26, 2008, 14:26 UTC · re: Johannes Schindelin · lore

Re: mysterious error message

Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 20 quoted lines
> On Thu, 25 Sep 2008, Tom Sgouros wrote:
> 
> > I receive the following error message when I try to do a 'git push':
> > 
> >   tomfool@toms-box:hpl$ git push
> >   updating 'refs/heads/master'
> >     from ad4ae7925d3dd23798e7c5b733d2d8f930f7410f
> >     to   5b5f5fae014a4f3535fa10b0f6e28b4bf3225dc3
> >    Also local refs/remotes/origin/master
> >   Generating pack...
> >   Done counting 10 objects.
> >   Deltifying 10 objects...
> >   error: pack-objects died with strange error
> >   unpack eof before pack header was fully read
> >   ng refs/heads/master n/a (unpacker error)
> >   error: failed to push to 'ssh://tomfool@as220.org/home/tomfool/hpl.git'
> >   tomfool@toms-box:hpl$
> 
> I got this message when I tried to push a project with submodules to a 
> server which had submodule-ignorant git installed.  Maybe it's that?
Almost.

I think its that there are submodules in the local side and they are being pushed to the remote peer, but the git binary on the client that is being used to execute git-push doesn't know about submodules.

"error: pack-objects died with strange error":

This was pack-objects aborting when it saw a subtree entry and it couldn't trace down that path in order to include it into the pack.

"unpack eof before pack header was fully read":

This is the server side aborting because its gotten the command set from the git-push client, but pack-objects never even got to create the pack header, since it couldn't generate the full list of objects it needed to include.

Tom, try upgrading to a Git implementation on the client. It seems to me that this repository must have been moved here by means outside of Git (NFS mount?), or the client got downgraded (wrong $PATH?)

-- 
Shawn.
tom sgouros· Sep 26, 2008, 14:32 UTC · re: Johannes Schindelin · lore

Re: mysterious error message

Show 22 quoted lines
> Hi,
> 
> On Thu, 25 Sep 2008, Tom Sgouros wrote:
> 
> > I receive the following error message when I try to do a 'git push':
> > 
> >   tomfool@toms-box:hpl$ git push
> >   updating 'refs/heads/master'
> >     from ad4ae7925d3dd23798e7c5b733d2d8f930f7410f
> >     to   5b5f5fae014a4f3535fa10b0f6e28b4bf3225dc3
> >    Also local refs/remotes/origin/master
> >   Generating pack...
> >   Done counting 10 objects.
> >   Deltifying 10 objects...
> >   error: pack-objects died with strange error
> >   unpack eof before pack header was fully read
> >   ng refs/heads/master n/a (unpacker error)
> >   error: failed to push to 'ssh://tomfool@as220.org/home/tomfool/hpl.git'
> >   tomfool@toms-box:hpl$
> 
> I got this message when I tried to push a project with submodules to a 
> server which had submodule-ignorant git installed.  Maybe it's that?

I'm not sure which versions are submodule-ignorant, but it's version 1.5.3.6 on the pusher and version 1.5.4.5 on the server. I installed git via the fink package manager. Could there be some other incompatibility?

Thanks,
 -tom
-- 
 ------------------------
 tomfool at as220 dot org
 http://sgouros.com  
 http://whatcheer.net
Shawn O. Pearce· Sep 26, 2008, 14:37 UTC · re: tom sgouros · lore

Re: mysterious error message

tom sgouros <tomfool@as220.org> wrote:
Show 24 quoted lines
> > On Thu, 25 Sep 2008, Tom Sgouros wrote:
> > > I receive the following error message when I try to do a 'git push':
> > > 
> > >   tomfool@toms-box:hpl$ git push
> > >   updating 'refs/heads/master'
> > >     from ad4ae7925d3dd23798e7c5b733d2d8f930f7410f
> > >     to   5b5f5fae014a4f3535fa10b0f6e28b4bf3225dc3
> > >    Also local refs/remotes/origin/master
> > >   Generating pack...
> > >   Done counting 10 objects.
> > >   Deltifying 10 objects...
> > >   error: pack-objects died with strange error
> > >   unpack eof before pack header was fully read
> > >   ng refs/heads/master n/a (unpacker error)
> > >   error: failed to push to 'ssh://tomfool@as220.org/home/tomfool/hpl.git'
> > >   tomfool@toms-box:hpl$
> > 
> > I got this message when I tried to push a project with submodules to a 
> > server which had submodule-ignorant git installed.  Maybe it's that?
> 
> I'm not sure which versions are submodule-ignorant, but it's version
> 1.5.3.6 on the pusher and version 1.5.4.5 on the server.  I installed
> git via the fink package manager.  Could there be some other
> incompatibility? 

This change came after 1.5.3.6 and I think its what you are tripping over:

  commit 481f0ee60eef2c34b891e5d04b7e6e5a955eedf4
  Author: Linus Torvalds <torvalds@linux-foundation.org>
  Date:   Sun Nov 11 23:35:23 2007 +0000
    Fix rev-list when showing objects involving submodules

rev-list aborting because it cannot mark a submodule commit as uninteresting should cause pack-objects to abort too since the list of objects wasn't completely produced.

That fix is in 1.5.3.7 or later.
-- 
Shawn.
tom sgouros· Sep 28, 2008, 15:18 UTC · re: Shawn O. Pearce · lore

Re: mysterious error message

I have upgraded and the problem has disappeared. Many thanks for the advice.

 -tom
Shawn O. Pearce <spearce@spearce.org> wrote:
Show 44 quoted lines
> tom sgouros <tomfool@as220.org> wrote:
> > > On Thu, 25 Sep 2008, Tom Sgouros wrote:
> > > > I receive the following error message when I try to do a 'git push':
> > > > 
> > > >   tomfool@toms-box:hpl$ git push
> > > >   updating 'refs/heads/master'
> > > >     from ad4ae7925d3dd23798e7c5b733d2d8f930f7410f
> > > >     to   5b5f5fae014a4f3535fa10b0f6e28b4bf3225dc3
> > > >    Also local refs/remotes/origin/master
> > > >   Generating pack...
> > > >   Done counting 10 objects.
> > > >   Deltifying 10 objects...
> > > >   error: pack-objects died with strange error
> > > >   unpack eof before pack header was fully read
> > > >   ng refs/heads/master n/a (unpacker error)
> > > >   error: failed to push to 'ssh://tomfool@as220.org/home/tomfool/hpl.git'
> > > >   tomfool@toms-box:hpl$
> > > 
> > > I got this message when I tried to push a project with submodules to a 
> > > server which had submodule-ignorant git installed.  Maybe it's that?
> > 
> > I'm not sure which versions are submodule-ignorant, but it's version
> > 1.5.3.6 on the pusher and version 1.5.4.5 on the server.  I installed
> > git via the fink package manager.  Could there be some other
> > incompatibility? 
> 
> This change came after 1.5.3.6 and I think its what you are
> tripping over:
> 
>   commit 481f0ee60eef2c34b891e5d04b7e6e5a955eedf4
>   Author: Linus Torvalds <torvalds@linux-foundation.org>
>   Date:   Sun Nov 11 23:35:23 2007 +0000
> 
>     Fix rev-list when showing objects involving submodules
> 
> rev-list aborting because it cannot mark a submodule commit
> as uninteresting should cause pack-objects to abort too since
> the list of objects wasn't completely produced.
> 
> That fix is in 1.5.3.7 or later.
> 
> -- 
> Shawn.
> 
-- 
 ------------------------
 tomfool at as220 dot org
 http://sgouros.com  
 http://whatcheer.net

← back to recent threads