Bug #78228 [NEW]: base64_decode causes Illegal instruction (core dumped)
| From: | pawaroti at gmail dot com | Date: | Fri, 28 Jun 2019 10:57:10 +0000 |
| Subject: | Bug #78228 [NEW]: base64_decode causes Illegal instruction (core dumped) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-221542@lists.php.net to get a copy of this message | ||
From: pawaroti at gmail dot com
Operating system: Debian GNU/Linux 9 (stretch)
PHP version: 7.3.6
Package: *General Issues
Bug Type: Bug
Bug description:base64_decode causes Illegal instruction (core dumped)
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 bug report at https://bugs.php.net/bug.php?id=78228&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=78228&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=78228&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=78228&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=78228&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78228&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78228&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78228&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78228&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78228&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78228&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78228&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78228&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78228&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=78228&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=78228&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78228&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78228&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78228&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78228&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78228&r=mysqlcfg