ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tcl-bugs
tcl-bugs
[Tcl-bugs] [ tktoolkit-Bugs-1615425 ] [tag add] segfaults if index out of range of peer
by SourceForge.net other posts by this author
Dec 13 2006 5:48PM messages near this date
[Tcl-bugs] [ tktoolkit-Patches-1615427 ] Add "none" to supported cursor list (Win32/Unix) | [Tcl-bugs] [ tktoolkit-Bugs-1611821 ] tk_getSaveFile -initialfile odd behavior
Bugs item #1615425, was opened at 2006-12-13 17:48
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1615425&group_id=12997

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: 18. [text]
Group: development: 8.5a6
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tim Baker (treectrl)
Assigned to: Jeffrey Hobbs (hobbs)
Summary: [tag add] segfaults if index out of range of peer

Initial Comment:
pack [text .t] -side top
.t insert end "1\n2\n3\n4\n5\n"
.t tag configure tagA -font {Courier 10 bold}
pack [.t peer create .t2 -startline 3] -side top
.t tag add tagA 1.0 1.end
update


Adding a tag to a range of characters before -startline of a peer causes a segfault.
I think this is because [tag add] calls TkTextRedrawTag() with non-NULL indices.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1615425&group_id=12997

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Tcl-Bugs mailing list
Tcl-Bugs@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-bugs

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved