开发者社区> 问答> 正文

./src/fooking config.lua 执行的时候遇到问题。?报错

@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


展开
收起
爱吃鱼的程序员 2020-06-09 14:35:38 579 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    gdb进去看看,

    2020-06-09 14:35:56
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
The Next Gen of PHP 立即下载
From R Script to Production Using rsparkling 立即下载
低代码开发师(初级)实战教程 立即下载