Issue 19366: Segfault in REPL due to escaped tab.
Created on 2013-10-23 16:29 by gwk, last changed 2022-04-11 14:57 by admin. This issue is now closed.
| Messages (8) | |||
|---|---|---|---|
| msg201037 - (view) | Author: George King (gwk) * | Date: 2013-10-23 16:29 | |
I can crash python2.7.5 python3.3.2 from the REPL consistently: $ python3 Python 3.3.2 (v3.3.2:d047928ae3f6, May 13 2013, 13:52:24) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> s = '\\t' >>> s Segmentation fault: 11 $ the same goes for: Python 2.7.5 (v2.7.5:ab05e7dd2788, May 13 2013, 13:18:45) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin both of these python builds are the mac binaries from python.org. |
|||
| msg201038 - (view) | Author: George King (gwk) * | Date: 2013-10-23 16:34 | |
actually, the second line of any interactive session is segfaulting; my installation must be corrupted. |
|||
| msg201039 - (view) | Author: George King (gwk) * | Date: 2013-10-23 16:39 | |
this is probably due to system upgrade from OS X 10.8 to 10.9 (mavericks) yesterday. |
|||
| msg201041 - (view) | Author: Tim Peters (tim.peters) * ![]() |
Date: 2013-10-23 16:47 | |
See the 4th comment on this post: http://stackoverflow.com/questions/18158381/python-crashing-when-running-two-commands Let us know whether it fixes your problem! |
|||
| msg201042 - (view) | Author: Tim Peters (tim.peters) * ![]() |
Date: 2013-10-23 16:51 | |
Oops! Now it' the 5th comment ;-) The one starting "running the following command, I got it working ...". |
|||
| msg201052 - (view) | Author: Ned Deily (ned.deily) * ![]() |
Date: 2013-10-23 18:05 | |
This is a duplicate of Issue18458. The problem is due to an incompatible update to the GNU readline compatibility layer of the editline shared library (libedit) in OS X 10.9. The fix for this will be in the upcoming Python 2.7.6 and 3.3.3 maintenance releases, expected soon. In the meantime, the workaround proposed in the Stackoverflow comment will eliminate the crash. (Issue18458 will be updated shortly to include a script to do this.) |
|||
| msg201056 - (view) | Author: George King (gwk) * | Date: 2013-10-23 19:09 | |
thank you. i worked around this by building python3 from source, with gnu readline libs i had previously compiled (those did not require a rebuild on osx 10.9). |
|||
| msg201075 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2013-10-23 21:51 | |
#19370 is probably a duplicate of this one. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:57:52 | admin | set | github: 63565 |
| 2013-10-23 21:51:18 | vstinner | set | nosy:
+ vstinner messages: + msg201075 |
| 2013-10-23 19:09:57 | gwk | set | messages: + msg201056 |
| 2013-10-23 18:05:33 | ned.deily | set | status: open -> closed superseder: interactive interpreter crashes and test_readline fails on OS X 10.9 Mavericks due to libedit update messages: + msg201052 assignee: ronaldoussoren -> ned.deily |
| 2013-10-23 16:51:20 | tim.peters | set | messages: + msg201042 |
| 2013-10-23 16:48:51 | vstinner | set | assignee: ronaldoussoren components: + macOS |
| 2013-10-23 16:47:17 | tim.peters | set | nosy:
+ tim.peters messages: + msg201041 |
| 2013-10-23 16:39:22 | gwk | set | messages: + msg201039 |
| 2013-10-23 16:37:34 | pitrou | set | nosy:
+ ronaldoussoren, ned.deily, hynek |
| 2013-10-23 16:34:02 | gwk | set | messages: + msg201038 |
| 2013-10-23 16:29:22 | gwk | create | |
