From: SourceForge.net <no...@so...> - 2005-03-12 23:38:30
|
Bugs item #1143776, was opened at 2005-02-18 13:11 Message generated for change (Comment added) made by vincentdarley You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1143776&group_id=12997 Category: 18. [text] Group: development: 8.5a3 Status: Open Resolution: Works For Me Priority: 8 Submitted By: Neil Madden (tallniel) Assigned to: Vince Darley (vincentdarley) Summary: Panic: Added too many new lines in UpdateDisplayInfo Initial Comment: The current cvs head contains a bug in the text widget that causes a panic with the message "Added too many new lines in UpdateDisplayInfo". I can reproduce this consitently on Linux, using Donal's text justification demo: http://www.man.ac.uk/~zzcgudf/tcl/wordwrap.tcl Run the demo in wish and then move the scrollbar on the text widget to show the last line - this causes the panic for me. Basic stack trace: (gdb) bt #0 0x403b5d71 in kill () from /lib/i686/libc.so.6 #1 0x403b5af5 in raise () from /lib/i686/libc.so.6 #2 0x403b71e0 in abort () from /lib/i686/libc.so.6 #3 0x401754d8 in Tcl_PanicVA () from /usr/local/lib/libtcl8.5.so #4 0x40175500 in Tcl_Panic () from /usr/local/lib/libtcl8.5.so #5 0x400c6129 in UpdateDisplayInfo () from /usr/local/lib/libtk8.5.so #6 0x400cb2be in TkTextPixelIndex () from /usr/local/lib/libtk8.5.so #7 0x400d2d8b in TkTextPickCurrent () from /usr/local/lib/libtk8.5.so #8 0x400c83a6 in DisplayText () from /usr/local/lib/libtk8.5.so #9 0x401891ba in TclServiceIdle () from /usr/local/lib/libtcl8.5.so #10 0x40172f96 in Tcl_DoOneEvent () from /usr/local/lib/libtcl8.5.so #11 0x4003cd7d in Tk_MainLoop () from /usr/local/lib/libtk8.5.so #12 0x400494af in Tk_MainEx () from /usr/local/lib/libtk8.5.so #13 0x0804886e in main () #14 0x403a2c57 in __libc_start_main () from /lib/i686/libc.so.6 ---------------------------------------------------------------------- Comment By: Vince Darley (vincentdarley) Date: 2005-03-12 23:38 Message: Logged In: YES user_id=32170 The only thing I can possibly think of is that TkAqua's scrollbar implementation is basically a poor design (which differs in fundamental ways from the unix/windows code). The code issues 'update idletasks' events during scrolling. I thought there was an outstanding RFE or bug report on this issue, but I can't see it now. Anyway, not sure if it's relevant, but it might be. The best solution would really be to fix TkAqua's scrollbar, since its behaviour cause observable differences in Tcl script outcomes. ---------------------------------------------------------------------- Comment By: Jeffrey Hobbs (hobbs) Date: 2005-03-11 18:51 Message: Logged In: YES user_id=72656 I'm passing back to Vince to consider whether some aspect of the new code may be particularly OS X sensitive. He may want to pass on to DAS to see if a known OS X problem may be coinciding. ---------------------------------------------------------------------- Comment By: Revar (revar) Date: 2005-03-11 11:38 Message: Logged In: YES user_id=6331 I can consistently reproduce this under OS X Aqua. ---------------------------------------------------------------------- Comment By: Jeffrey Hobbs (hobbs) Date: 2005-02-18 20:12 Message: Logged In: YES user_id=72656 From NEM: I think something weird's going on with my machine. I can repro the bug consistently from the same machine/X server, but nowhere else. Even running the script remotely (x forwarding) doesn't reproduce the bug. So I guess it can be closed. ---------------------------------------------------------------------- Comment By: Jeffrey Hobbs (hobbs) Date: 2005-02-18 19:17 Message: Logged In: YES user_id=72656 I cannot repro on either Windows or Linux with the latest head (18 Feb 2005). Linux built was using xft. ---------------------------------------------------------------------- Comment By: Vince Darley (vincentdarley) Date: 2005-02-18 15:21 Message: Logged In: YES user_id=32170 Note: I can't reproduce this on Windows, so it's going to be hard to debug (for me) unless you can find another example which reproduces it on Windows too... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1143776&group_id=12997 |