@IM鑫爷 你好,想跟你请教个问题:
我在编译成功以后,./src/fooking config.lua 执行的时候遇到问题。,以下是报错信息,还请能给个回复
root@vagrant-ubuntu-trusty:/home/vagrant/fooking# ./src/fooking config.lua
*** buffer overflow detected ***: ./src/fooking terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7338f)[0x7ffe9c59338f]
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7ffe9c62ac9c]
/lib/x86_64-linux-gnu/libc.so.6(+0x109b60)[0x7ffe9c629b60]
/lib/x86_64-linux-gnu/libc.so.6(+0x10a0f4)[0x7ffe9c62a0f4]
./src/fooking[0x4045de]
./src/fooking[0x408865]
./src/fooking[0x4144ea]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7ffe9c541ec5]
./src/fooking[0x403511]
======= Memory map: ========
00400000-00448000 r-xp 00000000 08:01 925367 /home/vagrant/fooking/src/fooking
00648000-00649000 r--p 00048000 08:01 925367 /home/vagrant/fooking/src/fooking
00649000-0064a000 rw-p 00049000 08:01 925367 /home/vagrant/fooking/src/fooking
0116c000-0118d000 rw-p 00000000 00:00 0 [heap]
7ffe9c520000-7ffe9c6db000 r-xp 00000000 08:01 1053027 /lib/x86_64-linux-gnu/libc-2.19.so
7ffe9c6db000-7ffe9c8da000 ---p 001bb000 08:01 1053027 /lib/x86_64-linux-gnu/libc-2.19.so
7ffe9c8da000-7ffe9c8de000 r--p 001ba000 08:01 1053027 /lib/x86_64-linux-gnu/libc-2.19.so
7ffe9c8de000-7ffe9c8e0000 rw-p 001be000 08:01 1053027 /lib/x86_64-linux-gnu/libc-2.19.so
7ffe9c8e0000-7ffe9c8e5000 rw-p 00000000 00:00 0
7ffe9c8e5000-7ffe9c8fb000 r-xp 00000000 08:01 1048768 /lib/x86_64-linux-gnu/libgcc_s.so.1
7ffe9c8fb000-7ffe9cafa000 ---p 00016000 08:01 1048768 /lib/x86_64-linux-gnu/libgcc_s.so.1
7ffe9cafa000-7ffe9cafb000 rw-p 00015000 08:01 1048768 /lib/x86_64-linux-gnu/libgcc_s.so.1
7ffe9cafb000-7ffe9cc00000 r-xp 00000000 08:01 1053012 /lib/x86_64-linux-gnu/libm-2.19.so
7ffe9cc00000-7ffe9cdff000 ---p 00105000 08:01 1053012 /lib/x86_64-linux-gnu/libm-2.19.so
7ffe9cdff000-7ffe9ce00000 r--p 00104000 08:01 1053012 /lib/x86_64-linux-gnu/libm-2.19.so
7ffe9ce00000-7ffe9ce01000 rw-p 00105000 08:01 1053012 /lib/x86_64-linux-gnu/libm-2.19.so
7ffe9ce01000-7ffe9cee7000 r-xp 00000000 08:01 1573250 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19
7ffe9cee7000-7ffe9d0e6000 ---p 000e6000 08:01 1573250 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19
7ffe9d0e6000-7ffe9d0ee000 r--p 000e5000 08:01 1573250 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19
7ffe9d0ee000-7ffe9d0f0000 rw-p 000ed000 08:01 1573250 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19
7ffe9d0f0000-7ffe9d105000 rw-p 00000000 00:00 0
7ffe9d105000-7ffe9d128000 r-xp 00000000 08:01 1053024 /lib/x86_64-linux-gnu/ld-2.19.so
7ffe9d318000-7ffe9d31d000 rw-p 00000000 00:00 0
7ffe9d324000-7ffe9d327000 rw-p 00000000 00:00 0
7ffe9d327000-7ffe9d328000 r--p 00022000 08:01 1053024 /lib/x86_64-linux-gnu/ld-2.19.so
7ffe9d328000-7ffe9d329000 rw-p 00023000 08:01 1053024 /lib/x86_64-linux-gnu/ld-2.19.so
7ffe9d329000-7ffe9d32a000 rw-p 00000000 00:00 0
7fff1421c000-7fff1423d000 rw-p 00000000 00:00 0 [stack]
7fff142ff000-7fff14301000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted
gdb进去看看,
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。