Re: Recent SIGSEGV failures in buildfarm HEAD

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
Cc: Seneca Cunningham <tentra(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Recent SIGSEGV failures in buildfarm HEAD
Date: 2006-12-31 17:41:48
Message-ID: 4356.1167586908@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc> writes:
> fwiw - I can trigger that issue now pretty reliably on a fast Opteron
> box (running Debian Sarge/AMD64) with make regress in a loop - I seem to
> be able to trigger it in about 20-25% of the runs.
> the resulting core however looks totally stack corrupted and not really
> usable :-(

Hmm, probably the stack overrun leaves the call stack too corrupt for
gdb to make sense of. Try inserting "check_stack_depth();" into one
of the functions that're part of the infinite recursion, and then make
check_stack_depth() do an abort() instead of just elog(ERROR). That
might give you a core that gdb can work with.

I'm still having absolutely 0 success reproducing it on a dual Xeon
... so it's not just the architecture that's the issue. Some kind of
timing problem? That's hard to believe too.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Seneca Cunningham 2006-12-31 17:48:38 Re: Recent SIGSEGV failures in buildfarm HEAD
Previous Message Tom Lane 2006-12-31 17:34:01 Re: Added the word TODO in comments

Browse pgsql-patches by date

  From Date Subject
Next Message Seneca Cunningham 2006-12-31 17:48:38 Re: Recent SIGSEGV failures in buildfarm HEAD
Previous Message Stefan Kaltenbrunner 2006-12-31 16:43:45 Re: Recent SIGSEGV failures in buildfarm HEAD