Using -errorcommand in tclxml causes core dump
Closed / Invalid221967ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2000-11-08 14:50:34
- Compile CVS tclxml with tcl 8.4a2 run the following script: package require xml xml::parser -errorcommand foo Result: Tcl_AppendStringsToObj called with shared object Abort (core dumped) This is on Linux 2.2
dkfplain2000-11-08 23:02:37
This is serious (anything that core-dumps is serious) but probably not a Tcl bug. More likely a tclxml bug. Report it to the maintainers of that package...
ldupervalplain2000-11-08 23:07:03
That's what I did (see my posting on clt Nov 7 and Steve Ball's response on Nov 8) and the maintainer told me to post a bug report. He says it's a Tcl problem. You guys will have to duke it out amongst yourselves. :-)
dkfplain2001-01-09 22:10:02
That doesn't change the fact that it is *their* problem. The object to which they are trying to append is obviously shared when it shouldn't be (well, duh!) and it is therefore up to them to resolve this by copying the object in the shared case prior to appending to it (there is an easy example of how to fix this in the documentation to Tcl_NewObj() IIRC.) Unless you've got a stack trace that demonstrates it is a real problem with Tcl, as opposed to a violation of a critical "assertion" caused by faulty programming...
andreas_kupriesplain2001-09-08 05:56:38
Logged In: YES user_id=75003 This was possibly the result of "[ #454204 ] Patch to fix crashing tclxml C code." reported to the TclXML tracker (also fixed). Please check if the newest version of TclXML still shows this behaviour.
hobbsplain2001-10-13 03:14:35
Logged In: YES user_id=72656 This was an error in TclXML which was fixed there.
Log in (anonymous is fine) to add a comment.