| Summary: | Postgresql84 segfault during GEQO planning | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Doug Weimer <dougw> |
| Component: | postgresql84 | Assignee: | Tom Lane <tgl> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | qe-baseos-daemons |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.5 | CC: | hhorak, pascal.depuis |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | postgresql84-8.4.9-1.el5_7.1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-10-18 16:53:50 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Doug Weimer
2011-03-08 20:37:10 UTC
A stack trace from the core dump (with postgresql84-debuginfo installed) would help. If it's not producing core dumps, try adding "ulimit -c unlimited" to /var/lib/pgsql/.bash_profile and restarting the database. We will upgrade to 8.4.7 since there are fixes in 8.4.6 and 8.4.7 to address postmaster crashes. After upgrading to 8.4.7 we still see the fault. We downgraded to 8.4.4 on another machine running the same OS and see it there too. The positive news is that we have SQL that will produce the seg fault on demand. I added "ulimit -c unlimited" to the /var/lib/pgsql/.bash_profile and restarted the database but am not producing core files (at least any that I can find). Please advise on how to proceed. Please provide the reproducer script, then. Some investigation on SDSC's test database eventually identified the problem. It's explained here: http://archives.postgresql.org/pgsql-hackers/2011-04/msg00689.php and a fix has been committed upstream here: http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=1de8584fb1b71c98138b1f23808a4f01ab7566cd We'll absorb this fix automatically whenever we rebase to 8.4.8 or later, but don't know how soon that will be. I forgot to include this bug in the erratum paperwork, but it should be fixed in 8.4.9, which was just pushed as a security erratum. |