-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 02/12/2014 08:58, Remi Collet a écrit :
> Mostly for Dmitry
> 
> After some work, I can reduce the failed tests number from 111 to 5
> :) (configure --disable-all)
> 
> Those seems related to new mm. => munmap() failed: [22] Invalid
> argument

$ gdb sapi/cli/php
...
(gdb) break Zend/zend_alloc.c:426
(gdb) break Zend/zend_alloc.c:471
(gdb) run Zend/tests/concat_002.php

Breakpoint 2, zend_mm_munmap (addr=<optimized out>, size=<optimized
out>) at /home/remi/php-src/Zend/zend_alloc.c:471

(gdb) bt
#0  zend_mm_munmap (addr=<optimized out>, size=<optimized out>) at
/home/remi/php-src/Zend/zend_alloc.c:471
#1  0x00000000101d1260 in zend_mm_chunk_alloc_int
(size=size@entry=4198400, alignment=2097152) at
/home/remi/php-src/Zend/zend_alloc.c:760
#2  0x00000000101d12f0 in zend_mm_chunk_alloc (size=size@entry=4198400,
heap=0x3fffb7800040, alignment=2097152) at
/home/remi/php-src/Zend/zend_alloc.c:779
#3  0x00000000101d17d8 in zend_mm_alloc_huge
(heap=heap@entry=0x3fffb7800040, size=size@entry=4194336) at
/home/remi/php-src/Zend/zend_alloc.c:1660
#4  0x00000000101d1e2c in zend_mm_alloc_heap (size=4194336,
heap=0x3fffb7800040) at /home/remi/php-src/Zend/zend_alloc.c:1315
#5  zend_mm_realloc_heap (heap=0x3fffb7800040, ptr=0x3fffb0c00000,
size=4194336) at /home/remi/php-src/Zend/zend_alloc.c:1553
#6  0x00000000101f8188 in zend_string_realloc (persistent=0,
len=4194304, s=0x3fffb0c00000) at
/home/remi/php-src/Zend/zend_string.h:165
#7  concat_function (result=0x3fffb7813080, op1=0x3fffb7813080,
op2=0x3fffb7813080) at /home/remi/php-src/Zend/zend_operators.c:1567
#8  0x0000000010260178 in zend_binary_assign_op_helper_SPEC_CV_CV
(binary_op=@0x10412368: 0x101f7fa0 <concat_function>,
execute_data=0x3fffb7813030)
    at /home/remi/php-src/Zend/zend_vm_execute.h:43137
#9  0x0000000010247734 in execute_ex (execute_data=0x3fffb7813030) at
/home/remi/php-src/Zend/zend_vm_execute.h:352
#10 0x00000000102da0a4 in zend_execute (op_array=0x3fffb787a000,
return_value=<optimized out>) at
/home/remi/php-src/Zend/zend_vm_execute.h:381
#11 0x00000000102038b4 in zend_execute_scripts (type=<optimized out>,
retval=0x0, file_count=<optimized out>) at
/home/remi/php-src/Zend/zend.c:1266
#12 0x000000001018b084 in php_execute_script
(primary_file=0x3fffffffe6d0) at /home/remi/php-src/main/main.c:2563
#13 0x00000000102dbf1c in do_cli (argc=<optimized out>, argv=0x104411d0)
at /home/remi/php-src/sapi/cli/php_cli.c:978
#14 0x00000000100221cc in main (argc=<optimized out>, argv=0x104411d0)
at /home/remi/php-src/sapi/cli/php_cli.c:1356
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlR9dEcACgkQYUppBSnxahiYlgCePpu/+i2uO0uesW7Fs/ifWDts
b+oAnR0fMlE3qBkXnJg4w4dpeiAdyPMd
=Gzle
-----END PGP SIGNATURE-----

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to