Hi, I had given up on Make 3.82 due to this error, I tried again today because I desperately want the ONESHELL feature, and I still run into the same problem as before.
I cannot compile the CVS HEAD, but I ran with valgrind 3.7.0 and the partial results are pasted below. Note that valgrind exited with a segmentation fault and exit code 139. ==26495== Memcheck, a memory error detector ==26495== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==26495== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==26495== Command: make test_sanity SEED=1 -n ==26495== ==26495== Invalid write of size 4 ==26495== at 0x8052E71: pattern_search (implicit.c:683) ==26495== by 0x80538D2: pattern_search (implicit.c:750) ==26495== by 0x80538D2: pattern_search (implicit.c:750) ==26495== by 0x8053EF8: try_implicit_rule (implicit.c:47) ==26495== by 0x806117A: update_file (remake.c:493) ==26495== by 0x8061B53: update_goal_chain (remake.c:157) ==26495== by 0x805979B: main (main.c:2282) ==26495== Address 0x751d098 is 0 bytes after a block of size 32 alloc'd ==26495== at 0x4AD305E: malloc (vg_replace_malloc.c:263) ==26495== by 0x805A579: xmalloc (misc.c:374) ==26495== by 0x8052780: pattern_search (implicit.c:223) ==26495== by 0x80538D2: pattern_search (implicit.c:750) ==26495== by 0x80538D2: pattern_search (implicit.c:750) ==26495== by 0x8053EF8: try_implicit_rule (implicit.c:47) ==26495== by 0x806117A: update_file (remake.c:493) ==26495== by 0x8061B53: update_goal_chain (remake.c:157) ==26495== by 0x805979B: main (main.c:2282) ==26495== ==26495== Invalid read of size 1 ==26495== at 0x8052E83: pattern_search (implicit.c:684) ==26495== by 0x80538D2: pattern_search (implicit.c:750) ==26495== by 0x80538D2: pattern_search (implicit.c:750) ==26495== by 0x8053EF8: try_implicit_rule (implicit.c:47) ==26495== by 0x806117A: update_file (remake.c:493) ==26495== by 0x8061B53: update_goal_chain (remake.c:157) ==26495== by 0x805979B: main (main.c:2282) ==26495== Address 0x751d0a4 is 12 bytes after a block of size 32 alloc'd ==26495== at 0x4AD305E: malloc (vg_replace_malloc.c:263) ==26495== by 0x805A579: xmalloc (misc.c:374) ==26495== by 0x8052780: pattern_search (implicit.c:223) ==26495== by 0x80538D2: pattern_search (implicit.c:750) ==26495== by 0x80538D2: pattern_search (implicit.c:750) ==26495== by 0x8053EF8: try_implicit_rule (implicit.c:47) ==26495== by 0x806117A: update_file (remake.c:493) ==26495== by 0x8061B53: update_goal_chain (remake.c:157) ==26495== by 0x805979B: main (main.c:2282) ... ==26495== Process terminating with default action of signal 11 (SIGSEGV) ==26495== Access not within mapped region at address 0x0 ==26495== at 0x4AD3F78: strlen (mc_replace_strmem.c:390) ==26495== by 0x8062DD1: strcache_add (strcache.c:162) ==26495== by 0x805308A: pattern_search (implicit.c:878) ==26495== by 0x80538D2: pattern_search (implicit.c:750) ==26495== by 0x80538D2: pattern_search (implicit.c:750) ==26495== by 0x8053EF8: try_implicit_rule (implicit.c:47) ==26495== by 0x806117A: update_file (remake.c:493) ==26495== by 0x8061B53: update_goal_chain (remake.c:157) ==26495== by 0x805979B: main (main.c:2282) ... ==26495== LEAK SUMMARY: ==26495== definitely lost: 45 bytes in 4 blocks ==26495== indirectly lost: 0 bytes in 0 blocks ==26495== possibly lost: 3 bytes in 1 blocks ==26495== still reachable: 572,776 bytes in 3,696 blocks ==26495== suppressed: 0 bytes in 0 blocks ... It is a bit long so I am cutting it in a few places. If you want all of it let me know. Anyone can help? Martin _______________________________________________ Help-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-make
