Re: core dump
Clint Brubakken <[email protected]> 04 Jun 2003 10:06:51 -0500
| Newsgroups | gmane.org.user-groups.aclug.linux-help |
|---|---|
| Message-ID | <[email protected]> |
If the question is why your not getting a core dump, its most likely
your coredumpsize is limited to 0. Look at ulimit in bash to change
this.
On Wed, 2003-06-04 at 09:27, Sudharsha Wijesinghe wrote:
> I wrote the following code
> int void main()
> {
> int buff[4096],i;
> for(i=0;i<8000;i++)
> buff[i]=i;
> return 0;
> }
> and compliled it with gcc
> executable file created.
> when I run it
> #./a.out
> I would get a segment fault
> it does not create a core dump.
> Does any one know why it is?
> Thanks in advance
> Sudharsha.
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
> http://calendar.yahoo.com
> -- This is the [email protected] list. To unsubscribe,
> visit http://www.complete.org/cgi-bin/listargate-aclug.cgi
--
Clint Brubakken <[email protected]>
-- This is the [email protected] list. To unsubscribe,
visit http://www.complete.org/cgi-bin/listargate-aclug.cgi