From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14459 invoked by alias); 24 Jul 2011 18:46:28 -0000 Received: (qmail 14450 invoked by uid 22791); 24 Jul 2011 18:46:27 -0000 X-SWARE-Spam-Status: No, hits=-6.6 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; Sun, 24 Jul 2011 18:45:58 +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 p6OIjwV5004681 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 24 Jul 2011 14:45:58 -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 p6OIjtBZ029194 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 24 Jul 2011 14:45:57 -0400 Message-ID: <4E2C6863.6020405@redhat.com> Date: Sun, 24 Jul 2011 18:46: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: 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/msg00002.txt.bz2 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. I am using CVS HEAD, and I cannot reproduce this problem. It brings up a dialog asking, "Make pending breakpoint based on future shared library load?" What happens if you use insight in non-windowing mode ("-nw" flag) and make the typo? Does it still lock-up? > 2. If I have a watch point window active with watches present and I > reload or reset my program, I get an error dialog when trying to > re-establish the watchpoints since they are lost after a reset or reload > (watch window comes up blank). The only way to re-define the watches is > to restart insight but at least it is not locked up like in 1. above. > Workaround: Try to remember to close watch window before reloading or > resetting. I don't know if your procedure is the same as mine, but I am experiencing crash when re-running after the executable is recompiled, e.g., "insight foo", run, set watches, touch some sourcefile and recompile foo, "run" in the console. This is happening because the varobjs are left in an unknown state, with stale pointers to memory. I will work on a fix for this, but this doesn't sound like your problem... What does the error dialog say? Keith