Activity log for bug #165247

Date Who What changed Old value New value Message
2007-11-26 19:46:05 Zefram bug added bug
2007-11-26 23:49:02 Mathias Gug php5: importance Undecided Low
2007-11-26 23:49:02 Mathias Gug php5: status New Triaged
2007-11-26 23:49:53 Mathias Gug title PHP and Apache segfault on db4 PHP and Apache segfault on db4 - not linked to the same version of the db library
2007-12-07 23:54:01 Kees Cook php5: status New Triaged
2007-12-19 03:25:26 Daniel Hahler php5: status Triaged In Progress
2007-12-19 03:25:26 Daniel Hahler php5: assignee blueyed
2007-12-19 10:09:50 Daniel Hahler php5: importance Undecided Medium
2007-12-19 10:09:50 Daniel Hahler php5: assignee blueyed
2007-12-19 10:09:50 Daniel Hahler php5: status Triaged In Progress
2007-12-19 10:14:59 Daniel Hahler php5: importance Medium Low
2007-12-19 10:14:59 Daniel Hahler php5: assignee blueyed
2007-12-19 10:14:59 Daniel Hahler php5: status In Progress Triaged
2007-12-19 10:16:02 Daniel Hahler bug added attachment 'php5_5.2.3-1ubuntu6.3.dsc.diff' (debdiff for gutsy-proposed)
2007-12-19 13:05:41 Daniel Hahler bug added attachment 'php5_5.2.3-1ubuntu6.3.dsc.diff' (debdiff for gutsy-proposed (updated))
2007-12-19 13:07:15 Daniel Hahler bug added subscriber Ubuntu Stable Release Updates Team
2007-12-19 13:08:18 Daniel Hahler description Binary package hint: libapache2-mod-php5 I'm getting a segfault when trying to read in PHP5 some db4 RewriteMaps in Apache. I believe the problem has to do with linking of different db4 libraries in php5 and apache2: apache2-mpm-prefork requires libdb4.4 libapache2-mod-php5 requires libdb4.5 So, to reiterate a bit. I have some RewriteMaps in Apache2, such as: RewriteMap testHash dbm=db:/var/www/website/map.db When trying to access this file from php5, I get a segfault on: dba_open('/var/www/website/map.db', 'c'); Binary package hint: libapache2-mod-php5 I'm getting a segfault when trying to read in PHP5 some db4 RewriteMaps in Apache. I believe the problem has to do with linking of different db4 libraries in php5 and apache2: apache2-mpm-prefork requires libdb4.4 libapache2-mod-php5 requires libdb4.5 So, to reiterate a bit. I have some RewriteMaps in Apache2, such as: RewriteMap testHash dbm=db:/var/www/website/map.db When trying to access this file from php5, I get a segfault on: dba_open('/var/www/website/map.db', 'c'); TESTCASE: 1. Install libapache2-mod-php5. 2. Create /var/www/test.php containing the line: <?php dba_open('/var/www/map.db', 'c'); ?> 3. Create /var/www/.htaccess: RewriteMap testHash dbm=db:/var/www/map.db RewriteRule ^/ex/(.*) ${testHash:$1} 4. Create /var/www/map.txt: a b 5. Generate the db file with the command: $ sudo httxt2dbm -i /var/www/map.txt -o /var/www/map.db 6. Open the test.php file with a browser. It should prompt you to download test.php. /var/log/apache2/error.log has a line similar to: [notice] child pid 17987 exit signal Segmentation fault (11) Expected result: blank page.
2007-12-21 13:10:09 Launchpad Janitor php5: status In Progress Fix Released
2008-01-10 07:52:03 Martin Pitt bug added subscriber SRU Verification
2008-01-10 07:53:36 Martin Pitt php5: status Triaged Fix Committed
2008-01-15 09:11:39 Martin Pitt php5: status Fix Committed Fix Released
2009-06-27 22:26:06 Launchpad Janitor branch linked lp:ubuntu/karmic/php5