Skip to content
Tcl Source Code History Of Ticket 1067708fffffffff
Login

History Of Ticket 1067708fffffffff

Artifacts Associated With Ticket 1067708fffffffff

  1. Ticket change [b0ae2106e9] (rid 98028) by nobody on 2004-11-16 23:25:18:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 initialized to: "obsolete: 8.4.7"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "24. Channel Commands"
    10. title initialized to: "Threaded Tcl crashes on fconfigure -ttycontrol"
    11. type initialized to: "Bug"
  2. Ticket change [e3df6d932a] (rid 87870) by hobbs on 2004-11-17 06:57:48:

    1. assignee changed to: "dgp"
    2. icomment:
      Logged In: YES 
      user_id=72656
      
      I believe the following patch is correct for 8.4.8.  Please
      verify - may need adjustment for 8.5a2.
      
      
    3. login: "hobbs"
    4. mimetype: "text/plain"
    5. priority changed to: "8"
    6. username: "hobbs"
  3. Add attachment "1067708.patch" [738fcd4fcd] (rid 105062) by hobbs on 2004-11-17 06:57:48.

  4. Ticket change [4127b7c83b] (rid 116140) by hobbs on 2004-11-17 06:57:49:

    1. icomment:
      
      
      File Added - 109035: 1067708.patch
      
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  5. Ticket change [aef41cfd8d] (rid 97726) by dgp on 2004-11-17 07:50:27:

    1. assignee changed to: "hobbs"
  6. Ticket change [f0d9e6d5dd] (rid 109267) by dgp on 2004-11-17 07:50:28:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      patch applies to both branches, and
      after application the crash is gone in
      both branches.
      
      changes look correct too.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [1e1587ccc1] (rid 90917) by hobbs on 2004-11-17 09:53:33:

    1. resolution changed to: "Fixed"
  8. Ticket change [d5d1240115] (rid 123697) by hobbs on 2004-11-17 09:53:34:

    1. assignee changed to: "andreas_kupries"
    2. icomment:
      Logged In: YES 
      user_id=72656
      
      Fixed this in 8.4.8 and 8.5a2.  Noticed that tclWinChan.c
      avoided this by never freeing the argv array!  This moves to
      an open bug on win/tclWinChan.c to free that memory
      (correctly!).
      
      
    3. login: "hobbs"
    4. mimetype: "text/plain"
    5. priority changed to: "6"
    6. title changed to: "bad argv handling for fconfigure -ttycontrol"
    7. username: "hobbs"
  9. Ticket change [9ae57e9cfb] (rid 111027) by dgp on 2004-12-02 05:22:02:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      should this be closed now?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  10. Ticket change [dcab91fa73] (rid 114521) by andreas_kupries on 2004-12-02 05:26:07:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      No, because we still have to fix the memleak on windows.
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  11. Ticket change [6a012d544d] (rid 128072) by hobbs on 2005-10-05 13:34:26:

    1. closedate changed to: "2005-10-05T06:34:26"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      properly free argv in 8.4.12 and 8.5a4.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "hobbs"