<DIV>Thank you. Will try both approaches.</DIV>
<DIV> </DIV>
<DIV>-Vaibhav<BR><BR><B><I>Jim Hayward <jimhayward@earthlink.net></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On Sat, 2004-10-23 at 05:03 -0700, Vaibhav Deshpande wrote:<BR>> One of my application programs (C++) is giving segmentation fault and<BR>> I'm not able to get core dump of running process.<BR>> <BR>> What settings I need to do to get core dumps?<BR>> <BR><BR>core dumps are turned off by default in /etc/profile. You can make per<BR>user changes by editing your ~/.bash_profile. <BR><BR>Look for the line, ulimit -S -c 0 > /dev/null 2>&1, you can either<BR>comment out the entire line to set no limit on the size of the core<BR>files or set your own maximum size.<BR><BR>This disables core dumps by setting there maximum size to zero<BR>ulimit -S -c 0. The rest of the line, > /dev/null 2>&1, deletes the zero<BR>length file by redirecting the output to /dev/null.<BR><BR>Instead of using core dumps it would be just as easy to run your<BR>application !
under
 gdb.<BR><BR>Regards,<BR>Jim H<BR>-- <BR>Jim Hayward <JIMHAYWARD@EARTHLINK.NET><BR>GPG Key available at: http://keyserver.noreply.org<BR>gpg --recv-keys --keyserver keyserver.noreply.org 0x85A92DCC<BR>GPG Fingerprint: 1AA9 AEC9 BFDF FF7A E4F8 90C7 4947 3A41 85A9 2DCC <BR><BR><BR>> ATTACHMENT part 1.2 application/pgp-signature name=signature.asc<BR>_______________________________________________<BR>Redhat-install-list mailing list<BR>Redhat-install-list@redhat.com<BR>https://www.redhat.com/mailman/listinfo/redhat-install-list<BR>To Unsubscribe Go To ABOVE URL or send a message to:<BR>redhat-install-list-request@redhat.com<BR>Subject: unsubscribe</BLOCKQUOTE><p>
                <hr size=1>Do you Yahoo!?<br><a
href="http://vote.yahoo.com">vote.yahoo.com</a> - Register online to vote today!