Open Bugs | New Bug anonymous
Login/Register

Equi4 SoftwareEdit Bug

Title: tclsh dumps core on second ``!!'' of ``mk::row create''. Status: closed
Product: Metakit Severity: -
Version: 2.4.9.2 Type: bug
Assign to:
Platform:
Tcl Version: 8.4.4
FreeBSD robert2.mpe-garching.mpg.de 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Wed Aug  6 10:19:27 CEST 2003     [email protected]:/usr/obj/usr/src/sys/ROBERT2  alpha
Message:

File:
Description:

Messages

2003/10/16
I submitted this problem to the tcl bug tracker, too.
The same problem happens on my i386 (FreeBSD5.1-CURRENT).
Problem:
11:06(1025)% tclsh8.4
% package require Mk4tcl
2.4.9.2
% mk::row create
_._!1._!0
% !!
mk::row create
_._!1._!0
% !!
mk::row create
zsh: segmentation fault (core dumped) tclsh8.4
11:09(1026)%
It always crashes after the second ``!!''.
When I type ``mk::row create'' by hand it crashes after the 20th repetition (i.e.
21st ``mk::row create'').
The following script crashes on the first call of ``mk::row create'':
11:15(1026)% tclsh8.4
% package require Mk4tcl
2.4.9.2
% set i 0 ; while {1} {puts stderr [incr i]; mk::row create; puts stderr "success"}
1
success
2
zsh: segmentation fault (core dumped) tclsh8.4
11:15(1026)%
2003/11/25 jcw
Row creation appears to be weird in Mk4tcl (it does things somewhat differently
from the C++ and Python bindings). I tend to avoid using it, inserting an empty
row in a view instead, and then filling it.
2004/01/26 jcw
solved in Mk 2.4.9.3

Bug Tracker © 2002 McMillan Enterprises, Inc.