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

History Of Ticket 929562ffff

Artifacts Associated With Ticket 929562ffff

  1. Ticket change [823447c1fa] (rid 117194) by tauvan on 2004-04-05 05:35:12:

    1. assignee initialized to: "kennykb"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      machine: mac ppc G4 (1st PCI 400Mhz) OSX 10.1.5
      
      A more detailed description under 20 failures bug
      just library location change
      
      Possible solution:
      test load-2.3 {loading with no _Init procedure} [list $dll $loaded] 
      {
          set msg [string range [list [catch {load [file join $testDir 
      pkgc$ext] foo} msg] $msg] end-32 end-1]
      } {couldn't find procedure Foo_Init}
      
    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: "tauvan"
    9. subsystem initialized to: "40. Dynamic Loading"
    10. title initialized to: "load-2.3 FAILED no _Init procedure"
    11. type initialized to: "Bug"
  2. Ticket change [2395a19351] (rid 130967) by dkf on 2004-04-05 16:35:46:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      This test should be rewritten to use tcltest2 syntax anyway.
       Something like this:
      
      test load-2.3 {loading with no _Init procedure} \
              -constraints [list $dll loaded] -body {
          load [file join $testDir pkgc$ext] foo
      } -returnCodes error -result {couldn't find procedure Foo_Init}
      
      Now, what I want to know is why is OSX putting extra crud in
      the error message compared with other UNIX platforms? 
      Altering the test in this case looks like the wrong thing to do.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [2f6f92dfbf] (rid 93068) by tauvan on 2004-04-19 12:21:48:

    1. icomment:
      Logged In: YES 
      user_id=1011552
      
        Hi, did a little digging and may have an alternative that might stop 
      the Apple crud and solve a possible later problem with Apple. I found 
      "deprecated: Mac OS X < 10.3.x" and some what looks like really good 
      code that states base compatiblity 10.0 on up, plus it looks like Apple 
      is headed that way. I've tested on the load.test, actually the all.tcl and 
      it works fine. Also instead of using tclLoadDyld.c it uses tclLoadDl.c 
      with one minor change. The source compatiblity code had minor 
      changes for warnings. The source is from http://cvs.opendarwin.org/
      cgi-bin/cvsweb.cgi/proj/dlcompat/ dlfcn.h & dlfcn.c and could be 
      dropped into Tcl via compat objects.
        What do you think? a possibilty or keep digging?
      
      
    2. login: "tauvan"
    3. mimetype: "text/plain"
    4. username: "tauvan"
  4. Ticket change [dc4a9b2485] (rid 114453) by dkf on 2004-04-19 16:13:28:

    1. assignee changed to: "das"
  5. Ticket change [aa4777d04c] (rid 99301) by das on 2004-04-19 16:40:41:

    1. assignee changed to: "wolfsuit"
    2. icomment:
      Logged In: YES 
      user_id=90580
      
      the extra diagnostic messages have been added on purpose to 
      resolve bug 627546:
      
              2002-10-29  Daniel Steffen  <[email protected]>
              
                      * unix/tclLoadDyld.c (TclpFindSymbol): pass all 
      dyld error
                      messages upstream [Bug #627546].
              
      see https://sourceforge.net/tracker/
      ?func=detail&atid=110894&aid=627546&group_id=10894
      
      this can be easily reversed by undoing the patch attatched there 
      (remove NSLinkEditError() handling from tclLoadDyld.c).
      IMO the extra diagnostic information is useful however, and as 
      such I would oppose removing this only to make the test suite 
      pass... what do others think? the test suite should be changed 
      instead.
      
      IMO, we certainly don't want to add a dependency on dlcompat, 
      our existing code works fine and is more flexible.... at some 
      point we also want to add optional loading of MachO bundles, 
      which dlcompat wouldn't support.
      
      
    3. login: "das"
    4. mimetype: "text/plain"
    5. username: "das"
  6. Ticket change [8550688196] (rid 131293) by dkf on 2004-04-19 16:58:11:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      Hmm.  Perhaps in that case the right thing to do is to
      structure the error messages in such a way that we can do a
      glob match in the test?  (I'd need to look up the syntax for
      doing this, and there is the separate matter of whether the
      detail part of the message that you're adding should come at
      the beginning or the end of the error message.)
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  7. Ticket change [e4dcb6bd24] (rid 88030) by tauvan on 2004-04-19 19:02:29:

    1. icomment:
      Logged In: YES 
      user_id=1011552
      
      FWIW I agree with Daniel Steffen, I like any additional info that helps 
      in diagnosing problems, dlcompat would require dependancy on 
      something non-Tcl, but I'm no expert I'm just tossing possiblities.
      
      
    2. login: "tauvan"
    3. mimetype: "text/plain"
    4. username: "tauvan"
  8. Ticket change [9be96bdb90] (rid 111201) by das on 2006-08-21 11:01:25:

    1. icomment:
      Logged In: YES 
      user_id=90580
      
      fixed long ago
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. username: "das"
  9. Ticket change [c8cbf3ce8e] (rid 122168) by das on 2006-08-21 11:01:26:

    1. assignee changed to: "das"
    2. closedate changed to: "2006-08-21T04:01:26"
    3. closer changed to: "das"
    4. resolution changed to: "Out of Date"
    5. status changed to: "Closed"