From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2018 invoked by alias); 1 Aug 2011 22:32:26 -0000 Received: (qmail 2008 invoked by uid 22791); 1 Aug 2011 22:32:25 -0000 X-SWARE-Spam-Status: No, hits=-6.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS 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; Mon, 01 Aug 2011 22:32:05 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p71MW5eo017979 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 1 Aug 2011 18:32:05 -0400 Received: from valrhona.uglyboxes.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p71MW2PI018761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 1 Aug 2011 18:32:04 -0400 Message-ID: <4E372962.1020303@redhat.com> Date: Mon, 01 Aug 2011 22:32:00 -0000 From: Keith Seitz User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc15 Lightning/1.0b3pre Thunderbird/3.1.11 MIME-Version: 1.0 To: Gene Smith CC: insight@sources.redhat.com Subject: Re: Two small insight (gdb?) bugs References: <4E2C6863.6020405@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2011-q3/txt/msg00006.txt.bz2 On 07/24/2011 08:35 PM, Gene Smith wrote: > Keith Seitz wrote, On 07/24/2011 02:45 PM: >> On 07/12/2011 09:32 PM, Gene Smith wrote: >>> 1. In console I can set a breakpoint like this: >>> >>> b main >>> >>> But if I make a typo and enter an invalid symbol such as: >>> >>> b mai >>> >>> It hangs insight and I have to kill -9 it. Since I cannot reproduce this, is there any chance you can attach a debugger to this running instance and get me a backtrace? > Clicking on "Details>>" I see this: > invalid command name "var6" > invalid command name "var6" > while executing > "$var delete" > while deleting object "::.watchwin0.watchwin" in ::WatchWin::destructor > (body line 11) > invoked from within > "itcl::delete object ::.watchwin0.watchwin" > (command bound to event) The varobjs are destroyed by the callback, but when the window is closed and the dtor is called, it tried to delete the varobjs again because the callback did not clear the list. This should be fixed by my patch. > Also, it might be considered a bug in that the watchpoints are not > remembered between insight restarts or after a reload of flash, at least > for me. (At least BPs are remembered which is handy.) I don't know why they were omitted. Maybe it is a little trickier than breakpoints because of possible context restrictions. I might be able to work up a patch for this. Keith