public inbox for insight-prs@sourceware.org help / color / mirror / Atom feed
From: asmprog32@hotmail.com To: insight-gnats@sources.redhat.com Subject: insight/330: Debug Aborted Date: Tue, 29 Apr 2008 16:43:00 -0000 [thread overview] Message-ID: <20080429164128.11754.qmail@sourceware.org> (raw) >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 <iostream> 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:
reply other threads:[~2008-04-29 16:43 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20080429164128.11754.qmail@sourceware.org \ --to=asmprog32@hotmail.com \ --cc=insight-gnats@sources.redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).