[MacPorts] #48807: python messes with terminal state on exit

MacPorts noreply at macports.org
Fri Mar 24 07:20:19 UTC 2017


#48807: python messes with terminal state on exit
-------------------------------------------------+-------------------------
  Reporter:  yselivanov@…                        |      Owner:
                                                 |  jyrkiwahlstedt
      Type:  defect                              |     Status:  new
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:  2.3.3
Resolution:                                      |   Keywords:  haspatch
      Port:  python26 python27 python python34   |
  python35 libedit                               |
-------------------------------------------------+-------------------------

Comment (by joshenders):

 I get this crash as well:


 {{{
 $ sudo port install python36 +readline
 --->  Computing dependencies for python36
 --->  Fetching archive for python36
 --->  Attempting to fetch python36-3.6.1_0+readline.darwin_16.x86_64.tbz2
 from https://packages.macports.org/python36
 --->  Attempting to fetch python36-3.6.1_0+readline.darwin_16.x86_64.tbz2
 from http://sea.us.packages.macports.org/macports/packages/python36
 --->  Attempting to fetch python36-3.6.1_0+readline.darwin_16.x86_64.tbz2
 from http://kmq.jp.packages.macports.org/python36
 --->  Fetching distfiles for python36
 --->  Attempting to fetch Python-3.6.1.tar.xz from
 https://distfiles.macports.org/python36
 --->  Attempting to fetch Python-3.6.1.tar.xz from
 http://www.python.org/ftp/python/3.6.1/
 --->  Verifying checksums for python36
 --->  Extracting python36
 --->  Applying patches to python36
 Warning: reinplace s|xargs -0 rm -r|/usr/bin/xargs -0 /bin/rm -r|g didn't
 change anything in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python36/python36/work/Python-3.6.1/Mac/PythonLauncher/Makefile.in
 --->  Configuring python36
 --->  Building python36
 --->  Staging python36 into destroot
 --->  Installing python36 @3.6.1_0+readline
 --->  Deactivating python36 @3.6.1_0
 --->  Cleaning python36
 --->  Activating python36 @3.6.1_0+readline
 --->  Cleaning python36
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  Some of the ports you installed have notes:
   python36 has the following notes:
     To make this the default Python or Python 3 (i.e., the version run by
 the 'python' or 'python3' commands), run one or both of:

         sudo port select --set python python36
         sudo port select --set python3 python36

     ##############################################################
     # IF YOU ARE USING PYTHON FROM THE TERMINAL, PLEASE INSTALL:
     #   py36-readline
     # TO AVOID A LIBEDIT / PYTHON INTERACTION ISSUE.
     # REF: https://trac.macports.org/ticket/48807
     ##############################################################

 $ python3
 Python 3.6.1 (default, Mar 24 2017, 00:08:29)
 [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> print("Hello World")
 Python(61973,0x7fffaf4293c0) malloc: *** error for object 0x10f92f300:
 pointer being freed was not allocated
 *** set a breakpoint in malloc_error_break to debug
 Abort trap: 6
 }}}

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


More information about the macports-tickets mailing list