Hi, Current git (todays git commit) makes "git push" segfault:
here is what i get: Core was generated by `git pack-objects --all-progress-implied --revs --stdout --thin --delta-base-off'. Program terminated with signal 11, Segmentation fault. [New process 27359] #0 0xb7533359 in byte_re_match_2_internal (bufp=Cannot access memory at address 0x20302038 ) at libc/misc/regex/regex_old.c:7499 7499 POP_FAILURE_POINT (d, p, (gdb) bt #0 0xb7533359 in byte_re_match_2_internal (bufp=Cannot access memory at address 0x20302038 ) at libc/misc/regex/regex_old.c:7499 Cannot access memory at address 0x20302034 smells memory corrution so i ran it in valgrind and then it no longer segfaulted. Not sure what to look for. Any ideas how to debug this? Its most likely in the recent config_parser code. Here is the output from the git pack-objects part: ==4911== ==5191== Memcheck, a memory error detector ==5191== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==5191== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==5191== Command: /usr/libexec/git-core/git pack-objects --all-progress-implied --revs --stdout --thin --delta-base-offset ==5191== Counting objects: 5, done. ==5191== Invalid write of size 1 ==5191== at 0x49DDC4E: fgets_unlocked (fgets.c:35) ==5191== by 0x49DC997: fgets (fgets.c:79) ==5191== by 0x49B519B: bb_get_chunk_with_continuation (parse_config.c:64) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2299 is 89 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid read of size 1 ==5191== at 0x49DDC50: fgets_unlocked (fgets.c:35) ==5191== by 0x49DC997: fgets (fgets.c:79) ==5191== by 0x49B519B: bb_get_chunk_with_continuation (parse_config.c:64) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2299 is 89 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid read of size 1 ==5191== at 0x4812666: strlen (mc_replace_strmem.c:275) ==5191== by 0x49B51DE: bb_get_chunk_with_continuation (parse_config.c:69) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2299 is 89 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid read of size 1 ==5191== at 0x4812671: strlen (mc_replace_strmem.c:275) ==5191== by 0x49B51DE: bb_get_chunk_with_continuation (parse_config.c:69) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac229a is 0 bytes after a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid read of size 1 ==5191== at 0x4812309: index (mc_replace_strmem.c:141) ==5191== by 0x49B51FA: bb_get_chunk_with_continuation (parse_config.c:70) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2249 is 9 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid read of size 1 ==5191== at 0x4812321: index (mc_replace_strmem.c:141) ==5191== by 0x49B51FA: bb_get_chunk_with_continuation (parse_config.c:70) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac224a is 10 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid read of size 1 ==5191== at 0x49B54BD: config_read (parse_config.c:212) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2249 is 9 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid read of size 1 ==5191== at 0x49B54CA: config_read (parse_config.c:212) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2249 is 9 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid read of size 1 ==5191== at 0x49B55D4: config_read (parse_config.c:216) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2249 is 9 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid read of size 1 ==5191== at 0x49B55DD: config_read (parse_config.c:216) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2249 is 9 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid write of size 4 ==5191== at 0x49B54F6: config_read (parse_config.c:218) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2240 is 0 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid read of size 1 ==5191== at 0x49DEF8C: strcspn (strcspn.c:28) ==5191== by 0x49B552A: config_read (parse_config.c:223) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2249 is 9 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid read of size 1 ==5191== at 0x49DEF60: strcspn (strcspn.c:29) ==5191== by 0x49B552A: config_read (parse_config.c:223) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2249 is 9 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid read of size 1 ==5191== at 0x49B5587: config_read (parse_config.c:236) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac224d is 13 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid write of size 1 ==5191== at 0x49B5595: config_read (parse_config.c:237) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac224d is 13 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid read of size 4 ==5191== at 0x4A0B733: nprocessors_onln (sysconf.c:54) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2240 is 0 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid read of size 1 ==5191== at 0x4A0B735: nprocessors_onln (sysconf.c:54) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2249 is 9 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid write of size 1 ==5191== at 0x4813670: memset (mc_replace_strmem.c:586) ==5191== by 0x49B546A: config_read (parse_config.c:199) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2240 is 0 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid write of size 1 ==5191== at 0x4813673: memset (mc_replace_strmem.c:586) ==5191== by 0x49B546A: config_read (parse_config.c:199) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2241 is 1 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid write of size 1 ==5191== at 0x4813677: memset (mc_replace_strmem.c:586) ==5191== by 0x49B546A: config_read (parse_config.c:199) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2242 is 2 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid write of size 1 ==5191== at 0x481367B: memset (mc_replace_strmem.c:586) ==5191== by 0x49B546A: config_read (parse_config.c:199) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2243 is 3 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid write of size 1 ==5191== at 0x49DDCB0: fgets_unlocked (fgets.c:55) ==5191== by 0x49DC997: fgets (fgets.c:79) ==5191== by 0x49B519B: bb_get_chunk_with_continuation (parse_config.c:64) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2259 is 25 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid read of size 1 ==5191== at 0x49B520D: bb_get_chunk_with_continuation (parse_config.c:73) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2258 is 24 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid write of size 1 ==5191== at 0x49B5215: bb_get_chunk_with_continuation (parse_config.c:73) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2258 is 24 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid read of size 1 ==5191== at 0x49B521A: bb_get_chunk_with_continuation (parse_config.c:73) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2258 is 24 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid read of size 4 ==5191== at 0x4A0B73E: nprocessors_onln (sysconf.c:55) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2240 is 0 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid read of size 1 ==5191== at 0x4A0B741: nprocessors_onln (sysconf.c:55) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac224a is 10 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid write of size 1 ==5191== at 0x4813670: memset (mc_replace_strmem.c:586) ==5191== by 0x49B51BA: bb_get_chunk_with_continuation (parse_config.c:65) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2249 is 9 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid write of size 1 ==5191== at 0x4813673: memset (mc_replace_strmem.c:586) ==5191== by 0x49B51BA: bb_get_chunk_with_continuation (parse_config.c:65) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac224a is 10 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid write of size 1 ==5191== at 0x4813677: memset (mc_replace_strmem.c:586) ==5191== by 0x49B51BA: bb_get_chunk_with_continuation (parse_config.c:65) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac224b is 11 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid write of size 1 ==5191== at 0x481367B: memset (mc_replace_strmem.c:586) ==5191== by 0x49B51BA: bb_get_chunk_with_continuation (parse_config.c:65) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac224c is 12 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== ==5191== Invalid write of size 1 ==5191== at 0x4813682: memset (mc_replace_strmem.c:586) ==5191== by 0x49B51BA: bb_get_chunk_with_continuation (parse_config.c:65) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Address 0x4ac2251 is 17 bytes inside a block of size 90 free'd ==5191== at 0x4811860: realloc (vg_replace_malloc.c:476) ==5191== by 0x49B5265: bb_get_chunk_with_continuation (parse_config.c:79) ==5191== by 0x49B5478: config_read (parse_config.c:203) ==5191== by 0x4A0B79B: nprocessors_onln (sysconf.c:53) ==5191== by 0x4A0BCC7: sysconf (sysconf.c:749) ==5191== by 0x1FF245: ??? (in /usr/libexec/git-core/git) ==5191== Delta compression using up to 8 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (3/3), 291 bytes, done. Total 3 (delta 1), reused 0 (delta 0) ==5191== ==5191== HEAP SUMMARY: ==5191== in use at exit: 284,983 bytes in 46 blocks ==5191== total heap usage: 179 allocs, 133 frees, 1,484,325 bytes allocated ==5191== ==5191== LEAK SUMMARY: ==5191== definitely lost: 329 bytes in 3 blocks ==5191== indirectly lost: 8 bytes in 1 blocks ==5191== possibly lost: 939 bytes in 14 blocks ==5191== still reachable: 283,707 bytes in 28 blocks ==5191== suppressed: 0 bytes in 0 blocks ==5191== Rerun with --leak-check=full to see details of leaked memory ==5191== ==5191== For counts of detected and suppressed errors, rerun with: -v ==5191== ERROR SUMMARY: 1425 errors from 32 contexts (suppressed: 0 from 0) -- Natanael Copa _______________________________________________ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc