Closed tahpot closed 8 years ago
Do u think it might be related to https://github.com/phpv8/v8js/issues/246 ?
Possibly? I really don't know. My code snippet doesn't use array_walk_recursive
, but the behaviour is very strange.
Try this one:
<?php
class TestObject {
var $data;
public function setData($data) {
$this->data = $data;
}
public function getData() {
return $this->data;
}
}
$v8 = new V8Js("server");
$code = <<< EOT
server.response.setData({"new": true});
EOT;
$v8->response = new TestObject();
try {
$result = $v8->executeString($code, null, \V8Js::FLAG_FORCE_ARRAY | \V8Js::FLAG_PROPAGATE_PHP_EXCEPTIONS);
var_dump($v8->response->getData());
} catch (V8JsException $e) {
var_dump($e);
}
?>
It produces the following:
array(1) {
["ewata_��|�datasetData_��|�data $ Lthis! L_��|�data ! L_��|�datagetData@! Lthis�! L_��|�data�yY�v8�! LP0�|�V8Js�v�S�server�! L�>�|�code " L�yY�v8�/S�result@" L�yY�v8�" L�>�|�code�" L@a�|�null�" LV8Js�" LV8Js# L�yY�v8 # L�&a����getData
��e@# L
��e��-����setdata� L�K�������� L�K��������! L@�N`" L`# L@$ L`$ L�$ L�$ L�$ L% L�$ L% L % L@% L`% L�% L�% L�% L�% L�% L& L@& L & L@& L`& L�& L�& L�& L�& L�& L' L ' L@' L�' L`' L�' L�' L�' L�' L ( L( L ( L@( L`( L�( L�( L�( L�( L�( L) L ) L`) L@) L`) L�) L�) L�) L* L�) L* L * L@* L`* L�* L�* L�* L�* L�* L+ L@+ L + L@+ L`+ L�+ L�+ L�+ L�+ L�+ L, L , L@, L�, L`, L�, L�, L�, L�, L - L- L - L@- L`- L�- L�- L�- L�- L�- L. L . L`. L@. L`. L�. L�. L�. L/ L�. L/ L / L@/ L`/ L�/ L�/ L�/ L�/ L�/ L�3 L0!L424cd29(`%LP&L����`�%Lp�N���� �%L����P�\N����2Nx1 L�1 L�1 L�1 L�1 L�1 LPq%L(� L0 L� L0 L0P%L L����p'L LPq%L �����# L�3 L`! L0 L L�����'LPq%L
�����# L�3 L0 L(0 L(�3 L4 L@4 L4 L4 L 4 L(4 L04 L84 L@4 L�4 LP4 LX4 L`4 Lh4 Lp4 Lx4 L�4 L�4 L�4 L�4 L�4 L�4 L�4 L�4 L�4 L5 L�4 L�4 L�4 L�4 L�4 L�4 L5 L@5 L5 L5 L 5 L(5 L05 L85 L@5 L�5 LP5 LX5 L`5 Lh5 Lp5 Lx5 L�5 L�5 L�5 L�5 L�5 L�5 L�5 L�5 L�5 L6 L�5 L�5 L�5 L�5 L�5 L�5 L6 L@6 L6 L6 L 6 L(6 L06 L86 L@6 L�6 LP6 LX6 L`6 Lh6 Lp6 Lx6 L�6 L�6 L�6 L�6 L�6 L�6 L�6 L�6 L�6 L7 L�6 L�6 L�6 L�6 L�6 L�6 L7 L@7 L7 L7 L 7 L(7 L07 L87 L@7 L�7 LP7 LX7 L`7 Lh7 Lp7 Lx7 L�7 L�7 L�7 L�7 L�7 L�7 L�7 L�7 L�7 L8 L�7 L�7 L�7 L�7 L�7 L�7 L8 L@8 L8 L8 L 8 L(8 L08 L88 L@8 L�8 LP8 LX8 L`8 Lh8 Lp8 Lx8 L�8 L�8 L�8 L�8 L�8 L�8 L�8 L�8 L�8 L9 L�8 L�8 L�8 L�8 L�8 L�8 L9 L@9 L9 L9 L 9 L(9 L09 L89 L@9 L�9 LP9 LX9 L`9 Lh9 Lp9 Lx9 L�9 L�9 L�9 L�9 L�9 L�9 L�9 L�9 L�9 L: L�9 L�9 L�9 L�9 L�9 L�9 L: L@: L: L: L : L(: L0: L8: L@: L�: LP: LX: L`: Lh: Lp: Lx: L�: L�: L�: L�: L�: L�: L�: L�: L�: L; L�: L�: L�: L�: L�: L�: L; L@; L; L; L ; L(; L0; L8; L@; L�; LP; LX; L`; Lh; Lp; Lx; L�; L�; L�; L�; L�; L�; L�; L�; L�; L< L�; L�; L�; L�; L�; L�; L< L@< L< L< L < L(< L0< L8< L@< L�< LP< LX< L`< Lh< Lp< Lx< L�< L�< L�< L�< L�< L�< L�< L�< L�< L= L�< L�< L�< L�< L�< L�< L= L@= L= L= L = L(= L0= L8= L@= L�= LP= LX= L`= Lh= Lp= Lx= L�= L�= L�= L�= L�= L�= L�= L�= L�= L> L�= L�= L�= L�= L�= L�= L> L@> L> L> L > L(> L0> L8> L@> L�> LP> LX> L`> Lh> Lp> Lx> L�> L�> L�> L�> L�> L�> L�> L�> L�> L? L�> L�> L�> L�> L�> L�> L? L@? L? L? L ? L(? L0? L8? L@? L�? LP? LX? L`? Lh? Lp? Lx? L�? L�? L�? L�? L�? L�? L�? L�? L�? L�? L�? L�? L�? L�? L�? L @ L@ L@ L@ L(@ L0@ L8@ L@@ LH@ LP@ LX@ L`@ Lh@ Lp@ Lx@ L�@ L�@ L�@ L�@ L�@ L�@ L�@ L�@ L�@ L�@ L�@ L�@ L�@ L�@ L�@ L�@ LA LA LA LA L A L(A L0A L8A L@A LHA LPA LXA L`A LhA LpA LxA L�A L�A L�A L�A L�A L�A L�A L�A L�A L�A L�A L�A L�A L�A L�A L�A LB LB LB LB L B L(B L0B L8B L@B LHB LPB LXB L`B LhB LpB LxB L�B L�B L�B L�B L�B L�B L�B L�B L�B L�B L�B L�B L�B L�B L�B L�B LC LC LC LC L C L(C L0C L8C L@C LHC LPC LXC L`C LhC LpC LxC L�C L�C L�C L�C L�C L�C L�C L�C L�C L�C L�C L�C L�C L�C L�C L�C LD LD LD LD L D L(D L0D L8D L@D LHD LPD LXD L`D LhD LpD LxD L�D L�D L�D L�D L�D L�D L�D L�D L�D L�D L�D L�D L�D L�D L�D L�D LE LE LE LE L E L(E L0E L8E L@E LHE LPE LXE L`E LhE LpE LxE L�E L�E L�E L�E L�E L�E L�E L�E L�E L�E L�E L�E L�E L�E L�E L�E LF LF LF LF L F L(F L0F L8F L@F LHF LPF LXF L`F LhF LpF LxF L�F L�F L�F L�F L�F L�F L�F L�F L�F L�F L�F L�F L�F L�F L�F L�F LG LG LG LG L G L(G L0G L8G L@G LHG LPG LXG L`G LhG LpG LxG L�G L�G L�G L�G L�G L�G L�G L�G L�G L�G L�G L�G L�G L�G L�G L�G LH LH LH LH L H L(H L0H L8H L@H LHH LPH LXH L`H LhH LpH LxH L�H L�H L�H L�H L�H L�H L�H L�H L�H L�H L�H L�H L�H L�H L�H L�H LI LI LI LI L I L(I L0I L8I L@I LHI LPI LXI L`I LhI LpI LxI L�I L�I L�I L�I L�I L�I L�I L�I L�I L�I L�I L�I L�I L�I L�I L�I LJ LJ LJ LJ L J L(J L0J L8J L@J LHJ LPJ LXJ L`J LhJ LpJ LxJ L�J L�J L�J L�J L�J L�J L�J L�J L�J L�J L�J L�J L�J L�J L�J L�J LK LK LK LK L K L(K L0K L8K L@K LHK LPK LXK L`K LhK LpK LxK L�K L�K L�K L�K L�K L�K L�K L�K L�K L�K L�K L�K L�K L�K L�K L�K LL LL LL LL L L L(L L0L L8L L@L LHL LPL LXL L`L LhL LpL LxL L�L L�L L�L L�L L�L L�L L�L L�L L�L L�L L�L L�L L�L L�L L�L L�L LM LM LM LM L M L(M L0M L8M L@M LHM LPM LXM L`M LhM LpM LxM L�M L�M L�M L�M L�M L�M L�M L�M L�M L�M L�M L�M L�M L�M L�M L�M LN LN LN LN L N L(N L0N L8N L@N LHN LPN LXN L`N LhN LpN LxN L�N L�N L�N L�N L�N L�N L�N L�N L�N L�N L�N L�N L�N L�N L�N L�N LO LO LO LO L O L(O L0O L8O L@O LHO LPO LXO L`O LhO LpO LxO L�O L�O L�O L�O L�O L�O L�O L�O L�O L�O L�O L�O L�O L�O L�O L�O L`P Llic/web/v8.5.phpnxmlP L�Y�1�_csrf P L�Y�1�_csrfT Llic/web/v8.5.php�Q Ll; charset=UTF-8etdata�S L_��|�data@P LPHP.�S LsetData�P L_��|�data T Lthis Q L_��|�data@Q L_��|�data�S LgetData`Q Lthis�Q L_��|�data R L�yY�v8�Q LP0�|�V8Js�R L�v�S�serverR L�>�|�code@R L�yY�v8`S L�/S�result`R L�yY�v8�R L�>�|�code�R L@a�|�null�R LV8JsS L�yY�v8 S L�&a����getData�P L
��e@S L
��e�Q L��-����setdata�P L�K�������Q L�K��������S L@�N�R L`S L@T L`T L�T L�T L�T L�T LU L U L@U L`U L�U L�U L�U L�U LV L V L@V L`V L�V L�V L�V L�V LW L W L@W L`W L�W L�W L�W L�W LX L X L@X L`X L�X L�X L�X L�X LY L Y L@Y L`Y L�Y L�Y L�Y L�Y LZ L Z L@Z L`Z L�Z L�Z L�Z L�Z L[ L [ L@[ L`[ L�[ L�[ L�[ L�[ L\ L \ L@\ L`\ L�\ L�\ L�\ L�\ L] L ] L@] L`] L�] L�] L�] L�] L^ L ^ L@^ L`^ L�^ L�^ L�^ L�^ L_ L _ L@_ L`_ L�_ L�_ L�_ L�_ L�c L`!L/docker(�%L L����`&Lp�N���� &L����P�\N����2N�a LP�%L(`'L` L�P L` L0�%L@ L�����'L@ LP�%L �����S L�c L�Q L` L@ L����`'LP�%L
�����S L�c L` L(` L((d L`d L�d L�d Le L@e Lxe L�e L�e L f LXf L�f L�f Lg L8g Lpg L�g L�g Lh LPh L�h L�h L�h L0i Lhi L�i L�i Lj LHj L�j L�j L�j L(k L`k L�k L�k Ll L@l Lxl L�l L�l L m LXm L�m L�m Ln L8n Lpn L�n L�n Lo LPo L�o L�o L0p Lreahrefframesrcformfieldset`p L�p L�p L�p L q LPq L�q L�q L�q Lr L@r Lpr L�r L�r Ls L0s L`s L�s L�s L�s L t LPt L�t L�t L�t Lu L@u Lpu L�u L�u Lv L0v L`v L�v L�v L�v L w LPw L�w L�w L�w Lx L@x Lpx L�x L�x Ly L0y L`y L�y L�y L�y L z LPz L�z L�z L�z L{ L@{ Lp{ L�{ L�{ L| L0| L`| L�| L�| L�| L } LP} L�} L�} L�} L~ L@~ Lp~ L�~ L�~ L L0 L` L� L� LP� Lal/lib/php/extensions/no-debug-non-zts-20151012/v8js.soso�� L�� L@� L�� L�� L0� L�� LТ L � Lp� L�� L� L`� L�� L� LP� L�� L�� L@� L�� L�� L0� L�� LЧ L � Lp� L�� L� L`� L�� L� LP� L�� L�� L@� L�� L�� L0� L�� LЬ L � Lp� L�� L� L`� L�� L� LP� L�� L(� L���h���standardrfaceP� Lx� L�� LȰ L�� L� L@� Lh� L�� L�� L�� L� L0� LX� L�� L�� Lв L�� L � LH� Lp� L�� L�� L�� L� L8� L`� L�� L�� Lش L� L(� LP� Lx� L�� Lȵ L�� L� L@� Lh� L�� L�� L�� L� L0� LX� L�� L�� Lз L�� L � LH� Lp� L�� L�� L�� L� L8� L`� L�� L�� Lع L� L(� LP� Lx� L�� LȺ L�� L� L@� Lh� L�� L�� L�� L� L0� LX� L�� L�� Lм L�� L � LH� Lp� L�� L�� L�� L� L8� L`� L�� L�� Lؾ L� L(� LP� Lx� L�� Lȿ L00!L0%L��'L��%LpےNp&L��%L��&L'L��&L�q%L�q%L�q%L��N00!L�q%L�'L�1!L3 L�q%L@0 L00!L�3 L�# L�1!L�q%L�# L�q%L0`!L`%L��'L�&LpےN�&L�&L��&L'L��&L��%L��%L0`'L��N0`!L0`'L`'L�a!Lc L��%L@` L0`!L�c L�S L�a!L0`'L�S L0`'L��&L�q%LX-Powered-By: PHP/7.0.9HP%L�&L`��N� L`P%LxP%L�P%L�P%L�P%L�P%L�P%LQ%L Q%L8Q%LPQ%LhQ%L�Q%L�Q%L�Q%L�Q%L�Q%L�Q%LR%L(R%L@R%LXR%LpR%L�R%L�R%L�R%L�R%L�R%LS%LS%L0S%LHS%L`S%LxS%L�S%L�S%L�S%L�S%L�S%LT%L T%L8T%LPT%LhT%L�T%L�T%L�T%L�T%L�T%L�T%LU%L(U%L@U%LXU%LpU%L�U%L�U%L�U%L�U%L�U%LV%LV%L0V%LHV%L`V%LxV%L�V%L�V%L�V%L�V%L�V%LW%L W%L8W%LPW%LhW%L�W%L�W%L�W%L�W%L�W%L�W%LX%L(X%L@X%LXX%LpX%L�X%L�X%L�X%L�X%L�X%LY%LY%L0Y%LHY%L`Y%LxY%L�Y%L�Y%L�Y%L�Y%L�Y%LZ%L Z%L8Z%LPZ%LhZ%L�Z%L�Z%L�Z%L�Z%L�Z%L�Z%L[%L([%L@[%LX[%Lp[%L�[%L�[%L�[%L�[%L�[%L\%L\%L0\%LH\%L`\%Lx\%L�\%L�\%L�\%L�\%L�\%L]%L ]%L8]%LP]%Lh]%L�]%L�]%L�]%L�]%L�]%L�]%L^%L(^%L@^%LX^%Lp^%L�^%L�^%L�^%L�^%L�^%L_%L_%L0_%LH_%L`_%Lx_%L�_%L�_%L�_%L�_%Lha%LP%L�@D�m�
TestObject�kb���w� PHPSESSID�kb���w� PHPSESSIDT�($~��response�a%L�@D�m�
TestObject�`%L�'�P�_�
executeString�`%L�t�����var_dumpa%LT�($~��response`%L�a%L&ptionContent-type: text/html; charset=UTF-8\:�s�
testobjectb%L_i�-S��
v8jsexception0b%LXb%L�b%L�b%L�b%L�b%L c%LHc%Lpc%L�c%L�c%L�c%Ld%L8d%L`d%L�d%L�d%L�d%Le%L(e%LPe%Lxe%L�e%L�e%L�e%Lf%L@f%Lhf%L�f%L�f%L�f%Lg%L0g%LXg%L�g%L�g%L�g%L�g%L h%LHh%Lph%L�h%L�h%L�h%Li%L8i%L`i%L�i%L�i%L�i%Lj%L(j%LPj%Lxj%L�j%L�j%L�j%Lk%L@k%Lhk%L�k%L�k%L�k%Ll%L0l%LXl%L�l%L�l%L�l%L�l%L m%LHm%Lpm%L�m%L�m%L�m%Ln%L8n%L`n%L�n%L�n%L�n%Lo%L(o%LPo%Lxo%L�o%L�o%L����P�\N����2N����P�\N����2N
����`�%L2N
���� �%L2N����P�\N����2N����`�%L2N��&�+���/src/public/web/v8.6.php�0 Lz�N�q%L�q%L���� �%L2N1r%L
������%L2Nhr%L�r%L�r%Ls%LHs%L�s%L�s%L�s%L(t%L`t%L�t%L�t%Lu%L@u%Lxu%L�u%L�u%L v%LXv%L�v%L�v%Lw%L8w%Lpw%L�w%L�w%Lx%LPx%L�x%L�x%L�x%L0y%Lhy%L�y%L�y%Lz%LHz%L�z%L�z%L�z%L({%L`{%L�{%L�{%L|%L@|%Lx|%L�|%L�|%L }%LX}%L�}%L�}%L~%L8~%Lp~%L�~%L�~%L%LP%L�%L�%L������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������p%L�����^�|����N8p%L����jQ�1���Npp%L�������6������N�p%L�������R����N�0!L�����yY��! L�0!L�����>�|�@�N�0!L�/S�`" L�0!L����
��`# L(�%L@�%LX�%Lp�%L��%L��%L��%LЂ%L��%L�%L�%L0�%LH�%L`�%Lx�%L��%L��%L��%L%L��%L�%L �%L8�%LP�%Lh�%L��%L��%L��%LȄ%L��%L��%L�%L(�%L@�%LX�%Lp�%L��%L��%L��%LЅ%L��%L�%L�%L0�%LH�%L`�%Lx�%L��%L��%L��%L؆%L��%L�%L �%L8�%LP�%Lh�%L��%L��%L��%Lȇ%L��%L��%L�%L(�%L@�%LX�%Lp�%L��%L��%L��%LЈ%L��%L�%L�%L0�%LH�%L`�%Lx�%L��%L��%L��%L؉%L��%L�%L�%L �%L8�%LP�%Lh�%L��%L��%L��%LȊ%L��%L��%L�%L(�%L@�%LX�%Lp�%L��%L��%L��%LЋ%L��%L�%L�%L0�%LH�%L`�%Lx�%L��%L��%L��%L،%L��%L�%L �%L8�%LP�%Lh�%L��%L��%L��%Lȍ%L��%L��%L�%L(�%L@�%LX�%Lp�%L��%L��%L��%LЎ%L��%L�%L�%L0�%LH�%L`�%Lx�%L��%L��%L��%L؏%Lx�%L�%L��%L�@D�m�
TestObject@�%L�kb���w� PHPSESSIDP�%L�kb���w� PHPSESSIDh�%LT�($~��response��%L�@D�m�
TestObjectȐ%L�'�P�_�
executeString��%L�t�����var_dump�%LT�($~��response��%L�%L��%L&ption�%Ltype: text/html; charset=UTF-8��%L\:�s�
testobject�%L_i�-S��
v8jsexception0�%LX�%L��%L��%LВ%L��%L �%LH�%Lp�%L��%L��%L��%L�%L�%L8�%L`�%L��%L��%Lؔ%L�%L(�%LP�%Lx�%L��%Lȕ%L��%L�%L@�%Lh�%L��%L��%L��%L�%L0�%LX�%L��%L��%LЗ%L��%L �%LH�%Lp�%L��%L��%L��%L�%L8�%L`�%L��%L��%Lؙ%L�%L(�%LP�%Lx�%L��%LȚ%L��%L�%L@�%Lh�%L��%L��%L��%L�%L0�%LX�%L��%L��%LМ%L��%L �%LH�%Lp�%L��%L��%L��%L�%L�%L8�%L`�%L��%L��%L؞%L�%L(�%LP�%Lx�%L��%Lȟ%L8�%L����P�\N����2Np�%L����P�\N����2N��%L
����`&L2N��%L
���� &L2N��%L����P�\N����2N��%L����`&L2N�%L-~�+���/src/public/web/v8.5.php��%L` Lz�N��%L0`'L�%L���� &L2N0�%Lh�%L��%Lآ%L�%LH�%L��%L��%L��%L(�%L`�%L��%LФ%L�%L@�%Lx�%L��%L��%L �%LX�%L��%LȦ%L�%L8�%Lp�%L��%L��%L�%L�%LP�%L��%L��%L��%L0�%Lh�%L��%Lة%L�%LH�%L��%L��%L��%L(�%L`�%L��%LЫ%L�%L@�%Lx�%L��%L��%L �%LX�%L��%Lȭ%L�%L8�%Lp�%L��%L��%L�%LP�%L��%L��%L�%L���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������%L�����^�|����N8�%L����jQ�1���Np�%L�������6������N��%L�������R����N��&L�����yY��Q L'L�����>�|�@�N�/S��R L�`!L����
��`S L�%L�%L�%L�%L�%L��%L�����ڍ������X�WX�WX�WvzxPqj4%22%3B%7D L�����'L$ L P&LPq%L������%Lhp&L��%L��%L`�%L@�%L �%L�%L��%L��%L�%L��%L��%L`�%L@�%L �%L�%L��%L d424cd29d936bc44f33e458d8f4d5406 d424cd29d936bc44f33e458d8f4d5406��%L�%L@�%L��%L��%L�%L@�%L��%L��%L�%L@�%L��%L��%L�%L@�%L��%L��%L�%L@�%L��%L��%L�%L@�%L��%L��%L�%L@�%L��%L��%L�%L@�%L��%L��%L�%L@�%L��%L��%L�%L@�%L��%L��%L�%L@�%L��%L��%L�%L@�%L��%L��%L�%L@�%L��%L��%L�%L@�%L��%L��%L�%L@�%L��%L��%L�������������������������%L�����kb���w�P`%L�@&L�����Y�1� L������������������������@�%L�����kb���w�x`%L@A&L�����Y�1�@ L��������P%L����������������������������Pq%L������&�+���Pq%L����������������������������2 L����_��|�� L������������������������02 L������-�����# L3 L����߲r�������N���N���N����" L����'L�����`%L(`%L�a%L������N �N����@\�N�����������N0�`%L8���NH���N����@�NX��N�������N`��������������������������������������&�+���Pq%L�����������������������������q%L����_��|�� L�����������������������������q%L����T�($~���`%L��%L���������������������IO����O���� L�%L@&L�&L������&L�������W��W��WvzxPqj4%22%3B%7D&L@ L�����'LT L0 LP�%L�����&L�&L�&L�&L&L`&L@&L@&L�&L&L�&L�&L &L�&L� &L@
&L�
&L�&L`&L@&L�&L
&L&L&L@&L�&L&L��������������������0 L�����kb���w�P�%L�`&L�����Y�1� P L�&L&L��������������������@0 L�����kb���w�x�%L@a&L�����Y�1�@P L&L�&L�%L@&L�&L��������������������P�%L����-~�+���P�%L�&L@&L��������������������b L����_��|��P L�&L&L����������������0b L������-�����S Lc L����߲r�������N&L�&L���N���� R L����'L������%L(�%L��%L������N @&L����@\�N�����������N0��%L8���NH���N����@�NX��N�������N`����@&L������������������������-~�+���P�%L�&L@&L����������������������%L�����E��.ئ`'L�&L�&L����������������������%L����T�($~����%L&L�&L@&L&L�&L@ &L� &L�!&L"&L�"&L@#&L$&L�$&L@%&L�%&L�&&L'&L�'&L@(&L)&L�)&L@*&L�*&L�+&L,&L�,&L@-&L.&L�.&L@/&L�/&L�0&L1&L�1&L@2&L3&L�3&L@4&L�4&L�5&L6&L�6&L@7&L8&L�8&L@9&L�9&L�:&L;&L�;&L@<&L=&L�=&L@>&L�>&L�?&L�@&L�A&L��MЧ�M0�M�M L;}�7af245846184aa76f2d3bb06f3b1edf214174387c24543d536fcd4206844112da:2:{i:0;s:5:"_csrf";i:1;s:32:"9-kUS3gnoptAmAyXRMKMgC3AavzxPqj4";}�7af245846184aa76f2d3bb06f3b1edf214174387c24543d536fcd4206844112da:2:{i:0;s:5:"_csrf";i:1;s:32:"9-kUS3gnoptAmAyXRMKMgC3AavzxPqj4";}�B&L@C&L C&L�C&L�D&L`D&LE&L�E&L�E&L@F&LG&L�F&L�G&L@H&L H&L�H&L�I&L`I&LJ&L�J&L�J&L@K&LL&L�K&L�L&L@M&L M&L�M&L�N&L`N&LO&L�O&LQ&L�/�N`B�Nhq%L
@P&LPP&L`P&LpP&L�P&L�P&L�P&L�P&L�P&L�P&L�P&L�P&LQ&LQ&L Q&L0Q&L@Q&LPQ&L`Q&LpQ&L�Q&L�Q&L�Q&L�Q&L�Q&L�Q&L�Q&L�Q&LR&LR&L R&L0R&L@R&LPR&L`R&LpR&L�R&L�R&L�R&L�R&L�R&L�R&L�R&L�R&LS&LS&L S&L0S&L@S&LPS&L`S&LpS&L�S&L�S&L�S&L�S&L�S&L�S&L�S&L�S&LT&LT&L T&L0T&L@T&LPT&L`T&LpT&L�T&L�T&L�T&L�T&L�T&L�T&L�T&L�T&LU&LU&L U&L0U&L@U&LPU&L`U&LpU&L�U&L�U&L�U&L�U&L�U&L�U&L�U&L�U&LV&LV&L V&L0V&L@V&LPV&L`V&LpV&L�V&L�V&L�V&L�V&L�V&L�V&L�V&L�V&LW&LW&L W&L0W&L@W&LPW&L`W&LpW&L�W&L�W&L�W&L�W&L�W&L�W&L�W&L�W&LX&LX&L X&L0X&L@X&LPX&L`X&LpX&L�X&L�X&L�X&L�X&L�X&L�X&L�X&L�X&LY&LY&L Y&L0Y&L@Y&LPY&L`Y&LpY&L�Y&L�Y&L�Y&L�Y&L�Y&L�Y&L�Y&L�Y&LZ&LZ&L Z&L0Z&L@Z&LPZ&L`Z&LpZ&L�Z&L�Z&L�Z&L�Z&L�Z&L�Z&L�Z&L�Z&L[&L[&L [&L0[&L@[&LP[&L`[&Lp[&L�[&L�[&L�[&L�[&L�[&L�[&L�[&L�[&L\&L\&L \&L0\&L@\&LP\&L`\&Lp\&L�\&L�\&L�\&L�\&L�\&L�\&L�\&L�\&L]&L]&L ]&L0]&L@]&LP]&L`]&Lp]&L�]&L�]&L�]&L�]&L�]&L�]&L�]&L�]&L^&L^&L ^&L0^&L@^&LP^&L`^&Lp^&L�^&L�^&L�^&L�^&L�^&L�^&L�^&L�^&L_&L_&L _&L0_&L@_&LP_&L`_&Lp_&L�_&L�_&L�_&L�_&L�_&L�_&L�_&L�_&La&L`&L`&L�l�Nrb 36fcd4206844112da:2:{i:0b&L���N����" L����'L�����`%L(`%L�a%L������N �N����@\�N�����������N0�`%L8���NH���N����@�N����c&L�K������� c&Ld&L�c&L`d&Le&Le&Lf&L@f&Lg&L�f&L�g&Lh&L h&Li&L�h&L`i&Lj&Lj&Lk&L@k&Ll&L�k&L�l&Lm&L m&Ln&L�m&L`n&Lo&Lo&L���N0 L���N`�N��N���N��������0 L3 L�p&L@r&Lhs&L@� L�p&L��p&LPq&L@� L@� Lq&L��q&L(q&L��%L������N�(r&L@\�N����@����! L0r&L�q&L@ ! L�q&L�q&L@@! Lr&L�r&Lr&LD b�M� LHq&Lxq&L@`! Ls&L�Xs&L@�! L�s&Ls&L@�! Ls&L(s&L@s&LD
��M�s&L`! L�r&L�r&LE��M(`%L`p&L`t&L@�! L�s&L@�! L@" L��t&L t&LPt&Lt&L�t&L@ " L@u&L@'L�t&L�t&L@@" Lu&L@�`%L�u&L u&L0u&L@�`%L� v&Lxu&LHu&L�u&L��w&L�x&Lw&L@`" L�v&Lv&L@�" L0v&L@�`%L@�" Lw&L��v&L�v&L�w&L@�" L�v&L@�" Lpw&L@'L�v&Lw&L@# L@q%L�w&LPw&L w&Lhw&LHv&LXv&L�v&L v&L�w&L@a%LPx&L@ # L�w&L@@a%Lx&Lx&L@@# L�x&L�(x&L@x&LXx&L��x&L0y&L�w&L�x&L�z&L@ha%L�y&L@`# L��y&L@�a%L@z&L�y&L��y&L�y&L�y&L�z&L8y&LPy&L�u&L�x&L��s&L�t&L�t&L�u&L(z&L�z&L`{&L|&L�{&L@|&L}&L�|&L }&L~&L�}&L~&Lp~&L�~&LP&L�N��N ��N��N��N��N��NЀ&LЀ&L�E�N�E�N�E�N��N��N��N`�&L`�&L��&L��&LE�NE�NE�N��&L��&LȐ^K����N`�^Kq%L�p�&L�&L��&L@�Q L�&L@�Q L0�&L@�&LX�&L��&L
�`�M�Q L��&L��&LE�`�M(�%L`�&L`�&L@�Q L�&L@R L@ R LЄ&L�P�&L8�&Lh�&L(�&L��&L@@�&LȄ&L@'L��&L��&L@`R L��&L@��%L8�&LH�&L@Ȑ%L� �&Lx�&L��&L`�&L��&L��&L��&L��&L�R L �&L@�R LH�&L@��%L@�&L��&L���&L��&L8�&L@�R Lp�&L@S L@�%L�&L �&L`�&Lp�&L��&L��&L8�&LP�&L@�%L@ S L��&L@@�%LP�&L��&Lȇ&L@@S L���&L��&L�&L�@�&L��&L`�&L���&L0�&L@h�%L@`S L�&L���&L��&L@��%L@�S LP�&L�h�&L�&L8�&Lx�&L؈&L��&L�&L��&L��&L���&L��&L�&L&L��&L��&L`�&LЋ&L@�&L�&L��&L �&L��&L�&Lp�&L��&LP�&L�&L�&L z�N`��Nz�N���N���N���NА&LА&L ��N ��N ��N>�N>�N>�N`�&L`�&L��&L��&L@>�N@>�N ��N��&L��&L�&LȐ^K���N`�^K�%L�&L�&L�&L�&L�&L�&L�&L�&L�&L�&L�&L�&L�&L�&L�&L�&L�&L�&L�&L�&L�&L�&L�&L`
R�&L���N����" L����'L�����`%L(`%L�a%L������N �N����@\�N�����������N0�`%L8���NH���N����@�NX��N�������N`�����&L�&L�&L�&L�+Ɔ�|�( server.response.setData({"new": true});
lL�*��1testobject/src/public/web/v8.6.php0x7f1d4db5009c�'L {
@'L�'L�'L0'L'L`
R�'L�'L 'Lp'L�'L'L'L`'L���� R L����'L������%L(�%L�'L������N �N����@\�N��������'L0��%L8���NH���N����@�NXP'L�������N`�����'L�'L@'L'L�'L�'L0'L�'L�'L 'L
'Lp'L�'L 'L` 'L� 'L
'LP
'L�
'L�
'L@'L�'L�'L0'L'L�'L�'L
'Lp
'L�
'L'L`'L�'L'LP'L�'L0'L˦D�ǥ�FLAG_FORCE_ARRAYsetData`'Lresponse.getData() + " JAVASCRIPT.");�'L0�&L`RPb
N`�'L>@c
N����
>�'L 'LP'L�'L�'L�'L'L@'Lp'L�'L�'L'L0'L`'L�'L�'L�'L 'LP'L�'L�'L�'L'L@'Lp'L�'L�'L'L0'L`'L�'L�'L�'L 'LP'L�'L�'L�'L'L@'Lp'L�'L�'L'L0'L`'L�'L�'L�'L 'LP'L�'L�'L�'L'L@'Lp'L�'L�'L'L0'L`'L�'L�'L�'L 'LP'L�'L�'L�'L'L@'Lp'L�'L�'L'L0'L`'L�'L�'L('LD`t<$`&$p&$D<$`�$�`pp`B pt
�t<� &$p=`
R
p<`u�$*�kp=�`u
�$����>0'Lr&LR>����
>���� >8'L@'LH'LP'LX'L>�p&L�.ئTestObjectdata``'LPHP. JAVASCRIPT.�`'L�`'L�a'L a'LPa'L�a'L@b'L�a'Lb'L@b'Lc'L�b'L�b'Lc'L�c'L`c'L�c'L�c'L�d'L d'LPd'L�d'L@e'L�d'Le'L@e'Lf'L�e'L�e'Lf'L�f'L`f'L�f'L�f'L�g'L g'LPg'L�g'L@h'L�g'Lh'L@h'Li'L�h'L�h'Li'L�i'L`i'L�i'L�i'L�j'L j'LPj'L�j'L@k'L�j'Lk'L@k'Ll'L�k'L�k'Ll'L�l'L`l'L�l'L�l'L�m'L m'LPm'L�m'L@n'L�m'Ln'L@n'Lo'L�n'L�n'Lo'L`o'L�o'L�o'LQ N����`?��N����p�$�$N`�@c
N���� >q'L@�N`" L`# L�q'L�q'Lr'L�r'Ls'Ls'L�s'Lt'L�t'L�t'Lu'L�u'Lv'Lv'L�v'Lw'L�w'L�w'Lx'L�x'Ly'Ly'L�y'Lz'L�z'L�z'L{'L�{'L|'L|'L�|'L}'L�}'L�}'L~'L�~'L'L'L�'L�>Nr&L`RPb
N`>@c
N����
>��'L���� >�'L@�N�R L`S L �'L��'L��'L��'L@�'L��'L��'L�'L�'L`�'L��'L�'L �'L��'L��'L��'L@�'L��'L��'L�'L�'L`�'L��'L�'L �'L��'L��'L��'L@�'L��'L��'L�'L�'L`�'L��'L�'L �'L��'L��'L��'L@�'L��'L��'L�'L�'L`�'L��'L�'L �'L��'L��'L��'L@�'L��'L��'L�'L�'L`�'L02N�A
N`�D�N `t�v N�<$��N`��&$��Np0�&$�A
NP@D�v N<$0JN`@��$�$N��� N`pp GNp`B�N�pt�N��t�v N <��N� 0&$�� Np�=��N`�@R�� N@�p�v NP<��NP`u0N`�$�1N�*��N��k�� Np=�IN�`u0Np�$@c
N ����>�'L��'L�'L��'L�'L��'L�'Lere
Same system info as @tahpot.
@several27 I'm pretty sure this is not related to #246. The problem here is that V8Js wants to allocate memory via PHP's emalloc
which fails ... so there's some memory corruption going on.
What's really confusing to me is that the problem disappears if $this->a
is initialized like
public function __construct() {
$this->a = new stdClass();
$this->a->b = new stdClass();
}
... which makes me think of a PHP issue itself. Still not sure, need to dig deeper ...
@stesie Ok that's interesting. I can repeat @smebberson situation as well -- do you think that's a separate issue?
PS: Thanks for all your awesome help, resolving these issues.
@tahpot no I've tested both and actually added both to V8Js' test suite
See the code below which segfaults on execution, however the segfault can be fixed with seemingly irrelevant code changes.
return;
, the segfault goes away.$this->a->b->title = $title
with$this->a->title = $title
, the segfault goes away.It's all very strange and I have no idea what is going on. As a result, I haven't been able to reduce the problem any further.
System info: