From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11300 invoked by alias); 10 Oct 2008 08:23:45 -0000 Received: (qmail 11288 invoked by uid 22791); 10 Oct 2008 08:23:44 -0000 X-Spam-Check-By: sourceware.org Received: from s200aog17.obsmtp.com (HELO s200aog17.obsmtp.com) (207.126.144.131) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 10 Oct 2008 08:22:58 +0000 Received: from source ([164.129.1.35]) (using TLSv1) by eu1sys200aob017.postini.com ([207.126.147.11]) with SMTP; Fri, 10 Oct 2008 08:22:52 UTC Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 2D9AEDA8C; Fri, 10 Oct 2008 08:22:52 +0000 (GMT) Received: from mail1.cro.st.com (mail1.cro.st.com [164.129.40.131]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id E951F4BED5; Fri, 10 Oct 2008 08:22:51 +0000 (GMT) Received: from crx595.cro.st.com (crx595.cro.st.com [164.129.44.95]) by mail1.cro.st.com (MOS 3.8.7a) with ESMTP id CQA65512 (AUTH "denis pilat"); Fri, 10 Oct 2008 10:23:50 +0200 (CEST) Message-ID: <48EF10DA.9000701@st.com> Date: Fri, 10 Oct 2008 08:23:00 -0000 From: Denis PILAT User-Agent: Thunderbird 2.0.0.17 (X11/20080914) MIME-Version: 1.0 To: teawater , gdb-patches Subject: Re: random results with the gdb testsuite References: <48EDCCAD.3060502@st.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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: 2008-10/txt/msg00310.txt.bz2 Here is part of the log file. At a specific time (p/f *(long long *)) it seems like the debugger hangs up, then all further test are UNRESOLVED. If I run this test and don't touch my keyboard, don't switch the current window, then it's 100% successful. If I'm using the console window intensively after having run this test, switching window, using keyboard, then I get the following log where apparently my debugger crash, or just close. I can't find a way to debug that problem. Of course all test passed well if executed by hand ! I'm using gdb 6.8 testsuite, hosted on linux with an internal ST debugger based as well on gdb6.8. $63 = 100100011010001010110011110001001101010111100110111101111 (gdb) PASS: gdb.base/long_long.exp: p/t *(long long *)ll p/a *(long long *)ll $64 = 0x89abcdef (gdb) PASS: gdb.base/long_long.exp: p/a *(long long *)ll p/f *(long long *)ll $65 = 3.5127005640885037e-303 (gdb) PASS: gdb.base/long_long.exp: p/f *(long long *)ll p/c *(long long *)ll $66 = -17 'ERROR: Process no longer exists UNRESOLVED: gdb.base/long_long.exp: p/c *(long long *)ll ERROR: Couldn't send x/w w to GDB. UNRESOLVED: gdb.base/long_long.exp: set examine size to w ERROR: Couldn't send x/x w to GDB. ... -- Denis teawater wrote: > I test them in GDB-cvs version a lot of times but not got any fail. > Which testsuite and wich GDB did use? > And maybe you can post your "gdb.log" if you don't mind. > > BTW Maybe you need post this mail to gdb@sourceware.org. > > On Thu, Oct 9, 2008 at 17:19, Denis PILAT wrote: > >> Hi all >> >> I am having random results using the gdb testsuite (with dejagnu 1.4.4), >> especially for some test like gdb.base/display.exp , >> gdb.base/long_long.exp and gdb.cp/ctti.exp. >> Sometime they are successful, sometime 50% fails. >> >> Has anybody already experimented such random behavior ? >> Thanks for your answer. >> Denis >> >> >> > >