Skip to content
Tcl Source Code History Of Ticket 1802202
Login

History Of Ticket 1802202

Artifacts Associated With Ticket 1802202

  1. Ticket change [dfefd2c6a3] (rid 115105) by nobody on 2007-09-25 18:23:20:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      I installed tcl8.4.16 and tk8.4.16 on Solaris 10 08/07 on a Sun Ultra-45 (SPARC) system.  When I configured Tcl without DTrace support, tkbiff worked correctly, showing me mail header information.  When I configure Tcl with DTrace support, tkbiff complains like this:
      
      tkbiff: IMAP response contained
      unexpected return-path: tag (expected h).
      Response was:
      return-path:
      <[email protected]>
      
      This code is in from tkbiff::imap_gets, which uses tkbiff::bgets and regexp.  I turned on tkbiff's verbose and verbosefile switches to compare what tkbiff is seeing with DTrace enabled and disabled.  With DTrace not enabled:
      
      13:20:34 tkbiff     3.20.0 (5/26/05)
      13:20:34 tkbiff gui 2.10.2 (3/5/04)
      13:20:34 tcl        8.4.16
      13:20:34 tk         8.4.16
      13:20:34 platform   unix
      13:20:34 os         SunOS 5.10
      13:20:34 machine    sun4u
      13:20:34 window sys x11
      13:20:34 logging verbose messages to tkbiff.nodtrace.txt
      13:20:35 connecting via 
      open "|openssl s_client -connect mail-amer.sun.com:993 -quiet 2> /dev/null"  w+
      
      13:20:35 connection created
      13:20:35 awaiting initial greeting from server
      13:20:35 received greeting: * OK [CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY LANGUAGE XSENDER X-NETSCAPE XSERVERINFO AUTH=PLAIN] Messaging Multiplexor (Sun Java(tm) System Messaging Server 6.2-8.04 (built Feb 28 2007))
      13:20:35 sanity check for IMAP4rev1 capability
      13:20:35 sending: c CAPABILITY
      13:20:35 received: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY LANGUAGE XSENDER X-NETSCAPE XSERVERINFO AUTH=PLAIN
      13:20:35 received: c OK CAPABILITY completed
      13:20:35 sending user/password
      13:20:35 sending: l LOGIN "davemq" ...password...
      13:20:35 awaiting login confirmation
      13:20:35 received: l OK User logged in
      13:20:35 login succeeded
      13:20:35 sending: e EXAMINE INBOX
      13:20:35 received: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
      13:20:35 received: * OK [PERMANENTFLAGS ()]  
      13:20:35 received: * 5 EXISTS
      13:20:35 received: * 5 RECENT
      13:20:35 received: * OK [UNSEEN 1]  
      13:20:35 received: * OK [UIDVALIDITY 1154155616]  
      13:20:35 received: * OK [UIDNEXT 133311]  
      13:20:35 received: e OK [READ-ONLY] Completed
      13:20:35 awaiting imap uids and flags
      13:20:35 sending: us SEARCH UNSEEN
      13:20:35 received: * SEARCH 1 2 3 4 5
      13:20:35 received: us OK Completed
      13:20:35 sending: uf FETCH 1:5 (UID FLAGS)
      13:20:35 received: * 1 FETCH (FLAGS (\Recent) UID 133306)
      13:20:35 received: * 2 FETCH (FLAGS (\Recent) UID 133307)
      13:20:35 received: * 3 FETCH (FLAGS (\Recent) UID 133308)
      13:20:35 received: * 4 FETCH (FLAGS (\Recent) UID 133309)
      13:20:35 received: * 5 FETCH (FLAGS (\Recent) UID 133310)
      13:20:35 received: uf OK Completed
      13:20:35 received imap headers
      13:20:35 requesting RFC822 message headers
      13:20:35 sending: h UID FETCH 133306 BODY.PEEK[HEADER]
      13:20:35 received: * 1 FETCH (UID 133306 BODY[HEADER] {5749}
      13:20:35 retrieving RFC822 headers
      13:20:35 received: h OK Completed
      13:20:35 requesting RFC822 body
      13:20:35 sending: b UID FETCH 133306 BODY.PEEK[TEXT]
      13:20:36 received: * 1 FETCH (UID 133306 BODY[TEXT] {1171}
      13:20:36 reading RFC822 body (expected size 1171)
      13:20:36 received: b OK Completed
      
      With DTrace enabled:
      
      13:14:34 tkbiff     3.20.0 (5/26/05)
      13:14:34 tkbiff gui 2.10.2 (3/5/04)
      13:14:34 tcl        8.4.16
      13:14:34 tk         8.4.16
      13:14:34 platform   unix
      13:14:34 os         SunOS 5.10
      13:14:34 machine    sun4u
      13:14:34 window sys x11
      13:14:34 logging verbose messages to tkbiff.dtrace.txt
      13:14:34 connecting via 
      open "|openssl s_client -connect mail-amer.sun.com:993 -quiet 2> /dev/null"  w+
      
      13:14:34 connection created
      13:14:34 awaiting initial greeting from server
      13:14:34 received greeting: * OK [CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY LANGUAGE XSENDER X-NETSCAPE XSERVERINFO AUTH=PLAIN] Messaging Multiplexor (Sun Java(tm) System Messaging Server 6.2-8.04 (built Feb 28 2007))
      13:14:34 sanity check for IMAP4rev1 capability
      13:14:34 sending: c CAPABILITY
      13:14:35 received: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY LANGUAGE XSENDER X-NETSCAPE XSERVERINFO AUTH=PLAIN
      13:14:35 received: c OK CAPABILITY completed
      13:14:35 sending user/password
      13:14:35 sending: l LOGIN "davemq" ...password...
      13:14:35 awaiting login confirmation
      13:14:35 received: l OK User logged in
      13:14:35 login succeeded
      13:14:35 sending: e EXAMINE INBOX
      13:14:35 received: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
      13:14:35 received: * OK [PERMANENTFLAGS ()]  
      13:14:35 received: * 1 EXISTS
      13:14:35 received: * 1 RECENT
      13:14:35 received: * OK [UNSEEN 1]  
      13:14:35 received: * OK [UIDVALIDITY 1154155616]  
      13:14:35 received: * OK [UIDNEXT 133307]  
      13:14:35 received: e OK [READ-ONLY] Completed
      13:14:35 awaiting imap uids and flags
      13:14:35 sending: us SEARCH UNSEEN
      13:14:35 received: * SEARCH 1
      13:14:35 received: us OK Completed
      13:14:35 sending: uf FETCH 1 (UID FLAGS)
      13:14:35 received: * 1 FETCH (FLAGS (\Recent) UID 133306)
      13:14:35 received: uf OK Completed
      13:14:35 received imap headers
      13:14:35 requesting RFC822 message headers
      13:14:35 sending: h UID FETCH 133306 BODY.PEEK[HEADER]
      13:14:35 received: * 1 FETCH (UID 133306 BODY[HEADER] {5749}
      13:14:35 received: Return-path: <[email protected]>
      
      
    4. foundin initialized to: "obsolete: 8.4.16"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "nobody"
    10. subsystem initialized to: "None"
    11. title initialized to:
      Enabling DTrace support on Solaris 10 causes tkbiff failure 
      
    12. type initialized to: "Bug"
  2. Ticket change [bf44035c17] (rid 102222) by das on 2007-09-26 01:44:33:

    1. assignee changed to: "das"
    2. icomment:
      Logged In: YES 
      user_id=90580
      Originator: NO
      
      interesting...
      I don't have access to a sparc system so --enable-dtrace wasn't tested on that architecture.
      Could you run the tcl testsuite with both configurations and see if there are any new failures that appear when configured with --enable-dtrace ?
      Thanks
      
      
    3. login: "das"
    4. mimetype: "text/plain"
    5. subsystem changed to: "55. Other Tools"
    6. username: "das"
  3. Ticket change [def194cf13] (rid 114930) by davemq on 2007-09-26 03:05:52:

    1. icomment:
      Logged In: YES 
      user_id=1898733
      Originator: NO
      
      Sorry I opened this as "nobody", I didn't have an ID at the time.  Yes, I will run the test suite both ways at some point in the near future.  Thanks.
      
      
    2. login: "davemq"
    3. mimetype: "text/plain"
    4. username: "davemq"
  4. Ticket change [cbc01515e9] (rid 95575) by davemq on 2007-12-01 06:25:22:

    1. icomment:
      Logged In: YES 
      user_id=1898733
      Originator: NO
      
      I configured Tcl 8.4.16 with --disable-dtrace on Solaris snv_78, ran make clean, make, make install, and make test.  The results of make test were clean:
      
      LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH; \
      TCL_LIBRARY="/usr/local/src/tcl8.4.16/library"; export TCL_LIBRARY; \
      ./tcltest /usr/local/src/tcl8.4.16/unix/../tests/all.tcl  
      Tests running in interp:  /usr/local/src/tcl8.4.16/unix/tcltest
      Tests located in:  /usr/local/src/tcl8.4.16/tests
      Tests running in:  /usr/local/src/tcl8.4.16/unix
      Temporary files stored in /usr/local/src/tcl8.4.16/unix
      Test files run in separate interpreters
      Running tests that match:  *
      Skipping test files that match:  l.*.test
      Only running test files that match:  *.test
      Tests began at Fri Nov 30 17:08:49 CST 2007
      append.test
      appendComp.test
      assocd.test
      async.test
      autoMkindex.test
      basic.test
      binary.test
      case.test
      clock.test
      cmdAH.test
      cmdIL.test
      cmdInfo.test
      cmdMZ.test
      compExpr-old.test
      compExpr.test
      compile.test
      concat.test
      dcall.test
      dstring.test
      encoding.test
      env.test
      error.test
      eval.test
      event.test
      exec.test
      execute.test
      expr-old.test
      expr.test
      fCmd.test
      fileName.test
      fileSystem.test
      for-old.test
      for.test
      foreach.test
      format.test
      get.test
      history.test
      http.test
      httpold.test
      if-old.test
      if.test
      incr-old.test
      incr.test
      indexObj.test
      info.test
      init.test
      :       Total   24      Passed  24      Skipped 0       Failed  0
      interp.test
      io.test
      ioCmd.test
      ioUtil.test
      iogt.test
      join.test
      lindex.test
      link.test
      linsert.test
      list.test
      listObj.test
      llength.test
      load.test
      lrange.test
      lreplace.test
      lsearch.test
      lset.test
      lsetComp.test
      macFCmd.test
      main.test
      misc.test
      msgcat.test
      namespace-old.test
      namespace.test
      notify.test
      obj.test
      opt.test
      osa.test
      package.test
      parse.test
      parseExpr.test
      parseOld.test
      pid.test
      pkg.test
      :       Total   393     Passed  138     Skipped 255     Failed  0
      pkgMkIndex.test
      platform.test
      proc-old.test
      proc.test
      pwd.test
      reg.test
      regexp.test
      regexpComp.test
      registry.test
      rename.test
      resource.test
      result.test
      safe.test
      scan.test
      security.test
      set-old.test
      set.test
      socket.test
      source.test
      split.test
      stack.test
      string.test
      stringComp.test
      stringObj.test
      subst.test
      switch.test
      tcltest.test
      thread.test
      timer.test
      trace.test
      unixFCmd.test
      unixFile.test
      unixInit.test
      unixNotfy.test
      unknown.test
      uplevel.test
      upvar.test
      utf.test
      util.test
      var.test
      while-old.test
      while.test
      winConsole.test
      winDde.test
      winFCmd.test
      winFile.test
      winNotify.test
      winPipe.test
      winTime.test
      
      Tests ended at Fri Nov 30 17:11:14 CST 2007
      all.tcl:        Total   10925   Passed  9965    Skipped 960     Failed  0
      Sourced 129 Test Files.
      Number of tests skipped for each constraint:
              2       95or98
              4       dontCopyLinks
              47      emptyTest
              2       hasIsoLocale
              24      knownBug
              1       largefileSupport
              25      localeRegexp
              126     macOnly
              1       macOrWin
              2       memDebug
              3       memory
              1       needPST
              148     nonPortable
              5       notNetworkFilesystem
              2       pc
              413     pcOnly
              1       testWinCPUID
              30      testthread
              1       testwinclock
              21      testwordend
              254     tip268
              41      tip280
              1       umask2
              3       unknownFailure
              22      wideIntegerUnparsed
              19      win
              16      winOnly
      hogwart 17:11:14 unix 104 $ exit
      
      script done on Fri Nov 30 17:21:18 2007
      
      
      
    2. login: "davemq"
    3. mimetype: "text/plain"
    4. username: "davemq"
  5. Ticket change [e7440b3eed] (rid 104425) by davemq on 2007-12-11 06:19:21:

    1. icomment:
      Logged In: YES 
      user_id=1898733
      Originator: NO
      
      I then ran this on the same SPARC system but configured and compiled Tcl with --dtrace-enable.  I'm only enclosing some of the results of "make test".  I had to stop "make test" after it sat for 15 minutes eating CPU time in the fileSystem tests.
      
      Script started on Wed Dec 05 11:39:54 2007
      hogwart 11:39:54 unix 101 $ grep dtrace config.status
      # ./configure  --enable-dtrace
          echo "running ${CONFIG_SHELL-/bin/sh} ./configure  --enable-dtrace --no-create --no-recursion"
          exec ${CONFIG_SHELL-/bin/sh} ./configure  --enable-dtrace --no-create --no-recursion ;;
      s%@DTRACE@%/usr/sbin/dtrace%g
      hogwart 11:40:00 unix 102 $ make test
      Warning: tclStubInit.c may be out of date.
      Developers may want to run "make genstubs" to regenerate.
      This warning can be safely ignored, do not report as a bug!
      LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH; \
      TCL_LIBRARY="/usr/local/src/tcl8.4.16/library"; export TCL_LIBRARY; \
      ./tcltest /usr/local/src/tcl8.4.16/unix/../tests/all.tcl  
      Tests running in interp:  /usr/local/src/tcl8.4.16/unix/tcltest
      Tests located in:  /usr/local/src/tcl8.4.16/tests
      Tests running in:  /usr/local/src/tcl8.4.16/unix
      Temporary files stored in /usr/local/src/tcl8.4.16/unix
      Test files run in separate interpreters
      Running tests that match:  *
      Skipping test files that match:  l.*.test
      Only running test files that match:  *.test
      Tests began at Wed Dec 05 11:40:06 CST 2007
      append.test
      
      ==== append-4.9 lappend command FAILED
      ==== Contents of test case:
      
          set x " \{"
          list [catch {lappend x abc} msg] $msg
      
      ---- Result was:
      0 {unmatched open brace in list}
      ---- Result should have been (exact matching):
      1 {unmatched open brace in list}
      ==== append-4.9 FAILED
      
      
      ==== append-4.10 lappend command FAILED
      ==== Contents of test case:
      
          set x "     \{"
          list [catch {lappend x abc} msg] $msg
      
      ---- Result was:
      0 {unmatched open brace in list}
      ---- Result should have been (exact matching):
      1 {unmatched open brace in list}
      ==== append-4.10 FAILED
      
      
      ==== append-4.11 lappend command FAILED
      ==== Contents of test case:
      
          set x "\{\{\{"
          list [catch {lappend x abc} msg] $msg
      
      ---- Result was:
      0 {unmatched open brace in list}
      ---- Result should have been (exact matching):
      1 {unmatched open brace in list}
      ==== append-4.11 FAILED
      
      
      ==== append-4.12 lappend command FAILED
      ==== Contents of test case:
      
          set x "x \{\{\{"
          list [catch {lappend x abc} msg] $msg
      
      ---- Result was:
      0 {unmatched open brace in list}
      ---- Result should have been (exact matching):
      1 {unmatched open brace in list}
      ==== append-4.12 FAILED
      
      
      ==== append-4.21 lappend command FAILED
      ==== Contents of test case:
      
          set x \"
      
      
      
    2. login: "davemq"
    3. mimetype: "text/plain"
    4. username: "davemq"