From: SourceForge.net <no...@so...> - 2003-02-10 20:51:13
|
Bugs item #682603, was opened at 2003-02-07 17:39 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=682603&group_id=12997 Category: 05. Canvas Items Group: None >Status: Pending >Resolution: Works For Me Priority: 5 Submitted By: Chris Waters (xtifr) Assigned to: Don Porter (dgp) Summary: canvas arc and rect broken on alpha Initial Comment: Forwarded bug reports from Debian. Original reports can be seen at <http://bugs.debian.org/151435> and <http://bugs.debian.org/156702>. Basically, "create rect" (with reasonable coordinates) and "create arc" both fail on Alpha (64-bit architecture). I suspect that they will also fail on other 64-bit archs (like ia64), will confirm/deny this last as soon as possible. ---------------------------------------------------------------------- >Comment By: Don Porter (dgp) Date: 2003-02-10 15:58 Message: Logged In: YES user_id=80530 When trying to reference the ftp: URI for the .deb file for testing posted in the earlier comment, I get an error: Failed to change directory Is there another URI for the code to be tested? ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2003-02-10 15:38 Message: Logged In: YES user_id=80530 First a basic sanity check. The prior comments seem to indicate trouble with some modified version of Tcl/Tk based on Tcl/Tk 8.3.3 releases. So, I build Tcl/Tk 8.3.3 original releases on my Linux/Alpha system... Trying the sample script, I see a quarter-circle, the upper-right quarter, colored red. So far, that's "Works for me". I'll try next to see what I can learn from the Debian modified version. ---------------------------------------------------------------------- Comment By: Jeffrey Hobbs (hobbs) Date: 2003-02-10 14:53 Message: Logged In: YES user_id=72656 Interesting note from dkf. Could someone with an alpha please do a basic check on all item types and see if only rect and arc are broken? I don't see why oval wouldn't also be, since it shares the rect code. I'd like to know whether the problem is lower in the canvas (or Tk) core code, or whether it is just in the specific items code. Also, try a variant running the same tests on the Alpha box, but to a non-Alpha X server. That might identify whether it is an X problem. ---------------------------------------------------------------------- Comment By: Donal K. Fellows (dkf) Date: 2003-02-10 06:10 Message: Logged In: YES user_id=79902 Noting in passing: Alphas have an architectural oddity (i.e. no other platform that I've worked with does it, including both 64-bit versions of Solaris and IRIX) in that sizeof(int)==8 and this messes up a lot of things if you are not prepared for it ahead of time... ---------------------------------------------------------------------- Comment By: Chris Waters (xtifr) Date: 2003-02-08 15:19 Message: Logged In: YES user_id=25775 The particular version which I have used to reproduce the problem is the version in the current official Debian release at <ftp://ftp.debian.org/pool/main/t/tcl8.3/tcl8.3_8.3.3-7_alpha.deb>. (Note that a ".deb" file is simply a standard ar archive containing a control file and two tar.gz's, use "ar x" to extract.) Also, tcl8.3_8.3.3-7.diff.gz in the same dir has the patches used for that build. ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2003-02-07 23:52 Message: Logged In: YES user_id=80530 assigning to myself so I'll remember to try this on Monday. I expect the result will be "Works for me". Is there any particular version of Tcl/Tk for which this is reported to fail? ---------------------------------------------------------------------- Comment By: Chris Waters (xtifr) Date: 2003-02-07 21:58 Message: Logged In: YES user_id=25775 script to try: canvas .c -height 128 -width 128 pack .c .c create arc 1 1 127 127 -start 0 -extent 90 -fill red ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2003-02-07 19:04 Message: Logged In: YES user_id=80530 I have RedHat Linux on Alpha. Got a script for me to try? ---------------------------------------------------------------------- Comment By: Chris Waters (xtifr) Date: 2003-02-07 18:50 Message: Logged In: YES user_id=25775 Fair enough, I'll punt it to the debian-alpha list and see what they make of it. ---------------------------------------------------------------------- Comment By: Jeffrey Hobbs (hobbs) Date: 2003-02-07 18:03 Message: Logged In: YES user_id=72656 It would be hard for me to debug then, as I have ia64 and solaris64 machines, but no Alphas... ---------------------------------------------------------------------- Comment By: Chris Waters (xtifr) Date: 2003-02-07 18:00 Message: Logged In: YES user_id=25775 the problems do not occur on ia64, so this seems to be alpha-specific after all. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=682603&group_id=12997 |