From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,69103e7d12a001ec,start X-Google-Attributes: gidfa528,public From: ah_changNOSPAM@hotmail.com Subject: Tcl_Panic on Tru64 4.0f Date: 2000/07/31 Message-ID: #1/1 X-Deja-AN: 652945328 Sender: X-Trace: newsread1.prod.itd.earthlink.net 965076707 209.179.76.28 (Mon, 31 Jul 2000 13:51:47 PDT) Organization: Bits & Bobs Inc. at work User-Agent: tin/1.4.3-20000502 ("Marian") (UNIX) (Linux/2.2.12-20smp (i686)) NNTP-Posting-Date: Mon, 31 Jul 2000 13:51:47 PDT Newsgroups: comp.unix.tru64 X-Complaints-To: abuse@earthlink.net Hello c.u.t64, We are having a problem running Perl/Tk programs on a couple of machines. Even with the simplest of programs, including a 'hello world' I will get the following error. GC already registered in Tk_GetGC Tcl_Panic at /usr/local/lib/perl5/site_perl/Tk/Widget.pm line 188. at ./hello_world.pl line 5 Tk::Widget::new('Tk::Button', 'MainWindow=HASH(0x14000adf8)', '-text', 'Done', '-command', 'CODE(0x140112d98)') called at /usr/local/lib/perl5/site_perl/Tk/Widget.pm line 247 Tk::Widget::__ANON__('MainWindow=HASH(0x14000adf8)', '-text', 'Done', '-command', 'CODE(0x140112d98)') called at ./hello_world.pl line 5 at /usr/local/lib/perl5/site_perl/Tk/Widget.pm line 189 I noticed on the README.OSF of Tk800.022 there is the folowing note: On Alpha if you get something like: > GC already registered in Tk_GetGC > Tcl_Panic at ... > > Then it has been reported that reducing the optimize from -04 to -03 fixes the problem. I've tried it by doing 'perl Makefile.PL OPTIMIZE=-03', it gets into the Makefile, and looks like it is using the correct Optimization during the make. But it doesn't fix the problem. Here are the particulars: It is happening on a DS20 and ES40 both running Tru64 4.0f with no patches. The DS20 has Perl 5.004_04 and the ES40 was upgraded to 5.004_05. The problem was when it was using Tk400.202 and wasn't fixed when I tried to upgrade it to Tk800.022. I tried using Perl 5.6.0, but that dosen't help either. The problem dosen't exist on our other DS20's with Perl 5.004_04 with Tk400.202. My Hello_world.pl works on these machines and gets the above error on the problematic machines. If anyone can help, I would really appreciate it. -- Kevin Dea Remove NOSPAM to reply. But do you really need to reply to me? Just post it!