Skip to contentSkip to conversation

mysterious error message

DISCUSSION Tom Sgouros 4 participants 8 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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://[email protected]/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

Signature · 4 lines
 ------------------------
 tomfool at as220 dot org
 http://sgouros.com  
 http://whatcheer.net
#1 lore raw

Hello,

Quoted 16 lines · Tom Sgouros

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://[email protected]/home/tomfool/hpl.git'
  tomfool@toms-box:hpl$
Quoted 3 lines

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

#2 lore raw
Quoted 20 lines

Hello,

Quoted 16 lines · Tom Sgouros

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://[email protected]/home/tomfool/hpl.git'
  tomfool@toms-box:hpl$
Quoted 6 lines
Quoted 3 lines

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

Signature · 4 lines
 ------------------------
 tomfool at as220 dot org
 http://sgouros.com  
 http://whatcheer.net
#3 lore raw
In reply to Tom Sgouros

Hi,

Quoted 15 lines · Tom Sgouros

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://[email protected]/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

#4 lore raw
Quoted 18 lines · Johannes Schindelin
Quoted 15 lines · Tom Sgouros

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://[email protected]/home/tomfool/hpl.git'
  tomfool@toms-box:hpl$
Quoted 2 lines

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?)

Signature · 1 line
Shawn.
#5 lore raw
In reply to Johannes Schindelin
Quoted 21 lines

Hi,

Quoted 15 lines · Tom Sgouros

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://[email protected]/home/tomfool/hpl.git'
  tomfool@toms-box:hpl$
Quoted 2 lines

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

Signature · 4 lines
 ------------------------
 tomfool at as220 dot org
 http://sgouros.com  
 http://whatcheer.net
#6 lore raw
Quoted 17 lines · tom sgouros
Quoted 17 lines · Tom Sgouros
Quoted 15 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://[email protected]/home/tomfool/hpl.git'
  tomfool@toms-box:hpl$
Quoted 7 lines
Quoted 2 lines

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 <[email protected]>
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.

Signature · 1 line
Shawn.
#7 lore raw

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

-tom

Quoted 44 lines · Shawn O. Pearce
Quoted 17 lines · tom sgouros
Quoted 17 lines · Tom Sgouros
Quoted 15 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://[email protected]/home/tomfool/hpl.git'
  tomfool@toms-box:hpl$
Quoted 7 lines
Quoted 2 lines

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 <[email protected]>
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.

Signature · 1 line
Shawn.
Signature · 4 lines
 ------------------------
 tomfool at as220 dot org
 http://sgouros.com  
 http://whatcheer.net