Giter VIP home page Giter VIP logo

php-mdbm's People

Contributors

torden avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

php-mdbm's Issues

SIGSEGV (mdbm)

  1. At mdbm_store after excuted mdbm_lock_page on the mdbm master branch
Program received signal SIGSEGV, Segmentation fault.
mdbm_store_r (db=0x12ca450, key=key@entry=0x7fffffff9e90, val=val@entry=0x7fffffff9e80, flags=1, iter=iter@entry=0x0) at mdbm.c:4867
4867        if (esize > maxesize || (db->db_spillsize && MDBM_LOB_ENABLED(db) && vsize >= db->db_spillsize)) {
  1. At mdbm_fetch after excuted mdbm_lock_page based on the mdbm master branch
Program terminated with signal 11, Segmentation fault.
#0  MDBM_REPLACED_OR_CHANGED (db=0x7d44390) at /root/SRC/mdbm/include/mdbm_internal.h:998
998           || MDBM_IS_REPLACED(db) || MDBM_SIZE_CHANGED(db);

Implementation questions

Hi,

I see you have multiple implementations for mdbm and I was wondering if they all perform more-or-less equally? Do you have any performance data? Also, is there any plans to have an openresty (nginx/lua) lib?

I saw you are very active with it so I thought I'd ask :-) I have not worked with mdbm or your implementations but I plan on doing so when I manage to find some time for playing around.

Thanks for your code

SIGSEGV mdbm_reset_stat_operations

==387== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==387==  Bad permissions for mapped region at address 0x4050058
==387==    at 0x91B8814: mdbm_reset_stat_operations (mdbm.c:4634)
==387==    by 0x8FA36B9: zif_mdbm_reset_stat_operations (mdbm.c:3267)
==387==    by 0x6DFC79: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==387==    by 0x6E69B0: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2602)
==387==    by 0x6DEEC2: execute_ex (zend_vm_execute.h:363)
==387==    by 0x6DEFAB: zend_execute (zend_vm_execute.h:388)
==387==    by 0x68DA9B: zend_execute_scripts (zend.c:1341)
==387==    by 0x5C4FFE: php_execute_script (main.c:2613)
==387==    by 0x761AF9: do_cli (php_cli.c:998)
==387==    by 0x763141: main (php_cli.c:1382)

Leak on php7.x (travis-ci pre-build version)

On Travic-ci (precise)

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
MDBM locking [tests/08lock.phpt]
MDBM cache [tests/14cache.phpt]
MDBM replace [tests/16replace.phpt]
=====================================================================
=====================================================================
LEAKED TEST SUMMARY
---------------------------------------------------------------------
MDBM locking [tests/08lock.phpt]
MDBM cache [tests/14cache.phpt]
MDBM replace [tests/16replace.phpt]
=====================================================================

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.