segmentation fault when passing arguments by reference or importing global variables

From: Date: Mon, 21 Feb 2005 18:21:24 +0000
Subject: segmentation fault when passing arguments by reference or importing global variables
Groups: php.internals 
Request: Send a blank email to internals+get-15137@lists.php.net to get a copy of this message
Dear All: Im having some weird problems here. We're working on a big project, based on PHP and we found that some code that used to work, is doing very strange things. Im getting segfaults in some parts of the code, for example: function XXX(&$databaseConnection, $xxx) { or global $xxx; At first, I was getting segfaults with very little info. After I installed php-mmturck, the file, line and opcode where the error happen is reported in apache error log: [4577] MMCACHE: PHP crashed on opline 1 of XXX() at /var/www/xxx/XXX.class.php:58 [Mon Feb 21 15:16:02 2005] [notice] child pid 4577 exit signal Segmentation fault (11) Line 58 has: function XXX(&$databaseConnection, $_xxx) { Im using PHP 4.3.10-2 (debian gnu/linux testing) but I can recompile it or test another version, if you think it's important. Thanks in advance :) -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.2.0 - Release Date: 2/21/2005

« previous php.internals (#15137) next »