Bug #78228 [Opn->Dup]: base64_decode causes Illegal instruction (core dumped)
| From: | sjon@php.net | Date: | Fri, 28 Jun 2019 11:20:46 +0000 |
| Subject: | Bug #78228 [Opn->Dup]: base64_decode causes Illegal instruction (core dumped) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-221548@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78228&edit=1
ID: 78228
Updated by: sjon@php.net
Reported by: pawaroti at gmail dot com
Summary: base64_decode causes Illegal instruction (core
dumped)
-Status: Open
+Status: Duplicate
Type: Bug
Package: *General Issues
Operating System: Debian GNU/Linux 9 (stretch)
PHP Version: 7.3.6
Block user comment: N
Private report: N
New Comment:
Duplicate of Bug #77357
if this still happens, please reopen that instead
Previous Comments:
------------------------------------------------------------------------
[2019-06-28 11:05:38] pawaroti at gmail dot com
It is probably related to: #77357 and #77485
------------------------------------------------------------------------
[2019-06-28 11:03:35] pawaroti at gmail dot com
I run PHP in Docker container from official repo: https://hub.docker.com/_/php
FROM php:7.3.6-fpm
------------------------------------------------------------------------
[2019-06-28 10:58:26] nikic@php.net
How did you compile/get PHP?
------------------------------------------------------------------------
[2019-06-28 10:57:10] pawaroti at gmail dot com
Description:
------------
Works on Ubuntu 16.04.6 LTS (Xenial Xerus)
Doesn't work on Debian GNU/Linux 9 (stretch)
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 63
model name : Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz
stepping : 2
microcode : 0x31
cpu MHz : 2600.098
cache size : 25600 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 1
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 15
wp : yes
flags : fpu de tsc msr pae cx8 apic sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm
constant_tsc rep_good nopl pni pclmulqdq ssse3 sdbg fma cx16 sse4_1 sse4_2 movbe popcnt
tsc_deadline_timer aes f16c rdrand hypervisor lahf_lm abm epb fsgsbase bmi1 avx2 bmi2 erms dtherm
ida arat pln pts
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds
bogomips : 5200.19
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 63
model name : Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz
stepping : 2
microcode : 0x31
cpu MHz : 2600.098
cache size : 25600 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 1
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 15
wp : yes
flags : fpu de tsc msr pae cx8 apic sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm
constant_tsc rep_good nopl pni pclmulqdq ssse3 sdbg fma cx16 sse4_1 sse4_2 movbe popcnt
tsc_deadline_timer aes f16c rdrand hypervisor lahf_lm abm epb fsgsbase bmi1 avx2 bmi2 erms dtherm
ida arat pln pts
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds
bogomips : 5200.19
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:
Test script:
---------------
$STRING = '564dace0-391c-42b6-d098-5b7742cb19ee';
$output = base64_encode($STRING);
print_r($output);
Expected result:
----------------
NTY0ZGFjZTAtMzkxYy00MmI2LWQwOTgtNWI3NzQyY2IxOWVl
Actual result:
--------------
Illegal instruction (core dumped)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78228&edit=1