Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Under what situation that a crash will not generate a core dump?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  15 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Carfield Yim  
View profile  
 More options May 13 2009, 12:58 pm
Newsgroups: comp.unix.solaris
From: Carfield Yim <carfi...@gmail.com>
Date: Wed, 13 May 2009 09:58:20 -0700 (PDT)
Local: Wed, May 13 2009 12:58 pm
Subject: Under what situation that a crash will not generate a core dump?
HI, I would like to ask some time I cannot get a core dump in a
solaris box, any reason causing this behaviour?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ThanksButNo  
View profile  
 More options May 13 2009, 1:43 pm
Newsgroups: comp.unix.solaris
From: ThanksButNo <no.no.tha...@gmail.com>
Date: Wed, 13 May 2009 10:43:13 -0700 (PDT)
Local: Wed, May 13 2009 1:43 pm
Subject: Re: Under what situation that a crash will not generate a core dump?
On May 13, 9:58 am, Carfield Yim <carfi...@gmail.com> wrote:

> HI, I would like to ask some time I cannot get a core dump in a
> solaris box, any reason causing this behaviour?

What response do you get from the "ulimit" command?

/:-/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hume.spamfil...@bofh.ca  
View profile  
 More options May 13 2009, 2:55 pm
Newsgroups: comp.unix.solaris
From: hume.spamfil...@bofh.ca
Date: Wed, 13 May 2009 18:55:28 +0000 (UTC)
Local: Wed, May 13 2009 2:55 pm
Subject: Re: Under what situation that a crash will not generate a core dump?

Carfield Yim <carfi...@gmail.com> wrote:
> HI, I would like to ask some time I cannot get a core dump in a
> solaris box, any reason causing this behaviour?

A system crash, or a process crash?

--
Brandon Hume    - hume -> BOFH.Ca, http://WWW.BOFH.Ca/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard B. Gilbert  
View profile  
 More options May 13 2009, 6:03 pm
Newsgroups: comp.unix.solaris
From: "Richard B. Gilbert" <rgilber...@comcast.net>
Date: Wed, 13 May 2009 18:03:55 -0400
Local: Wed, May 13 2009 6:03 pm
Subject: Re: Under what situation that a crash will not generate a core dump?

Carfield Yim wrote:
> HI, I would like to ask some time I cannot get a core dump in a
> solaris box, any reason causing this behaviour?

A crash caused by a hardware error could make it impossible to get a
core dump.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carfield Yim  
View profile  
 More options May 13 2009, 9:57 pm
Newsgroups: comp.unix.solaris
From: Carfield Yim <carfi...@gmail.com>
Date: Wed, 13 May 2009 18:57:36 -0700 (PDT)
Local: Wed, May 13 2009 9:57 pm
Subject: Re: Under what situation that a crash will not generate a core dump?
On May 14, 1:43 am, ThanksButNo <no.no.tha...@gmail.com> wrote:

> On May 13, 9:58 am, Carfield Yim <carfi...@gmail.com> wrote:

> > HI, I would like to ask some time I cannot get a core dump in a
> > solaris box, any reason causing this behaviour?

> What response do you get from the "ulimit" command?

> /:-/

It is "unlimited"

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carfield Yim  
View profile  
 More options May 13 2009, 9:57 pm
Newsgroups: comp.unix.solaris
From: Carfield Yim <carfi...@gmail.com>
Date: Wed, 13 May 2009 18:57:48 -0700 (PDT)
Local: Wed, May 13 2009 9:57 pm
Subject: Re: Under what situation that a crash will not generate a core dump?
On May 14, 2:55 am, hume.spamfil...@bofh.ca wrote:
> Carfield Yim <carfi...@gmail.com> wrote:
> > HI, I would like to ask some time I cannot get a core dump in a
> > solaris box, any reason causing this behaviour?

> A system crash, or a process crash?

Just a process crash

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carfield Yim  
View profile  
 More options May 13 2009, 9:58 pm
Newsgroups: comp.unix.solaris
From: Carfield Yim <carfi...@gmail.com>
Date: Wed, 13 May 2009 18:58:05 -0700 (PDT)
Local: Wed, May 13 2009 9:58 pm
Subject: Re: Under what situation that a crash will not generate a core dump?
On May 14, 6:03 am, "Richard B. Gilbert" <rgilber...@comcast.net>
wrote:

> Carfield Yim wrote:
> > HI, I would like to ask some time I cannot get a core dump in a
> > solaris box, any reason causing this behaviour?

> A crash caused by a hardware error could make it impossible to get a
> core dump.

It actually just a memory issues

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
nelson.bens...@gmail.com  
View profile  
 More options May 13 2009, 10:20 pm
Newsgroups: comp.unix.solaris
From: nelson.bens...@gmail.com
Date: Wed, 13 May 2009 19:20:28 -0700 (PDT)
Local: Wed, May 13 2009 10:20 pm
Subject: Re: Under what situation that a crash will not generate a core dump?
core file generation can be controlled with coreadm(1m) as well

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carfield Yim  
View profile  
 More options May 14 2009, 12:39 am
Newsgroups: comp.unix.solaris
From: Carfield Yim <carfi...@gmail.com>
Date: Wed, 13 May 2009 21:39:47 -0700 (PDT)
Local: Thurs, May 14 2009 12:39 am
Subject: Re: Under what situation that a crash will not generate a core dump?
On May 14, 10:20 am, nelson.bens...@gmail.com wrote:

> core file generation can be controlled with coreadm(1m) as well

Great, here is the output, is that mean core is disabled?

     global core file pattern: /var/core/core.%f.%p.%n.%u.%g.%t
       init core file pattern: /var/core/core.%f.%p.%n.%u.%g.%t
            global core dumps: disabled
       per-process core dumps: enabled
      global setid core dumps: disabled
 per-process setid core dumps: disabled
     global core dump logging: enabled


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard B. Gilbert  
View profile  
 More options May 14 2009, 6:56 am
Newsgroups: comp.unix.solaris
From: "Richard B. Gilbert" <rgilber...@comcast.net>
Date: Thu, 14 May 2009 06:56:39 -0400
Local: Thurs, May 14 2009 6:56 am
Subject: Re: Under what situation that a crash will not generate a core dump?

Carfield Yim wrote:
> On May 14, 6:03 am, "Richard B. Gilbert" <rgilber...@comcast.net>
> wrote:
>> Carfield Yim wrote:
>>> HI, I would like to ask some time I cannot get a core dump in a
>>> solaris box, any reason causing this behaviour?
>> A crash caused by a hardware error could make it impossible to get a
>> core dump.

> It actually just a memory issues

Memory is hardware!  If the attempt to dump core triggers another memory
error, the system may crash without writing the entire core dump.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Volker Borchert  
View profile  
 More options May 14 2009, 8:16 am
Newsgroups: comp.unix.solaris
From: v_borch...@despammed.com (Volker Borchert)
Date: 14 May 2009 12:16:11 GMT
Local: Thurs, May 14 2009 8:16 am
Subject: Re: Under what situation that a crash will not generate a core dump?

Carfield Yim wrote:
> HI, I would like to ask some time I cannot get a core dump in a
> solaris box, any reason causing this behaviour?

Running setuid and/or setgid.

--

"I'm a doctor, not a mechanic." Dr Leonard McCoy <mc...@ncc1701.starfleet.fed>
"I'm a mechanic, not a doctor." Volker Borchert  <v_borch...@despammed.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Thompson  
View profile  
 More options May 14 2009, 9:11 am
Newsgroups: comp.unix.solaris
From: Chris Thompson <c...@cam.ac.uk>
Date: Thu, 14 May 2009 14:11:00 +0100
Subject: Re: Under what situation that a crash will not generate a core dump?

Carfield Yim wrote:
> On May 14, 10:20 am, nelson.bens...@gmail.com wrote:
>> core file generation can be controlled with coreadm(1m) as well

> Great, here is the output, is that mean core is disabled?

>      global core file pattern: /var/core/core.%f.%p.%n.%u.%g.%t
>        init core file pattern: /var/core/core.%f.%p.%n.%u.%g.%t
>             global core dumps: disabled
>        per-process core dumps: enabled
>       global setid core dumps: disabled
>  per-process setid core dumps: disabled
>      global core dump logging: enabled

The setting for "init core file pattern" is not the default. Supposing
it hasn't been overridden on its way down the process tree, any process
that is using credentials that don't allow it to write to /var/core
will not be able to take a per-process core dump. To quote from the
coreadm man page:

| Ordinary per-process core files  are  created  in  mode  600
| under the credentials of the process.

--
Chris Thompson
Email: c...@cam.ac.uk


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carfield Yim  
View profile  
 More options May 14 2009, 1:48 pm
Newsgroups: comp.unix.solaris
From: Carfield Yim <carfi...@gmail.com>
Date: Thu, 14 May 2009 10:48:21 -0700 (PDT)
Local: Thurs, May 14 2009 1:48 pm
Subject: Re: Under what situation that a crash will not generate a core dump?
On May 14, 6:56 pm, "Richard B. Gilbert" <rgilber...@comcast.net>
wrote:

> Carfield Yim wrote:
> > On May 14, 6:03 am, "Richard B. Gilbert" <rgilber...@comcast.net>
> > wrote:
> >> Carfield Yim wrote:
> >>> HI, I would like to ask some time I cannot get a core dump in a
> >>> solaris box, any reason causing this behaviour?
> >> A crash caused by a hardware error could make it impossible to get a
> >> core dump.

> > It actually just a memory issues

> Memory is hardware!  If the attempt to dump core triggers another memory
> error, the system may crash without writing the entire core dump.

Sorry, what I mean if memory management problem

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
nelson.bens...@gmail.com  
View profile  
 More options May 14 2009, 6:18 pm
Newsgroups: comp.unix.solaris
From: nelson.bens...@gmail.com
Date: Thu, 14 May 2009 15:18:28 -0700 (PDT)
Local: Thurs, May 14 2009 6:18 pm
Subject: Re: Under what situation that a crash will not generate a core dump?
you should be able to use gcore to create a core file of a running
process as well, but i'm getting the impression that you're trying to
trace a fault of some kind (bounds error of seg fault maybe?  yeah
speculation).

if the process in question is running inside a zone, from what i
understand it usually write the core file to the /var/core (or where
ever configured with coreadm) location in the *global* zone.  i
couldn't see which version of solaris or whether or not zones are in
use so that may not help at all.

i know that in various types of code you can disable core file
creation by setting RLIMIT_CORE to zero in a call to setrlimit(2) or
equiv func


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carfield Yim  
View profile  
 More options May 18 2009, 6:44 am
Newsgroups: comp.unix.solaris
From: Carfield Yim <carfi...@gmail.com>
Date: Mon, 18 May 2009 03:44:59 -0700 (PDT)
Local: Mon, May 18 2009 6:44 am
Subject: Re: Under what situation that a crash will not generate a core dump?
On May 15, 6:18 am, nelson.bens...@gmail.com wrote:
> you should be able to use gcore to create a core file of a running
> process as well, but i'm getting the impression that you're trying to
> trace a fault of some kind (bounds error of seg fault maybe?  yeah
> speculation).

yeah, we are, look like we need to change coreadm setup

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »