Bug#411982: [php-maint] Bug#411982: I can reproduce this as well

sean finney seanius at debian.org
Wed Mar 21 23:23:55 CET 2007


funny enough i was talking to a friend who was having the same problem,
and he gave me a script i could use to reproduce it.

installing php5-pgsql and php5-curl and postgresql-8.1, and running the
following script from the cmdline gets me segfaults:



$conn_string = "host=localhost dbname=data user=user password=pword";
$dbconn = pg_connect($conn_string);
$query = "SELECT count(1) FROM table";
$result = pg_query($dbconn, $query);


note that the postgres server has to be running to get the problem to
reveal itself.  the backtrace points to libssl/libcrypto via curl via
Curl_ossl_shutdown, though i can't see why that should fail.  i guess
tomorrow i get to build/install debug php package and see if anything
funny shows up :/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20070321/507193a8/attachment.pgp

More information about the pkg-php-maint mailing list