|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2021-12-14 18:15 UTC] cmb@php.net
-Status: Open
+Status: Closed
-Package: PDO_IBM
+Package: *General Issues
-Assigned To:
+Assigned To: cmb
[2021-12-14 18:15 UTC] cmb@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 15:00:02 2025 UTC |
Description: ------------ I compiled the extension using include folder(headers) from APPLICATION_DEVELOPMENT_TOOLS_10.5.0.8_linuxamd64_x86_64.tar.gz and lib folder from v10.5fp8_linux64_odbc_cli.tar.gz. gdb output: Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007f3f26b8a5bf in dbh_connect (driver_options=<optimized out>, dbh=<optimized out>) at /opt/ibm/PDO_IBM-1.3.4/ibm_driver.c:987 987 option_num = Z_LVAL(**data); gdb backtrace: #0 0x00007f3f26b8a5bf in dbh_connect (driver_options=<optimized out>, dbh=<optimized out>) at /opt/ibm/PDO_IBM-1.3.4/ibm_driver.c:987 #1 ibm_handle_factory (dbh=0x1ee24e0, driver_options=0x7f3f2dcf84a0) at /opt/ibm/PDO_IBM-1.3.4/ibm_driver.c:1104 #2 0x00000000005ee9fc in ?? () #3 0x00000000007e84b2 in ?? () #4 0x00000000007a419b in execute_ex () #5 0x00000000007f7907 in zend_execute () #6 0x00000000007668b4 in zend_execute_scripts () #7 0x000000000070a790 in php_execute_script () #8 0x0000000000436cd9 in ?? () #9 0x00007f3f31560b45 in __libc_start_main (main=0x435f00, argc=1, argv=0x7ffdb43bd8f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdb43bd8e8) at libc-start.c:287 #10 0x0000000000437b14 in _start () The changes offered by kaplanlior (https://github.com/php/pecl-database-pdo_ibm/pull/1) made it work on that maschine. Unfortunately with that changes inside a docker container it the script asks for 128TB of memory to allocate with 128MB available for PHP.