Package: automake;
Reported by: Guido Trentalancia <guido <at> trentalancia.com>
Date: Fri, 18 May 2012 18:42:01 UTC
Severity: normal
Tags: patch
Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11512 in the body.
You can then email your comments to 11512 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
bug-automake <at> gnu.org
:bug#11512
; Package automake
.
(Fri, 18 May 2012 18:42:02 GMT) Full text and rfc822 format available.Guido Trentalancia <guido <at> trentalancia.com>
:bug-automake <at> gnu.org
.
(Fri, 18 May 2012 18:42:02 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Guido Trentalancia <guido <at> trentalancia.com> To: bug-automake <at> gnu.org Subject: Testsuite summary for GNU Automake 1.12 Date: Fri, 18 May 2012 20:40:33 +0200
============================================================================ Testsuite summary for GNU Automake 1.12 ============================================================================ # TOTAL: 2968 # PASS: 2833 # SKIP: 89 # XFAIL: 42 # FAIL: 4 # XPASS: 0 # ERROR: 0 ============================================================================ See ./test-suite.log Please report to bug-automake <at> gnu.org ============================================================================ ./lib/test-driver: line 95: 8767 Segmentation fault "$@" > $log_file 2>&1 FAIL: t/pm/Condition-t.pl ./lib/test-driver: line 95: 8815 Segmentation fault "$@" > $log_file 2>&1 FAIL: t/pm/DisjConditions-t.pl FAIL: t/cond29.sh FAIL: t/cond29 ============== Running from installcheck: no Using TAP: no PATH = /usr/src/automake-1.12/t/ax:/usr/src/automake-1.12/t/wrap:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin ++ pwd /usr/src/automake-1.12/t/cond29.dir + echo AC_PROG_CC + cat + ulimit -v 1 + sh -c : ./t/cond29.sh: line 39: 613 Killed sh -c ":" + ulimit -v 150000 + sh -c : + ulimit -v 150000 + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test x = x ++ printf '%s\n' ' /^$/b # Nothing to do for empty lines. x # Get x<indent> into pattern space. /^$/{ # No prior x<indent>, go prepare it. g # Copy this 1st non-blank line into pattern space. s/^\([ ]*\).*/x\1/ # Prepare x<indent> in pattern space. } # Now: x<indent> in pattern and <line> in hold. G # Build x<indent>\n<line> in pattern space, and h # duplicate it into hold space. s/\n.*$// # Restore x<indent> in pattern space, and x # exchange with the above duplicate in hold space. s/^x\(.*\)\n\1// # Remove leading <indent> from <line>. s/^x.*\n// # Restore <line> when there is no leading <indent>. ' ++ sed -e 's/ *# .*//' + sed_unindent_prog=' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C01], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C02], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C03], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C04], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C05], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C06], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C07], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C08], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C09], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C10], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C11], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C12], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C13], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C14], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C15], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C16], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C17], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C18], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C19], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C20], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C21], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C22], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C23], [:])' + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 + unindent + test 'x /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' = x + sed ' /^$/b x /^$/{ g s/^\([ ]*\).*/x\1/ } G h s/\n.*$// x s/^x\(.*\)\n\1// s/^x.*\n//' + echo 'AM_CONDITIONAL([C24], [:])' + aclocal-1.12 -Werror + automake-1.12 --foreign -Werror -Wall Out of memory! ./t/cond29.sh: line 61: 686 Segmentation fault $AUTOMAKE + exit_status=139 + set +e + cd /usr/src/automake-1.12 + test no = yes + case $am_explicit_skips in + test 139 -eq 0 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x cond29: exit 139
bug-automake <at> gnu.org
:bug#11512
; Package automake
.
(Sun, 27 May 2012 18:03:02 GMT) Full text and rfc822 format available.Message #8 received at 11512 <at> debbugs.gnu.org (full text, mbox):
From: Stefano Lattarini <stefano.lattarini <at> gmail.com> To: Guido Trentalancia <guido <at> trentalancia.com> Cc: 11512 <at> debbugs.gnu.org Subject: Re: bug#11512: Testsuite summary for GNU Automake 1.12 Date: Sun, 27 May 2012 20:01:07 +0200
tags 11512 moreinfo severity 11512 minor thanks Hi Guido, thanks for the report, and sorry for the delay. On 05/18/2012 08:40 PM, Guido Trentalancia wrote: > ============================================================================ > Testsuite summary for GNU Automake 1.12 > ============================================================================ > # TOTAL: 2968 > # PASS: 2833 > # SKIP: 89 > # XFAIL: 42 > # FAIL: 4 > # XPASS: 0 > # ERROR: 0 > ============================================================================ > See ./test-suite.log > Please report to bug-automake <at> gnu.org > ============================================================================ > What system are you on exactly? A lots of useful debugging information about your system and the tools you are using should have been saved by the test harness in the 't/get-sysconf.log' file; could you please post its content here? > ./lib/test-driver: line 95: 8767 Segmentation fault "$@" > > $log_file 2>&1 > FAIL: t/pm/Condition-t.pl > > ./lib/test-driver: line 95: 8815 Segmentation fault "$@" > > $log_file 2>&1 > FAIL: t/pm/DisjConditions-t.pl > Huh? This sounds like you perl is segfaulting when executing these tests ... Strange. Does this happen reliably and consistently, or in a racy way? Does it happens also if you run run the test cases by hand? As with: $ perl -Mstrict -I lib -w t/pm/DisjConditions-t.pl > FAIL: t/cond29.sh > > FAIL: t/cond29 > ============== > > Running from installcheck: no > Using TAP: no > PATH > = /usr/src/automake-1.12/t/ax:/usr/src/automake-1.12/t/wrap:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin > ++ pwd > /usr/src/automake-1.12/t/cond29.dir > + echo AC_PROG_CC > + cat > + ulimit -v 1 > + sh -c : > ./t/cond29.sh: line 39: 613 Killed sh -c ":" > + ulimit -v 150000 > + sh -c : > + ulimit -v 150000 > > [SNIP] > > + echo 'AM_CONDITIONAL([C24], [:])' > + aclocal-1.12 -Werror > + automake-1.12 --foreign -Werror -Wall > Out of memory! > ./t/cond29.sh: line 61: 686 Segmentation fault $AUTOMAKE > + exit_status=139 > What happens if you raise the ulimit above to (say) 500000? What if you bing it down to (say) 50000? Or 10000? > + set +e > + cd /usr/src/automake-1.12 > + test no = yes > + case $am_explicit_skips in > + test 139 -eq 0 > + keep_testdirs=yes > + am_keeping_testdirs > + case $keep_testdirs in > + return 0 > + set +x > cond29: exit 139 > Regards, Stefano
bug-automake <at> gnu.org
:bug#11512
; Package automake
.
(Mon, 28 May 2012 22:37:01 GMT) Full text and rfc822 format available.Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):
From: "Guido Trentalancia" <guido <at> trentalancia.com> To: stefano.lattarini <at> gmail.com Cc: bug-automake <at> gnu.org, 11512 <at> debbugs.gnu.org Subject: Re: bug#11512: Testsuite summary for GNU Automake 1.12 Date: Tue, 29 May 2012 00:35:10 +0200
>----- Original Message ----- >From: stefano.lattarini <at> gmail.com >To: guido <at> trentalancia.com Cc: 11512 <at> debbugs.gnu.org >Data: Sun, 27 May 2012 20:01:07 +0200 >Subject: Re: bug#11512: Testsuite summary for GNU Automake 1.12 >tags 11512 moreinfo >severity 11512 minor >thanks > >Hi Guido, thanks for the report, and sorry for the delay. > >On 05/18/2012 08:40 PM, Guido Trentalancia wrote: >> ============================================================================ >> Testsuite summary for GNU Automake 1.12 >> ============================================================================ >> # TOTAL: 2968 >> # PASS: 2833 >> # SKIP: 89 >> # XFAIL: 42 >> # FAIL: 4 >> # XPASS: 0 >> # ERROR: 0 >> ============================================================================ >> See ./test-suite.log >> Please report to bug-automake <at> gnu.org >> ============================================================================ >> >What system are you on exactly? A lots of useful debugging information >about your system and the tools you are using should have been saved by >the test harness in the 't/get-sysconf.log' file; could you please post >its content here? > >> ./lib/test-driver: line 95: 8767 Segmentation fault "$@" > >> $log_file 2>&1 >> FAIL: t/pm/Condition-t.pl >> >> ./lib/test-driver: line 95: 8815 Segmentation fault "$@" > >> $log_file 2>&1 >> FAIL: t/pm/DisjConditions-t.pl >> >Huh? This sounds like you perl is segfaulting when executing these tests ... >Strange. Does this happen reliably and consistently, or in a racy way? >Does it happens also if you run run the test cases by hand? As with: > > $ perl -Mstrict -I lib -w t/pm/DisjConditions-t.pl The above mentioned perl test failures were due to a broken perl installation. After re-installing perl, they complete successfully, so please ignore the above. The only test which fails is t/cond29.sh. >> FAIL: t/cond29.sh >> >> FAIL: t/cond29 >> ============== It keeps failing unless the ulimit on virtual memory is increased to 500000 as you suggested... >> Running from installcheck: no >> Using TAP: no >> PATH >> = /usr/src/automake-1.12/t/ax:/usr/src/automake-1.12/t/wrap:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin >> ++ pwd >> /usr/src/automake-1.12/t/cond29.dir >> + echo AC_PROG_CC >> + cat >> + ulimit -v 1 >> + sh -c : >> ./t/cond29.sh: line 39: 613 Killed sh -c ":" >> + ulimit -v 150000 >> + sh -c : >> + ulimit -v 150000 >> >> [SNIP] >> >> + echo 'AM_CONDITIONAL([C24], [:])' >> + aclocal-1.12 -Werror >> + automake-1.12 --foreign -Werror -Wall >> Out of memory! >> ./t/cond29.sh: line 61: 686 Segmentation fault $AUTOMAKE >> + exit_status=139 >> >What happens if you raise the ulimit above to (say) 500000? The t/cond29.sh test completes successfully with ulimit -v 500000. >What if you bring it down to (say) 50000? Or 10000? With 50000 it also fails (it's less than the actual 150000 value). With 300000 and 200000 it still completes successfully... So, the ulimit -v value needs to be increased from 150000 to at least 200000. However, it's quite ugly to hard-code memory limits in the test code. The default on my bash version 4.2 patchlevel 28 is unlimited virtual memory, can you not avoid limiting it, for example as follows: --- automake-1.12/t/cond29.sh 2012-04-21 16:38:05.000000000 +0200 +++ automake-1.12-work/t/cond29.sh 2012-05-29 00:24:10.248959036 +0200 @@ -36,9 +36,6 @@ EOF # that 70 MB is enough for x86_64 Fedora 16, that gives tools and # libraries plenty of room to grow. Suggested by Jim Meyering in # automake bug#10374. -(ulimit -v 1; sh -c ":") && skip_ "no adequate 'ulimit' builtin found" -(ulimit -v 150000; sh -c ":") || skip_ "no adequate 'ulimit' builtin found" -ulimit -v 150000 for i in 01 02 03 04 05 06 07 08 09 10 >> + set +e >> + cd /usr/src/automake-1.12 >> + test no = yes >> + case $am_explicit_skips in >> + test 139 -eq 0 >> + keep_testdirs=yes >> + am_keeping_testdirs >> + case $keep_testdirs in >> + return 0 >> + set +x >> cond29: exit 139 >> > >Regards, > Stefano Regards, Guido
bug-automake <at> gnu.org
:bug#11512
; Package automake
.
(Mon, 28 May 2012 22:37:02 GMT) Full text and rfc822 format available.bug-automake <at> gnu.org
:bug#11512
; Package automake
.
(Tue, 29 May 2012 08:04:01 GMT) Full text and rfc822 format available.Message #17 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Stefano Lattarini <stefano.lattarini <at> gmail.com> To: Guido Trentalancia <guido <at> trentalancia.com> Cc: bug-automake <at> gnu.org, 11512 <at> debbugs.gnu.org Subject: Re: bug#11512: Testsuite summary for GNU Automake 1.12 Date: Tue, 29 May 2012 10:01:07 +0200
On 05/29/2012 12:35 AM, Guido Trentalancia wrote: > > [SNIP] > > The above mentioned perl test failures were due to a broken perl > installation. After re-installing perl, they complete successfully, > so please ignore the above. > OK. > The only test which fails is t/cond29.sh. > >>> FAIL: t/cond29.sh >>> >>> FAIL: t/cond29 >>> ============== > > It keeps failing unless the ulimit on virtual memory is increased to 500000 as you suggested... > >>> Running from installcheck: no >>> Using TAP: no >>> PATH >>> = /usr/src/automake-1.12/t/ax:/usr/src/automake-1.12/t/wrap:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin >>> ++ pwd >>> /usr/src/automake-1.12/t/cond29.dir >>> + echo AC_PROG_CC >>> + cat >>> + ulimit -v 1 >>> + sh -c : >>> ./t/cond29.sh: line 39: 613 Killed sh -c ":" >>> + ulimit -v 150000 >>> + sh -c : >>> + ulimit -v 150000 >>> >>> [SNIP] >>> >>> + echo 'AM_CONDITIONAL([C24], [:])' >>> + aclocal-1.12 -Werror >>> + automake-1.12 --foreign -Werror -Wall >>> Out of memory! >>> ./t/cond29.sh: line 61: 686 Segmentation fault $AUTOMAKE >>> + exit_status=139 >>> >> What happens if you raise the ulimit above to (say) 500000? > > The t/cond29.sh test completes successfully with ulimit -v 500000. > > With 300000 and 200000 it still completes successfully... > OK, so this is just a testsuite weakness, and not a "real" bug. Good. > So, the ulimit -v value needs to be increased from 150000 to at > least 200000. > > However, it's quite ugly to hard-code memory limits in the test code. > Quite true. Maybe the best fix is to remove the 'ulimit' usages, and make this tests (and the few other ones oriented at checking Automake performances) only run if the user/developer explicitly ask for them, say by exporting AM_RUN_PERF_TESTS to "yes". > The default on my bash version 4.2 patchlevel 28 is unlimited virtual > memory, can you not avoid limiting it, for example as follows: > > --- automake-1.12/t/cond29.sh 2012-04-21 16:38:05.000000000 +0200 > +++ automake-1.12-work/t/cond29.sh 2012-05-29 00:24:10.248959036 +0200 > @@ -36,9 +36,6 @@ EOF > # that 70 MB is enough for x86_64 Fedora 16, that gives tools and > # libraries plenty of room to grow. Suggested by Jim Meyering in > # automake bug#10374. > -(ulimit -v 1; sh -c ":") && skip_ "no adequate 'ulimit' builtin found" > -(ulimit -v 150000; sh -c ":") || skip_ "no adequate 'ulimit' builtin found" > -ulimit -v 150000 > The problem is that if we do so, then, in the unlikely possibility that the bug this test case is checking against represents itself, the test will end up crashing the tester's machine. Not nice. Thanks, Stefano
bug-automake <at> gnu.org
:bug#11512
; Package automake
.
(Tue, 29 May 2012 08:04:02 GMT) Full text and rfc822 format available.bug-automake <at> gnu.org
:bug#11512
; Package automake
.
(Tue, 29 May 2012 10:10:02 GMT) Full text and rfc822 format available.Message #23 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Stefano Lattarini <stefano.lattarini <at> gmail.com> To: Guido Trentalancia <guido <at> trentalancia.com> Cc: bug-automake <at> gnu.org, 11512 <at> debbugs.gnu.org, "automake-patches <at> gnu.org" <automake-patches <at> gnu.org> Subject: Re: bug#11512: Testsuite summary for GNU Automake 1.12 Date: Tue, 29 May 2012 12:07:10 +0200
[Message part 1 (text/plain, inline)]
tags 11512 + patch tags 11512 - moreinfo thanks On 05/29/2012 10:01 AM, Stefano Lattarini wrote: > > Maybe the best fix is to remove the 'ulimit' usages, and > make this tests (and the few other ones oriented at checking Automake > performances) only run if the user/developer explicitly ask for them, > say by exporting AM_RUN_PERF_TESTS to "yes". > Done in the attached patch. I will push shortly if there are no objections. Regards, Stefano
[0001-perf-beginning-of-a-performance-testsuite.patch (text/x-diff, attachment)]
bug-automake <at> gnu.org
:bug#11512
; Package automake
.
(Tue, 29 May 2012 10:10:02 GMT) Full text and rfc822 format available.Stefano Lattarini <stefano.lattarini <at> gmail.com>
to control <at> debbugs.gnu.org
.
(Tue, 29 May 2012 10:10:02 GMT) Full text and rfc822 format available.bug-automake <at> gnu.org
:bug#11512
; Package automake
.
(Tue, 29 May 2012 15:24:02 GMT) Full text and rfc822 format available.Message #31 received at submit <at> debbugs.gnu.org (full text, mbox):
From: "Guido Trentalancia" <guido <at> trentalancia.com> To: stefano.lattarini <at> gmail.com Cc: bug-automake <at> gnu.org, 11512 <at> debbugs.gnu.org, automake-patches <at> gnu.org Subject: Re: bug#11512: Testsuite summary for GNU Automake 1.12 Date: Tue, 29 May 2012 17:21:54 +0200
>----- Original Message ----- >From: stefano.lattarini <at> gmail.com >To: guido <at> trentalancia.com Cc: 11512 <at> debbugs.gnu.org,bug-automake <at> gnu.org,automake-patches <at> gnu.org >Data: Tue, 29 May 2012 12:07:10 +0200 >Subject: Re: bug#11512: Testsuite summary for GNU Automake 1.12 >tags 11512 + patch >tags 11512 - moreinfo >thanks > >On 05/29/2012 10:01 AM, Stefano Lattarini wrote: >> >> Maybe the best fix is to remove the 'ulimit' usages, and >> make this tests (and the few other ones oriented at checking Automake >> performances) only run if the user/developer explicitly ask for them, >> say by exporting AM_RUN_PERF_TESTS to "yes". >> >Done in the attached patch. I will push shortly if there are no >objections. The attached 0001-perf-beginning-of-a-performance-testsuite.patch patch looks conceptually fine to me. >Regards, > Stefano Thanks. Guido
bug-automake <at> gnu.org
:bug#11512
; Package automake
.
(Tue, 29 May 2012 15:24:02 GMT) Full text and rfc822 format available.bug-automake <at> gnu.org
:bug#11512
; Package automake
.
(Tue, 29 May 2012 15:37:01 GMT) Full text and rfc822 format available.Message #37 received at submit <at> debbugs.gnu.org (full text, mbox):
From: "Guido Trentalancia" <guido <at> trentalancia.com> To: stefano.lattarini <at> gmail.com Cc: bug-automake <at> gnu.org, 11512 <at> debbugs.gnu.org, automake-patches <at> gnu.org Subject: Re: bug#11512: Testsuite summary for GNU Automake 1.12 Date: Tue, 29 May 2012 17:34:29 +0200
>----- Original Message ----- >From: stefano.lattarini <at> gmail.com >To: guido <at> trentalancia.com Cc: 11512 <at> debbugs.gnu.org,bug-automake <at> gnu.org,automake-patches <at> gnu.org >Data: Tue, 29 May 2012 12:07:10 +0200 >Subject: Re: bug#11512: Testsuite summary for GNU Automake 1.12 >tags 11512 + patch >tags 11512 - moreinfo >thanks > >On 05/29/2012 10:01 AM, Stefano Lattarini wrote: >> >> Maybe the best fix is to remove the 'ulimit' usages, and >> make this tests (and the few other ones oriented at checking Automake >> performances) only run if the user/developer explicitly ask for them, >> say by exporting AM_RUN_PERF_TESTS to "yes". >> >Done in the attached patch. I will push shortly if there are no >objections. The attached 0001-perf-beginning-of-a-performance-testsuite.patch patch looks conceptually fine to me. >Regards, > Stefano Thanks. Guido
bug-automake <at> gnu.org
:bug#11512
; Package automake
.
(Tue, 29 May 2012 15:37:01 GMT) Full text and rfc822 format available.bug-automake <at> gnu.org
:bug#11512
; Package automake
.
(Fri, 01 Jun 2012 09:06:01 GMT) Full text and rfc822 format available.Message #43 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Stefano Lattarini <stefano.lattarini <at> gmail.com> To: Guido Trentalancia <guido <at> trentalancia.com> Cc: bug-automake <at> gnu.org, automake-patches <at> gnu.org, 11512-done <at> debbugs.gnu.org Subject: Re: bug#11512: Testsuite summary for GNU Automake 1.12 Date: Fri, 01 Jun 2012 11:03:30 +0200
On 05/29/2012 05:34 PM, Guido Trentalancia wrote: > > The attached 0001-perf-beginning-of-a-performance-testsuite.patch patch looks conceptually fine to me. > I've pushed the patch, and I'm thus closing this bug report. Thanks, Stefano
Stefano Lattarini <stefano.lattarini <at> gmail.com>
:Guido Trentalancia <guido <at> trentalancia.com>
:Debbugs Internal Request <help-debbugs <at> gnu.org>
to internal_control <at> debbugs.gnu.org
.
(Fri, 29 Jun 2012 11:24:02 GMT) Full text and rfc822 format available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.