From: SourceForge.net <no...@so...> - 2003-12-01 11:57:27
|
Bugs item #851747, was opened at 2003-11-30 22:07 Message generated for change (Comment added) made by vincentdarley You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=851747&group_id=10894 >Category: 16. Commands A-H >Group: current: 8.4.5 Status: Open Resolution: None Priority: 5 Submitted By: Paul Obermeier (obermeier) >Assigned to: Donal K. Fellows (dkf) Summary: Coredump with Tcl 8.4.X (possibly binary scan) Initial Comment: While working with the fileType function of TclLib, I encountered core dumps on both Linux and Windows with different versions of Tcl 8.4 (8.4.2, 8.4.4, 8.4.5). The same code works with Tcl 8.3 on both platforms. I succeeded to strip down the problem to the attached code. This code applied to the four (identical) image files supplied in the attachment, dumps core. You can avoid dumping core by 1. replacing the binary scan command as noted in the code or 2. by commenting out the line "set s [file size $filename]" I noticed, that if I copy the files from the FAT32 partition to a NTFS partition, it does not dump core, but still prints out different offset values, although the files are identical. Core dumps also occur on Mac OS X with Tcl 8.4, but not with Tcl 8.3. ---------------------------------------------------------------------- >Comment By: Vince Darley (vincentdarley) Date: 2003-12-01 11:57 Message: Logged In: YES user_id=32170 I can't reproduce this (I'm on Windows and only have NTFS), although I do notice some strange behaviour regarding finding the .ppm files at all... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=851747&group_id=10894 |