Re: Newbie help: Segmentation fault
| From: | Antony Dovgal | Date: | Mon, 15 Jan 2007 20:57:54 +0000 |
| Subject: | Re: Newbie help: Segmentation fault | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-27464@lists.php.net to get a copy of this message | ||
On 01/15/2007 11:50 PM, Arnold Daniels wrote:
Hi, I could use some help on an extension I've written. It worked fine before, but from out the blue I started to get segmentation faults. I've located it down to this piece of code, but I don't do any writes to the code memory, so I don't get what's wrong. It seems like the error lies in the 'ret != NULL'. The module compiled against php 5.1.6 and runs under linux version 2.6.15.4 (Debian).
- zval *ret; + zval *ret = NULL;-- Wbr, Antony Dovgal