2006-09-30 10:10:28 |
fletch |
bug |
|
|
added bug |
2007-04-22 21:45:05 |
Ralph Janke |
php5: status |
Unconfirmed |
Needs Info |
|
2007-04-22 21:45:05 |
Ralph Janke |
php5: assignee |
|
rjanke |
|
2007-04-22 21:45:05 |
Ralph Janke |
php5: statusexplanation |
|
Thanks for submitting the bug report.
I tested this with php5 5.1.2-1ubuntu3.2 on dapper and could not reproduce this.
Is this problem still current or fixed by the updates ?
Thanks |
|
2007-06-07 13:47:14 |
Ralph Janke |
bug |
|
|
assigned to php5 (Debian) |
2007-06-07 13:48:06 |
Ralph Janke |
php5: status |
Needs Info |
Confirmed |
|
2007-06-07 13:48:06 |
Ralph Janke |
php5: assignee |
txwikinger |
|
|
2007-06-07 13:48:06 |
Ralph Janke |
php5: statusexplanation |
Thanks for submitting the bug report.
I tested this with php5 5.1.2-1ubuntu3.2 on dapper and could not reproduce this.
Is this problem still current or fixed by the updates ?
Thanks |
Confirmed since there is a confirmed bug in debian about this |
|
2007-06-08 07:51:12 |
Bug Watch Updater |
php5: status |
Unknown |
Confirmed |
|
2007-12-13 21:46:28 |
Ralph Janke |
php5: importance |
Undecided |
Low |
|
2007-12-13 21:49:57 |
Ralph Janke |
description |
Binary package hint: php5-cli
test.php:
<?php pg_connect("dbname=validorinvalidname user=validorinvaliduser pass=validorinvalidpass"); print "connected (or not)\n"; ?>
output of php test.php:
connected (or not)
SegmetationFault
In short, calling pg_connect() is causing a Segmentation Fault **after** the successful completion of the script. Explicitly calling pg_close() before the script ends has no effect. The function does not need to successfully connect to a db to cause the error. I cannot find a combination of different connection string paramaters that make any difference to the bug.
PHP packages installed
libapache2-mod-php5 5.1.2-1ubuntu3.2
php5-cli 5.1.2-1ubuntu3.2
php5-cgi 5.1.2-1ubuntu3.2
php5-common 5.1.2-1ubuntu3.2
php5-pgsql 5.1.2-1ubuntu3.2
php5-curl 5.1.2-1ubuntu3.2
php5-gd 5.1.2-1ubuntu3.2
php5-imap 5.1.2-1ubuntu3.2
php5-mysql 5.1.2-1ubuntu3.2
php5-mysqli 5.1.2-1ubuntu3.2
php5-xsl 5.1.2-1ubuntu3.2
PostgreSQL packages installed:
postgresql-8.1 8.1.4-0ubuntu1
postgresql-contrib-8.1 8.1.4-0ubuntu1
postgresql-comon1 53ubuntu3
postgresql-client-8.1 8.1.4-0ubuntu1
postgresql-client-common 53ubuntu3
|
Binary package hint: php5-cli
test.php:
<?php pg_connect("dbname=validorinvalidname user=validorinvaliduser pass=validorinvalidpass"); print "connected (or not)\n"; ?>
output of php test.php:
connected (or not)
SegmetationFault
In short, calling pg_connect() is causing a Segmentation Fault **after** the successful completion of the script. Explicitly calling pg_close() before the script ends has no effect. The function does not need to successfully connect to a db to cause the error. I cannot find a combination of different connection string paramaters that make any difference to the bug.
PHP packages installed
libapache2-mod-php5 5.1.2-1ubuntu3.2
php5-cli 5.1.2-1ubuntu3.2
php5-cgi 5.1.2-1ubuntu3.2
php5-common 5.1.2-1ubuntu3.2
php5-pgsql 5.1.2-1ubuntu3.2
php5-curl 5.1.2-1ubuntu3.2
php5-gd 5.1.2-1ubuntu3.2
php5-imap 5.1.2-1ubuntu3.2
php5-mysql 5.1.2-1ubuntu3.2
php5-mysqli 5.1.2-1ubuntu3.2
php5-xsl 5.1.2-1ubuntu3.2
PostgreSQL packages installed:
postgresql-8.1 8.1.4-0ubuntu1
postgresql-contrib-8.1 8.1.4-0ubuntu1
postgresql-comon1 53ubuntu3
postgresql-client-8.1 8.1.4-0ubuntu1
postgresql-client-common 53ubuntu3
WORKAROUNDS:
1) Removing php5-curl solves the problem
2) Moving the line "extension=curl.so" into pgsql.ini (before or after "extension=pgsql.so", it doesn't matter) solves the problem too, and curl can still be used. |
|
2008-11-04 10:32:53 |
Russell Smith |
bug |
|
|
assigned to postgresql-8.3 (Ubuntu) |
2008-11-04 10:33:12 |
Russell Smith |
postgresql-8.3: status |
New |
Confirmed |
|
2008-11-04 10:33:12 |
Russell Smith |
postgresql-8.3: statusexplanation |
|
|
|
2008-11-13 10:23:42 |
Russell Smith |
bug |
|
|
added attachment 'ssl.patch' (8.3.3 Backported patch to fix SSL segfault) |
2008-11-16 10:51:28 |
Emmet Hikory |
php5: status |
Confirmed |
Triaged |
|
2008-11-16 10:51:51 |
Emmet Hikory |
postgresql-8.3: status |
Confirmed |
Triaged |
|
2009-04-09 13:16:26 |
leopard |
attachment added |
|
packages.txt http://launchpadlibrarian.net/25110410/packages.txt |
|
2010-01-13 12:23:27 |
Ondřej Surý |
attachment added |
|
debbug411982.patch http://launchpadlibrarian.net/37846857/debbug411982.patch |
|
2010-01-13 12:27:20 |
Ondřej Surý |
affects |
php5 (Debian) |
postgresql-8.3 (Debian) |
|
2010-01-13 12:28:49 |
Ondřej Surý |
postgresql-8.3 (Ubuntu): status |
Triaged |
Confirmed |
|
2010-01-29 17:25:24 |
Martin Pitt |
postgresql-8.3 (Ubuntu): status |
Confirmed |
Won't Fix |
|
2010-01-29 17:26:44 |
Martin Pitt |
nominated for series |
|
Ubuntu Hardy |
|
2010-01-29 17:26:44 |
Martin Pitt |
bug task added |
|
php5 (Ubuntu Hardy) |
|
2010-01-29 17:26:44 |
Martin Pitt |
bug task added |
|
postgresql-8.3 (Ubuntu Hardy) |
|
2010-01-29 17:26:56 |
Martin Pitt |
postgresql-8.3 (Ubuntu Hardy): status |
New |
Triaged |
|
2010-01-29 17:26:59 |
Martin Pitt |
postgresql-8.3 (Ubuntu Hardy): importance |
Undecided |
Medium |
|
2010-01-29 17:27:03 |
Martin Pitt |
postgresql-8.3 (Ubuntu Hardy): assignee |
|
Martin Pitt (pitti) |
|
2010-01-29 17:27:08 |
Martin Pitt |
postgresql-8.3 (Ubuntu Hardy): status |
Triaged |
In Progress |
|
2010-01-29 17:27:23 |
Martin Pitt |
php5 (Ubuntu Hardy): status |
New |
Invalid |
|
2010-01-29 17:27:27 |
Martin Pitt |
php5 (Ubuntu): status |
Triaged |
Invalid |
|
2010-03-18 10:41:26 |
Martin Pitt |
postgresql-8.3 (Ubuntu Hardy): status |
In Progress |
Triaged |
|
2010-03-23 00:54:09 |
Ondřej Surý |
attachment added |
|
Updated patch to fix crash http://launchpadlibrarian.net/41668113/debbug411982v2.patch |
|
2010-04-07 16:41:32 |
Martin Pitt |
postgresql-8.3 (Ubuntu Hardy): status |
Triaged |
In Progress |
|
2010-04-07 17:16:42 |
Martin Pitt |
description |
Binary package hint: php5-cli
test.php:
<?php pg_connect("dbname=validorinvalidname user=validorinvaliduser pass=validorinvalidpass"); print "connected (or not)\n"; ?>
output of php test.php:
connected (or not)
SegmetationFault
In short, calling pg_connect() is causing a Segmentation Fault **after** the successful completion of the script. Explicitly calling pg_close() before the script ends has no effect. The function does not need to successfully connect to a db to cause the error. I cannot find a combination of different connection string paramaters that make any difference to the bug.
PHP packages installed
libapache2-mod-php5 5.1.2-1ubuntu3.2
php5-cli 5.1.2-1ubuntu3.2
php5-cgi 5.1.2-1ubuntu3.2
php5-common 5.1.2-1ubuntu3.2
php5-pgsql 5.1.2-1ubuntu3.2
php5-curl 5.1.2-1ubuntu3.2
php5-gd 5.1.2-1ubuntu3.2
php5-imap 5.1.2-1ubuntu3.2
php5-mysql 5.1.2-1ubuntu3.2
php5-mysqli 5.1.2-1ubuntu3.2
php5-xsl 5.1.2-1ubuntu3.2
PostgreSQL packages installed:
postgresql-8.1 8.1.4-0ubuntu1
postgresql-contrib-8.1 8.1.4-0ubuntu1
postgresql-comon1 53ubuntu3
postgresql-client-8.1 8.1.4-0ubuntu1
postgresql-client-common 53ubuntu3
WORKAROUNDS:
1) Removing php5-curl solves the problem
2) Moving the line "extension=curl.so" into pgsql.ini (before or after "extension=pgsql.so", it doesn't matter) solves the problem too, and curl can still be used. |
SRU TEST CASE:
* sudo apt-get install postgresql-8.3
* php -r 'pg_connect("host=localhost");'
warning: pg_connect(): Unable to connect to PostgreSQL server: fe_sendauth: no password supplied in Command line code on line 1
Segmentation fault (core dumped)
--- Original bug report -------------------------------------
Binary package hint: php5-cli
test.php:
<?php pg_connect("dbname=validorinvalidname user=validorinvaliduser pass=validorinvalidpass"); print "connected (or not)\n"; ?>
output of php test.php:
connected (or not)
SegmetationFault
In short, calling pg_connect() is causing a Segmentation Fault **after** the successful completion of the script. Explicitly calling pg_close() before the script ends has no effect. The function does not need to successfully connect to a db to cause the error. I cannot find a combination of different connection string paramaters that make any difference to the bug.
PHP packages installed
libapache2-mod-php5 5.1.2-1ubuntu3.2
php5-cli 5.1.2-1ubuntu3.2
php5-cgi 5.1.2-1ubuntu3.2
php5-common 5.1.2-1ubuntu3.2
php5-pgsql 5.1.2-1ubuntu3.2
php5-curl 5.1.2-1ubuntu3.2
php5-gd 5.1.2-1ubuntu3.2
php5-imap 5.1.2-1ubuntu3.2
php5-mysql 5.1.2-1ubuntu3.2
php5-mysqli 5.1.2-1ubuntu3.2
php5-xsl 5.1.2-1ubuntu3.2
PostgreSQL packages installed:
postgresql-8.1 8.1.4-0ubuntu1
postgresql-contrib-8.1 8.1.4-0ubuntu1
postgresql-comon1 53ubuntu3
postgresql-client-8.1 8.1.4-0ubuntu1
postgresql-client-common 53ubuntu3
WORKAROUNDS:
1) Removing php5-curl solves the problem
2) Moving the line "extension=curl.so" into pgsql.ini (before or after "extension=pgsql.so", it doesn't matter) solves the problem too, and curl can still be used.
|
|
2010-04-07 17:18:09 |
Martin Pitt |
description |
SRU TEST CASE:
* sudo apt-get install postgresql-8.3
* php -r 'pg_connect("host=localhost");'
warning: pg_connect(): Unable to connect to PostgreSQL server: fe_sendauth: no password supplied in Command line code on line 1
Segmentation fault (core dumped)
--- Original bug report -------------------------------------
Binary package hint: php5-cli
test.php:
<?php pg_connect("dbname=validorinvalidname user=validorinvaliduser pass=validorinvalidpass"); print "connected (or not)\n"; ?>
output of php test.php:
connected (or not)
SegmetationFault
In short, calling pg_connect() is causing a Segmentation Fault **after** the successful completion of the script. Explicitly calling pg_close() before the script ends has no effect. The function does not need to successfully connect to a db to cause the error. I cannot find a combination of different connection string paramaters that make any difference to the bug.
PHP packages installed
libapache2-mod-php5 5.1.2-1ubuntu3.2
php5-cli 5.1.2-1ubuntu3.2
php5-cgi 5.1.2-1ubuntu3.2
php5-common 5.1.2-1ubuntu3.2
php5-pgsql 5.1.2-1ubuntu3.2
php5-curl 5.1.2-1ubuntu3.2
php5-gd 5.1.2-1ubuntu3.2
php5-imap 5.1.2-1ubuntu3.2
php5-mysql 5.1.2-1ubuntu3.2
php5-mysqli 5.1.2-1ubuntu3.2
php5-xsl 5.1.2-1ubuntu3.2
PostgreSQL packages installed:
postgresql-8.1 8.1.4-0ubuntu1
postgresql-contrib-8.1 8.1.4-0ubuntu1
postgresql-comon1 53ubuntu3
postgresql-client-8.1 8.1.4-0ubuntu1
postgresql-client-common 53ubuntu3
WORKAROUNDS:
1) Removing php5-curl solves the problem
2) Moving the line "extension=curl.so" into pgsql.ini (before or after "extension=pgsql.so", it doesn't matter) solves the problem too, and curl can still be used.
|
SRU TEST CASE:
* sudo apt-get install postgresql-8.3 php-cli php-curl php-pgsql
* php -r 'pg_connect("host=localhost");'
warning: pg_connect(): Unable to connect to PostgreSQL server: fe_sendauth: no password supplied in Command line code on line 1
Segmentation fault (core dumped)
--- Original bug report -------------------------------------
Binary package hint: php5-cli
test.php:
<?php pg_connect("dbname=validorinvalidname user=validorinvaliduser pass=validorinvalidpass"); print "connected (or not)\n"; ?>
output of php test.php:
connected (or not)
SegmetationFault
In short, calling pg_connect() is causing a Segmentation Fault **after** the successful completion of the script. Explicitly calling pg_close() before the script ends has no effect. The function does not need to successfully connect to a db to cause the error. I cannot find a combination of different connection string paramaters that make any difference to the bug.
PHP packages installed
libapache2-mod-php5 5.1.2-1ubuntu3.2
php5-cli 5.1.2-1ubuntu3.2
php5-cgi 5.1.2-1ubuntu3.2
php5-common 5.1.2-1ubuntu3.2
php5-pgsql 5.1.2-1ubuntu3.2
php5-curl 5.1.2-1ubuntu3.2
php5-gd 5.1.2-1ubuntu3.2
php5-imap 5.1.2-1ubuntu3.2
php5-mysql 5.1.2-1ubuntu3.2
php5-mysqli 5.1.2-1ubuntu3.2
php5-xsl 5.1.2-1ubuntu3.2
PostgreSQL packages installed:
postgresql-8.1 8.1.4-0ubuntu1
postgresql-contrib-8.1 8.1.4-0ubuntu1
postgresql-comon1 53ubuntu3
postgresql-client-8.1 8.1.4-0ubuntu1
postgresql-client-common 53ubuntu3
WORKAROUNDS:
1) Removing php5-curl solves the problem
2) Moving the line "extension=curl.so" into pgsql.ini (before or after "extension=pgsql.so", it doesn't matter) solves the problem too, and curl can still be used.
|
|
2010-04-08 17:47:01 |
Colin Watson |
postgresql-8.3 (Ubuntu Hardy): status |
In Progress |
Fix Committed |
|
2010-04-08 17:47:10 |
Colin Watson |
tags |
|
verification-needed |
|
2010-04-15 07:19:22 |
Launchpad Janitor |
postgresql-8.3 (Ubuntu Hardy): status |
Fix Committed |
Fix Released |
|
2010-04-15 07:19:22 |
Launchpad Janitor |
cve linked |
|
2009-3555 |
|
2010-04-15 07:19:22 |
Launchpad Janitor |
cve linked |
|
2010-0442 |
|
2010-04-26 02:53:33 |
Bug Watch Updater |
postgresql-8.3 (Debian): status |
Confirmed |
Fix Released |
|
2010-08-12 12:12:55 |
Marc Deslauriers |
cve unlinked |
2010-0442 |
|
|
2010-08-12 12:13:09 |
Marc Deslauriers |
cve unlinked |
2009-3555 |
|
|