Edit report at https://bugs.php.net/bug.php?id=79270&edit=1
ID: 79270
Comment by: alexander dot stix at erwinmueller dot de
Reported by: martin dot aschenbrenner at erwinmueller dot de
Summary: segfault in libodbc.so.2.0.0 with
ReflectionFunction($functio)->getParameters()
Status: Feedback
Type: Bug
Package: PDO ODBC
Operating System: Linux Ubuntu 18.04 x86_64
PHP Version: 7.3.14
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
#0 0x00007f36ff9e2a50 in ?? () from /lib/x86_64-linux-gnu/libodbc.so.2
#1 0x000056403f7559f2 in odbc_stmt_dtor (stmt=<optimized out>) at
/tmp/php-7.4.11/ext/pdo_odbc/odbc_stmt.c:148
#2 0x000056403f74f5cd in php_pdo_free_statement (stmt=0x7f36fcc98300) at
/tmp/php-7.4.11/ext/pdo/pdo_stmt.c:2272
#3 0x000056403f94cbc2 in zend_objects_store_free_object_storage
(objects=objects@entry=0x5640407820e8 <executor_globals+840>,
fast_shutdown=fast_shutdown@entry=1 '\001') at /tmp/php-7.4.11/Zend/zend_objects_API.c:104
#4 0x000056403f907055 in shutdown_executor () at /tmp/php-7.4.11/Zend/zend_execute_API.c:342
#5 0x000056403f916993 in zend_deactivate () at /tmp/php-7.4.11/Zend/zend.c:1198
#6 0x000056403f8b4d6b in php_request_shutdown (dummy=<optimized out>) at
/tmp/php-7.4.11/main/main.c:1921
#7 0x000056403f9a0454 in do_cli (argc=2, argv=0x5640415f1910) at
/tmp/php-7.4.11/sapi/cli/php_cli.c:1132
#8 0x000056403f5a7698 in main (argc=2, argv=0x5640415f1910) at
/tmp/php-7.4.11/sapi/cli/php_cli.c:1359
Previous Comments:
------------------------------------------------------------------------
[2020-10-19 07:50:50] cmb@php.net
I cannot reproduce the reported behavior with a non debug build.
Could you please provide a stack backtrace[1], so we have at least
some idea what might be wrong there?
[1] <https://bugs.php.net/bugs-generating-backtrace.php>
------------------------------------------------------------------------
[2020-10-16 21:30:18] alexander dot stix at erwinmueller dot de
It also happens with the CLI SAPI.
------------------------------------------------------------------------
[2020-10-16 21:15:20] cmb@php.net
Thanks! Would that also happen with the CLI SAPI, or is this FPM specific?
------------------------------------------------------------------------
[2020-10-16 21:10:23] alexander dot stix at erwinmueller dot de
I was able to consistently reproduce this behaviour with php-7.4.11 fpm but not when having the
--enable-debug option enabled
------------------------------------------------------------------------
[2020-10-11 04:22:15] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=79270
--
Edit this bug report at https://bugs.php.net/bug.php?id=79270&edit=1