Package: libtk-img Version: 1:1.3-11 Severity: important Tags: patch wish8.3 segfaults when using Img. The following script shows label with image with wish8.4 but segfaults with wish8.3
package require Img set img [image create photo -file /usr/share/yelp/icons/important.png] label .l -image $img pack .l As a workaround one could apply the following patch, which prevents loading the package in Tcl/Tk 8.3: --- /usr/lib/Img1.3/pkgIndex.tcl 2005-03-14 09:28:56.000000000 +0300 +++ ./pkgIndex.tcl 2005-03-14 09:32:09.000000000 +0300 @@ -2,6 +2,8 @@ # # $Id: pkgIndex.tcl.in,v 1.1 2002/11/19 00:28:55 andreas_kupries Exp $ +if {[catch {package require Tcl 8.4}]} return + package ifneeded zlibtcl 1.0 [list load [file join $dir libzlibtcl1.0.so]] # distinguish static and dyn variants, later. -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (998, 'testing') Architecture: i386 (i686) Kernel: Linux 2.4.27-2-686 Locale: LANG=ru_RU.CP1251, LC_CTYPE=ru_RU.CP1251 (charmap=CP1251) Versions of packages libtk-img depends on: ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libjpeg62 6b-9 The Independent JPEG Group's JPEG ii libpng12-0 1.2.8rel-1 PNG library - runtime ii libtiff4 3.7.1-4 Tag Image File Format (TIFF) libra ii libx11-6 4.3.0.dfsg.1-10 X Window System protocol client li ii tcl8.4 8.4.9-1 Tcl (the Tool Command Language) v8 ii tk8.4 8.4.9-1 Tk toolkit for Tcl and X11, v8.4 - ii xlibs 4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu ii zlib1g 1:1.2.2-3 compression library - runtime -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]