From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17132 invoked by alias); 4 Jun 2007 17:33:01 -0000 Received: (qmail 17111 invoked by uid 71); 4 Jun 2007 17:33:01 -0000 Resent-Date: 4 Jun 2007 17:33:01 -0000 Resent-Message-ID: <20070604173301.17110.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, ramsey.haddad@yahoo.com Received: (qmail 16648 invoked by uid 48); 4 Jun 2007 17:32:19 -0000 Message-Id: <20070604173219.16647.qmail@sourceware.org> Date: Mon, 04 Jun 2007 17:33:00 -0000 From: ramsey.haddad@yahoo.com Reply-To: ramsey.haddad@yahoo.com To: insight-gnats@sources.redhat.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: insight/316: insight variable balloon 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/msg00009.txt.bz2 >Number: 316 >Category: insight >Synopsis: insight variable balloon >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Mon Jun 04 17:33:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: ramsey.haddad@yahoo.com >Release: insight-6.6 >Organization: >Environment: FC6 Linux 2.6.20-1.2952.fc6 i686 i386 GNU/Linux >Description: I'v posted the insight/315 bug concerning cygwin and the quit. I tried the same file (mydbg.c) on FC6 and found out that the variable balloons option is causing insight to crash. I have insight compiled and installed in /opt/dummy/usr/bin and I put that at the forefront of the PATH variable >How-To-Repeat: gcc -g -o mydbg mydbg.c export PATH=/opt/dummy/usr/bin:$PATH insight ./mydbg Ctrl-N (for the gdb console) b 13 r hello world *move the mouse on any variables (like argc or anything) and it would immediatly seg fault. The cause of this problem seems to be the Variable Balloons option. Preferences -> Sources ... Variable Balloons "Off" But other problems still exist and it's trying to blame gdb for them. like when you try to add argc to the watchlist. it will give this error GDB: varobj.c:1471: internal-error: my_value_equal: Assertion `!value_lazy (val1)' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? Yes No pressing No is useless, the same window just keeps popping up right back at you. >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/x-csrc; name="mydbg.c" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="mydbg.c" I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgZnVuYyhpbnQgYXJnYywgY2hhciAqYXJndltdKQp7Cglp bnQgaTsKCWZvciAoaSA9IDA7IGkgPCBhcmdjOyBpKyspCgkJcHJpbnRmKCIlc1xuIixhcmd2W2ld KTsKCXJldHVybiBhcmdjOwoKfQoKaW50IG1haW4oaW50IGFyZ2MsIGNoYXIgKmFyZ3ZbXSkKewoJ aW50IGk7Cglmb3IgKGkgPSAwOyBpIDwgYXJnYzsgaSsrKQoJCXByaW50ZigiJXNcbiIsYXJndltp XSk7CgoJZnVuYyhhcmdjLCBhcmd2KTsKCXJldHVybiAwOwoKfQoK