Re: segfault help
| From: | Tim Rupp | Date: | Fri, 27 Jun 2008 15:57:30 +0000 |
| Subject: | Re: segfault help | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-276064@lists.php.net to get a copy of this message | ||
On Fri, Jun 27, 2008 at 10:14 AM, Daniel Brown <parasane@gmail.com> wrote:
> On Fri, Jun 27, 2008 at 10:30 AM, Tim Rupp <caphrim007@gmail.com> wrote:
>> Hi list,
>>
>> I'm getting a segfault when I run (what I assume) is a very simple
>> script. I'm not sure if it's a php bug or a bug in the library I'm
>> using (MDB2) with PHP 5.2.5 via the cli. Everything seems to go fine
>> until it's time for the script to end. That's when it receives the seg
>> fault.
> [snip!]
>
> Tim,
>
> In 5.2.6, line 807 is in zend_mm_remove_from_free_list(), but it's
> still memory-related, since it's zend_alloc.c that appears to be
> causing the crash.
>
> What does your ./configure line look like?
>
> --
> </Daniel P. Brown>
> Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
> $59.99/mo. with no contract!
> Dedicated servers, VPS, and hosting from $2.50/mo.
>
Here's my configure line
./configure --enable-force-cgi-redirect --enable-debug
--disable-rpath --enable-inline-optimization --with-bz2
--with-db4=/usr --with-curl --with-gd --enable-gd-native-ttf
--without-gdbm --with-gettext --with-ncurses --with-gmp --with-iconv
--with-openssl --with-regex=system --with-zlib --with-layout=GNU
--enable-bcmath --enable-exif --enable-ftp --enable-magic-quotes
--enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm
--enable-wddx --with-kerberos --with-ldap=shared --with-mysql=shared
--enable-mbstring=all --with-apxs2=/usr/sbin/apxs --with-pgsql=shared
--with-mysqli --with-freetype-dir=/usr/include/freetype2 --with-mcrypt
--enable-soap --enable-sigchild --enable-pcntl
it was compiled on a RHEL 4.2 machine. I compiled 5.2.6 to see if that
would fix it, but no change.
Thanks,
-Tim