-
Notifications
You must be signed in to change notification settings - Fork 131
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
segfault using __set #289
Comments
Have you used Valgrind to see the output and when the pointer is freed along with the USE_ZEND_ALLOC=0? Additionally, did you happen see this with other a particular libxl version? Have you tried this with libxl 4.x? |
Thanks, I am running LibXL 3.8.2. Below is the output when I ran it through valgrind. This is using the php7_with_pulls branch.
|
I just tried with LibXL 4.2.0 and got the same segfault. |
FYI, this is what I get:
PHP 8.2.22 with LibXL 4.3.0.14 |
Thanks for keeping php-excel maintained over the years.
I'm running into a segfault when extending the ExcelBook class where that class has a __set() method. I first thought this was a PHP issue and entered php/php-src#13134, but I believe now it's specific to php-excel. I tried it both with @Jan-E's branch at https://github.com/Jan-E/php_excel/tree/php7_with_pulls and @do-io's https://github.com/doPhp/excel. I'm able to reproduce both with PHP 8.2.15 and 8.3.2.
To reproduce, create a script test.php with the below:
and then run it with:
When this runs, I get errors such as:
or
Thanks for your help.
The text was updated successfully, but these errors were encountered: