Bug #63075 [Fbk->NoF]: PHP Segfault in PDO ODBC Execute
| From: | php-bugs at lists dot php dot net | Date: | Sun, 09 Apr 2017 04:22:27 +0000 |
| Subject: | Bug #63075 [Fbk->NoF]: PHP Segfault in PDO ODBC Execute | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-208397@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63075&edit=1
ID: 63075
Updated by: php-bugs@lists.php.net
Reported by: Ew6jQ8tSJhf3 at dyweni dot com
Summary: PHP Segfault in PDO ODBC Execute
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: PDO ODBC
Operating System: Linux x86_64 (CentOS 5.8 final)
PHP Version: 5.4.6
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2017-03-31 09:11:54] kubaszymanowski at gmail dot com
@requinix
I have compiled PHP 7.1.3 from source with no extensions but PDO-ODBC and it works. Previously I
have been installing PHP using apt-get from OndÅej Surý. I will now try to replicate the
production configuration(all needed extensions) from source and get back to you if I get the
SEGFAULT.
------------------------------------------------------------------------
[2017-03-30 14:58:05] requinix@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
@kubaszymanowski, can you generate and post a backtrace?
------------------------------------------------------------------------
[2017-03-30 14:32:54] kubaszymanowski at gmail dot com
I get the same error running PHP 5.6 and 7.1 on Ubuntu 16.04.1
Files I used for testing:
<?php
$c = odbc_connect("DSN_NAME", "Master", "pass");
odbc_exec($c, "SELECT COUNT(*) FROM dp");
<?php
$pdo = new PDO("odbc:DSN_NAME");
$pdo->query("SELECT COUNT(*) FROM dp");
------------------------------------------------------------------------
[2012-09-12 19:51:50] Ew6jQ8tSJhf3 at dyweni dot com
The 5.2.17-6.ius.el5 version of PHP from the IUS repositories works OK too.
FYI IUS is http://iuscommunity.org/
------------------------------------------------------------------------
[2012-09-12 19:44:03] Ew6jQ8tSJhf3 at dyweni dot com
I tested the 5.3.16-1.ius.el5 version of PHP from the IUS repository... These have the same issue.
I tested the 5.3.3-13.el5_8 version of PHP from the CentOS5 Updates repository... These work OK.
------------------------------------------------------------------------
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=63075
--
Edit this bug report at https://bugs.php.net/bug.php?id=63075&edit=1