|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2016-04-28 14:26 UTC] sb at ufds dot dk
Description: ------------ I have build the package and installed it and run the one of the supplied testcases. I am using v9.7fp11_linuxx64_dsdriver against a iSeries V7. The ibm_db2 works fine with the same driver. Test script: --------------- php tests/fvt_001_DbConn.phpt --TEST-- pdo_ibm: Connect to database --SKIPIF-- Segmentation fault (core dumped) Expected result: ---------------- To work :-) Actual result: -------------- Segmentation fault (core dumped) Patchesibm_driver.c (last revision 2016-04-29 09:16 UTC by sb at ufds dot dk)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 08:00:01 2025 UTC |
I have some information from the core dump: ThreadStacktrace: . Thread 1 (Thread 0x7fa6997f9740 (LWP 27814)): #0 0x00007fa68b9c755f in dbh_connect (driver_options=<optimized out>, dbh=0x7fa695077300) at /home/sb/projects/ufds/pdoibm/ibm_driver.c:987 _z = 0x7fa69505ca48 _p = 0x7fa69505ca48 _end = 0x7fa69505ca68 i = 0 opt_key = 0x0 data = 0x7fa69505ca48 option_num = 0 num_idx = 0 option_str = <optimized out> numOpts = <optimized out> dsn_length = 0 u_length = 0 rc = <optimized out> new_dsn = 0x0 d_length = 0 p_length = 0 conn_res = 0x7fa695056a00 #1 ibm_handle_factory (dbh=0x7fa695077300, driver_options=<optimized out>) at /home/sb/projects/ufds/pdoibm/ibm_driver.c:1104 No locals. #2 0x00007fa69451b24c in ?? () from /usr/lib/php/20151012/pdo.so No symbol table info available. #3 0x000055a75b7218ba in dtrace_execute_internal ()