Luc Moulinier <
luc.mo...@igbmc.fr> writes:
> Hello,
>
> I wanted to check memory using threads.
> I compiled Tcl/Tk 8.6.4 with -g -DTCL_MEM_DEBUG in order to use [memory info]
>
> But :
> ena_Agents_> ~/tcl8.6.4/luinst/bin/tclsh
> % package require Thread
> expected to create new entry for object map
> Abort (core dumped)
>
> Thread package is 2.7.2, running on Ubuntu.
>
> Is that normal ?
For the older Tcl's unfortunately yes.
This was fixed in 2015, see
https://core.tcl.tk/tcl/timeline?r=aku-mem-debug-allow-regular
in the 8.5 branch. It merged anout two months past 8.5.18 release.
Should be in 8.5.19 and higher,
For 8.6 this is 8.6.5 and higher.
As you have 8.6.4 the problem is present.
You will have to take my fix and backport/cherrypick it into your
version.
--
See you,
Andreas Kupries <
akup...@shaw.ca>
<
http://core.tcl.tk/akupries/>
Developer @ SUSE (MicroFocus Canada LLC)
<
andreas...@suse.com>
Tcl'2017, Oct 16-20, Houston, TX, USA.
http://www.tcl.tk/community/tcl2017/
EuroTcl 2017, Jul 8-9, Berlin/DE,
http://www.eurotcl.tcl3d.org/
-------------------------------------------------------------------------------