Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zend_mm_heap corrupted on updates or upserts with parallel extension #152

Open
Totktonada opened this issue Mar 23, 2020 · 4 comments
Open
Labels
backlog bug Something isn't working crash prio5

Comments

@Totktonada
Copy link
Member

See #148 (comment) for the reproducer.

@Totktonada Totktonada added the bug Something isn't working label Mar 23, 2020
@Totktonada
Copy link
Member Author

NB: Try to implement simple reproducer using parallel extension. Tried with pthread extension, but no luck.

@rybakit
Copy link
Collaborator

rybakit commented Mar 23, 2020

Yeah, it's actually hard to localize the problem, and as I said in another issue, it may well be a bug in the ext-parallel:

  1. zend_mm_heap corrupted after calling spl_object_hash krakjoe/parallel#65
  2. zend_mm_heap corrupted in parallel test script krakjoe/parallel#129

@Totktonada
Copy link
Member Author

It is a bit suspectful that the problems appears only with update and upsert.

@Totktonada Totktonada added this to the PHP 7.* + bugfixes milestone Mar 23, 2020
@MariaHajdic MariaHajdic self-assigned this Jun 19, 2020
@MariaHajdic
Copy link

Reproducible even with two parallel workers.
Tried to run under valgrind. There were some errors at the start but not relevant to the issue. Also, tried to run with USE_ZEND_ALLOC=0 which resulted in process exit with no exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog bug Something isn't working crash prio5
Projects
None yet
Development

No branches or pull requests

4 participants