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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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: Sat Dec 21 15:01:29 2024 UTC