[MacPorts] #59498: openssh @8.1p1_2: __NSCFString autoreleased with no pool in place - just leaking - break on objc_autoreleaseNoPool() to debug

MacPorts noreply at macports.org
Sat Nov 2 06:46:19 UTC 2019


#59498: openssh @8.1p1_2: __NSCFString autoreleased with no pool in place - just
leaking - break on objc_autoreleaseNoPool() to debug
----------------------+--------------------
  Reporter:  iEFdev   |      Owner:  Ionic
      Type:  defect   |     Status:  closed
  Priority:  Low      |  Milestone:
 Component:  ports    |    Version:  2.6.2
Resolution:  fixed    |   Keywords:
      Port:  openssh  |
----------------------+--------------------

Comment (by iEFdev):

 Replying to [comment:4 Ionic]:
 > Please see if that does anything beneficial (and if it even builds
 successfully).
 >
 > I've tried to explain what is (possibly?) happening and that a memory
 leak in `ssh-add` is pretty benign (mostly because it's a single
 application with a small process life time), but if this works and gets
 rid of the messages, even better.

 Thanks! It built fine, and no noise. 👍 ✨

 {{{
 $ port installed openssh
 The following ports are currently installed:
   openssh @8.1p1_3+gsskex+kerberos5+ldns+xauth (active)
 $ ssh-add -K ~/.ssh/id_test
 Enter passphrase for ~/.ssh/id_test:
 Identity added: ~/.ssh/id_test (Eric F :: 2019-11-02)
 $ ssh-add -Kd ~/.ssh/id_test
 Identity removed: ~/.ssh/id_test (Eric F :: 2019-11-02)
 }}}

 -----

 [[br]]

 OT: For the [https://github.com/macports/macports-
 ports/blob/master/net/openssh/Portfile#L219-L227 symlink]… If it was
 renamed to security in 10.6+ - maybe something like this?:

 {{{
     platform darwin {
         # create link to /usr/include/pam on systems pre OS X 10.6.
         if {([vercmp ${os.major} 9] <=  0)} {
             pre-configure {
                 xinstall -d ${workpath}/include
                 file delete ${workpath}/include/security
                 ln -s /usr/include/pam ${workpath}/include/security
             }
         }
     }
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/59498#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list