Skip to content
Tcl Source Code History Of Ticket 671624ffff
Login

History Of Ticket 671624ffff

Artifacts Associated With Ticket 671624ffff

  1. Ticket change [b67fda2009] (rid 125434) by taguchiv6 on 2003-01-21 06:47:14:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      I'm tring to --enable-thread on my FreeBSD 5.0-RELEASE box.
      compiling was passed. and almost make tests were passed.
      but I found following 2 probrems.
      
      (1) stack.test dump core.
      Here is a stack trace.
      BEGIN>---<CUT HERE>---
      #0  0x280e06fc in TclObjInterpProc
      (clientData=0x808c208, interp=0x806f008,  
          objc=1, objv=0x8077b30) at ../generic/tclProc.c:903 
      #1  0x2808b29d in TclEvalObjvInternal
      (interp=0x806f008, objc=1,  
          objv=0x8077b30, command=0x0, length=0, flags=0) 
          at ../generic/tclBasic.c:3048 
      #2  0x280b0860 in TclExecuteByteCode (interp=0x806f008,
      codePtr=0x80b5c08) 
          at ../generic/tclExecute.c:1431 
      #3  0x280aff35 in TclCompEvalObj (interp=0x806f008,
      objPtr=0x8072480) 
          at ../generic/tclExecute.c:1008 
      #4  0x280e0b47 in TclObjInterpProc
      (clientData=0x808c208, interp=0x806f008,  
          objc=1, objv=0x8077b2c) at ../generic/tclProc.c:1082 
      #5  0x2808b29d in TclEvalObjvInternal
      (interp=0x806f008, objc=1,  
          objv=0x8077b2c, command=0x0, length=0, flags=0) 
          at ../generic/tclBasic.c:3048 
      #6  0x280b0860 in TclExecuteByteCode (interp=0x806f008,
      codePtr=0x80b5c08) 
          at ../generic/tclExecute.c:1431 
      ..... <snip>...
      #2843 0x280aff35 in TclCompEvalObj (interp=0x806f008,
      objPtr=0x8072ff0) 
          at ../generic/tclExecute.c:1008 
      #2844 0x2808c2bb in Tcl_EvalObjEx (interp=0x806f008,
      objPtr=0x8072ff0, flags=0)     at
      ../generic/tclBasic.c:3944 
      #2845 0x28090647 in Tcl_CatchObjCmd (dummy=0x0,
      interp=0x806f008, objc=3,  
          objv=0x806f008) at ../generic/tclCmdAH.c:254 
      #2846 0x2808b29d in TclEvalObjvInternal
      (interp=0x806f008, objc=3,  
          objv=0x807700c, command=0x0, length=0, flags=0) 
          at ../generic/tclBasic.c:3048 
      #2847 0x280b0860 in TclExecuteByteCode
      (interp=0x806f008, codePtr=0x8070208) 
          at ../generic/tclExecute.c:1431 
      #2848 0x280aff35 in TclCompEvalObj (interp=0x806f008,
      objPtr=0x8072828) 
          at ../generic/tclExecute.c:1008 
      #2849 0x2808c2bb in Tcl_EvalObjEx (interp=0x806f008,
      objPtr=0x8072828,  
          flags=131072) at ../generic/tclBasic.c:3944 
      #2850 0x280bccaa in Tcl_RecordAndEvalObj
      (interp=0x806f008, cmdPtr=0x8072828,  
          flags=131072) at ../generic/tclHistory.c:142 
      #2851 0x280d1d55 in Tcl_Main (argc=1, argv=0xbfbffb84,  
          appInitProc=0x8048680 <Tcl_AppInit>) at
      ../generic/tclMain.c:390 
      #2852 0x08048673 in main (argc=134791688, argv=0x808c208) 
          at ../unix/tclAppInit.c:90 
      #2853 0x08048585 in _start () 
      END>---<CUT HERE>----
      maxNestingDepth in TclInterpReady() was 710 (< 1000!).
      I think MAX_NESTING_DEPTH in tclInt.h may be 700.
      Or Should TclpCheckStackSpace be imprement?
      I think changing MAX_NESTING_DEPTH is never beautiful.
      Does anyone know excelent solution?
      
      (2) configure never detect pthread_attr_setstacksize(3T)
      unix/configure can not detect pthread_attr_setstacksize.
      
      here is a config.log:
      BEGIN>---8<CUT HERE>8---
      configure:1231: checking for pthread_attr_setstacksize 
      configure:1259: cc -o conftest -O -pipe -g
      -march=pentium3   conftest.c  1>&5 
      /var/tmp//ccVFfbD7.o: In function `main': 
      /usr/ports/lang/tclsh84-ext/work/tcl8.4.1/unix/configure:1253:
      undefined refere\nce to `pthread_attr_setstacksize' 
      END>---8<CUT HERE>8---
      cc does not have -pthread (= $THREADS_LIBS) as its
      args, so checking for this function will fail.
      If add -pthreads manually, then check will success.
      
      Sorry I've try to make a patch for tcl.m4, but I couldn't
      do it.
      
      Thanks.
      ---
      Taguchi,T.
      
      
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "taguchiv6"
    9. subsystem initialized to: "None"
    10. title initialized to: "enable-threads on FreeBSD5.0"
    11. type initialized to: "Bug"
  2. Ticket change [f0ed16d205] (rid 109280) by taguchiv6 on 2003-01-21 13:53:11:

    1. icomment:
      Logged In: YES 
      user_id=357728
      
      Sorry I forgot to say which verion I used.
      tcl8.4.1 and cvsuped yesterday have this probrem.
      Thanks.
      ---
      Taguchi,T.
      
      
    2. login: "taguchiv6"
    3. mimetype: "text/plain"
    4. username: "taguchiv6"
  3. Ticket change [ce18fe4eb0] (rid 96002) by hobbs on 2003-01-21 14:08:43:

    1. assignee changed to: "hobbs"
    2. icomment:
      Logged In: YES 
      user_id=72656
      
      This is a fairly well known problem for systems that default to 
      very low default stack sizes for threads.  Read the stack.test 
      file to see if the notes there correct your problem.
      
      Otherwise, it looks like we need to figure out how to verify the 
      right threads libs on FreeBSD-5.
      
      
    3. login: "hobbs"
    4. mimetype: "text/plain"
    5. username: "hobbs"
  4. Ticket change [72fe62e9c2] (rid 104965) by taguchiv6 on 2003-01-22 12:36:55:

    1. icomment:
      Logged In: YES 
      user_id=357728
      
      Thanks Jeff!
      I should read your comments and some entries for other OS in
      tcl.m4.
      
      I've made a patch for tcl.m4.
      and it's seem work fine!
      
      Thanks.
      
      
    2. login: "taguchiv6"
    3. mimetype: "text/plain"
    4. username: "taguchiv6"
  5. Add attachment "patch-tcl-m4-2" [98e3c982da] (rid 110688) by taguchiv6 on 2003-01-22 12:36:55.

  6. Ticket change [22c9b4540f] (rid 130815) by taguchiv6 on 2003-01-22 12:36:56:

    1. icomment:
      
      
      File Added - 40308: patch-tcl-m4-2
      
      
      
    2. login: "taguchiv6"
    3. mimetype: "text/plain"
    4. username: "taguchiv6"
  7. Ticket change [dcc9078756] (rid 114546) by hobbs on 2003-02-15 09:08:14:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      The attached sort of cheats on adding those #defines when 
      they are not otherwise found.  Either there is a autoconf 
      problem in determining whether those functions exist, or we 
      aren't looking in the right place in SC_ENABLE_THREADS.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  8. Ticket change [d78ca6f304] (rid 124008) by dgp on 2003-11-13 08:53:51:

    1. foundin changed to: "obsolete: 8.4.1"
  9. Ticket change [1cf0557777] (rid 259756) by serhiy.storchaka on 2026-10-21 10:03:39:

    1. icomment:
      The pthread_attr_setstacksize detection was fixed in 8.4.2 by [6fef89efec]: configure now links the check with the thread libraries. Since 8.6, proc recursion no longer uses the C stack (NRE), so the stack.test crash on small default stacks is out of date. Closing.
      
    2. login: "serhiy.storchaka"
    3. mimetype: "text/x-fossil-wiki"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  10. Ticket change [1a2c3011f6] (rid 260044) by serhiy.storchaka on 2026-10-22 17:19:32:

    1. closedate changed to: "2461334.919212674"
    2. closer changed to: "serhiy.storchaka"
    3. login: "serhiy.storchaka"