致命错误(11)尝试在emacs中进入gdb模式时,分段错误有什么问题? [英] Fatal error (11)Segmentation fault when trying to enter gdb mode in emacs, what's wrong?
问题描述
以下分段故障是什么意思?
致命错误(11)细分错误
什么是细分错误,什么可能导致它发生?
一旦我输入了这个问题, Mx gdb
到Emacs,
输入显示在这个图片,输出显示为 [a]:我从源码构建emacs 24.1 on centos 5.3,此构建无法进入gdb模式 [b]:我也构建emacs 24.1 on debian 5.0,它可以使用gdb模式无错误 所以我真的不知道发生了什么,我不能使用gdb模式在emacs 24.1在centos 5.3 :( 要调试Emacs,如果您自己构建,请转到项目ctory,然后做: 然后,当您发送错误报告时,请使用〜/ emacs-errors.log文件(gdb将打印所有错误)。 另请注意,编译时需要配置它来保留调试信息它。为此, 然后重新编译。 What does the following segmentation fault mean? What is a segmentation fault, and what can cause it to happen? The issue arrises once I type, The inputs are shown in this picture the output is shown here. more details: [a]: i build emacs 24.1 on centos 5.3 from source, this build cannot enter gdb mode [b]: also i build emacs 24.1 on debian 5.0, it can use gdb mode without error so i really don't know what happened that i cannot use gdb mode in emacs 24.1 on centos 5.3:( To debug Emacs, if you built it yourself, change to the project directory, then do: Then, when you send the bug report, use the ~/emacs-errors.log file (gdb will print all errors into it). Also note that you will need to configure it to preserve the debug information when you compile it. To do that, and then recompile. 这篇关于致命错误(11)尝试在emacs中进入gdb模式时,分段错误有什么问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
$ gdb ./src/emacs
$(gdb)设置日志文件〜/ emacs -errors.log
$(gdb)r -q
< ...到达发生错误的地方...>
$(gdb)bt full
$ CFLAGS =' - O0 -ggdb -g3'./configure --enable-checking --enable -asserts
Fatal error (11)Segmentation fault
Mx gdb
into Emacs,$ gdb ./src/emacs
$ (gdb) set logging file ~/emacs-errors.log
$ (gdb) r -q
<... get to the point where error happens ...>
$ (gdb) bt full
$ CFLAGS='-O0 -ggdb -g3' ./configure --enable-checking --enable-asserts