Fedora 12 gcc 4.4.1
我正在做一些编程,我的程序给了我一个堆栈转储。
但是,我没有要检查的核心文件。
所以我做了:
ulimit -c unlimited
Run Code Online (Sandbox Code Playgroud)
并收到此错误消息:
bash: ulimit: core file size: cannot modify limit: Operation not permitted
Run Code Online (Sandbox Code Playgroud)
我也尝试将 ulimit 设置为 50000,但仍然出现相同的错误。
ulimit -a 的结果:
$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 12275
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX …Run Code Online (Sandbox Code Playgroud)