From peter.dhoye@advalvas.be Tue Apr 3 23:23:00 2007 From: peter.dhoye@advalvas.be (peter.dhoye@advalvas.be) Date: Tue, 03 Apr 2007 23:23:00 -0000 Subject: insight/311: Insight build error under cygwin, gcc 3.4.4 Message-ID: <20070403232059.28948.qmail@sourceware.org> >Number: 311 >Category: insight >Synopsis: Insight build error under cygwin, gcc 3.4.4 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Apr 04 00:23:01 BST 2007 >Closed-Date: >Last-Modified: >Originator: peter.dhoye@advalvas.be >Release: unknown-1.0 >Organization: >Environment: cygwin gcc 3.4.4 >Description: installing Insight under cygwin (gcc 3.4.4) fails, last lines are: ../../bfd/elflink.c: In function `compute_bucket_count': ../../bfd/elflink.c:5080: warning: unused variable `dynsymcount' ../../bfd/elflink.c:5083: warning: unused variable `amt' ../../bfd/elflink.c: At top level: ../../bfd/elflink.c:5077: warning: unused parameter 'hashcodes' make[4]: *** [elflink.lo] Error 1 make[4]: Leaving directory `/home/Peter/insight/build/bfd' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/Peter/insight/build/bfd' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/Peter/insight/build/bfd' make[1]: *** [all-bfd] Error 2 make[1]: Leaving directory `/home/Peter/insight/build' make: *** [all] Error 2 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From peter.dhoye@telenet.be Wed Apr 4 19:23:00 2007 From: peter.dhoye@telenet.be (Peter D'Hoye) Date: Wed, 04 Apr 2007 19:23:00 -0000 Subject: insight/311: Insight build error under cygwin, gcc 3.4.4 Message-ID: <20070404192301.784.qmail@sourceware.org> The following reply was made to PR insight/311; it has been noted by GNATS. From: "Peter D'Hoye" To: Cc: Subject: Re: insight/311: Insight build error under cygwin, gcc 3.4.4 Date: Wed, 4 Apr 2007 21:17:35 +0200 forgot to mention this is for Insight 6.6 From morris.dan@ssd.loral.com Wed Apr 25 01:23:00 2007 From: morris.dan@ssd.loral.com (morris.dan@ssd.loral.com) Date: Wed, 25 Apr 2007 01:23:00 -0000 Subject: insight/312: make fails with 'too few arguments' error Message-ID: <20070425011900.1294.qmail@sourceware.org> >Number: 312 >Category: insight >Synopsis: make fails with 'too few arguments' error >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Apr 25 02:23:01 BST 2007 >Closed-Date: >Last-Modified: >Originator: morris.dan@ssd.loral.com >Release: development 4-23-2007 >Organization: >Environment: >Description: 'make' operation aborts with: .././gdb/gdbtk/generic/gdbtk-varobj.c: In function 'variable_update': .././gdb/gdbtk/generic/gdbtk-varobj.c:450: error: too few arguments to function 'varobj_update' >How-To-Repeat: Do a clean build on Sun Solaris OS (sparc/x86) >Fix: >Release-Note: >Audit-Trail: >Unformatted: From kseitz@sources.redhat.com Thu Apr 26 00:13:00 2007 From: kseitz@sources.redhat.com (kseitz@sources.redhat.com) Date: Thu, 26 Apr 2007 00:13:00 -0000 Subject: insight/311: Insight build error under cygwin, gcc 3.4.4 Message-ID: <20070426001358.31177.qmail@sourceware.org> Synopsis: Insight build error under cygwin, gcc 3.4.4 Responsible-Changed-From-To: unassigned->kseitz Responsible-Changed-By: kseitz Responsible-Changed-When: Thu Apr 26 01:13:58 2007 Responsible-Changed-Why: mine State-Changed-From-To: open->closed State-Changed-By: kseitz State-Changed-When: Thu Apr 26 01:13:58 2007 State-Changed-Why: This is a problem in bfd, not insight. The distinction is minutia, for sure, but that's the way it all works. Your best bet is to ask on the mailing list for BFD (binutils at sourceware dot org). Was the output of your 'make' log truncated too much? I don't see any errors there -- just warnings. I don't recall if the standard build has "-Werror" set, but if you only have build warnings, you might try disabling this build flag. Otherwise, your best bet is BFD folk. http://sourceware.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=insight&pr=311 From kseitz@sources.redhat.com Thu Apr 26 00:15:00 2007 From: kseitz@sources.redhat.com (kseitz@sources.redhat.com) Date: Thu, 26 Apr 2007 00:15:00 -0000 Subject: insight/312: make fails with 'too few arguments' error Message-ID: <20070426001530.32141.qmail@sourceware.org> Synopsis: make fails with 'too few arguments' error Responsible-Changed-From-To: unassigned->kseitz Responsible-Changed-By: kseitz Responsible-Changed-When: Thu Apr 26 01:15:30 2007 Responsible-Changed-Why: mine State-Changed-From-To: open->feedback State-Changed-By: kseitz State-Changed-When: Thu Apr 26 01:15:30 2007 State-Changed-Why: Try applying the patch mentioned at http://sources.redhat.com/ml/insight/2007-q2/msg00012.html . Let me know if that works so that I can close this bug and apply the change. http://sourceware.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=insight&pr=312 From morris.dan@ssd.loral.com Thu Apr 26 20:03:00 2007 From: morris.dan@ssd.loral.com (Dan Morris) Date: Thu, 26 Apr 2007 20:03:00 -0000 Subject: insight/312: make fails with 'too few arguments' error Message-ID: <20070426200301.14578.qmail@sourceware.org> The following reply was made to PR insight/312; it has been noted by GNATS. From: Dan Morris To: kseitz@sources.redhat.com, insight-prs@sources.redhat.com, kseitz@sources.redhat.com, morris.dan@ssd.loral.com, nobody@sources.redhat.com, insight-gnats@sources.redhat.com Cc: Subject: Re: insight/312: make fails with 'too few arguments' error Date: Thu, 26 Apr 2007 13:01:33 -0700 Hi, Installed the patches, ran 'make distclean' and then 'make' with no errors. On a quick look basis, Insight seems to be running OK. Thanks for the quick response! Regards, Dan Morris kseitz@sources.redhat.com wrote: > Synopsis: make fails with 'too few arguments' error > > Responsible-Changed-From-To: unassigned->kseitz > Responsible-Changed-By: kseitz > Responsible-Changed-When: Thu Apr 26 01:15:30 2007 > Responsible-Changed-Why: > mine > State-Changed-From-To: open->feedback > State-Changed-By: kseitz > State-Changed-When: Thu Apr 26 01:15:30 2007 > State-Changed-Why: > Try applying the patch mentioned at http://sources.redhat.com/ml/insight/2007-q2/msg00012.html . Let me know if that works so that I can close this bug and apply the change. > > http://sourceware.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=insight&pr=312 > From kseitz@sources.redhat.com Thu Apr 26 20:06:00 2007 From: kseitz@sources.redhat.com (kseitz@sources.redhat.com) Date: Thu, 26 Apr 2007 20:06:00 -0000 Subject: insight/312: make fails with 'too few arguments' error Message-ID: <20070426200658.15282.qmail@sourceware.org> Synopsis: make fails with 'too few arguments' error State-Changed-From-To: feedback->closed State-Changed-By: kseitz State-Changed-When: Thu Apr 26 21:06:58 2007 State-Changed-Why: verified http://sourceware.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=insight&pr=312 From ajr@thales.com Mon May 14 16:53:00 2007 From: ajr@thales.com (Andrew Raybould) Date: Mon, 14 May 2007 16:53:00 -0000 Subject: insight/303: insight always quit itself when I debug Message-ID: <20070514165301.19283.qmail@sourceware.org> 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. From ramsey.haddad@yahoo.com Mon Jun 4 08:53:00 2007 From: ramsey.haddad@yahoo.com (ramsey.haddad@yahoo.com) Date: Mon, 04 Jun 2007 08:53:00 -0000 Subject: insight/315: insight suddenly quits on cygwin Message-ID: <20070604085222.9725.qmail@sourceware.org> >Number: 315 >Category: insight >Synopsis: insight suddenly quits on cygwin >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Mon Jun 04 08:53:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: ramsey.haddad@yahoo.com >Release: unknown-1.0 >Organization: >Environment: cygwin on winXP >Description: i compiled the small file just to try out insight. But when i highlight argv[i] on line 16 with the mouse, the application quits. echo $? after the program quits gives 0 >How-To-Repeat: gcc -g -o mydbg mydbg.c insight ./mydbg.exe Ctrl-N (to open the gdb console window) b 13 run hello world highlight argv[i] on line 16 *application quits* echo $? returns 0 >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="mydbg.c" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="mydbg.c" I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgZnVuYyhpbnQgYXJnYywgY2hhciAqYXJndltdKQp7Cglp bnQgaTsKCWZvciAoaSA9IDA7IGkgPCBhcmdjOyBpKyspCgkJcHJpbnRmKCIlc1xuIixhcmd2W2ld KTsKCXJldHVybiBhcmdjOwoKfQoKaW50IG1haW4oaW50IGFyZ2MsIGNoYXIgKmFyZ3ZbXSkKewoJ aW50IGk7Cglmb3IgKGkgPSAwOyBpIDwgYXJnYzsgaSsrKQoJCXByaW50ZigiJXNcbiIsYXJndltp XSk7CgoJZnVuYyhhcmdjLCBhcmd2KTsKCXJldHVybiAwOwoKfQoK From ramsey.haddad@yahoo.com Mon Jun 4 17:33:00 2007 From: ramsey.haddad@yahoo.com (ramsey.haddad@yahoo.com) Date: Mon, 04 Jun 2007 17:33:00 -0000 Subject: insight/316: insight variable balloon Message-ID: <20070604173219.16647.qmail@sourceware.org> >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