Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b0ae2106e935e643dfe88e21da65bd28b9d3b661
Ticket: 1067708fffffffffffffffffffffffffffffffff
bad argv handling for fconfigure -ttycontrol
User & Date: nobody on 2004-11-16 23:25:18
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Tcl 8.4.7, built with threads enabled, crashes when
    configuring a serial port on a Linux system. The
    following code  reproduces the problem:
    
    > % info patchlevel
    > 8.4.7
    > % open /dev/ttyS0 {RDWR}
    > file7
    > % fconfigure file7 -mode "9600,n,8,1"
    > % fconfigure file7 -ttycontrol {RTS 1 DTR 1}
    > Segmentation fault
    
    The fault appears to be specific to the 'ttycontrol'
    option and does not happen on a non-threaded build. The
    platform is Slackware Linux 9.1 with GCC 3.2.3 and
    glibc 2.3.2. The configure options used to compile Tcl
    were "--enable-shared --enable-threads".
    
    George
    fr30 at dial dot pipex dot com
    
    
  4. foundin changed to: "obsolete: 8.4.7"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "24. Channel Commands"
  10. title changed to: "Threaded Tcl crashes on fconfigure -ttycontrol"
  11. type changed to: "Bug"