Synopsis: Insight blows up the term when run Responsible-Changed-From-To: unassigned->kseitz Responsible-Changed-By: kseitz Responsible-Changed-When: Fri Nov 11 17:41:50 2005 Responsible-Changed-Why: mine State-Changed-From-To: open->analyzed State-Changed-By: kseitz State-Changed-When: Fri Nov 11 17:41:50 2005 State-Changed-Why: Wow, I don't even know where to start with this. I don't have access to an OS X machine at all. I didn't even know that our version on Tk (8.4.1) worked on OSX! (But I do see OSX sources in the source dir...) Can you describe in more detail what you mean by "term program quits"? You run "avr-insight" from the terminal and it simply exits? It crashes? Can you run avr-insight in gdb and set a break on "exit" and get a backtrace? http://sourceware.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=insight&pr=276
The following reply was made to PR insight/276; it has been noted by GNATS. From: Kingston Co. <freddie@sb.net> To: insight-gnats@sources.redhat.com Cc: Subject: Re: insight/276: Insight blows up the term when run Date: Tue, 15 Nov 2005 20:50:30 -0800 (gdb) run Starting program: /usr/local/avr/bin/avr-insight Reading symbols for shared libraries .............................................................. ...+ done Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000064 0x9b51bd24 in Tcl_GlobalEval () (gdb) backtrace #0 0x9b51bd24 in Tcl_GlobalEval () #1 0x000175f8 in gdbtk_source_start_file () at .././gdb/gdbtk/ generic/gdbtk.c:620 #2 0x000cb878 in gdbtk_interpreter_resume (data=0xd20a70) at .././ gdb/gdbtk/generic/gdbtk-interp.c:100 #3 0x0000f2a0 in interp_set (interp=0xd20bf0) at interps.c:184 #4 0x00002d28 in captured_main (data=0x1) at .././gdb/main.c:566 #5 0x0000c044 in catch_errors (func=0x230c <captured_main>, func_args=0xbffff1f8, errstring=0x1cb620 "", mask=-2139062144) at exceptions.c:515 #6 0x000032a8 in gdb_main (args=0x22dc38) at .././gdb/main.c:806 #7 0x00002294 in main (argc=0, argv=0x22dc38) at .././gdb/gdbtk/ generic/gdbtk-main.c:36 (gdb) Kingston Co. freddie@sb.net
The following reply was made to PR insight/276; it has been noted by GNATS. From: Keith Seitz <keiths@redhat.com> To: freddie@sb.net, insight-gnats@sources.redhat.com, insight-prs@sources.redhat.com Cc: Subject: Re: insight/276: Insight blows up the term when run Date: Sat, 19 Nov 2005 08:50:33 -0800 http://sourceware.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=insight&pr=276 Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000064 0x9b51bd24 in Tcl_GlobalEval () (gdb) backtrace #0 0x9b51bd24 in Tcl_GlobalEval () #1 0x000175f8 in gdbtk_source_start_file () at .././gdb/gdbtk/ generic/gdbtk.c:620 Couple of things... In frame #1 (gdbtk_source_start_file, gdbtk.c:620), what exactly is 0x64, "gdbtk_interp" or "script"? Instead of build gdb/insight, if you just built tcl and tk, do tclsh and wish run? Can you run the tk demos (in src/tk/library/demos)? I suspect that our version tcl and tk don't work on OS X. In fact, this is the first I've heard of anyone trying to even run Insight on OS X! Keith