php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #81277 PDO segfaults when using MSSQL
Submitted: 2021-07-21 02:52 UTC Modified: 2021-07-21 08:48 UTC
From: 188248813 at qq dot com Assigned: cmb (profile)
Status: Not a bug Package: PDO related
PHP Version: 7.3.29 OS: Linux(Centos7)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: 188248813 at qq dot com
New email:
PHP Version: OS:

 

 [2021-07-21 02:52 UTC] 188248813 at qq dot com
Description:
------------
A segfault occurred when initializing Microsoft SQL Server

Test script:
---------------
<?php
new PDO("sqlsrv:Server=xxx;Database=xx", "xx", "xx");

Expected result:
----------------
Segmentation fault

Actual result:
--------------
Reading symbols from php73...
[New LWP 26511]
Core was generated by `php -a'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fe9a3943781 in ?? ()
(gdb) bt
#0  0x00007fe9a3943781 in ?? ()
#1  0x0000000000000000 in ?? ()


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-07-21 08:48 UTC] cmb@php.net
-Status: Open +Status: Not a bug -Assigned To: +Assigned To: cmb
 [2021-07-21 08:48 UTC] cmb@php.net
Please report any pdo_sqlsrv related issues to
<https://github.com/Microsoft/msphpsql/issues>.  In this case
provide a backtrace with debug symbols[1] at least.

[1] <https://bugs.php.net/bugs-generating-backtrace.php>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 02:01:28 2024 UTC