tclxml and tclsh8.4 / tclsh8.5

Asked by wim sturkenboom

ubuntu 8.04 (upgraded from 6.06)

installed are both tcltk8.4 and tcltk8.5 from repositories
tcllib1.10 from repositories installed
tclxml3.1 from repositories installed
in tclsh8.4, package require xml works
in tclsh8.5, package require xml does not work

fortyfourgalena@desktop1:~/progs/tcl/simpledb$ tclsh
% puts $tcl_version
8.4
% package require xml
3.1
% exit
fortyfourgalena@desktop1:~/progs/tcl/simpledb$ /usr/bin/tclsh8.5
% puts $tcl_version
8.5
% package require xml
attempt to provide package sgmlparser 1.1 failed: package sgmlparser 1.0 provided instead
% exit
fortyfourgalena@desktop1:~/progs/tcl/simpledb$

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jal Frezie (jasper-simulistics) said :
#1

This may be relevant -- I get the same problem trying to load the xml package in tclsh8.5, and in 8.4 it crashes if I ask it to parse a non-xml string! See this sample session:
$ wish
% info patchlevel
8.4.19
% package require xml
3.1
% set paza [::xml::parser]
xmlparser0
% $paza reset
% $paza parse rubbish
Segmentation fault
$

I have an up-to-date 32-bit Ubuntu 9.04 system on a dual core Macbook.

Revision history for this message
wim sturkenboom (wim001) said :
#2

The crash does not happen on PC with Ubuntu 8.04

fortyfourgalena@desktop1:~$ wish
% info patchlevel
8.4.16
% package require xml
3.1
% set paza [::xml::parser]
xmlparser0
% $paza reset
% $paza parse rubbish
{parser fatal document-empty {} 1 {Document is empty
} 0 1}
%

PS I've now reported it as a bug.

Can you help with this problem?

Provide an answer of your own, or ask wim sturkenboom for more information if necessary.

To post a message you must log in.