Nyholm / psr7

A super lightweight PSR-7 implementation
MIT License
1.15k stars 75 forks source link

Segmentation Error while using Elasticsearch php's library bulk method #246

Open iriteshkumarmishra opened 1 year ago

iriteshkumarmishra commented 1 year ago

elastic/elasticsearch-php#1320 Facing Segmentation Error while using bulk method to update documents in Elasticsearch php library. Please check above linked issue raised in elastic/elasticsearch-php repo.

Please let me know if any further questions, I am happy to provide inputs.

nicolas-grekas commented 1 year ago

Did you spot an infinite loop that ends up in a segfault? If not, then this should be reported to php-src as segfaults should never happen.

Zegnat commented 4 months ago

It would be interesting to hear if the release of 1.7.0 made any difference, as it gives Nyholm/psr7 the ability to use its own stream wrapper where it does not always create an in-memmory file. From the ElasticSearch thread is looks like an older version of Nyholm/psr7 was used back then.