Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Re: Bug#41277: postgresql 6.5.1-3 + sparc (sun4u) == nasty nasty crashes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
Cc: Adam Di Carlo <adam(at)onshore(dot)com>, 41277(at)bugs(dot)debian(dot)org, pgsql-ports(at)postgreSQL(dot)org, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Re: Bug#41277: postgresql 6.5.1-3 + sparc (sun4u) == nasty nasty crashes
Date: 1999-08-01 15:27:37
Message-ID: 28493.933521257@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-ports
"Oliver Elphick" <olly(at)lfix(dot)co(dot)uk> writes:
>> Yes.  On followup, I am getting intermittant hard crashes when running
>> regress.sh or doing any operation with postgresql.  Obviously, this is
>> more on the level of a sparc64 kernel problem, even, than a purely
>> postgres problem -- after all, no user process should be able to take
>> out the system this way.

Yipes...

> Can postgresql developers tell from this what routine we are in when the
> crash occurs?  I suppose that log output is buffered; where can we turn
> off buffering so that all possible output is saved to disk before the
> crash?

The log is not nearly detailed enough to tell what routine we're in,
even if there weren't the buffering problem.  Also, given that this is
a kernel crash, I'm not sure I'd assume that even fsync() after every
line of output would ensure that the last line made it to disk.

What you really want is a truss or strace log of kernel calls, anyhow,
but there's still the problem of getting it out to disk before the
crash.  Better find a kernel-debugging expert to ask for advice...

			regards, tom lane

Responses

pgsql-ports by date

Next:From: Michael Alan DormanDate: 1999-08-01 16:57:34
Subject: Re: [HACKERS] Re: Bug#41277: postgresql 6.5.1-3 + sparc (sun4u) == nasty nasty crashes
Previous:From: Bruce MomjianDate: 1999-08-01 14:49:10
Subject: Re: [PORTS] NT-Compile-Hints

pgsql-hackers by date

Next:From: Michael Alan DormanDate: 1999-08-01 16:57:34
Subject: Re: [HACKERS] Re: Bug#41277: postgresql 6.5.1-3 + sparc (sun4u) == nasty nasty crashes
Previous:From: Oliver ElphickDate: 1999-08-01 06:35:00
Subject: Re: Bug#41277: postgresql 6.5.1-3 + sparc (sun4u) == nasty nasty crashes

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group