Bug #78228 [Opn]: base64_decode causes Illegal instruction (core dumped)
Edit report at https://bugs.php.net/bug.php?id=78228&edit=1
ID: 78228
Updated by: nikic@php.net
Reported by: pawaroti at gmail dot com
Summary: base64_decode causes Illegal instruction (core
dumped)
Status: Open
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:
How did you compile/get PHP?
Previous Comments:
------------------------------------------------------------------------
[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
Thread (18 messages)
- pawaroti at gmail dot com
- nikic@php.netBug #78228 [Opn]: base64_decode causes Illegal instruction (core dumped)
- pawaroti at gmail dot comBug #78228 [Com]: base64_decode causes Illegal instruction (core dumped)
- pawaroti at gmail dot comBug #78228 [Com]: base64_decode causes Illegal instruction (core dumped)
- sjon@php.netBug #78228 [Opn->Dup]: base64_decode causes Illegal instruction (core dumped)
- cmb@php.netBug #78228 [Dup]: base64_decode causes Illegal instruction (core dumped)
- pawaroti at gmail dot comBug #78228 [Com]: base64_decode causes Illegal instruction (core dumped)
- nikic@php.netBug #78228 [Dup->ReO]: base64_decode causes Illegal instruction (core dumped)
- nikic@php.netBug #78228 [ReO]: base64_decode causes Illegal instruction (core dumped)
- pawaroti at gmail dot comBug #78228 [Com]: base64_decode causes Illegal instruction (core dumped)
- pawaroti at gmail dot comBug #78228 [Com]: base64_decode causes Illegal instruction (core dumped)
- pawaroti at gmail dot comBug #78228 [Com]: base64_decode causes Illegal instruction (core dumped)
- nikic@php.netBug #78228 [ReO]: base64_decode causes Illegal instruction (core dumped)
- pawaroti at gmail dot comBug #78228 [Com]: base64_decode causes Illegal instruction (core dumped)
- cmb@php.netBug #78228 [ReO->Nab]: base64_decode causes Illegal instruction (core dumped)
- coooooooooolcooooooooool at gmail dot comBug #78228 [Com]: base64_decode causes Illegal instruction (core dumped)
- coooooooooolcooooooooool at gmail dot comBug #78228 [Com]: base64_decode causes Illegal instruction (core dumped)
- coooooooooolcooooooooool at gmail dot comBug #78228 [Com]: base64_decode causes Illegal instruction (core dumped)