FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2008
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    git clone: fails silently

    Fedora 17, x86_64. Git package version is git-1.7.11.7-1.fc17.x86_64.

    The following command fails (does nothing).
    Code:
    $ git clone http://gnuradio.org/git/gnuradio.git
    A check of /var/log/messages shows that git is logging a cryptic error.
    Code:
    Oct 11 21:38:25 localhost kernel: [662703.442645] git-remote-http[25796]: segfault at 0 ip 00000000004076d5 sp 00007fff7806ebc0 error 4 in git-remote-http[400000+96000]
    Oct 11 21:39:00 localhost kernel: [662737.899829] git-remote-http[25837]: segfault at 0 ip 00000000004076d5 sp 00007fff37c5ef20 error 4 in git-remote-http[400000+96000]
    Oct 11 21:39:25 localhost kernel: [662763.341248] git-remote-http[25873]: segfault at 0 ip 00000000004076d5 sp 00007fff6310d470 error 4 in git-remote-http[400000+96000]
    A tcpdump reveals that git is trying to download files that don't exist (remote server is responding with 404 errors).

    However trying to clone a separate repo (git clone git://git.osmocom.org/osmo-sdr.git) is successful.

    I have another F17 system that is NOT exhibiting the problem, git package version is git-1.7.11.4-3.fc17.x86_64.

    I'm still gathering information (for example I'll try and post a small pcap file once I sanitize it).

    Seems a sneaky git bug that may only be present in certain very specific cases.

  2. #2
    Join Date
    Apr 2008
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: git clone: fails silently

    Code:
    GET /git/gnuradio.git/info/refs?service=git-upload-pack HTTP/1.1
    User-Agent: git/1.7.11.7
    Host: gnuradio.org
    Accept: */*
    Pragma: no-cache
    
    HTTP/1.1 200 OK
    Date: Fri, 12 Oct 2012 00:43:30 GMT
    Server: Apache/2.2.17 (Ubuntu) DAV/2 SVN/1.6.12 mod_fcgid/2.3.6 Phusion_Passenger/2.2.11 mod_perl/2.0.4 Perl/v5.10.1
    Last-Modified: Wed, 10 Oct 2012 22:50:14 GMT
    ETag: "f9d7-13ec-4cbbc471c7a27"
    Accept-Ranges: bytes
    Content-Length: 5100
    Content-Type: text/plain
    48dd3fed73409a22b1bfd612cb74352cc555d0d0	refs/heads/maint
    f4adf33585df6109bdb45ba969dcada0503e838f	refs/heads/master
    93f4ca6187c409ab30e41fbdf5dace854d9d4c36	refs/heads/next
    a61fc516f5deeef67b48a704c5426c3969d36248	refs/remotes/origin/wip/udp_source_sink
    6d7dd3f7609d9ec26acefdf040be0e8bb77a222c	refs/tags/3.3git
    482c0505920258680ba1105e272efcc95cbdb16d	refs/tags/3.3git^{}
    9b14b18305278e45ec55d5159f4280aa9cdcbec9	refs/tags/3.5.1git
    64ce9383ad8330049dece61e6511f8c9de2b10b4	refs/tags/3.5.1git^{}
    9ce32622bdf9244b3e3df379116b3fd1c1e0fb2d	refs/tags/3.5.2git
    e1fd603f0457e596ce59ac1ec3805fe4119296d2	refs/tags/3.5git
    106d62c4e147b96cc5a02c252d7caa8c0d01a0d8	refs/tags/3.6.0git
    9bef26c9271a7b9253075bda3c1fc7c8078c0343	refs/tags/3.6.0git^{}
    85cfd77d47eb364cb1cba518be2b5a79cfafc9b4	refs/tags/3.6.1git
    065d37947aafb0c9f460cb13e6eb2f88035210e1	refs/tags/3.6.1git^{}
    a6ae3f67df8fb0397a40ec135b2262ed1a63f425	refs/tags/3.6.2git
    a4632157c6aa4d18e29ff917d44509a9de9ea71c	refs/tags/3.6.2git^{}
    a4e2e8a9a2c8a6bbd6d676a17b0e2732e11af09f	refs/tags/3.6.3git
    4c542ed839b60150ff661fb57ac84824e4ae0166	refs/tags/3.6git
    f52be4a8f0fa203ed206d0e0afc099856eb5bd03	refs/tags/3.6git^{}
    33b398afdde96c4b36ce2b647b12fe5fc572db4e	refs/tags/3.7git
    61d337a8bf2c50648ccd2dc1e1ee1b56f3288f12	refs/tags/3.7git^{}
    d5e5a76d1fdb4d1087cd487e3b6f683fbb1e87bd	refs/tags/distcheck-master
    f621a52f779381cfe550b4278b83e701a747944c	refs/tags/distcheck-master^{}
    2723c3fb2a22872bba1c72bab1d0c4e74ffda86f	refs/tags/maint-3.3.0
    1ad2ce69ea04aa3a3837ecacc7089452bb937973	refs/tags/maint-3.4.0
    6a274e19aac8b0b3066af5b6990f563ec3170221	refs/tags/maint-3.4.1
    26a1eb1854896ec0181a417a13dea6b24949ad01	refs/tags/maint-3.4.2
    8f8b651fbec99dcdc437f5445974692f7fa09142	refs/tags/maint-3.5.1
    aaa98c095a85724a8782a28717162c1d30d865c2	refs/tags/maint-3.5.2
    f7378fd80df0180a599665b42e89af367f1835c9	refs/tags/maint-3.5.3
    1dcdd0abe1e8c493a5d145ab9feb2006e6bdbb3e	refs/tags/maint-3.6.0
    5a86cdf58fb0284b5a3d8860170a1b27d910e727	refs/tags/maint-3.6.1
    18f9312a8d459bf1b1b32e6701faf388b8b2453c	refs/tags/v3.3.0
    34bf49d06e6b5e48c08d92e2b9e0794512fa761f	refs/tags/v3.3.0^{}
    5605efcb0fb32eef97f85b835e32e24877487a74	refs/tags/v3.3.0-rc0
    467678259c56fab32a326690cc01eac1dbcb48ca	refs/tags/v3.3.0-rc0^{}
    c85b9bc9ad215b43387de1d788ccbe130c841a94	refs/tags/v3.3.0-rc1
    c5b28091c915891d0a5556bcadb8f491a6689024	refs/tags/v3.3.0-rc1^{}
    9d5c1968e31b0ad290305b2d5536c20a65634589	refs/tags/v3.3.0-rc2
    a50d394d28955d6f0ecd9a3f5f10a902dbeae7ec	refs/tags/v3.3.0-rc2^{}
    5661854762df6004e158eb3cc1b12a3a96b7bfa2	refs/tags/v3.3.0-rc3
    944a8b6f031aaf1cdc67cc5bd79b61f75e105100	refs/tags/v3.3.0-rc3^{}
    592153b2b94ae12e85598fa4a32feb5849bb6163	refs/tags/v3.3.1
    7716759aca98a676549aae4af05808860d459e9d	refs/tags/v3.3.1git
    d784c4321114a83454493337393c5e2f5656e1e9	refs/tags/v3.3.1git^{}
    b1c8c803a22f554b292a2947edf1eaac835b99aa	refs/tags/v3.4.0
    441a3767e05d15e62c519ea66b848b5adb0f4b3a	refs/tags/v3.4.0^{}
    9b0b003a8b9df616a585cef09c8f25fe1f9ad1f4	refs/tags/v3.4.0git
    70bd1d100583964431b6a9c51b12e7ecd98f733b	refs/tags/v3.4.0git^{}
    0cd7e9ab179df1e3a18c314d0a2de6790963b94b	refs/tags/v3.4.1
    2e378ce7d2d00096c700864ea8897b9a572125f5	refs/tags/v3.4.1^{}
    f0143c5d557ca7e4bf05c26f410da13520df91e5	refs/tags/v3.4.1git
    af2aa53ebacdb159cbc5a2d7ec3457003fc3be97	refs/tags/v3.4.2
    2382e38aa96922fb9b9e577490d561775c8ae392	refs/tags/v3.4.2^{}
    692e759880521abe3ef8882bc7df4846da74ae1d	refs/tags/v3.4.2git
    64afdec6d5db9f85c5db0a923d6fc3f54441e74f	refs/tags/v3.4.2git^{}
    2340f02f54bde20cd36d5716a9396698ca9d2b7b	refs/tags/v3.4git
    645a3143723ca51a47bfc23bfd23b9a3e47f5240	refs/tags/v3.4git^{}
    6fc318fac2287ca1ce9c33fe33fbcdeca4263136	refs/tags/v3.5.0
    01dfb3d24d1b8806fd35b6edb39b86729cff6abc	refs/tags/v3.5.0^{}
    275cb95db3edf21d86d0f393ea754fa2ce0f95c3	refs/tags/v3.5.0git
    fea70a9c312ebf9cfcf8b5ddb60db3b6a3004248	refs/tags/v3.5.0git^{}
    649dbe166c30f23f5674cb716d8aa38b21343ebc	refs/tags/v3.5.0rc0
    1063fc81a361b5ace17a51e756cb6c6b77d18971	refs/tags/v3.5.0rc0^{}
    0f3bfa7a32737933884b232447a03069dd5f2b03	refs/tags/v3.5.1
    d35c6bd9eeffc40c9a9a15e9a000df47990ff6d6	refs/tags/v3.5.1^{}
    4b39fc026e94ca154daa5184d5a81985cfa67df9	refs/tags/v3.5.2
    30f452ce6597e41ee1df1ceffda6796fa4a70058	refs/tags/v3.5.2^{}
    49ab5358d81094b1befc3ea467271cde242e481b	refs/tags/v3.5.2.1
    26c03164613be9c745c60ae53b3a4ba7d5a8c6a9	refs/tags/v3.5.2.1^{}
    d5e5a76d1fdb4d1087cd487e3b6f683fbb1e87bd	refs/tags/v3.5.3
    f621a52f779381cfe550b4278b83e701a747944c	refs/tags/v3.5.3^{}
    bab037ee34f822b23aa8a35319c0e89924ec37b7	refs/tags/v3.5.3.1
    0765dc05054e74d177d715697e3d5c89886cd838	refs/tags/v3.5.3.1^{}
    b17a0e3d0b8666af64292ef8bd5d84bb0c6a3a17	refs/tags/v3.5.3.2
    f7378fd80df0180a599665b42e89af367f1835c9	refs/tags/v3.5.3.2^{}
    57ad294b333d185cfd6952f01ea03f88370d2b8d	refs/tags/v3.5.3git
    9d5d3752f9b78c82e17f41a49258983efba3a483	refs/tags/v3.6.0
    b40ccb1d3f12a6837df235ccbceee5180c711efa	refs/tags/v3.6.0^{}
    0d47f1353a90a54cdb84e40a847191976ca3b401	refs/tags/v3.6.1
    92ce6ff434763c8c9360c23435e715e19681b346	refs/tags/v3.6.1^{}
    0dc519ec78501946fdb1e3cab8bdcae6241a4b0e	refs/tags/v3.6.2
    6f0fe7776bd6ee3615cc776d38301de4f6755866	refs/tags/v3.6.2^{}
    
    GET /git/gnuradio.git/HEAD HTTP/1.1
    User-Agent: git/1.7.11.7
    Host: gnuradio.org
    Accept: */*
    Pragma: no-cache
    
    HTTP/1.1 200 OK
    Date: Fri, 12 Oct 2012 00:43:30 GMT
    Server: Apache/2.2.17 (Ubuntu) DAV/2 SVN/1.6.12 mod_fcgid/2.3.6 Phusion_Passenger/2.2.11 mod_perl/2.0.4 Perl/v5.10.1
    Last-Modified: Tue, 29 Dec 2009 00:55:53 GMT
    ETag: "705f-17-47bd37bd95840"
    Accept-Ranges: bytes
    Content-Length: 23
    Content-Type: text/plain
    ref: refs/heads/master
    
    GET /git/gnuradio.git/objects/f4/adf33585df6109bdb45ba969dcada0503e838f HTTP/1.1
    User-Agent: git/1.7.11.7
    Host: gnuradio.org
    Accept: */*
    
    HTTP/1.1 200 OK
    Date: Fri, 12 Oct 2012 00:43:30 GMT
    Server: Apache/2.2.17 (Ubuntu) DAV/2 SVN/1.6.12 mod_fcgid/2.3.6 Phusion_Passenger/2.2.11 mod_perl/2.0.4 Perl/v5.10.1
    Last-Modified: Fri, 05 Oct 2012 23:10:17 GMT
    ETag: "f667-e0-4cb57f9a785a6"
    Accept-Ranges: bytes
    Content-Length: 224
    Content-Type: text/plain
    DfDe
    XykB
    nE
    
    GET /git/gnuradio.git/objects/9c/e32622bdf9244b3e3df379116b3fd1c1e0fb2d HTTP/1.1
    User-Agent: git/1.7.11.7
    Host: gnuradio.org
    Accept: */*
    
    HTTP/1.1 404 Not Found
    Date: Fri, 12 Oct 2012 00:43:30 GMT
    Server: Apache/2.2.17 (Ubuntu) DAV/2 SVN/1.6.12 mod_fcgid/2.3.6 Phusion_Passenger/2.2.11 mod_perl/2.0.4 Perl/v5.10.1
    Vary: Accept-Encoding
    Content-Length: 428
    Content-Type: text/html; charset=iso-8859-1
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>404 Not Found</title>
    </head><body>
    <h1>Not Found</h1>
    <p>The requested URL /git/gnuradio.git/objects/9c/e32622bdf9244b3e3df379116b3fd1c1e0fb2d was not found on this server.</p>
    <hr>
    <address>Apache/2.2.17 (Ubuntu) DAV/2 SVN/1.6.12 mod_fcgid/2.3.6 Phusion_Passenger/2.2.11 mod_perl/2.0.4 Perl/v5.10.1 Server at gnuradio.org Port 80</address>
    </body></html>
    Attached Images Attached Images
    Attached Files Attached Files

  3. #3
    Join Date
    Apr 2008
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: git clone: fails silently

    Downgraded git to "git-1.7.10.1-1.fc17.x86_64" and problem went away (read: workaround).

    ---------- Post added at 01:17 AM ---------- Previous post was at 12:43 AM ----------

    The gnuradio build script may try to install the latest git. If it does, it might overwrite your downgraded "git" package and cause the build to fail. Workaround: replace "/usr/libexec/git-core/git-remote-http" from a system that is running one of the unaffected versions of git described above.

    ---------- Post added at 09:41 AM ---------- Previous post was at 01:17 AM ----------

    It looks like Jeff King has added a code change that should correct the behavior. Once the updated code is available I'll compile and confirm the fix.

    On Fri, Oct 12, 2012 at 12:58:21AM -0400, Brad Hein wrote:

    > In Fedora 17
    > With git-1.7.11.7-1.fc17.x86_64 (rpm)
    >
    > I try to clone a particular repository but git just returns, having
    > not cloned the repo. Seems like a bug. Details follow:
    > $ git clone http://gnuradio.org/git/gnuradio.git


    Thanks for a thorough bug report. I can reproduce here, and it was easy
    to bisect. The culprit is 8809703 (http: factor out http error code
    handling, 2012-08-27). The patch below should fix it.

    -- >8 --
    When we create an http active_request_slot, we can set its
    "results" pointer back to local storage. The http code will
    fill in the details of how the request went, and we can
    access those details even after the slot has been cleaned
    up.

    Commit 8809703 (http: factor out http error code handling)
    switched us from accessing our local results struct directly
    to accessing it via the "results" pointer of the slot. That
    means we're accessing the slot after it has been marked as
    finished, defeating the whole purpose of keeping the results
    storage separate.

    Most of the time this doesn't matter, as finishing the slot
    does not actually clean up the pointer. However, when using
    curl's multi interface with the dumb-http revision walker,
    we might actually start a new request before handing control
    back to the original caller. In that case, we may reuse the
    slot, zeroing its results pointer, and leading the original
    caller to segfault while looking for its results inside the
    slot.

    Instead, we need to pass a pointer to our local results
    storage to the handle_curl_result function, rather than
    relying on the pointer in the slot struct. This matches what
    the original code did before the refactoring (which did not
    use a separate function, and therefore just accessed the
    results struct directly).

Similar Threads

  1. F11 install silently quits
    By jim1944 in forum Installation, Upgrades and Live Media
    Replies: 10
    Last Post: 30th June 2009, 11:36 PM
  2. audacity plays 'silently'
    By Ian.Davidson in forum Using Fedora
    Replies: 4
    Last Post: 22nd August 2008, 04:02 PM
  3. Silently dropping packets in VMware
    By marksmanuk in forum Servers & Networking
    Replies: 0
    Last Post: 17th August 2008, 12:24 AM
  4. fedora firewal configurator silently fails
    By walter_b_marvin in forum Installation, Upgrades and Live Media
    Replies: 4
    Last Post: 30th August 2007, 02:51 PM
  5. [SOLVED] nis ypserv silently die or ignore in FC4
    By kyuso in forum Servers & Networking
    Replies: 0
    Last Post: 30th October 2005, 07:16 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •