Tk Library Source Code

View Ticket
Login
Ticket UUID: 1bac243cf5e39ba4a50e80d09616fd53e34c2e65
Title: Two persistentSelection demos crash
Type: Bug Version: current
Submitter: anonymous Created on: 2018-06-09 19:54:39
Subsystem: A Category Is Missing Assigned To: aku
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2024-06-01 14:29:05
Resolution: Works For Me Closed By: aku
    Closed on: 2024-06-01 14:29:05
Description:
$ ./allWidgetsDemo.tcl                                                                                     
list doesn't contain element 1
    while executing
"lreplace $My(,list) $My(,pointer) end $new"
    (procedure "::widgetPlus::WidgetPlusPrivateCore::Snit_methodPush" line 8)
    invoked from within
"$self Push $new"
    (procedure "::widgetPlus::WidgetPlusPrivateCore::Snit_methodinsert" line 18)
    invoked from within
"$w insert end {Initial Text}"
    (procedure "CreateWidget" line 20)
    invoked from within
"CreateWidget $w.g.e"
    (procedure "CreateDemo" line 27)
    invoked from within
"CreateDemo .wpdemo"
    (file "./allWidgetsDemo.tcl" line 124)



$ ./simpleDemoEntryPlus.tcl                                                                                
list doesn't contain element 1
    while executing
"lreplace $My(,list) $My(,pointer) end $new"
    (procedure "::widgetPlus::WidgetPlusPrivateCore::Snit_methodPush" line 8)
    invoked from within
"$self Push $new"
    (procedure "::widgetPlus::WidgetPlusPrivateCore::Snit_methodinsert" line 18)
    invoked from within
".e insert end {Initial Text}"
    (file "./simpleDemoEntryPlus.tcl" line 38)
User Comments: aku added on 2024-06-01 14:29:05:

Thank you for your patience.

I am unable to reproduce the crashes using the current head, i.e. commit [954034e7bd].

Platform is linux. Tcl 8.6.12.

Can you confirm/refute ?