View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000061 | Pgpool-II | Bug | public | 2013-06-25 14:11 | 2013-07-02 13:21 |
| Reporter | masano | Assigned To | nagata | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Platform | Linux | OS | CentOS | OS Version | 5.9 |
| Summary | 0000061: Child process xxxx was terminated by segmentation fault | ||||
| Description | pgpool-II 3.2.4 causes segfault by the following operation. | ||||
| Steps To Reproduce | * PostgreSQL 9.2.4 enable md5 authentication. * pgpool-II 3.2.4 enable md5 authentication. connect to PostgreSQL server with psql client using -U option which specifies '' (empty string). $ psql -h 127.0.0.1 -p 9999 -U '' pgpool-II log shows: Jun 25 13:36:14 dhcp-177-111 pgpool[8570]: Child process 8574 was terminated by segmentation fault | ||||
| Tags | No tags attached. | ||||
|
|
I confirmed the problem. This occurs when enable_pool_hba is true and there are no PostgreSQL user specification with no relation to md5. I'm fixing it now. |
|
|
|
|
|
I fixed the problem and attached a patch. This is already committed. When a startup packet has no PostgreSQL user specified, pgpool-II terminated abnormally. You can reproduce it by $ psql -p 9999 -U '' If enable_pool_hba is on, a child process terminates by segmentation fault. Otherwise if enable_pool_hba is off, the error message is ERROR: pool_discard_cp: cannot get connection pool for user (null) database (null) In both cases, psql terminates with no message on frontend. To resolve it, if PostgreSQL user is not specified in startup packet, the message as following is output to both log and frontend. This is the same behavior as PostgreSQL. FATAL: no PostgreSQL user name specified in startup packet |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-06-25 14:11 | masano | New Issue | |
| 2013-06-26 11:39 | nagata | Assigned To | => nagata |
| 2013-06-26 11:39 | nagata | Status | new => assigned |
| 2013-06-26 11:52 | nagata | Note Added: 0000295 | |
| 2013-06-26 11:52 | nagata | Status | assigned => confirmed |
| 2013-07-02 13:18 | nagata | File Added: patch_child_0701.diff | |
| 2013-07-02 13:20 | nagata | Note Added: 0000302 | |
| 2013-07-02 13:21 | nagata | Status | confirmed => resolved |
| 2013-07-02 13:21 | nagata | Resolution | open => fixed |