Bug #73320 [Opn->Csd]: SIGSEGV on dbh_connect

From: Date: Tue, 14 Dec 2021 18:15:45 +0000
Subject: Bug #73320 [Opn->Csd]: SIGSEGV on dbh_connect
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238410@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73320&edit=1 ID: 73320 Updated by: cmb@php.net Reported by: matthias at binarypark dot org Summary: SIGSEGV on dbh_connect -Status: Open +Status: Closed Type: Bug -Package: PDO_IBM +Package: *General Issues Operating System: Ubuntu 16.04 PHP Version: 7.0.12 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: If this is still an issue with the latest PDO_IBM (1.4.2), please report it in the package's bugtracker[1]. [1] <https://github.com/php/pecl-database-pdo_ibm/issues> Previous Comments: ------------------------------------------------------------------------ [2016-10-14 08:13:43] matthias at binarypark dot org 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=73320&edit=1

« previous php.bugs (#238410) next »