Opened 7 years ago

Last modified 6 years ago

#54700 closed defect

Python36 abends when importing struct; unallocated pointer being freed — at Version 2

Reported by: jhelm (John Helm) Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc:
Port: python36

Description (last modified by mf2k (Frank Schima))

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$

Change History (2)

comment:1 Changed 7 years ago by jhelm (John Helm)

Correcting formatting of code block.

jlh-MacBook-Pro:fbaNG01 jlh$ python
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$

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Cc: jyrkiwahlstedt removed
Description: modified (diff)
Owner: set to jyrkiwahlstedt
Status: newassigned
Note: See TracTickets for help on using tickets.