Skip to content

Conversation

@alekitto
Copy link
Contributor

This should fix https://bugs.php.net/bug.php?id=76801 which prevented phpdbg to release file handles and causing "too many open files" error to be raised when testing a medium sized project.

phpdbg_compile_file was rewritten, no more requiring a fake file handle to be created

@nikic
Copy link
Member

nikic commented Mar 22, 2019

/cc @krakjoe @bwoebi

@krakjoe
Copy link
Member

krakjoe commented Mar 22, 2019

We did have a quick review, the find_ptr looks suspect and may result in list output being out of sync with the file as compiled.

Bob couldn't remember the details of why we had the fake handle in the first place ...

I would say drop the find_ptr and it's good to merge, and we'll see what breaks with regard to the fake handle ...

@alekitto
Copy link
Contributor Author

Ok, I removed the find_ptr. I wasn’t considering that sources could be modified during execution.

@krakjoe
Copy link
Member

krakjoe commented Mar 23, 2019

Merged b8b8809

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants