From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12259 invoked by alias); 29 Apr 2008 16:43:04 -0000 Received: (qmail 12233 invoked by uid 71); 29 Apr 2008 16:43:02 -0000 Resent-Date: 29 Apr 2008 16:43:02 -0000 Resent-Message-ID: <20080429164302.12232.qmail@sourceware.org> Resent-From: insight-gnats@sources.redhat.com (GNATS Filer) Resent-To: nobody@sources.redhat.com Resent-Cc: insight-prs@sources.redhat.com Resent-Reply-To: insight-gnats@sources.redhat.com, asmprog32@hotmail.com Received: (qmail 11755 invoked by uid 48); 29 Apr 2008 16:41:28 -0000 Message-Id: <20080429164128.11754.qmail@sourceware.org> Date: Tue, 29 Apr 2008 16:43:00 -0000 From: asmprog32@hotmail.com Reply-To: asmprog32@hotmail.com To: insight-gnats@sources.redhat.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: insight/330: Debug Aborted 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: 2008-q2/txt/msg00000.txt.bz2 >Number: 330 >Category: insight >Synopsis: Debug Aborted >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Apr 29 16:43:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: asmprog32@hotmail.com >Release: 6.7.1 >Organization: >Environment: >Description: Every time a variable is suppressed by the compiler but defined into the context insight abort the debugging with this message varobj.c:1423:internal error: Assertion value_lazy(val1) failed ............ Quit this debug session ? Yes No answering yes (ask if create a core file) and Abort answering no the message continue to appear until you answer "yes" to Quit the debug session >How-To-Repeat: Compile this #include int main(int argc, char * argv[]) { return 0; } with g++ -o bug bug.cpp -g or g++ -o bug bug.cpp -O0 -g open insight run and try to display argc the message varobj.c appear. Because argc is not used g++ suppress it from gdb console print argc Error: Cannot access memory at address 0x0 the problem disappear if i use argc or argv into main because g++ don' t suppress them >Fix: None >Release-Note: >Audit-Trail: >Unformatted: