1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79dream01@dream01:~$ python
Python 3.6.0 (default, Sep 2 2017, 00:58:47)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> pirnt("hey")
*** Error in `python': munmap_chunk(): invalid pointer: 0x00007f7e694f50a0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f7e686b77e5]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x1a8)[0x7f7e686c4698]
python(PyOS_Readline+0xec)[0x5c290c]
python[0x447be0]
python[0x449698]
python(PyTokenizer_Get+0x9)[0x44a569]
python[0x44608e]
python(PyParser_ASTFromFileObject+0xa3)[0x428773]
python(PyRun_InteractiveOneObject+0x122)[0x4289b2]
python(PyRun_InteractiveLoopFlags+0x6e)[0x428d3e]
python(PyRun_AnyFileExFlags+0x3c)[0x428e6c]
python(Py_Main+0xc83)[0x43b813]
python(main+0x162)[0x41db82]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f7e68660830]
python(_start+0x29)[0x41dc59]
======= Memory map: ========
00400000-00662000 r-xp 00000000 08:0b 262844 /home/dream01/.pyenv/versions/3.6.0/bin/python3.6
00861000-00862000 r--p 00261000 08:0b 262844 /home/dream01/.pyenv/versions/3.6.0/bin/python3.6
00862000-008c5000 rw-p 00262000 08:0b 262844 /home/dream01/.pyenv/versions/3.6.0/bin/python3.6
008c5000-008f6000 rw-p 00000000 00:00 0
01972000-01a3b000 rw-p 00000000 00:00 0 [heap]
7f7e67aef000-7f7e67b05000 r-xp 00000000 08:09 527073 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f7e67b05000-7f7e67d04000 ---p 00016000 08:09 527073 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f7e67d04000-7f7e67d05000 rw-p 00015000 08:09 527073 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f7e67d05000-7f7e67d45000 rw-p 00000000 00:00 0
7f7e67d45000-7f7e67d6a000 r-xp 00000000 08:09 527207 /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f7e67d6a000-7f7e67f69000 ---p 00025000 08:09 527207 /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f7e67f69000-7f7e67f6d000 r--p 00024000 08:09 527207 /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f7e67f6d000-7f7e67f6e000 rw-p 00028000 08:09 527207 /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f7e67f6e000-7f7e67fab000 r-xp 00000000 08:0b 278331 /home/dream01/.pyenv/versions/3.6.0/lib/python3.6/site-packages/readline.cpython-36m-x86_64-linux-gnu.so
7f7e67fab000-7f7e681aa000 ---p 0003d000 08:0b 278331 /home/dream01/.pyenv/versions/3.6.0/lib/python3.6/site-packages/readline.cpython-36m-x86_64-linux-gnu.so
7f7e681aa000-7f7e681ac000 r--p 0003c000 08:0b 278331 /home/dream01/.pyenv/versions/3.6.0/lib/python3.6/site-packages/readline.cpython-36m-x86_64-linux-gnu.so
7f7e681ac000-7f7e681b3000 rw-p 0003e000 08:0b 278331 /home/dream01/.pyenv/versions/3.6.0/lib/python3.6/site-packages/readline.cpython-36m-x86_64-linux-gnu.so
7f7e681b3000-7f7e681b5000 rw-p 00000000 00:00 0
7f7e681b5000-7f7e68640000 r--p 00000000 08:09 790609 /usr/lib/locale/locale-archive
7f7e68640000-7f7e68800000 r-xp 00000000 08:09 538145 /lib/x86_64-linux-gnu/libc-2.23.so
7f7e68800000-7f7e68a00000 ---p 001c0000 08:09 538145 /lib/x86_64-linux-gnu/libc-2.23.so
7f7e68a00000-7f7e68a04000 r--p 001c0000 08:09 538145 /lib/x86_64-linux-gnu/libc-2.23.so
7f7e68a04000-7f7e68a06000 rw-p 001c4000 08:09 538145 /lib/x86_64-linux-gnu/libc-2.23.so
7f7e68a06000-7f7e68a0a000 rw-p 00000000 00:00 0
7f7e68a0a000-7f7e68b12000 r-xp 00000000 08:09 538140 /lib/x86_64-linux-gnu/libm-2.23.so
7f7e68b12000-7f7e68d11000 ---p 00108000 08:09 538140 /lib/x86_64-linux-gnu/libm-2.23.so
7f7e68d11000-7f7e68d12000 r--p 00107000 08:09 538140 /lib/x86_64-linux-gnu/libm-2.23.so
7f7e68d12000-7f7e68d13000 rw-p 00108000 08:09 538140 /lib/x86_64-linux-gnu/libm-2.23.so
7f7e68d13000-7f7e68d15000 r-xp 00000000 08:09 538138 /lib/x86_64-linux-gnu/libutil-2.23.so
7f7e68d15000-7f7e68f14000 ---p 00002000 08:09 538138 /lib/x86_64-linux-gnu/libutil-2.23.so
7f7e68f14000-7f7e68f15000 r--p 00001000 08:09 538138 /lib/x86_64-linux-gnu/libutil-2.23.so
7f7e68f15000-7f7e68f16000 rw-p 00002000 08:09 538138 /lib/x86_64-linux-gnu/libutil-2.23.so
7f7e68f16000-7f7e68f19000 r-xp 00000000 08:09 527503 /lib/x86_64-linux-gnu/libdl-2.23.so
7f7e68f19000-7f7e69118000 ---p 00003000 08:09 527503 /lib/x86_64-linux-gnu/libdl-2.23.so
7f7e69118000-7f7e69119000 r--p 00002000 08:09 527503 /lib/x86_64-linux-gnu/libdl-2.23.so
7f7e69119000-7f7e6911a000 rw-p 00003000 08:09 527503 /lib/x86_64-linux-gnu/libdl-2.23.so
7f7e6911a000-7f7e69132000 r-xp 00000000 08:09 527464 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f7e69132000-7f7e69331000 ---p 00018000 08:09 527464 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f7e69331000-7f7e69332000 r--p 00017000 08:09 527464 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f7e69332000-7f7e69333000 rw-p 00018000 08:09 527464 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f7e69333000-7f7e69337000 rw-p 00000000 00:00 0
7f7e69337000-7f7e6935d000 r-xp 00000000 08:09 527421 /lib/x86_64-linux-gnu/ld-2.23.so
7f7e69396000-7f7e6953f000 rw-p 00000000 00:00 0
7f7e69552000-7f7e69553000 rw-p 00000000 00:00 0
7f7e69553000-7f7e6955a000 r--s 00000000 08:09 2509 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7f7e6955a000-7f7e6955c000 rw-p 00000000 00:00 0
7f7e6955c000-7f7e6955d000 r--p 00025000 08:09 527421 /lib/x86_64-linux-gnu/ld-2.23.so
7f7e6955d000-7f7e6955e000 rw-p 00026000 08:09 527421 /lib/x86_64-linux-gnu/ld-2.23.so
7f7e6955e000-7f7e6955f000 rw-p 00000000 00:00 0
7ffccca75000-7ffccca96000 rw-p 00000000 00:00 0 [stack]
7ffcccb24000-7ffcccb26000 r--p 00000000 00:00 0 [vvar]
7ffcccb26000-7ffcccb28000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
已放弃 (核心已转储)