NetBSD Problem Report #49490

From martin@aprisoft.de  Sat Dec 20 12:36:42 2014
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 3ADFCA6551
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 20 Dec 2014 12:36:42 +0000 (UTC)
Message-Id: <20141220123602.7D71FED0E4F@emmas.aprisoft.de>
Date: Sat, 20 Dec 2014 13:36:02 +0100 (CET)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: "hg clone" does not work on big endian machines
X-Send-Pr-Version: 3.95

>Number:         49490
>Category:       pkg
>Synopsis:       "hg clone" does not work on big endian machines
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 20 12:40:00 +0000 2014
>Last-Modified:  Thu Jan 15 19:30:01 +0000 2015
>Originator:     Martin Husemann
>Release:        NetBSD 7.99.3
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD whoever-brings-the-night.aprisoft.de 7.99.3 NetBSD 7.99.3 (WHOEVER) #32: Mon Dec 15 10:44:28 CET 2014 martin@seven-days-to-the-wolves.aprisoft.de:/usr/src/sys/arch/sparc64/compile/WHOEVER sparc64
Architecture: sparc64
Machine: sparc64
>Description:

I tried this on amd64, sparc64 and big endian ARM, all on the same internet
connection. It reliably works on amd64, and 100% reliably fails on the big
endian machines:

> hg clone https://hg.mozilla.org/mozilla-central/ firefox
warning: hg.mozilla.org certificate with fingerprint af:27:b9:34:47:4e:e5:98:01:f6:83:2b:51:c9:aa:d8:df:fb:1a:27 not verified (check hostfingerprints or web.cacerts config setting)
requesting all changes
adding changesets
adding manifests
transaction abort!
rollback completed
abort: connection ended unexpectedly


I tried playing a bit with python -m pdb, but it is too awkward for a C/C++
guy like me, so someone else please have a look at this.

Otherwise I'd need strong guidance for a full debug session ;-)

>How-To-Repeat:
s/a

>Fix:
n/a

>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/49490: "hg clone" does not work on big endian machines
Date: Sat, 20 Dec 2014 14:25:45 +0100

 On Sat, Dec 20, 2014 at 12:40:00PM +0000, martin@NetBSD.org wrote:
 > >Synopsis:       "hg clone" does not work on big endian machines

 Which version of py27-mercurial is installed?
  Thomas

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/49490: "hg clone" does not work on big endian machines
Date: Sat, 20 Dec 2014 17:12:25 +0100

 On Sat, Dec 20, 2014 at 01:30:01PM +0000, Thomas Klausner wrote:
 >  Which version of py27-mercurial is installed?

 py27-mercurial-3.2.3 on the ARM and py27-mercurial-3.2.2 on sparc64 and
 amd64.

 Martin

From: Thomas Klausner <tk@giga.or.at>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/49490: "hg clone" does not work on big endian machines
Date: Sat, 20 Dec 2014 18:33:41 +0100

 On Sat, Dec 20, 2014 at 04:15:01PM +0000, Martin Husemann wrote:
 >  py27-mercurial-3.2.3 on the ARM and py27-mercurial-3.2.2 on sparc64 and
 >  amd64.

 Thanks. I've reported this upstream as
 http://bz.selenic.com/show_bug.cgi?id=4480

  Thomas

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/49490: "hg clone" of the firefox repo does not work on some machines
Date: Sun, 28 Dec 2014 22:20:57 +0100

 We have tracked this down to Python considering a read() on the http
 socket to hit "EOF" midway during receiption of a gzip'd chunk of data
 (where it knows several kByte still to follow).

 So this might be some mismatch between signals, socket handling, Python
 and NetBSD - or whatever.

 Below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9\M^J\M-4e\^[!\a\M-N\^D\M-h6\M-c\M-k\
 	\M-$\M-,T\M-O\vu!c	$a\M-3\M-\2z\M^R\vw\M-t\M-cA\M^_\M-1\M^Gb\M-a\
 	\M-^\M-2\M-h6:\M^I\^_\M-A\M^U\M-q\M-a\M^G2\M-@\"\M-Tp\M-S0	\M-0:y\
 	\M^J\^O\^X\^Vq\M^^\^Zl\M-^xq>\^B\M^?9\M-%\M-q\240\M-rw.Y\n\M^J\M^G\M-L\
 	\^]\M-@\M^[3\M-!\M^M\M-H\^D3\M^G\^Z\^]\^W\^^\M^?\^UpLe\M-r,\M-n^\M^Eq\
 	\M-{\M^J\^U\M-1"
  27892      1 python2.7 RET   recvfrom 11424/0x2ca0
  27892      1 python2.7 CALL  recvfrom(4,0xfffffffff5a06024,0xd360,0,0,0)
  27892      1 python2.7 MISC  msghdr: [name=0x0, namelen=0, iov=0x1b2c1bcc0, iovlen=1, control=0x0, controllen=0, flags=0]
  27892      1 python2.7 GIO   fd 4 read 0 bytes
        ""
  27892      1 python2.7 RET   recvfrom 0
  27892      1 python2.7 CALL  recvfrom(4,0xfffffffff5a9a024,0xd360,0,0,0)
  27892      1 python2.7 MISC  msghdr: [name=0x0, namelen=0, iov=0x1b2c1bcc0, iovlen=1, control=0x0, controllen=0, flags=0]
  27892      1 python2.7 GIO   fd 4 read 0 bytes
        ""
  27892      1 python2.7 RET   recvfrom 0
  27892      1 python2.7 CALL  write(7,0xfffffffff9102000,0x74)
  27892      1 python2.7 GIO   fd 7 wrote 116 bytes
        "\0\^A\0\^A\0\0\0\0\0\0\0004\0\0\0003\0\0\0\0\0\0\0\0\M^?\M^?\M^?\M^?\
 	\M^?\M^?\M^?\M^?\M-a:\M^Q\^P\^A\M-7\^Z.#\M^Mqs\M^B4\M-0\^PQ\M^H'8\0\0\
 	\0\0\0\0\0\0\0\0\0\0u.hgignore\08310628bf23c7d040f4c4c395daa6595840c50\
 	9c\n"
  27892      1 python2.7 RET   write 116/0x74
  27892      1 python2.7 CALL  close(7)
  27892      1 python2.7 RET   close 0
  27892      1 python2.7 CALL  close(5)
  27892      1 python2.7 RET   close 0
  27892      1 python2.7 CALL  write(6,0xfffffffffb7de000,2)
  27892      1 python2.7 GIO   fd 6 wrote 2 bytes
        "1\n"
  27892      1 python2.7 RET   write 2
  27892      1 python2.7 CALL  close(6)
  27892      1 python2.7 RET   close 0
  27892      1 python2.7 CALL  write(2,0xfffffffff6554d3c,0x13)
  27892      1 python2.7 GIO   fd 2 wrote 19 bytes
        "transaction abort!\n"
  27892      1 python2.7 RET   write 19/0x13

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/49490: "hg clone" does not work on big endian machines
Date: Sat, 10 Jan 2015 21:14:40 +0100

 I traced the network traffic while taking a ktrace at the same time,
 all running with a slightly modified py-mercurial, that would invoke
 the python debugger once the problem happens - and also doing
 hg --debug clone ...

 If needed I can make the (significantly larger) full traces available, the
 relevant tail of both is here:

 http://www.netbsd.org/~martin/hg-clone-pcap.tar.bz2 (2.3 MB)

 It seems the actual 0 byte return comes from a recvfrom(), the socket
 connected to the http port seems to be fd 4:

  12647      1 python2.7 CALL  recvfrom(4,0xfffffffff60ae024,0x6a12,0,0,0)
  12647      1 python2.7 MISC  msghdr: [name=0x0, namelen=0, iov=0x1b2915cc0, iovlen=1, control=0x0, controllen=0, flags=0]
  12647      1 python2.7 GIO   fd 4 read 0 bytes
        ""
  12647      1 python2.7 RET   recvfrom 0
  12647      1 python2.7 CALL  recvfrom(4,0xfffffffff60ae024,0x6a12,0,0,0)
  12647      1 python2.7 MISC  msghdr: [name=0x0, namelen=0, iov=0x1b2915cc0, iovlen=1, control=0x0, controllen=0, flags=0]
  12647      1 python2.7 GIO   fd 4 read 0 bytes
        ""
  12647      1 python2.7 RET   recvfrom 0

 [..]
 and this imediately leeds to:

  12647      1 python2.7 CALL  write(2,0xfffffffff64f16e4,0x13)
  12647      1 python2.7 GIO   fd 2 wrote 19 bytes
        "transaction abort!\n"


 Martin

From: Julian Coleman <jdc@coris.org.uk>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/49490 ("hg clone" does not work on big endian machines)
Date: Sun, 11 Jan 2015 08:02:44 +0000

 Hi,

 > > hg clone https://hg.mozilla.org/mozilla-central/ firefox
   ...
 > adding manifests 
 > transaction abort!
 > rollback completed
 > abort: connection ended unexpectedly

 Running:

   hg --debug clone http://hg.mozilla.org/mozilla-central firefox

 gives a lot of changeset output, and fails in the same way on sparc64 for me:

     ...
   changesets: 223055 chunks
   add changeset bb8d6034f5f2
   adding manifests
   manifests: 1/223055 chunks (0.00%)
   manifests: 2/223055 chunks (0.00%)
   transaction abort!
   rollback completed
   abort: connection ended unexpectedly

 This was with:

   sparc64 6.99.33
   python27-2.7.6nb2
   mercurial-2.9.1

 Thanks,

 J

 -- 
    My other computer runs NetBSD too   -         http://www.netbsd.org/

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/49490: "hg clone" does not work on big endian machines
Date: Thu, 15 Jan 2015 19:29:30 +0000

 (not sent to gnats)

    ------

 From: Christos Zoulas <christos@astron.com
 To: pkgsrc-bugs@NetBSD.org
 Subject: Re: pkg/49490: "hg clone" does not work on big endian machines
 Date: Sat, 10 Jan 2015 23:47:01 +0000 (UTC)

 In article <20150110201501.26744A65BA@mollari.NetBSD.org>,
 Martin Husemann  <gnats-bugs@NetBSD.org> wrote:
 >The following reply was made to PR pkg/49490; it has been noted by GNATS.
 >
 >From: Martin Husemann <martin@duskware.de>
 >To: gnats-bugs@NetBSD.org
 >Cc: 
 >Subject: Re: pkg/49490: "hg clone" does not work on big endian machines
 >Date: Sat, 10 Jan 2015 21:14:40 +0100
 >
 > I traced the network traffic while taking a ktrace at the same time,
 > all running with a slightly modified py-mercurial, that would invoke
 > the python debugger once the problem happens - and also doing
 > hg --debug clone ...
 > 
 > If needed I can make the (significantly larger) full traces available, the
 > relevant tail of both is here:
 > 
 > http://www.netbsd.org/~martin/hg-clone-pcap.tar.bz2 (2.3 MB)
 > 
 > It seems the actual 0 byte return comes from a recvfrom(), the socket
 > connected to the http port seems to be fd 4:
 > 
 >  12647      1 python2.7 CALL  recvfrom(4,0xfffffffff60ae024,0x6a12,0,0,0)
 >  12647      1 python2.7 MISC  msghdr: [name=0x0, namelen=0,
 >iov=0x1b2915cc0, iovlen=1, control=0x0, controllen=0, flags=0]
 >  12647      1 python2.7 GIO   fd 4 read 0 bytes
 >        ""
 >  12647      1 python2.7 RET   recvfrom 0
 >  12647      1 python2.7 CALL  recvfrom(4,0xfffffffff60ae024,0x6a12,0,0,0)
 >  12647      1 python2.7 MISC  msghdr: [name=0x0, namelen=0,
 >iov=0x1b2915cc0, iovlen=1, control=0x0, controllen=0, flags=0]
 >  12647      1 python2.7 GIO   fd 4 read 0 bytes
 >        ""
 >  12647      1 python2.7 RET   recvfrom 0
 > 
 > [..]
 > and this imediately leeds to:
 > 
 >  12647      1 python2.7 CALL  write(2,0xfffffffff64f16e4,0x13)
 >  12647      1 python2.7 GIO   fd 2 wrote 19 bytes
 >        "transaction abort!\n"

 What happens on the sender side?

 christos

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.