• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 271
  • Last Modified:

No core file generated in case of SIGSEGV even though ulimit is set

Hi ,

My OS is Monta Vista Linux 3.1

In case of my program crash i am not getting the core file even after setting the ulimit -c unlimited

Disk Space available in this partition is 25 GB

In what kind of situations we would not be getting the core ?

Is there any thing to be setted ?
0
k_kalyan
Asked:
k_kalyan
1 Solution
 
ahoffmannCommented:
depending on your shell see following commands (man-pages)
 limit, ulimit
(either shell built-in or executable)

also check
  /etc/security/limits.conf
0
 
wesly_chenCommented:
ulimit -c ulimited
is for sh/ksh/bash shell.
If your program run in another shell script or call another shell script, such as csh/tcsh, then
you might need to set
limit coredumpsize unlimited
in the shell script and
echo "limit coredumpsize unlimited" >> ~/.cshrc
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Tackle projects and never again get stuck behind a technical roadblock.
Join Now