[php-maint] Bug#496673: Bug#496673: php5-pgsql / php-db segmentation fault

Vidar Hokstad vidar at aardvarkmedia.co.uk
Wed Aug 27 08:53:25 UTC 2008


It does. Perfect - I just got into the office worrying I'd be wasting  
my day trying to find a workaround... I guess it's the load order of  
the extensions that triggers the problem then.

Thanks a lot!

Vidar

On 26 Aug 2008, at 18:36, sean finney wrote:

> hi vidar,
>
> can you check bug report #411982 and verify that this problem (and  
> workaround)
> works for you too?
>
> thanks,
> 	sean
>
> On Tuesday 26 August 2008 06:23:47 pm Vidar Hokstad wrote:
>> Package: php5-pgsql
>> Package: php-db
>>
>> I'm getting segmentation faults on exit when using php-db with php5-
>> pgsql. I cut it down to the test script below.
>>
>> The problem seems to appear on exit, but consistently appear when
>> connecting to a postgres database, and not when no database  
>> connection
>> is made.
>>
>> Please let me know what additional information would be most useful  
>> to
>> you.
>>
>> <?php
>>
>> require_once("DB.php");
>>
>> $db = DB::connect("pgsql://bay:[removed password]@db/bay");
>> echo "It gets here - the seg. fault seems to happen on exit\n";
>> ?>
>>
>> $ uname -a
>> Linux vidar 2.6.18-12-fza-amd64 #1 SMP Sun May 18 09:57:08 UTC 2008
>> i686 GNU/Linux
>> $ dpkg -l | grep -E '(php|postgres)'
>> ii  libapache2-mod-php5      5.2.6-3
>> server-side, HTML-embedded scripting languag
>> ii  php-db                   1.7.13-2                             PHP
>> PEAR Database Abstraction Layer
>> ii  php-elisp                1.4.0-2
>> Emacs support for php files
>> ii  php-mail                 1.1.14-1                             PHP
>> PEAR module for sending email
>> ii  php-mail-mime            1.5.2-0.1                            PHP
>> PEAR module for creating MIME messages
>> ii  php-mail-mimedecode      1.5.0-3                              PHP
>> PEAR module to decode MIME messages
>> ii  php-net-smtp             1.3.1-1                              PHP
>> PEAR module implementing SMTP protocol
>> ii  php-net-socket           1.0.8-2                              PHP
>> PEAR Network Socket Interface module
>> ii  php-pear                 5.2.6-3                               
>> PEAR
>> - PHP Extension and Application Reposit
>> ii  php5                     5.2.6-3
>> server-side, HTML-embedded scripting languag
>> ii  php5-cli                 5.2.6-3
>> command-line interpreter for the php5 script
>> ii  php5-common              5.2.6-3
>> Common files for packages built from the php
>> ii  php5-curl                5.2.6-3                               
>> CURL
>> module for php5
>> ii  php5-pgsql               5.2.6-3
>> PostgreSQL module for php5
>> ii  postgresql-client-8.1    8.1.11-0etch1
>> front-end programs for PostgreSQL 8.1
>> ii  postgresql-client-common 90
>> manager for multiple PostgreSQL client versi
>> ii  postgresql-common        90
>> PostgreSQL database-cluster manager
>>
>>
>>
>> Regards,
>> Vidar Hokstad
>>
>>
>>
>>
>> _______________________________________________
>> pkg-php-maint mailing list
>> pkg-php-maint at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/pkg-php-maint






More information about the pkg-php-maint mailing list