From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19312 invoked by alias); 14 May 2007 16:53:02 -0000 Received: (qmail 19284 invoked by uid 71); 14 May 2007 16:53:01 -0000 Date: Mon, 14 May 2007 16:53:00 -0000 Message-ID: <20070514165301.19283.qmail@sourceware.org> To: kseitz@sources.redhat.com Cc: insight-prs@sources.redhat.com, From: "Andrew Raybould" Subject: Re: insight/303: insight always quit itself when I debug Reply-To: "Andrew Raybould" Mailing-List: contact insight-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-prs-owner@sourceware.org X-SW-Source: 2007-q2/txt/msg00007.txt.bz2 The following reply was made to PR insight/303; it has been noted by GNATS. From: "Andrew Raybould" To: Cc: Subject: Re: insight/303: insight always quit itself when I debug Date: Mon, 14 May 2007 12:47:35 -0400 I get this with Insight 6.6, but have no corresponding problem when I use gdb, even the one that has been built in the insight bin directory. Here's a test program (compiled with the command line g++ -g itest.C -o itest): int main () { char *p =3D (char*)0; return 0; } To trigger the problem, break on the return statement, and then either: a. Select the expression '*p' in the second line. b. Float the pointer over the highlighted expression. So long as it is over the '*', it shows 'p=3D(char*)0', but as soon as it touches the 'p', the assertion fires. Or try to set *p as a watch expression. In gdb, the equivalent actions, 'p *p' and 'watch *p', simply elicit 'Cannot access memory at address 0x0'. The system: uname -a Linux XXX 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux CONFIDENTIALITY AND SECURITY NOTICE This e-mail contains information that may be confidential and = proprietary. It is to be read and used solely by the intended = recipient(s). Thales, Temujin and their affiliates retain all = proprietary rights they may have in the information. If you are not an = intended recipient, please notify us immediately either by reply e-mail = or by telephone at 212-509-3111 and delete this e-mail (including any = attachments hereto) immediately without reading, disseminating, = distributing or copying. We cannot give any assurances that this e-mail = and any attachments are free of viruses and other harmful code. Thales = and Temujin reserve the right to monitor, intercept and block all = communications involving its computer systems.