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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]