1.check Core dump;
Ulimit-A
[Email protected]:~$ ulimit-AcorefileSize (blocks,-c)0Data seg Size (Kbytes,-d) unlimitedscheduling priority (-e)0fileSize (blocks,-f) unlimitedpending signals (-I.)31156Max locked Memory (Kbytes,-L) -max memory Size (Kbytes,-m) unlimitedopen files (-N)1024x768Pipe Size ( +Bytes,-p)8POSIX message queues (bytes,-Q)819200Real- TimePriority (-R)0stack size (Kbytes,-s)8192CPU Time(Seconds,-t) Unlimitedmax user processes (-u)31156virtual Memory (Kbytes,-v) UnlimitedfileLocks (-X) Unlimited
2.set
[Email protected]:~$ ulimit-C unlimited[email protected]-ubuntu:~$ ulimit-cunlimited[email protected] 1024x768[email protected]-ubuntu:~$ ulimit-c1024x768
$ulimit-c Unlimited (valid only for the current shell process)
or the last addition in ~/.BASHRC : ulimit-c Unlimited (once and for all)
3.gdb with Core
Re
1.https://www.cnblogs.com/bodhitree/p/5850212.html
Linux Core Dump Debug