Comments (10)
Interesting. I'm not sure what to say other than "you're right".
I'm not familiar with opcache, but turning it on gave the same behavior on my PHP 8.2.4 (win64) test system.
I tried tracing through to see why or where it failed, but I was no more successful than you.
If anyone else has some insight or knowledge or experience with opcache I welcome your suggestions.
from getid3.
Tried to check this on Windows with PHP 8.2.12 and opcache enabled and I can't reproduce this issue. Could you provide the opcache config?
php.exe --ri "Zend OPcache"
from getid3.
Opcode Caching | Up and Running |
---|---|
Optimization | Enabled |
SHM Cache | Enabled |
File Cache | Disabled |
JIT | On |
Startup | OK |
Shared memory model | win32 |
Cache hits | 6898 |
Cache misses | 58 |
Used memory | 13478512 |
Free memory | 120739216 |
Wasted memory | 0 |
Interned Strings Used memory | 3265112 |
Interned Strings Free memory | 5123496 |
Cached scripts | 58 |
Cached keys | 117 |
Max keys | 16229 |
OOM restarts | 0 |
Hash keys restarts | 0 |
Manual restarts | 0 |
opcache.blacklist_filename | no value | no value |
---|---|---|
opcache.cache_id | no value | no value |
opcache.consistency_checks | 0 | 0 |
opcache.dups_fix | Off | Off |
opcache.enable | On | On |
opcache.enable_cli | Off | Off |
opcache.enable_file_override | Off | Off |
opcache.error_log | no value | no value |
opcache.file_cache | no value | no value |
opcache.file_cache_consistency_checks | On | On |
opcache.file_cache_fallback | On | On |
opcache.file_cache_only | Off | Off |
opcache.file_update_protection | 2 | 2 |
opcache.force_restart_timeout | 180 | 180 |
opcache.interned_strings_buffer | 8 | 8 |
opcache.jit | tracing | tracing |
opcache.jit_bisect_limit | 0 | 0 |
opcache.jit_blacklist_root_trace | 16 | 16 |
opcache.jit_blacklist_side_trace | 8 | 8 |
opcache.jit_buffer_size | 0 | 0 |
opcache.jit_debug | 0 | 0 |
opcache.jit_hot_func | 127 | 127 |
opcache.jit_hot_loop | 64 | 64 |
opcache.jit_hot_return | 8 | 8 |
opcache.jit_hot_side_exit | 8 | 8 |
opcache.jit_max_exit_counters | 8192 | 8192 |
opcache.jit_max_loop_unrolls | 8 | 8 |
opcache.jit_max_polymorphic_calls | 2 | 2 |
opcache.jit_max_recursive_calls | 2 | 2 |
opcache.jit_max_recursive_returns | 2 | 2 |
opcache.jit_max_root_traces | 1024 | 1024 |
opcache.jit_max_side_traces | 128 | 128 |
opcache.jit_prof_threshold | 0.005 | 0.005 |
opcache.log_verbosity_level | 1 | 1 |
opcache.max_accelerated_files | 10000 | 10000 |
opcache.max_file_size | 0 | 0 |
opcache.max_wasted_percentage | 5 | 5 |
opcache.memory_consumption | 128 | 128 |
opcache.mmap_base | no value | no value |
opcache.opt_debug_level | 0 | 0 |
opcache.optimization_level | 0x7FFEBFFF | 0x7FFEBFFF |
opcache.preferred_memory_model | no value | no value |
opcache.preload | no value | no value |
opcache.protect_memory | Off | Off |
opcache.record_warnings | Off | Off |
opcache.restrict_api | no value | no value |
opcache.revalidate_freq | 2 | 2 |
opcache.revalidate_path | Off | Off |
opcache.save_comments | On | On |
opcache.use_cwd | On | On |
opcache.validate_permission | Off | Off |
opcache.validate_timestamps | On | On |
from getid3.
Thanks, I tried to apply your config in combination with Apache (mod_php), FastCGI, the built-in PHP web server and in CLI mode, but still was unable to reproduce this.
Do you have any older versions of PHP? 7.x or 8.x, to see if this issue will occur again with opcache enabled.
from getid3.
I don't have older version on this pc, but I'm sure this did not happen in 8.1.x, even with opcache on.
from getid3.
I'm having the same issue, disabling
;zend_extension=opcacheis working.
Please note that apparently PHP Cli seems to be working fine but through localhost web apache its crashing.
from getid3.
@M-Shahbaz Do you also use Windows? Do you use some kind of bundle like WAMP, or install PHP yourself?
Maybe this has something to do with the latest minor versions of PHP, because this was not reported before November.
from getid3.
@StudioMaX I installed XAMPP https://www.apachefriends.org/ on windows 10
from getid3.
I'm not using XAMPP, I have manually installed Apache 2.4.54 64 bit and PHP 8.2.12 (windows 64bit ts version).
from getid3.
Sorry to bring this up, I think we can close this bug as, if I remember correctly, this was a bug in opcache extension that getid3 was triggering, and not a real bug in getid3, am I right?
from getid3.
Related Issues (20)
- Bit rate for MP4 audio tracks HOT 3
- Reference getID3 from Google Apps Script HOT 1
- Purchasing a commercial license HOT 1
- `fread` length error in XMP HOT 2
- PHP Error as Severity: Notice Message: Undefined index: time_scale Filename: getid3/module.audio-video.quicktime.php Line Number: 335 HOT 1
- How to add Cover Image? HOT 1
- PHP Notice: Undefined index: data
- fread(): Argument #2 ($length) must be greater than 0 HOT 1
- libxml_disable_entity_loader is deprecated HOT 3
- Garbage extracted from a RIFF tag in an AIFF file HOT 2
- Not work WRITE function in Windows 10/php7.4
- Write Synchronised lyric (SYLT)
- Unable to determine .gpx file HOT 5
- Deprecated: Implicit conversion from float ... to int loses precision HOT 7
- Mpeg duration error due to error in GOP parsing HOT 2
- Tag format "id3v2.3" is not allowed on "" files,
- Warning on PrintHexBytes function when $string is not a string. HOT 3
- Integrating into a Joomla 5 site
- Caught exception: Uninitialized string offset 0 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from getid3.