Re: [PHP-DEV] chunk_split seg fault: bt From: Derick Rethans (d.rethans <email protected>)
Date: 09/27/01

Hello,

I fixed this in CVS.

Derick

On Wed, 26 Sep 2001, Steve Alberty wrote:

> Hi,
>
> chunk_split in the follow code snip
>
> <?php
> echo chunk_split(str_repeat('x',1024),10);
> ?>
>
> produces sometimes a seg. fault.
>
> Here is the backtrace,
> i hope it helps a little bit:
>
> ----
> Program received signal SIGSEGV, Segmentation fault.
> 0x400cb007 in memcpy (dstpp=0x81926e0, srcpp=0x81922a8, len=135878960)
> at ../sysdeps/generic/memcpy.c:55
> 55 ../sysdeps/generic/memcpy.c: No such file or directory.
>
> #0 0x400cb007 in memcpy (dstpp=0x81926e0, srcpp=0x81922a8, len=
> 135878960) at ../sysdeps/generic/memcpy.c:55
> #1 0x4055104f in zif_chunk_split (ht=Cannot access memory at address
> 0xffffcdc9
> ) at string.c:1549
> Cannot access memory at address 0xffffcd79
> ----
>
> Regards,
>
> Steve
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>

Derick Rethans

---------------------------------------------------------------------
        PHP: Scripting the Web - www.php.net - derick <email protected>
             SRM: Site Resource Manager - www.vl-srm.net
---------------------------------------------------------------------
    JDI Media Solutions - www.jdimedia.nl - d.rethans <email protected>
     Boulevard Heuvelink 102 - 6828 KT Arnhem - The Netherlands
---------------------------------------------------------------------

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>