Skip to content
Tcl Source Code History Of Ticket 976090ffffffffff
Login

History Of Ticket 976090ffffffffff

Artifacts Associated With Ticket 976090ffffffffff

  1. Ticket change [46c56eeb2b] (rid 99571) by wobster on 2004-06-20 03:33:42:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      I discovered a segmentation fault when running some
      incrTcl code in a new thread. If I run the same script
      in the main thread, there are no errors. It appears to
      be related to object creation. 
      
      I'm using the Tcl 8.4.6, the CVS head of the incrTcl
      extension, and the CVS head of the thread extension.
      
      I haven't been able to trace down the exact source of
      the memory problem yet.
      
      Any ideas?
      
      Thanks,
      
      Rob
      
      p.s. I'm attaching the stack trace of the segmentation
      fault and the compiler warnings I got when I compiled
      Tcl on the Cray.
      
    4. foundin initialized to: "obsolete: 8.4.6"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "wobster"
    9. subsystem initialized to: "49. Threading"
    10. title initialized to: "Segmentation fault in new thread on Cray X1"
    11. type initialized to: "Bug"
  2. Add attachment "stacktrace.txt" [0dd0ad4774] (rid 114431) by wobster on 2004-06-20 10:33:42.

  3. Ticket change [912366bc18] (rid 120578) by wobster on 2004-06-20 10:33:43:

    1. icomment:
      
      
      File Added - 91249: stacktrace.txt
      
      
      
    2. login: "wobster"
    3. mimetype: "text/plain"
    4. username: "wobster"
  4. Ticket change [1cee96aac9] (rid 90701) by wobster on 2004-06-20 10:34:50:

    1. icomment:
      
      
      File Added - 91250: warnings.txt
      
      
      
    2. login: "wobster"
    3. mimetype: "text/plain"
    4. username: "wobster"
  5. Add attachment "warnings.txt" [99bd54badd] (rid 110844) by wobster on 2004-06-20 10:34:50.

  6. Ticket change [6512e2013f] (rid 92889) by wobster on 2004-06-20 10:35:29:

    1. priority changed to: "9 Immediate"
  7. Ticket change [935374fc08] (rid 105794) by wobster on 2004-06-20 20:00:25:

    1. priority changed to: "5 Medium"
  8. Ticket change [68a662dd47] (rid 103106) by wobster on 2004-06-20 20:00:26:

    1. icomment:
      Logged In: YES 
      user_id=60261
      
      Zoran Vasiljevic suggested that the default stack size for
      the threads might not be large enough, so I  recompiled Tcl
      using
      make MEM_DEBUG_FLAGS=-DTCL_THREAD_STACK_MIN=1048576L
      That seemed to fix the problem for now.
      
      
      
      
    2. login: "wobster"
    3. mimetype: "text/plain"
    4. username: "wobster"
  9. Ticket change [756e513541] (rid 105386) by wobster on 2004-06-21 09:24:33:

    1. icomment:
      Logged In: YES 
      user_id=60261
      
      As an FYI here are the default stack sizes for a few of the
      platforms that I run on:
      
      1.) Cray - 512 KB
      2.) IRIX  - 128K 
      3.) Solaris 32 bit - 1 MB
      4.) Solaris 64 bit - 2 MB
      5.) Linux -  2 MB
      
      I'm going to recompile Tcl to use 2 MB on all platforms.
      
      At some point, it might be nice to be able to configure the
      Tcl interpreter at run time to change the stack sizes prior
      to creating new threads. If there is any way that the user
      could be alerted that the stack size is insufficient that'd
      be great as well.
      
      Thanks,
      
      Rob
      
      
    2. login: "wobster"
    3. mimetype: "text/plain"
    4. username: "wobster"
  10. Ticket change [d719d71f16] (rid 123921) by dkf on 2009-06-18 15:34:43:

    1. icomment:
      Tcl 8.6 should use a lot less stack due to its restructure in "stackless" form for NRE. Reopen this bug if it is still an issue.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  11. Ticket change [8697406a20] (rid 131540) by dkf on 2009-06-18 15:34:44:

    1. closedate changed to: "2009-06-18T08:34:44"
    2. closer changed to: "dkf"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"