Skip to content
Tcl Source Code History Of Ticket 1792183fffffffff
Login

History Of Ticket 1792183fffffffff

Artifacts Associated With Ticket 1792183fffffffff

  1. Ticket change [cbb807842c] (rid 95569) by matben on 2007-09-11 07:40:30:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Perhaps it is time to officially drop support for Mac OS X 10.2. When I try running the one from the link below I get a segmentation fault. I did some gdb tracking before which is posted on the mactcl list.
      
      http://rutherglen.ics.mq.edu.au/~steffen/tcltk/TclTkAquaStandalone-8.4.16-rc0.dmg
      
      Mats
      
    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: "matben"
    10. subsystem initialized to: "None"
    11. title initialized to: "Support on Mac OS X 10.2"
    12. type initialized to: "Bug"
  2. Ticket change [4a42089ffa] (rid 126505) by matben on 2007-09-11 14:41:48:

    1. assignee changed to: "das"
  3. Ticket change [3e0a23d862] (rid 121193) by das on 2007-09-11 15:03:45:

    1. icomment:
      Logged In: YES 
      user_id=90580
      Originator: NO
      
      this is the crash in tclMacOSXNotify.c that has come up on tcl-mac before?
      if yes, as far as I recall, it only affects builds done on 10.4 and running on 10.2? i.e. builds done on 10.3 or 10.2 work correctly? nothing to do with 10.2 support as such then, but an issue with  the weak-link support for OSSpinLockLock etc. in tclMacOSXNotify.c IMO.
      I don't think we came to a satisfactory conclusion when investigating this last time, I no longer have access to a machine capable of running 10.2, so if you can, please try to debug this further (but don't use the standalone build, it has no symbols).
      The main thing to look at would be the SpinLockLockInit() setup in tclMacOSXNotify.c, maybe this is not even being called on 10.2 (possibly due to a pthread_once problem)?
      
      
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. username: "das"
  4. Ticket change [c630884a1a] (rid 121726) by matben on 2007-09-12 20:51:28:

    1. icomment:
      Logged In: YES 
      user_id=108900
      Originator: YES
      
      Some time ago I did some work on building on my 10.2 box and then running gdb, and then it didn't crash on the SpinLock anymore, or at least it crashed on some ATSUI code before that, if I remember correctly. At some point I gave it up, although it built OK on 10.2. I think I either posted you directly or via the tcl-mac list. Sorry for my bad memory. There should be gdb stack traces somewhere.
      
      Mats
      
      
      
    2. login: "matben"
    3. mimetype: "text/plain"
    4. username: "matben"
  5. Ticket change [6874fed096] (rid 103071) by das on 2007-09-12 21:01:33:

    1. icomment:
      Logged In: YES 
      user_id=90580
      Originator: NO
      
      Mats,
      yes I remember the stack traces you did previously, as mentioned, they were not sufficient to figure out why things are going wrong.
      If you can, please have another look, the question is why the lockLock call is crashing, as I said, possibly because  the SpinLockLockInit() setup in tclMacOSXNotify.c is never being called on 10.2 and lockLock thus ends up  being 0 (maybe due a pthread_once problem, as mentioned).
      This should be relatively easy to track down in gdb, just place a future-break at SpinLockLockInit() and run the symbolicated build...
      
      (FWIW, any ATSUI code would come into play much later)
      
      Thanks
      
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. username: "das"
  6. Ticket change [f73914f646] (rid 148407) by dkf on 2016-08-20 17:12:46:

    1. assignee changed to: "aku"
    2. closedate changed to: "2457621.21720016"
    3. closer changed to: "dkf"
    4. comment changed to:
      Perhaps it is time to officially drop support for Mac OS X 10.2. When I try running the one from the link below I get a segmentation fault. I did some gdb tracking before which is posted on the mactcl list.
      
      http://rutherglen.ics.mq.edu.au/~steffen/tcltk/TclTkAquaStandalone-8.4.16-rc0.dmg
      
      Mats
      
    5. login: "dkf"
    6. mimetype: "text/plain"
    7. resolution changed to: "Out of Date"
    8. severity changed to: "Minor"
    9. status changed to: "Closed"
    10. subsystem changed to: "52. Portability Support"