Opened 8 years ago
Closed 7 years ago
#53176 closed defect (fixed)
py36-gnureadline @6.3.3_1: python3.6 crashes with malloc: pointer being freed was not allocated
Reported by: | mndavidoff (Monte Davidoff) | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | reubano (Reuben Cummings), Feuermurmel (Michael Schwarz) | |
Port: | py-gnureadline |
Description
Installing py36-gnureadline causes python3.6 to crash.
Without py36-gnureadline:
$ port installed py36-gnureadline None of the specified ports are installed. $ python3.6 Python 3.6.0 (default, Dec 28 2016, 22:59:42) [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. >>> 1+2 3 >>> ^D
With py36-gnureadline:
$ port installed py36-gnureadline The following ports are currently installed: py36-gnureadline @6.3.3_1 (active) $ python3.6 Python 3.6.0 (default, Dec 28 2016, 22:59:42) [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. >>> 1+2 Python(53168,0x7fffd7e0f3c0) malloc: *** error for object 0x109b63698: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Abort trap: 6
Curiously, this problem does not affect ipython:
$ ipython3-3.6 Python 3.6.0 (default, Dec 28 2016, 22:59:42) Type "copyright", "credits" or "license" for more information. IPython 5.1.0 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details. In [1]: 1+2 Out[1]: 3 In [2]: exit
Change History (5)
comment:1 Changed 8 years ago by mf2k (Frank Schima)
Cc: | stromnov@… removed |
---|---|
Owner: | set to stromnov |
Status: | new → assigned |
comment:2 Changed 8 years ago by mndavidoff (Monte Davidoff)
comment:3 Changed 8 years ago by reubano (Reuben Cummings)
Cc: | reubano added |
---|
comment:4 Changed 7 years ago by Feuermurmel (Michael Schwarz)
Cc: | Feuermurmel added |
---|
comment:5 Changed 7 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
There is some discussion of this issue in #48807. A workaround is to install
python36 +readline
.