Tk Source Code

View Ticket
Login
2000-11-01
04:56 Closed ticket [219997ffff]: Tk segmentation fault on AIX 4.2 plus 4 other changes artifact: 41ab9e3800 user: welch
2000-10-31
21:56 New ticket [219997ffff]. artifact: e65eba5d58 user: welch

Ticket UUID: 219997
Title: Tk segmentation fault on AIX 4.2
Type: Bug Version: final: 8.1.1
Submitter: welch Created on: 2000-10-31 21:56:25
Subsystem: 18. [text] Assigned To: nobody
Priority: 1 Zero Severity:
Status: Closed Last Modified: 2000-11-01 04:56:26
Resolution: Duplicate Closed By: welch
    Closed on: 2000-10-31 21:56:26
Description:
OriginalBugID: 2261 Bug
Version: 8.1.1
SubmitDate: '1999-06-21'
LastModified: '1999-08-20'
Severity: LOW
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
RelatedBugIDs: 2316
OS: AIX
OSVersion: 4.2
Machine: RS6000
ClosedDate: '1999-08-20'


Name:
John Severs

Comments:
I have tried the script line by line and it is the insert that causes
    the crash. I should say that this is a new install of tcl/tk. We haven't
    had it running on any AIX system before and this is the first script I
    have tried. The install procedure was successful with no error messages.

ReproducibleScript:
I am running the following script on AIX 4.2

    wm title . "Netview Log"

    frame .t
    set xlog [text .t.xlog -width 80 -height 10  -borderwidth 2 -relief raised -setgrid true  -yscrollcommand {.t.scroll set}]
    scrollbar .t.scroll -command {.t.xlog yview}
    pack .t.scroll -side right -fill y
    pack .t.xlog -side left -fill both -expand true
    pack .t -side top -fill both -expand true

    .t.xlog insert insert "text"

    I start wish then source the file which crashes when it hits the insert.

ObservedBehavior:
# wish
    % source test.tcl
    % Segmentation fault(coredump)
    # tclsh
    % echo $tcl_patchLevel
    8.1.1

DesiredBehavior:
It should insert some text into the text widget



The text widget-AIX problem rears its ugly head again. 
-- 08/20/1999 hobbs