Git Product home page Git Product logo

monip's People

Contributors

shukean avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

monip's Issues

文件流关闭报段错误?

您好,我在您的代码基础上做了修改,将文件流在PHP_MINIT阶段打开,然后再关闭,会直接报段错误,我发现在PHP_MINIT阶段打开的文件流不需要手动关闭,是不是在PHP_MSHUTDOWN阶段,php替我清理了,这个问题找不到具体依据,麻烦帮忙解答一下,谢谢!

5.5下执行完毕时会报 Segmentation Fault

表现:
同一台设备下,相同代码,无论是否利用 register_shutdown_function 来执行 monip_clear,在5.3下均没有报错,在5.5下则都会报错。
不影响业务逻辑正常完成,错误发生在 register_shutdown_function 注册的函数执行完毕以后。

错误信息:
Start to clear.
Cleared.
/data/shell/etl/etl.sh: line 4: 26609 Segmentation fault (core dumped) php main.php $*

运行环境:
CentOS 6.4 64Bit
PHP 5.5.13(CLI)

相关初始化代码:
monip_init(DATA_FILE);
register_shutdown_function(function() {echo "Start to clear.\n";monip_clear();echo "Cleared.\n";});

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.