Bug 214710
Summary: | git-http-fetch: double free or corruption | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Damian Wrobel <dwrobel> | ||||
Component: | git | Assignee: | Chris Wright <chrisw> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | extras-qa | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-03-19 22:46:19 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Damian Wrobel
2006-11-08 22:12:11 UTC
Created attachment 140724 [details]
git-http-fetch generated core file
Valgrind output: ==16029== ==16029== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 33 from 1) ==16029== ==16029== 1 errors in context 1 of 1: ==16029== Invalid free() / delete / delete[] ==16029== at 0x401FFDA: free (vg_replace_malloc.c:233) ==16029== by 0x804B40B: process_alternates_response (git-compat-util.h:89) ==16029== by 0x804DA10: pretty_print_commit (commit.c:587) ==16029== by 0x804A226: http_options (http.c:140) ==16029== by 0x804BDF7: remote_ls (http-fetch.c:867) ==16029== by 0x4055E5B: (below main) (in /lib/libc-2.5.90.so) ==16029== Address 0x41FB4E0 is 0 bytes inside a block of size 120 free'd ==16029== at 0x401FFDA: free (vg_replace_malloc.c:233) ==16029== by 0x804B99C: process_ls_pack (http-fetch.c:900) ==16029== by 0x804BC47: remote_ls (http-fetch.c:849) ==16029== by 0x804CAE6: fetch (http-fetch.c:1135) ==16029== by 0x8049DAF: ??? (http.c:188) ==16029== by 0x804A118: http_options (http.c:116) ==16029== by 0x804BDF7: remote_ls (http-fetch.c:867) ==16029== by 0x4055E5B: (below main) (in /lib/libc-2.5.90.so) Is this still an issue? Yes, it is :-( Using the following version: git-core-1.4.4.2-2.fc7 cogito-0.18.2-2.fc7 Trying to clone the repository gives the following result: cg-clone http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git defaulting to local storage area Fetching head... Fetching objects... *** glibc detected *** git-http-fetch: double free or corruption (fasttop): 0x080898d8 *** ======= Backtrace: ========= /lib/libc.so.6[0x44bcae3d] /lib/libc.so.6(cfree+0x90)[0x44bce490] git-http-fetch[0x804b2ec] git-http-fetch[0x804c671] git-http-fetch[0x804a0c7] git-http-fetch[0x804b5a8] /lib/libc.so.6(__libc_start_main+0xdc)[0x44b7ae5c] git-http-fetch[0x8049ae1] ======= Memory map: ======== 08048000-08062000 r-xp 00000000 08:02 24482081 /usr/bin/git-http-fetch 08062000-08063000 rw-p 00019000 08:02 24482081 /usr/bin/git-http-fetch 08063000-080b3000 rw-p 08063000 00:00 0 [heap] 44194000-441af000 r-xp 00000000 08:02 14795862 /lib/ld-2.5.90.so 441af000-441b0000 r--p 0001a000 08:02 14795862 /lib/ld-2.5.90.so 441b0000-441b1000 rw-p 0001b000 08:02 14795862 /lib/ld-2.5.90.so 441b3000-441c3000 r-xp 00000000 08:02 14958617 /lib/libresolv-2.5.90.so 441c3000-441c4000 r--p 0000f000 08:02 14958617 /lib/libresolv-2.5.90.so 441c4000-441c5000 rw-p 00010000 08:02 14958617 /lib/libresolv-2.5.90.so 441c5000-441c7000 rw-p 441c5000 00:00 0 441c9000-442e5000 r-xp 00000000 08:02 14958619 /lib/libcrypto.so.0.9.8b 442e5000-442f7000 rw-p 0011c000 08:02 14958619 /lib/libcrypto.so.0.9.8b 442f7000-442fb000 rw-p 442f7000 00:00 0 442fd000-442ff000 r-xp 00000000 08:02 14958618 /lib/libcom_err.so.2.1 442ff000-44300000 rw-p 00001000 08:02 14958618 /lib/libcom_err.so.2.1 44335000-4435a000 r-xp 00000000 08:02 25335236 /usr/lib/libk5crypto.so.3.0 4435a000-4435b000 rw-p 00025000 08:02 25335236 /usr/lib/libk5crypto.so.3.0 44376000-443a0000 r-xp 00000000 08:02 25335268 /usr/lib/libgssapi_krb5.so.2.2 443a0000-443a1000 rw-p 00029000 08:02 25335268 /usr/lib/libgssapi_krb5.so.2.2 443a3000-443aa000 r-xp 00000000 08:02 25335225 /usr/lib/libkrb5support.so.0.1 443aa000-443ab000 rw-p 00006000 08:02 25335225 /usr/lib/libkrb5support.so.0.1 443ad000-443e9000 r-xp 00000000 08:02 25335671 /usr/lib/libcurl.so.4.0.0 443e9000-443ea000 rw-p 0003c000 08:02 25335671 /usr/lib/libcurl.so.4.0.0 443f5000-4447a000 r-xp 00000000 08:02 25335264 /usr/lib/libkrb5.so.3.2 4447a000-4447c000 rw-p 00084000 08:02 25335264 /usr/lib/libkrb5.so.3.2 4447e000-444bf000 r-xp 00000000 08:02 14958620 /lib/libssl.so.0.9.8b 444bf000-444c3000 rw-p 00040000 08:02 14958620 /lib/libssl.so.0.9.8b 44730000-44760000 r-xp 00000000 08:02 25335480 /usr/lib/libidn.so.11.5.22 44760000-44761000 rw-p 0002f000 08:02 25335480 /usr/lib/libidn.so.11.5.22 44b65000-44cb0000 r-xp 00000000 08:02 14795880 /lib/libc-2.5.90.so 44cb0000-44cb2000 r--p 0014b000 08:02 14795880 /lib/libc-2.5.90.so 44cb2000-44cb3000 rw-p 0014d000 08:02 14795880 /lib/libc-2.5.90.so 44cb3000-44cb6000 rw-p 44cb3000 00:00 0 44ce3000-44ce6000 r-xp 00000000 08:02 14958607 /lib/libdl-2.5.90.so 44ce6000-44ce7000 r--p 00002000 08:02 14958607 /lib/libdl-2.5.90.so 44ce7000-44ce8000 rw-p 00003000 08:02 14958607 /lib/libdl-2.5.90.so 44d04000-44d16000 r-xp 00000000 08:02 25330695 /usr/lib/libz.so.1.2.3 44d16000-44d17000 rw-p 00011000 08:02 25330695 /usr/lib/libz.so.1.2.3 44ebe000-44edd000 r-xp 00000000 08:02 14958614 /lib/libexpat.so.0.5.0 44edd000-44edf000 rw-p 0001e000 08:02 14958614 /lib/libexpat.so.0.5.0 4500e000-45019000 r-xp 00000000 08:02 14958616 /lib/libgcc_s-4.1.1-20061130.so.1 45019000-4501a000 rw-p 0000a000 08:02 14958616 /lib/libgcc_s-4.1.1-20061130.so.1 b7e00000-b7e21000 rw-p b7e00000 00:00 0 b7e21000-b7f00000 ---p b7e21000 00:00 0 b7fbc000-b7fc6000 r-xp 00000000 08:02 14796314 /lib/libnss_files-2.5.90.so b7fc6000-b7fc7000 r--p 00009000 08:02 14796314 /lib/libnss_files-2.5.90.so b7fc7000-b7fc8000 rw-p 0000a000 08:02 14796314 /lib/libnss_files-2.5.90.so b7fc8000-b7fcc000 rw-p b7fc8000 00:00 0 b7fe7000-b7fe8000 rw-p b7fe7000 00:00 0 b7fe8000-b7fe9000 r-xp b7fe8000 00:00 0 [vdso] bf9a9000-bf9bf000 rw-p bf9a9000 00:00 0 [stack] error: Request for 4259cb25d436a79bf6b07d8075423573567c211d aborted progress: 0 objects, 0 bytes cg-fetch: objects fetch failed |