Message215351
If I open the python interpreter:
$ python
Then type
def to_hex(i):
result = hex(i)[2:]
My interpreter segfaults (EXC_BAD_ACCESS).
Here's a backtrace from lldb:
(lldb) bt
* thread #1: tid = 0x152e7f, 0x00000001002eff97 readline.so`call_readline + 647, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
* frame #0: 0x00000001002eff97 readline.so`call_readline + 647
frame #1: 0x0000000100008852 Python`PyOS_Readline + 274
frame #2: 0x000000010000a0a8 Python`tok_nextc + 104
frame #3: 0x000000010000a853 Python`PyTokenizer_Get + 147
frame #4: 0x000000010000544a Python`parsetok + 218
frame #5: 0x00000001000e7722 Python`PyParser_ASTFromFile + 146
frame #6: 0x00000001000e8983 Python`PyRun_InteractiveOneFlags + 243
frame #7: 0x00000001000e8c6e Python`PyRun_InteractiveLoopFlags + 78
frame #8: 0x00000001000e9451 Python`PyRun_AnyFileExFlags + 161
frame #9: 0x00000001000ffc9f Python`Py_Main + 2111
frame #10: 0x0000000100000f14 Python
I am using cpython 2.7.3. |
|
Date |
User |
Action |
Args |
2014-04-02 03:07:21 | mayank | set | recipients:
+ mayank |
2014-04-02 03:07:21 | mayank | set | messageid: <1396408041.53.0.971896348675.issue21129@psf.upfronthosting.co.za> |
2014-04-02 03:07:21 | mayank | link | issue21129 messages |
2014-04-02 03:07:20 | mayank | create | |
|