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 #147

Closed
keywinf opened this issue Jul 28, 2021 · 8 comments
Closed

zend_mm_heap corrupted #147

keywinf opened this issue Jul 28, 2021 · 8 comments

Comments

@keywinf
Copy link

keywinf commented Jul 28, 2021

I just updated uopz in my docker image with the last master commit e2b61ef

The very first unit test I tried to run immediately threw "zend_mm_heap corrupted"

Don't hesitate to ask for more details (phpunit version, etc.) if needed, if it's not immediate to solve it and it's worth it (I don't have a lot of time today for this).

@keywinf keywinf closed this as completed Jul 28, 2021
@krakjoe
Copy link
Owner

krakjoe commented Jul 28, 2021 via email

@keywinf
Copy link
Author

keywinf commented Jul 28, 2021

No, I closed it because I thought the bug was related to other stuff, but re-open it because I was able to ensure the source of the problem was one of the last commits on master (pushed today).

@keywinf keywinf reopened this Jul 28, 2021
krakjoe added a commit that referenced this issue Jul 28, 2021
@keywinf
Copy link
Author

keywinf commented Jul 28, 2021

I don't know if all's done now, but I tried the very last commit again (9e23460), and I still have the same problem. I tried to get a backtrace with gdb, but none could have been made:

PHPUnit 9.5.3 by Sebastian Bergmann and contributors.

[New Thread 0x7ffff29ff700 (LWP 456)]
[Thread 0x7ffff29ff700 (LWP 456) exited]
zend_mm_heap corrupted
[Inferior 1 (process 438) exited with code 01]
(gdb) bt
No stack.
(gdb) q

krakjoe added a commit that referenced this issue Jul 28, 2021
@krakjoe
Copy link
Owner

krakjoe commented Jul 28, 2021

I've noticed my CI has gone to shit in the last few months because of travis changes.

It's passing now on travis, so you might try again ... or else I'll need a reproducing test case to investigate further.

@keywinf
Copy link
Author

keywinf commented Jul 28, 2021

Still crashing. But I found that commenting my uopz_del_function lines could potentially "solve" the case. I'll come back to you with more details if you wish

@krakjoe
Copy link
Owner

krakjoe commented Jul 29, 2021

@keywinf could you pull in latest source and do another test please (with delete call) ?

@keywinf
Copy link
Author

keywinf commented Jul 29, 2021

Yes, I'll try that very soon

@keywinf
Copy link
Author

keywinf commented Jul 29, 2021

Still the same problem, with a6cf9c6

This is clearly related to uopz_add_function now

@keywinf keywinf closed this as completed Jul 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants