From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32538 invoked by alias); 30 May 2012 14:49:19 -0000 Received: (qmail 32524 invoked by uid 22791); 30 May 2012 14:49:18 -0000 X-SWARE-Spam-Status: No, hits=-7.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 30 May 2012 14:49:00 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q4UEmdhT027936 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 30 May 2012 10:48:40 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q4UEmbXK020448; Wed, 30 May 2012 10:48:38 -0400 Message-ID: <4FC63345.5080108@redhat.com> Date: Wed, 30 May 2012 14:49:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: "Metzger, Markus T" CC: "kettenis@gnu.org" , "gdb-patches@sourceware.org" , "markus.t.metzger@gmail.com" Subject: Re: [PATCH 00/16] branch tracing support (resend) References: <1337772151-20265-1-git-send-email-markus.t.metzger@intel.com> <4FBFDAE8.6080707@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-05/txt/msg01042.txt.bz2 On 05/29/2012 03:30 PM, Metzger, Markus T wrote: > I cannot reproduce this. I tried on several different systems including > 3.3.7-1.fc16.x86_64. > Have you seen this on other systems, as well? I tried again with the same kernel, and the crash was still there. I've updated my kernel to that version, and the crashes disappeared. I reverted to the previous kernel, and the crashes disappeared too... The update also brought along other system components, but it might be that there was just something broken in my gdb build. I don't have that particular binary any more. > Is there some configuration file or so that would allow me to build gdb > exactly the same way you do? just the usual: configure CFLAGS="-g3 -O0" && make > I can reproduce this. I changed the configuration without running autoconf. ... > After > configuring, the gdb/testsuite/gdb.btrace directory is missing. I'll add a > patch > with the autoconf changes to the series. Ah, I ran autoconf. The tests now run, but I get intermittent failures. Tested in a loop with: $ (set -e; while true; do make check RUNTESTFLAGS="--directory=gdb.btrace"; done) I got one time: Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using ../../../src/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file. Running ../../../src/gdb/testsuite/gdb.btrace/allthreads_trace.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/decrement.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/disable_all.exp ... NOTE: This is 64 bit host. NOTE: 64 bit platform Running ../../../src/gdb/testsuite/gdb.btrace/enable.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/enable_all.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/enable_range.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/list.exp ... FAIL: gdb.btrace/list.exp: btrace list 1.3 FAIL: gdb.btrace/list.exp: btrace list 1.4 FAIL: gdb.btrace/list.exp: btrace list 1.5 FAIL: gdb.btrace/list.exp: btrace list 1.6 FAIL: gdb.btrace/list.exp: btrace list 1.8 FAIL: gdb.btrace/list.exp: btrace list 1.9 FAIL: gdb.btrace/list.exp: btrace list 1.10 FAIL: gdb.btrace/list.exp: btrace list 1.11 FAIL: gdb.btrace/list.exp: btrace list 1.12 Running ../../../src/gdb/testsuite/gdb.btrace/list_function.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/list_options.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/main_asm.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/main_segv.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/sanity_crash.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/threads_auto.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/threads_independent.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/threads_nonstop.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/trace_iteration.exp ... === gdb Summary === # of expected passes 240 # of unexpected failures 9 On another run I got: Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using ../../../src/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file. Running ../../../src/gdb/testsuite/gdb.btrace/allthreads_trace.exp ... FAIL: gdb.btrace/allthreads_trace.exp: BTR listing for thread 4, 1.12 Running ../../../src/gdb/testsuite/gdb.btrace/decrement.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/disable_all.exp ... NOTE: This is 64 bit host. NOTE: 64 bit platform Running ../../../src/gdb/testsuite/gdb.btrace/enable.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/enable_all.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/enable_range.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/list.exp ... FAIL: gdb.btrace/list.exp: btrace list 3.2 FAIL: gdb.btrace/list.exp: btrace list 3.3 Running ../../../src/gdb/testsuite/gdb.btrace/list_function.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/list_options.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/main_asm.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/main_segv.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/sanity_crash.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/threads_auto.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/threads_independent.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/threads_nonstop.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/trace_iteration.exp ... === gdb Summary === # of expected passes 246 # of unexpected failures 3 /home/pedro/gdb/mygit/build/gdb/testsuite/../../gdb/gdb version 7.4.50.20120524-cvs -nw -nx -data-directory /home/pedro/gdb/mygit/build/gdb/testsuite/../data-directory Yet another I got: Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using ../../../src/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file. Running ../../../src/gdb/testsuite/gdb.btrace/allthreads_trace.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/decrement.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/disable_all.exp ... NOTE: This is 64 bit host. NOTE: 64 bit platform Running ../../../src/gdb/testsuite/gdb.btrace/enable.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/enable_all.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/enable_range.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/list.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/list_function.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/list_options.exp ... FAIL: gdb.btrace/list_options.exp: Listing at return, 1.6 FAIL: gdb.btrace/list_options.exp: Listing at return, 1.7 FAIL: gdb.btrace/list_options.exp: btrace for 1 to 3, 1.8 FAIL: gdb.btrace/list_options.exp: btrace with /r options at 3, 1.9 Running ../../../src/gdb/testsuite/gdb.btrace/main_asm.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/main_segv.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/sanity_crash.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/threads_auto.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/threads_independent.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/threads_nonstop.exp ... Running ../../../src/gdb/testsuite/gdb.btrace/trace_iteration.exp ... === gdb Summary === # of expected passes 245 # of unexpected failures 4 (Those "NOTE"'s looks quite unnecessary, btw.) -- Pedro Alves