[php-maint] Bug#420296: installing php4-curl (or php5-curl) together with php4-pgsql causes segfaults

Andreas Schultz aschultz at warp10.net
Sat Apr 21 12:53:22 UTC 2007


Package: php4-curl
Version: 6:4.4.4-8+etch1
Severity: important

pgsql works fine, but adding curl to php{4,5} installation causes segfaults 
later on.
Example:

<?php

require_once('adodb.inc.php');

$tpdb = ADONewConnection('postgres7');
if ($tpdb)
     $tpdb->Connect('db01:5432', 'travelping', 'travelping', 'template1');
print_r($tpdb);

$a = array();

var_dump($a);
echo sizeof($a);

?>

Segfaults on the echo if php-curl in installed, works without it, var_dump is 
fine though.
Something in the combination of pgsql and curl must cause a memory corruption.

Andreas

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20-15-generic
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages php4-curl depends on:
ii  libapach 6:4.4.4-8+etch1                 server-side, HTML-embedded 
scripti
ii  libc6    2.3.6.ds1-13                    GNU C Library: Shared libraries
ii  libcomer 1.39+1.40-WIP-2006.11.14+dfsg-2 common error description library
ii  libcurl3 7.15.5-1                        Multi-protocol file transfer 
libra
ii  libidn11 0.6.5-1                         GNU libidn library, 
implementation
ii  libkrb53 1.4.4-7etch1                    MIT Kerberos runtime libraries
ii  libssl0. 0.9.8c-4                        SSL shared libraries
ii  php4-cli 6:4.4.4-8+etch1                 command-line interpreter for the 
p
ii  php4-com 6:4.4.4-8+etch1                 Common files for packages built 
fr
ii  zlib1g   1:1.2.3-13                      compression library - runtime

php4-curl recommends no packages.

-- debconf-show failed




More information about the pkg-php-maint mailing list