This is the mail archive of the insight-prs@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

insight/316: insight variable balloon


>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]