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

MacPorts noreply at macports.org
Thu Aug 31 13:07:12 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  |
-----------------------+----------------------------
Changes (by mf2k):

 * cc: jyrkiwahlstedt (removed)
 * owner:   => jyrkiwahlstedt
 * status:  new => assigned


Old description:

> Loading struct works with Python35 but crashes Python36. Thanks. /John
> Helm
>
> Python 3.6.2 (default, Jul 18 2017, 14:13:41)
> [GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import struct
> Python(15382,0x7fff7f851000) malloc: *** error for object 0x10f8b5110:
> pointer being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug
> Abort trap: 6
> jlh-MacBook-Pro:fbaNG01 jlh$

New description:

 Loading struct works with Python35 but crashes Python36. Thanks. /John
 Helm
 {{{
 Python 3.6.2 (default, Jul 18 2017, 14:13:41)
 [GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import struct
 Python(15382,0x7fff7f851000) malloc: *** error for object 0x10f8b5110:
 pointer being freed was not allocated
 *** set a breakpoint in malloc_error_break to debug
 Abort trap: 6
 jlh-MacBook-Pro:fbaNG01 jlh$
 }}}

--

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


More information about the macports-tickets mailing list