Bug #77357 [Asn->Fbk]: base64_encode / base64_decode doest not work on nested VM

From: Date: Sun, 30 Dec 2018 13:42:58 +0000
Subject: Bug #77357 [Asn->Fbk]: base64_encode / base64_decode doest not work on nested VM
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-218684@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77357&edit=1 ID: 77357 Updated by: cmb@php.net Reported by: hsiangjen at gmail dot com Summary: base64_encode / base64_decode doest not work on nested VM -Status: Assigned +Status: Feedback Type: Bug Package: *General Issues Operating System: Windows 2012R2 PHP Version: 7.3.0 Assigned To: cmb Block user comment: N Private report: N New Comment: Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2018-12-29 16:59:06] cmb@php.net Thanks for the info! ------------------------------------------------------------------------ [2018-12-29 16:16:04] hsiangjen at gmail dot com I download "VC15 x64 Thread Safe" from https://windows.php.net/download/ and module with latest build apache from https://www.apachelounge.com/download/ ------------------------------------------------------------------------ [2018-12-28 16:34:03] cmb@php.net Did you compile PHP yourself, or are you using a build from <https://windows.php.net/download/>? If the former, did you use the --native-intrinsics configure option? ------------------------------------------------------------------------ [2018-12-27 14:57:47] hsiangjen at gmail dot com Checked the source code, I think the issue maybe related to new method that using CPU instructions to calculate string. Here is my VM guest CPU information from CPU-Z. Number of cores 1 (max 1) Number of threads 1 (max 1) Name Intel Pentium II Codename Specification QEMU Virtual CPU version 2.0.0 Package (platform ID) Slot 1 SEPP (0x0) CPUID 6.6.3 Extended CPUID 6.6 Core Stepping Technology 0.25 um Core Speed 2997.0 MHz Multiplier x Bus Speed 5.0 x 599.4 MHz Base frequency (cores) 599.4 MHz Base frequency (ext.) 599.4 MHz Stock frequency 333 MHz Instructions sets MMX, SSE, SSE2, SSE3, EM64T, VT-x Microcode Revision 0x1 L1 Data cache 32 KBytes, 8-way set associative, 64-byte line size L1 Instruction cache 32 KBytes, 8-way set associative, 64-byte line size L2 cache 4096 KBytes, 16-way set associative, 64-byte line size Max CPUID level 00000004h Max CPUID ext. level 8000000Ah Cache descriptor Level 1, D, 32 KB, 1 thread(s) Cache descriptor Level 1, I, 32 KB, 1 thread(s) Cache descriptor Level 2, U, 4 MB, 1 thread(s) FID/VID Control no IBRS not supported IBPB not supported STIBP not supported RDCL_NO no IBRS_ALL not supported Clock Speed 0 2997.00 MHz (Core #0) Core 0 max ratio (effective) 5.0 ------------------------------------------------------------------------ [2018-12-27 10:03:01] requinix@php.net Please read the comments on bug #77284 to see if your problem is the same. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=77357 -- Edit this bug report at https://bugs.php.net/bug.php?id=77357&edit=1

« previous php.bugs (#218684) next »