View Issue Details

IDProjectCategoryView StatusLast Update
0000074Pgpool-IIBugpublic2013-09-25 23:19
Reporterserge.logvinovAssigned Tot-ishii 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionopen 
PlatformlinuxOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000074: pgpool 3.2.6 - segfault in pool_worker_child.c
DescriptionIf in pgpool.conf not set log_standby_delay worker segmentation fault.

master_slave_mode = true
master_slave_sub_mode = stream
delay_threshold = 1000000
sr_check_period = 30

in log:
2013-09-24 20:30:28 ERROR: pid 27150: Child process 12760 was terminated by segmentation fault
2013-09-24 20:30:28 LOG: pid 27150: worker child 12760 exits with status 11 by signal 11
2013-09-24 20:30:28 LOG: pid 27150: fork a new worker child pid 12761
2013-09-24 20:30:28 ERROR: pid 27150: Child process 12761 was terminated by segmentation fault
2013-09-24 20:30:28 LOG: pid 27150: worker child 12761 exits with status 11 by signal 11
2013-09-24 20:30:28 LOG: pid 27150: fork a new worker child pid 12762
2013-09-24 20:30:28 ERROR: pid 27150: Child process 12762 was terminated by segmentation fault


Fix:

diff pgpool-II-3.2.6/pool_config.c pgpool-II-3.2.6/pool_config.c.origin
1912c1912
< pool_config->log_standby_delay = "none";
---
> pool_config->log_standby_delay = 0;
TagsNo tags attached.

Activities

t-ishii

2013-09-25 23:19

developer   ~0000334

Good catch! Fix committed to master and all supported branches. Thanks!

Issue History

Date Modified Username Field Change
2013-09-25 22:29 serge.logvinov New Issue
2013-09-25 23:19 t-ishii Note Added: 0000334
2013-09-25 23:19 t-ishii Assigned To => t-ishii
2013-09-25 23:19 t-ishii Status new => resolved
2013-09-25 23:19 t-ishii Additional Information Updated View Revisions