Вот оно похоже
#0 0x0000000000000000 in ?? ()
#1 0x00007ffff694392e in rl_callback_read_char () from /lib/x86_64-linux-gnu/libreadline.so.6
И что с этим делать?
Код: Выделить всё
gdb python
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from python...Reading symbols from /usr/lib/debug//usr/bin/python2.7...done.
done.
(gdb) r
Starting program: /usr/bin/python
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Python 2.7.9 (default, Mar 1 2015, 12:57:24)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x00007ffff694392e in rl_callback_read_char () from /lib/x86_64-linux-gnu/libreadline.so.6
#2 0x00007ffff6b62cd5 in readline_until_enter_or_signal (signal=<synthetic pointer>, prompt=<optimized out>)
at /build/python2.7-t5Chn7/python2.7-2.7.9/Modules/readline.c:1015
#3 call_readline (sys_stdin=<optimized out>, sys_stdout=<optimized out>, prompt=<optimized out>)
at /build/python2.7-t5Chn7/python2.7-2.7.9/Modules/readline.c:1103
#4 0x0000000000449d88 in PyOS_Readline (sys_stdin=0x7ffff72974e0 <_IO_2_1_stdin_>, sys_stdout=0x7ffff72972a0 <_IO_2_1_stdout_>,
prompt=0x7ffff7e9c2f4 ">>> ") at ../Parser/myreadline.c:207
#5 0x0000000000422d2a in tok_nextc (tok=<optimized out>) at ../Parser/tokenizer.c:880
#6 tok_get (tok=0x9e53a0, p_start=0x7fffffffde18, p_end=0x7fffffffde20) at ../Parser/tokenizer.c:1226
#7 0x00000000004c4e8a in PyTokenizer_Get (p_end=0x7fffffffde20, p_start=0x7fffffffde18, tok=0x9e53a0) at ../Parser/tokenizer.c:1675
#8 parsetok.lto_priv () at ../Parser/parsetok.c:159
#9 0x00000000004c4747 in PyParser_ParseFileFlagsEx () at ../Parser/parsetok.c:106
#10 0x00000000004c460e in PyParser_ASTFromFile () at ../Python/pythonrun.c:1494
#11 0x0000000000449b11 in PyRun_InteractiveOneFlags (fp=0x9db1c0, fp@entry=0x7ffff72974e0 <_IO_2_1_stdin_>, filename=0x9ce938 "umpy",
filename@entry=0x604584 "<stdin>", flags=0x7fffffffe000) at ../Python/pythonrun.c:838
#12 0x0000000000449937 in PyRun_InteractiveLoopFlags (fp=fp@entry=0x7ffff72974e0 <_IO_2_1_stdin_>,
filename=filename@entry=0x604584 "<stdin>", flags=flags@entry=0x7fffffffe000) at ../Python/pythonrun.c:778
#13 0x000000000042d96b in PyRun_AnyFileExFlags (fp=0x7ffff72974e0 <_IO_2_1_stdin_>, filename=<optimized out>, closeit=0,
flags=0x7fffffffe000) at ../Python/pythonrun.c:747
#14 0x00000000004982f2 in Py_Main () at ../Modules/main.c:640
#15 0x00007ffff6f12b45 in __libc_start_main (main=0x497d80 <main>, argc=1, argv=0x7fffffffe1c8, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe1b8) at libc-start.c:287
#16 0x0000000000497ca0 in _start ()
(gdb)