-
What is the version of Solaris 10 and the DTrace version where you see this?
FWIW, I do not see this on Mac OS X with DTrace enabled:
$ tclsh
% info patchlevel
8.5.7
% proc bad {} {error bad}
% catch bad
1
% tcl::dtrace
% exit
$ dtrace -V
dtrace: Sun D 1.6.2.
12:08AM UTC on Jul 02 2009 in Tcl
-
das committed patchset 5350 of module tk to the Tk Toolkit CVS repository, changing 1 files.
02:21PM UTC on Jun 30 2009 in Tk Toolkit
-
das committed patchset 11238 of module tcl to the Tcl CVS repository, changing 1 files.
02:21PM UTC on Jun 30 2009 in Tcl
-
das committed patchset 5349 of module tk to the Tk Toolkit CVS repository, changing 6 files.
12:56AM UTC on Jun 30 2009 in Tk Toolkit
-
das committed patchset 11236 of module tcl to the Tcl CVS repository, changing 5 files.
12:56AM UTC on Jun 30 2009 in Tcl
-
das committed patchset 5348 of module tk to the Tk Toolkit CVS repository, changing 98 files.
02:35PM UTC on Jun 29 2009 in Tk Toolkit
-
das committed patchset 11234 of module tcl to the Tcl CVS repository, changing 11 files.
06:14PM UTC on Jun 26 2009 in Tcl
-
das committed patchset 5345 of module tk to the Tk Toolkit CVS repository, changing 60 files.
01:42AM UTC on Jun 26 2009 in Tk Toolkit
-
das committed patchset 5344 of module tk to the Tk Toolkit CVS repository, changing 3 files.
01:42AM UTC on Jun 26 2009 in Tk Toolkit
-
FWIW, the only things that were made MODULE_SCOPE were symbols that were not public in the first place (specifically that were neither in the public nor in the internal stubs table).
You would already have run into trouble in 8.4 and earlier when trying to use these from a stubs enabled extension (linking against libtk.so should be the exception, whenever possible, link against the stubs...
08:21PM UTC on Jun 11 2009 in Tk Toolkit