Giter Site home page Giter Site logo

Comments (10)

JamesHeinrich avatar JamesHeinrich commented on July 17, 2024

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.

StudioMaX avatar StudioMaX commented on July 17, 2024

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.

ShoresOfNowhere avatar ShoresOfNowhere commented on July 17, 2024
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.

StudioMaX avatar StudioMaX commented on July 17, 2024

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.

ShoresOfNowhere avatar ShoresOfNowhere commented on July 17, 2024

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.

M-Shahbaz avatar M-Shahbaz commented on July 17, 2024

I'm having the same issue, disabling

;zend_extension=opcache
is working.
Please note that apparently PHP Cli seems to be working fine but through localhost web apache its crashing.

from getid3.

StudioMaX avatar StudioMaX commented on July 17, 2024

@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.

M-Shahbaz avatar M-Shahbaz commented on July 17, 2024

@StudioMaX I installed XAMPP https://www.apachefriends.org/ on windows 10

from getid3.

ShoresOfNowhere avatar ShoresOfNowhere commented on July 17, 2024

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.

ShoresOfNowhere avatar ShoresOfNowhere commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.