Issue 29880: python3.6 install readline ,and then cpython exit (original) (raw)

Issue29880

Created on 2017-03-22 15:34 by pz, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg289991 - (view) Author: pz (pz) Date: 2017-03-22 15:34
python3.6 -m pip istall readline # python3.6 Python 3.6.0 (default, Mar 21 2017, 23:23:51) [GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> *** glibc detected *** python3.6: free(): invalid pointer: 0x00007f63bbb5b570 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x75f3e)[0x7f63babdaf3e] /lib64/libc.so.6(+0x78d8d)[0x7f63babddd8d] python3.6(PyOS_Readline+0x134)[0x44a433] ............ and after I unistall readline,then enter cpython,the error not occur # python3.6 Python 3.6.0 (default, Mar 21 2017, 23:23:51) [GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> >>> >>>
msg289992 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2017-03-22 15:42
This is more likely to be a bug in the 'readline' package from PyPI rather than in Python itself. That package has not been updated since 2012 when it was renamed to 'gnureadline', and 'gnureadline' has not been updated since 2014. If you can still reproduce this issue with the latest 'gnureadline', please open an issue with that project.
msg290780 - (view) Author: pz (pz) Date: 2017-03-29 13:04
I have unistall readline and install gnureadline,but cpyton also crashed # ./pip3 install gnureadline Collecting gnureadline Installing collected packages: gnureadline Running setup.py install for gnureadline ... done Successfully installed gnureadline-6.3.3 # ./python3 Python 3.6.1 (default, Mar 27 2017, 23:50:01) [GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> *** glibc detected *** ./python3: free(): invalid pointer: 0x00007ffeee27e570 *** ======= Backtrace: =========
History
Date User Action Args
2022-04-11 14:58:44 admin set github: 74066
2017-04-14 02:05:10 berker.peksag set status: open -> closedtype: behavior
2017-03-29 18:14:17 serhiy.storchaka set nosy: + pitrou
2017-03-29 13:04:48 pz set status: closed -> openmessages: +
2017-03-22 15:42:30 zach.ware set status: open -> closednosy: + zach.waremessages: + resolution: third partystage: resolved
2017-03-22 15:34:27 pz create