Skip to content
Tcl Source Code History Of Ticket 1306310
Login

History Of Ticket 1306310

Artifacts Associated With Ticket 1306310

  1. Ticket change [967937b40c] (rid 106334) by nobody on 2005-09-27 22:34:26:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Running:
      
      % package require Expect
      5.42.1
      % package require Itcl
      3.1
      % puts $tcl_version
      8.4
      % itcl::class Foo {
         common boolean
         set boolean(true) 1
         set boolean(false) 0
      }
      Segmentation fault
      
      The same command in the itclsh shell works fine:
      
      % class Foo {
         common boolean
         set boolean(true) 1
         set boolean(false) 0
      }
      %
      
      I just moved to Debian Sarge "kernelversion 2.6"
      
    4. foundin initialized to: "obsolete: 8.4.0"
    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: "10. Objects"
    10. title initialized to: "Segmentation Fault when creating a itcl::class"
    11. type initialized to: "Bug"
  2. Ticket change [9cfeb28c69] (rid 96236) by robsaye on 2005-09-28 05:48:05:

    1. icomment:
      Logged In: YES 
      user_id=1352898
      
      This is my bug, I just created a username here. My email is
      robsaye at comcast dot net.
      
      
    2. login: "robsaye"
    3. mimetype: "text/plain"
    4. username: "robsaye"
  3. Ticket change [0d37bcfa13] (rid 114320) by msofer on 2005-09-28 08:03:14:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Two questions:
      
      1. is the 'package require Expect' necessary for the
      segfault? You do not seem to include that itclsh.
      
      2. please report any differences in the contents of
      tcl_platform as well as tcl_patchlevel between the two cases
      - trying to determine if both shells are built similarly.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  4. Ticket change [9d4b3d922a] (rid 96279) by nobody on 2005-09-28 10:21:28:

    1. icomment:
      Logged In: NO 
      
      1. Package Require Expect is not required, (It was just in
      the test I had written that crashed)
      
      
      2.  tclsh
      
      % array get tcl_platform
      osVersion 2.6.12-staros-9240 byteOrder littleEndian threaded
      1 machine i686 platform unix os Linux user rsaye wordSize 4
      
      
       itclsh
      array get tcl_platform
      osVersion 2.6.12-staros-9240 byteOrder littleEndian machine
      i686 platform unix os Linux user rsaye
      
      
      On both there is no variable tcl_patchlevel
      
       puts $tcl_patchlevel
      can't read "tcl_patchlevel": no such variable
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  5. Ticket change [82a1d7cbcf] (rid 117265) by msofer on 2005-09-28 17:34:02:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Oops ... that should have been an [info patchlevel] request,
      sorry.
      
      Anyway: one difference is that your tclsh is a threaded
      build, whereas the itclsh is not. So now the question is if
      your itcl package is built for threads (a "no" would explain
      the crash). Do you know how it was compiled? 
      
      ISTR that expect is known to have problems with threads.
      Does your test also crash without requiring it?
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  6. Ticket change [7d14ac71f4] (rid 97185) by hobbs on 2005-10-05 10:55:32:

    1. closedate changed to: "2005-10-05T03:55:32"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      Someone hasn't put together the pieces right.  The following
      is from a threaded Linux ActiveTcl build that indicates this
      works when compiled right:
      
      tellar [~] 93 > ~/ActiveTcl-8.4t/bin/tclsh
      % package require Expect
      5.43.0
      % package require Itcl
      3.3
      % itcl::class Foo {
      common boolean
      set boolean(true) 1
      set boolean(false) 0
      }
      % parray tcl_platform
      tcl_platform(byteOrder) = littleEndian
      tcl_platform(machine)   = i686
      tcl_platform(os)        = Linux
      tcl_platform(osVersion) = 2.6.8-24.14-default
      tcl_platform(platform)  = unix
      tcl_platform(threaded)  = 1
      tcl_platform(user)      = jeffh
      tcl_platform(wordSize)  = 4
      % package require ActiveTcl
      8.4.11.1.198139
      
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Closed"
    8. username: "hobbs"
  7. Ticket change [dd92a83cf3] (rid 114691) by robsaye on 2005-10-05 20:08:50:

    1. icomment:
      Logged In: YES 
      user_id=1352898
      
      That would help greatly, the Debian "Sarge" release has Itcl
      version 3.1 which can't handle the --enable_threads option
      tcl 8.4 was built with. To solve this I just rolled back to
      tcl 8.3 which does not have threads enabled. I updated a
      Debian Bug on this. 
      
      
    2. login: "robsaye"
    3. mimetype: "text/plain"
    4. username: "robsaye"