Opened 8 years ago

Closed 8 years ago

#43 closed defect (fixed)

current svn does not pass php 5_2 test suite and glibc complains..

Reported by: judas_iscariote Owned by: moo
Priority: major Milestone: 1.0.3
Component: cacher Version: 1.2-dev
Keywords: Cc: soporte+xcache@…
Application: PHP Version:
Other Exts: SAPI:
Probability: Blocked By:
Blocking:

Description (last modified by moo)

Hi Moo:

currenlty, xcache does not pass the PHP 5_2 test suite the following tests fails

ZE2 An abstract method may not be called [tests/classes/abstract_by_interface_001.phpt]
ZE2 An abstract method may not be called [tests/classes/abstract_by_interface_002.phpt]
ZE2 An interface extends base interfaces [tests/classes/interface_doubled.phpt]
ZE2 An interface is inherited [tests/classes/interface_implemented.phpt]
Catch Interfaces [tests/lang/039.phpt]
Bug #28442 (Changing a static variables in a class changes it across sub/super classes.) [Zend/tests/bug28442.phpt]
Bug #37632 (Protected method access problem) [Zend/tests/bug37632.phpt]
Bug #38779 (engine crashes when require()'ing file with syntax error through userspace stream wrapper) [Zend/tests/bug38779_1.phpt]
is_a() and is_subclass_of() shouldn't call __autoload [Zend/tests/is_a.phpt]
via [ext/pdo_sqlite/tests/common.phpt]
        SQLite PDO Common: PDOStatement SPL iterator [ext/pdo_sqlite/tests/pdo_014.phpt]
Reflection and inheriting static properties [ext/reflection/tests/static_properties_002.phpt]
SPL: DualIterator [ext/spl/examples/tests/dualiterator_001.phpt]
SPL: ArrayIterator implementing RecursiveIterator [ext/spl/tests/array_009a.phpt]
SPL: Iterator using getInnerIterator [ext/spl/tests/iterator_002.phpt]
via [ext/sqlite/tests/pdo/common.phpt]
        SQLite2 PDO Common: PDOStatement SPL iterator [ext/sqlite/tests/pdo/pdo_014.phpt]
Bug #24313 (file_exists() throws a warning on nonexistent files when is open_basedir enabled) [ext/standard/tests/file/bug24313.phpt]
bug #35740 (memory leak when including a directory) [ext/standard/tests/file/bug35740.phpt]

(note : I excluded the test that php itself does not pass, without XCache loaded)

however the ugliest part is this

ASS SimpleXML: echo/print [ext/simplexml/tests/011.phpt]
*** glibc detected *** /home/cristian/php5/sapi/cli/php: free(): invalid pointer: 0x00002ac47c77f658 ***
======= Backtrace: =========
/lib64/libc.so.6[0x2ac47d49737e]
/lib64/libc.so.6(__libc_free+0x6c)[0x2ac47d49899c]
/home/cristian/php5/sapi/cli/php[0x625c52]
/home/cristian/php5/sapi/cli/php(zend_hash_reverse_apply+0x59)[0x625d59]
/home/cristian/php5/sapi/cli/php(shutdown_executor+0x335)[0x610765]
/home/cristian/php5/sapi/cli/php(zend_deactivate+0x62)[0x61bd12]
/home/cristian/php5/sapi/cli/php(php_request_shutdown+0x141)[0x5dc841]
/home/cristian/php5/sapi/cli/php(main+0x3d5)[0x698e95]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x2ac47d449154]
/home/cristian/php5/sapi/cli/php[0x44bd59]
======= Memory map: ========
00400000-00778000 r-xp 00000000 03:06 317757                             /home/cristian/php5/sapi/cli/php
00877000-008c1000 rw-p 00377000 03:06 317757                             /home/cristian/php5/sapi/cli/php
008c1000-00a34000 rw-p 008c1000 00:00 0                                  [heap]
2ac47c6a3000-2ac47c6be000 r-xp 00000000 03:06 6798                       /lib64/ld-2.4.so
2ac47c6be000-2ac47c6bf000 rw-p 2ac47c6be000 00:00 0
2ac47c6e7000-2ac47c6e9000 rw-p 2ac47c6e7000 00:00 0
2ac47c729000-2ac47c75c000 r--p 00000000 03:01 19743                      /usr/lib/locale/es_ES.utf8/LC_CTYPE
2ac47c75c000-2ac47c763000 r--s 00000000 03:01 15732                      /usr/lib64/gconv/gconv-modules.cache
2ac47c763000-2ac47c7a4000 rw-p 2ac47c763000 00:00 0
2ac47c7be000-2ac47c7c0000 rw-p 0001b000 03:06 6798                       /lib64/ld-2.4.so
2ac47c7c0000-2ac47c7c9000 r-xp 00000000 03:06 6809                       /lib64/libcrypt-2.4.so
2ac47c7c9000-2ac47c8c8000 ---p 00009000 03:06 6809                       /lib64/libcrypt-2.4.so
2ac47c8c8000-2ac47c8cb000 rw-p 00008000 03:06 6809                       /lib64/libcrypt-2.4.so
2ac47c8cb000-2ac47c8f9000 rw-p 2ac47c8cb000 00:00 0
2ac47c8f9000-2ac47c901000 r-xp 00000000 03:06 6835                       /lib64/librt-2.4.so
2ac47c901000-2ac47ca00000 ---p 00008000 03:06 6835                       /lib64/librt-2.4.so
2ac47ca00000-2ac47ca02000 rw-p 00007000 03:06 6835                       /lib64/librt-2.4.so
2ac47ca02000-2ac47ca13000 r-xp 00000000 03:06 6833                       /lib64/libresolv-2.4.so
2ac47ca13000-2ac47cb12000 ---p 00011000 03:06 6833                       /lib64/libresolv-2.4.so
2ac47cb12000-2ac47cb14000 rw-p 00010000 03:06 6833                       /lib64/libresolv-2.4.so
2ac47cb14000-2ac47cb17000 rw-p 2ac47cb14000 00:00 0
2ac47cb17000-2ac47cb6b000 r-xp 00000000 03:06 6813                       /lib64/libm-2.4.so
2ac47cb6b000-2ac47cc6a000 ---p 00054000 03:06 6813                       /lib64/libm-2.4.so
2ac47cc6a000-2ac47cc6c000 rw-p 00053000 03:06 6813                       /lib64/libm-2.4.so
2ac47cc6c000-2ac47cc7f000 r-xp 00000000 03:06 6816                       /lib64/libnsl-2.4.so
2ac47cc7f000-2ac47cd7e000 ---p 00013000 03:06 6816                       /lib64/libnsl-2.4.so
2ac47cd7e000-2ac47cd80000 rw-p 00012000 03:06 6816                       /lib64/libnsl-2.4.so
2ac47cd80000-2ac47cd82000 rw-p 2ac47cd80000 00:00 0
2ac47cd82000-2ac47cd96000 r-xp 00000000 03:06 6944                       /lib64/libz.so.1.2.3
2ac47cd96000-2ac47ce95000 ---p 00014000 03:06 6944                       /lib64/libz.so.1.2.3
2ac47ce95000-2ac47ce96000 rw-p 00013000 03:06 6944                       /lib64/libz.so.1.2.3
2ac47ce96000-2ac47ce97000 rw-p 2ac47ce96000 00:00 0
2ac47ce97000-2ac47cfb3000 r-xp 00000000 03:01 21370                      /usr/lib64/libmysqlclient.so.15.0.0
2ac47cfb3000-2ac47d0b3000 ---p 0011c000 03:01 21370                      /usr/lib64/libmysqlclient.so.15.0.0
2ac47d0b3000-2ac47d0e2000 rw-p 0011c000 03:01 21370                      /usr/lib64/libmysqlclient.so.15.0.0
2ac47d0e2000-2ac47d0e3000 rw-p 2ac47d0e2000 00:00 0
2ac47d0e3000-2ac47d217000 r-xp 00000000 03:01 32304                      /usr/lib64/libxml2.so.2.6.23
2ac47d217000-2ac47d317000 ---p 00134000 03:01 32304                      /usr/lib64/libxml2.so.2.6.23
2ac47d317000-2ac47d325000 rw-p 00134000 03:01 32304                      /usr/lib64/libxml2.so.2.6.23
2ac47d325000-2ac47d327000 rw-p 2ac47d325000 00:00 0
2ac47d327000-2ac47d329000 r-xp 00000000 03:06 6811                       /lib64/libdl-2.4.so
2ac47d329000-2ac47d429000 ---p 00002000 03:06 6811                       /lib64/libdl-2.4.so
2ac47d429000-2ac47d42b000 rw-p 00002000 03:06 6811                       /lib64/libdl-2.4.so
2ac47d42b000-2ac47d42c000 rw-p 2ac47d42b000 00:00 0
2ac47d42c000-2ac47d552000 r-xp 00000000 03:06 6805                       /lib64/libc-2.4.so
2ac47d552000-2ac47d652000 ---p 00126000 03:06 6805                       /lib64/libc-2.4.so
2ac47d652000-2ac47d655000 r--p 00126000 03:06 6805                       /lib64/libc-2.4.so
2ac47d655000-2ac47d657000 rw-p 00129000 03:06 6805                       /lib64/libc-2.4.so
2ac47d657000-2ac47d65c000 rw-p 2ac47d657000 00:00 0
2ac47d65c000-2ac47d66d000 r-xp 00000000 03:06 6831                       /lib64/libpthread-2.4.so
2ac47d66d000-2ac47d76c000 ---p 00011000 03:06 6831                       /lib64/libpthread-2.4.so
2ac47d76c000-2ac47d76e000 rw-p 00010000 03:06 6831                       /lib64/libpthread-2.4.so
2ac47d76e000-2ac47d774000 rw-p 2ac47d76e000 00:00 0
2ac47d774000-2ac47d7a1000 r-xp 00000000 03:01 102342                     /usr/local/lib/php/extensions/no-debug-non-zts-20060613/xcache.so
2ac47d7a1000-2ac47d8a0000 ---p 0002d000 03:01 102342                     /usr/local/lib/php/extensions/no-debug-non-zts-20060613/xcache.so
2ac47d8a0000-2ac47d8a3000 rw-p 0002c000 03:01 102342                     /usr/local/lib/php/extensions/no-debug-non-zts-20060613/xcache.so
2ac47d8a3000-2ac4858a3000 rw-s 00000000 03:08 103                        /tmp/xcache (deleted)
2ac485900000-2ac485921000 rw-p 2ac485900000 00:00 0
2ac485921000-2ac485a00000 ---p 2ac485921000 00:00 0
2ac485a00000-2ac485a0d000 r-xp 00000000 03:06 7017                       /lib64/libgcc_s.so.1
2ac485a0d000-2ac485b0c000 ---p 0000d000 03:06 7017                       /lib64/libgcc_s.so.1
2ac485b0c000-2ac485b0d000 rw-p 0000c000 03:06 7017                       /lib64/libgcc_s.so.1
7fff2e3f0000-7fff2e407000 rw-p 7fff2e3f0000 00:00 0                      [stack]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0                  [vdso]

plz,check it out ;)

Change History (4)

comment:1 Changed 8 years ago by judas_iscariote

sorry, report formatting went bad, can u add me to the cc list please soporte+xcache at onfocus dot cl

comment:2 Changed 8 years ago by moo

  • Cc soporte+xcache@… added
  • Description modified (diff)

comment:3 Changed 8 years ago by judas_iscariote

with today's revision, the list of test failing is less

Bug #28442 (Changing a static variables in a class changes it across sub/super classes.) [Zend/tests/bug28442.phpt]
Bug #37632 (Protected method access problem) [Zend/tests/bug37632.phpt]
Bug #38779 (engine crashes when require()'ing file with syntax error through userspace stream wrapper) [Zend/tests/bug38779_1.phpt]
Reflection and inheriting static properties [ext/reflection/tests/static_properties_002.phpt]
Bug #24313 (file_exists() throws a warning on nonexistent files when is open_basedir enabled) [ext/standard/tests/file/bug24313.phpt]
bug #35740 (memory leak when including a directory) [ext/standard/tests/file/bug35740.phpt]

However the

free(): invalid pointer: 0x00002ac47c77f658 *** errors persist.

comment:4 Changed 8 years ago by moo

  • Resolution set to fixed
  • Status changed from new to closed

in [218]

Note: See TracTickets for help on using tickets.