hi,

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:

<?php

mb_internal_encoding("UTF-8");

$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);
pg_close($dbconn);

?>


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 :/


        sean

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to