2010-10-13 22:17:03 |
Matt Clarkson |
bug |
|
|
added bug |
2010-10-13 22:17:03 |
Matt Clarkson |
attachment added |
|
Test script https://bugs.launchpad.net/bugs/660227/+attachment/1691659/+files/test.php |
|
2010-10-13 22:17:03 |
Matt Clarkson |
attachment added |
|
Dependencies.txt https://bugs.launchpad.net/bugs/660227/+attachment/1691660/+files/Dependencies.txt |
|
2010-10-13 22:17:03 |
Matt Clarkson |
attachment added |
|
PHPConf.etc.php5.apache2.php.ini.txt https://bugs.launchpad.net/bugs/660227/+attachment/1691661/+files/PHPConf.etc.php5.apache2.php.ini.txt |
|
2010-10-13 22:17:03 |
Matt Clarkson |
attachment added |
|
PHPInstalledModules.txt https://bugs.launchpad.net/bugs/660227/+attachment/1691662/+files/PHPInstalledModules.txt |
|
2010-10-14 05:54:42 |
Clint Byrum |
tags |
apport-bug i386 maverick |
apport-bug i386 maverick regression-release |
|
2010-10-14 05:54:51 |
Clint Byrum |
bug |
|
|
added subscriber Clint Byrum |
2010-10-14 06:06:37 |
Clint Byrum |
php5 (Ubuntu): status |
New |
Confirmed |
|
2010-10-14 06:06:42 |
Clint Byrum |
php5 (Ubuntu): importance |
Undecided |
High |
|
2010-10-14 11:36:36 |
Clint Byrum |
php5 (Ubuntu): assignee |
|
Clint Byrum (clint-fewbar) |
|
2010-10-14 11:36:49 |
Clint Byrum |
php5 (Ubuntu): status |
Confirmed |
In Progress |
|
2010-10-14 11:37:19 |
Clint Byrum |
nominated for series |
|
Ubuntu Maverick |
|
2010-10-14 13:17:35 |
Clint Byrum |
description |
Binary package hint: php5
A connect failure in pg_connect() or an error in pg_query() will result in php exiting after printing a WARNING instead of continuing execution.
I have attached a test script that tries to connect to a non-existent DB - on Debian Lenny prints an error correctly:
$ php test.php
Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL: database "mary" does not exist in /home/mattc/test.php on line 3
Connection Failure
But on Maverick simply dies after the pg_connect() failure - note that "Connection Failure" is not printed:
$ php test.php
Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL: database "mary" does not exist
in /home/mattc/test.php on line 3
This looks like a related upstream bug:
http://bugs.php.net/bug.php?id=52682
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: php5-pgsql 5.3.3-1ubuntu9
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
NonfreeKernelModules: ksplice_r5fvn98f ksplice_vx7641xl ksplice_hy9n8rtk_vmlinux_new ksplice_hy9n8rtk ksplice_wwlcxuj6 ksplice_ndv79lmx_vmlinux_new ksplice_ndv79lmx ksplice_wqjhxpxk_vmlinux_new ksplice_wqjhxpxk ksplice_vxxnjbjc ksplice_aoojhvc5_vmlinux_new ksplice_aoojhvc5 ksplice_csiv07iy_vmlinux_new ksplice_csiv07iy nvidia
Architecture: i386
Date: Thu Oct 14 10:23:38 2010
ProcEnviron:
PATH=(custom, no user)
LANG=en_NZ.UTF-8
SHELL=/bin/bash
SourcePackage: php5 |
Binary package hint: php5
A connect failure in pg_connect() or an error in pg_query() will result in php exiting after printing a WARNING instead of continuing execution.
I have attached a test script that tries to connect to a non-existent DB - on Debian Lenny prints an error correctly:
$ php test.php
Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL: database "mary" does not exist in /home/mattc/test.php on line 3
Connection Failure
But on Maverick simply dies after the pg_connect() failure - note that "Connection Failure" is not printed:
$ php test.php
Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL: database "mary" does not exist
in /home/mattc/test.php on line 3
This looks like a related upstream bug:
http://bugs.php.net/bug.php?id=52682
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: php5-pgsql 5.3.3-1ubuntu9
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
NonfreeKernelModules: ksplice_r5fvn98f ksplice_vx7641xl ksplice_hy9n8rtk_vmlinux_new ksplice_hy9n8rtk ksplice_wwlcxuj6 ksplice_ndv79lmx_vmlinux_new ksplice_ndv79lmx ksplice_wqjhxpxk_vmlinux_new ksplice_wqjhxpxk ksplice_vxxnjbjc ksplice_aoojhvc5_vmlinux_new ksplice_aoojhvc5 ksplice_csiv07iy_vmlinux_new ksplice_csiv07iy nvidia
Architecture: i386
Date: Thu Oct 14 10:23:38 2010
ProcEnviron:
PATH=(custom, no user)
LANG=en_NZ.UTF-8
SHELL=/bin/bash
SourcePackage: php5
=== Stable Release Update (SRU) information ===
IMPACT
The patch being removed does not fix any reproducible problem, so it really should not have been added in the first place.
DEV BRANCH
Natty is not open yet.
PATCH
See associated merge proposal
TEST CASE:
The php script labeled "Test script" attached to this bug reproduces the problem exactly. If the string "Connection Failure" is not seen after running it, the bug is present.
REGRESSION POTENTIAL
If we did fix the pgsql segfaulting problem reported in
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/607646
It will return. However, that bug was never actually confirmed by users, and so I think the potential is "VERY LOW" |
|
2010-10-14 13:20:48 |
Launchpad Janitor |
branch linked |
|
lp:~clint-fewbar/ubuntu/maverick/php5/remove-pgsql-segfault-patch |
|
2010-10-14 15:25:43 |
James Page |
bug |
|
|
added subscriber James Page |
2010-10-15 13:44:42 |
Martin Pitt |
bug task added |
|
php5 (Ubuntu Maverick) |
|
2010-10-15 13:47:22 |
Martin Pitt |
php5 (Ubuntu Maverick): status |
New |
Fix Committed |
|
2010-10-15 13:47:24 |
Martin Pitt |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2010-10-15 13:47:27 |
Martin Pitt |
bug |
|
|
added subscriber SRU Verification |
2010-10-15 13:47:29 |
Martin Pitt |
tags |
apport-bug i386 maverick regression-release |
apport-bug i386 maverick regression-release verification-needed |
|
2010-10-15 16:44:29 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/maverick-proposed/php5 |
|
2010-10-15 19:01:09 |
Jean-Baptiste Lallement |
tags |
apport-bug i386 maverick regression-release verification-needed |
apport-bug i386 maverick regression-release verification-done |
|
2010-10-21 09:55:54 |
Martin Pitt |
php5 (Ubuntu): status |
In Progress |
Fix Released |
|
2010-10-21 09:55:59 |
Launchpad Janitor |
php5 (Ubuntu Maverick): status |
Fix Committed |
Fix Released |
|
2010-11-09 08:01:20 |
Clint Byrum |
php5 (Ubuntu): assignee |
Clint Byrum (clint-fewbar) |
|
|
2010-12-02 19:36:32 |
Launchpad Janitor |
branch linked |
|
lp:~clint-fewbar/ubuntu/natty/php5/fix-mssql-segfault |
|
2010-12-04 00:16:51 |
Clint Byrum |
branch unlinked |
lp:~clint-fewbar/ubuntu/natty/php5/fix-mssql-segfault |
|
|
2011-09-19 21:35:11 |
Ubuntu Foundations Team Bug Bot |
tags |
apport-bug i386 maverick regression-release verification-done |
apport-bug i386 maverick regression-release testcase verification-done |
|