[MacPorts] #54700: Python36 abends when importing struct; unallocated pointer being freed

MacPorts noreply at macports.org
Mon Sep 4 10:59:28 UTC 2017


#54700: Python36 abends when importing struct; unallocated pointer being freed
-----------------------+----------------------------
  Reporter:  jhelm     |      Owner:  jyrkiwahlstedt
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.1
Resolution:            |   Keywords:
      Port:  python36  |
-----------------------+----------------------------

Comment (by ryandesign):

 I can reproduce this problem on Sierra.

 {{{
 $ python3.5
 Python 3.5.4 (default, Aug 14 2017, 18:26:29)
 [GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import struct
 >>> ^D
 $ python3.6
 Python 3.6.2 (default, Jul 23 2017, 12:22:19)
 [GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import struct
 Python(88518,0x7fffa4f9f3c0) malloc: *** error for object 0x1047ff110:
 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/54700#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list