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

History Of Ticket 510001ffffffffff

Artifacts Associated With Ticket 510001ffffffffff

  1. Ticket change [ec17f42c39] (rid 103649) by davygrvy on 2002-01-29 02:48:32:

    1. assignee initialized to: "stwo"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      setsockopt() on windows takes a SOCKET type, not an 
      int which isn't the same size on Win64.  I don't have 
      a patch ready, but noticed it while fixing porting 
      issues.
      
      TclSockMinimumBuffers() is found in generic/tclIOSock.c
      
    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: "davygrvy"
    9. subsystem initialized to: "52. Portability Support"
    10. title initialized to: "TclSockMinimumBuffers needs plat imp"
    11. type initialized to: "Bug"
  2. Ticket change [d1df5fa239] (rid 113428) by dgp on 2003-11-13 08:43:40:

    1. foundin changed to: "obsolete: 8.3.4"
  3. Ticket change [12ecdae4bf] (rid 124133) by hobbs on 2007-02-10 01:47:06:

    1. foundin changed to: "obsolete: 8.4.15"
  4. Ticket change [250c27e4df] (rid 131217) by dkf on 2007-02-12 00:40:03:

    1. priority changed to: "7 High"
  5. Ticket change [6a63dc296c] (rid 128141) by stwo on 2009-04-15 03:54:06:

    1. assignee changed to: "davygrvy"
  6. Ticket change [e278406068] (rid 87634) by davygrvy on 2009-04-15 04:45:18:

    1. icomment:
      IMHO, this function was over-factored into generic originally.
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  7. Ticket change [5b7eeaae15] (rid 118337) by nijtmans on 2012-03-29 16:52:06:

    1. assignee changed to: "nijtmans"
    2. foundin changed to: "obsolete: 8.5.11"
  8. Ticket change [3494fab776] (rid 106778) by nijtmans on 2012-03-29 17:26:23:

    1. icomment:
      proposal for solution committed to branch bug-510001
      
      For Tcl8.4 and 8.5 it effectively means removing the
      stub entry for TclSockMinimumBuffers on WIN64
      (On win32 everything stays as is). Extension writers
      using this function (are there any?) will notice that
      the function is gone. Tcl uses a small static
      function with the correct signature in stead,
      which does the right thing.
      
      In Tcl 8.6, it is already solved by changing the
      signature having ClientData as first parameter.
      
      This way, everything is kept binary compatible.
      Extension writers who want this function will
      have to use their own, or wait for Tcl 8.6.
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  9. Ticket change [4ee6909647] (rid 125728) by nijtmans on 2012-03-29 17:26:33:

    1. resolution changed to: "Fixed"
  10. Ticket change [3cc7bf7402] (rid 120967) by dgp on 2012-04-04 21:29:24:

    1. icomment:
      current 8.4 branch hangs in the test suite at test
      event-11.5 .  gdb points the blame at a routine:
      
      Program received signal SIGINT, Interrupt.
      TclSockMinimumBuffersOld (sock=0, size=0)
          at /home/dgp/fossil/tcl8.4/unix/../generic/tclStubInit.c:65
      
      And that leads me to report it here.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. priority changed to: "9 Immediate"
    5. username: "dgp"
  11. Ticket change [3662366904] (rid 107095) by dgp on 2012-04-04 21:30:09:

    1. icomment:
      8.5 branch experiences a similar hang
      in test chan-16.9
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  12. Ticket change [593fee9242] (rid 117946) by dkf on 2012-04-04 21:31:55:

    1. icomment:
      Problem also experienced on OSX. Call graph is:
      
      
      Sampling process 47709 for 3 seconds with 1 millisecond of run time between samples
      Sampling completed, processing symbols...
      Analysis of sampling tcltest (pid 47709) every 1 millisecond
      Call graph:
          2508 Thread_2507
            2508 start
              2508 main
                2508 Tcl_Main
                  2508 Tcl_FSEvalFile
                    2508 Tcl_EvalEx
                      2508 TclEvalObjvInternal
                        2508 TclObjInterpProc
                          2508 TclCompEvalObj
                            2508 TclExecuteByteCode
                              2508 TclEvalObjvInternal
                                2508 Tcl_UplevelObjCmd
                                  2508 Tcl_EvalObjEx
                                    2508 Tcl_EvalObjv
                                      2508 TclEvalObjvInternal
                                        2508 TclObjInterpProc
                                          2508 TclCompEvalObj
                                            2508 TclExecuteByteCode
                                              2508 TclEvalObjvInternal
                                                2508 Tcl_UplevelObjCmd
                                                  2508 Tcl_EvalObjEx
                                                    2508 Tcl_EvalObjv
                                                      2508 TclEvalObjvInternal
                                                        2508 TclObjInterpProc
                                                          2508 TclCompEvalObj
                                                            2508 TclExecuteByteCode
                                                              2508 TclEvalObjvInternal
                                                                2508 Tcl_UplevelObjCmd
                                                                  2508 Tcl_EvalObjEx
                                                                    2508 Tcl_EvalEx
                                                                      2508 TclEvalObjvInternal
                                                                        2508 Tcl_CatchObjCmd
                                                                          2508 Tcl_EvalObjEx
                                                                            2508 TclCompEvalObj
                                                                              2508 TclExecuteByteCode
                                                                                2508 TclEvalObjvInternal
                                                                                  2508 Tcl_SocketObjCmd
                                                                                    2508 Tcl_OpenTcpServer
                                                                                      2508 CreateSocket
                                                                                        2508 TclSockMinimumBuffersOld
                                                                                          2508 TclSockMinimumBuffersOld
          2508 Thread_2603
            2508 thread_start
              2508 _pthread_start
                2508 select$DARWIN_EXTSN
                  2508 select$DARWIN_EXTSN
      
      Total number in stack (recursive counted multiple, when >=5):
              8       TclEvalObjvInternal
      
      Sort by top of stack, same collapsed (when >= 5):
              TclSockMinimumBuffersOld        2508
              select$DARWIN_EXTSN        2508
      Sample analysis of process 47709 written to file /dev/stdout
      
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. priority changed to: "7 High"
    5. username: "dkf"
  13. Ticket change [5ab07138ed] (rid 118186) by dkf on 2012-04-04 21:34:29:

    1. icomment:
      I *suspect* you've managed to make the code be defined to just call itself.
      
      Bumping prio to 9 as this now hangs the test suite on multiple maintenance branches.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. priority changed to: "9 Immediate"
    5. username: "dkf"
  14. Ticket change [bd5fb008da] (rid 101895) by dgp on 2012-04-04 21:40:18:

    1. icomment:
      #if !defined(_WIN64)
      /* See bug 510001: TclSockMinimumBuffers needs plat imp */
      #   undef TclSockMinimumBuffers
      #   define TclSockMinimumBuffers(a,b) TclSockMinimumBuffersOld((int)(a),b)
      #endif
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  15. Ticket change [58fbf39a10] (rid 117892) by dgp on 2012-04-04 21:41:29:

    1. icomment:
      That's at the bottom of tclIntDecls.h.
      
      So on any system that's not WIN64, we've
      got TCMBO endlessly calling itself recursively.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  16. Ticket change [58b554a334] (rid 117848) by dgp on 2012-04-04 21:45:31:

    1. icomment:
      workaround committed.  Solves the problem, but
      I don't know that it's the right fix.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  17. Ticket change [fea44d3aa4] (rid 108624) by nijtmans on 2012-04-04 21:58:37:

    1. closedate changed to: "2012-04-04T14:58:37"
    2. closer changed to: "nijtmans"
    3. icomment:
      Yes, that's the right fix. Thanks!
      
      
    4. login: "nijtmans"
    5. mimetype: "text/plain"
    6. priority changed to: "5 Medium"
    7. status changed to: "Closed"
    8. username: "nijtmans"
  18. Ticket change [80af33f4d5] (rid 116911) by nijtmans on 2012-04-05 05:45:07:

    1. icomment:
      Moved the #undef up in the file, placing it together
      other #undef's which handle macros conflicting with
      later definitions in that file as well.
      
      All should be OK now.
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  19. Ticket change [a5c235c6e5] (rid 110429) by davygrvy on 2012-04-05 10:39:58:

    1. icomment:
      WOW.  A 10 year old suggestion :)  You guys rock.  I've out of the scene for ages, but just recently started on a new extension to get my feet back in coding again.  Long live Tcl.
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"