|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 Patchesbug79270.patch (last revision 2020-11-05 11:47 UTC by cmb@php.net)Pull Requests
Pull requests: 
 HistoryAllCommentsChangesGit/SVN commits              [2020-10-01 08:48 UTC] cmb@php.net
 
-Status:      Open
+Status:      Feedback
-Assigned To:
+Assigned To: cmb
  [2020-10-01 08:48 UTC] cmb@php.net
  [2020-10-11 04:22 UTC] php-bugs at lists dot php dot net
  [2020-10-16 21:10 UTC] alexander dot stix at erwinmueller dot de
  [2020-10-16 21:15 UTC] cmb@php.net
 
-Status: No Feedback
+Status: Open
  [2020-10-16 21:15 UTC] cmb@php.net
  [2020-10-16 21:30 UTC] alexander dot stix at erwinmueller dot de
  [2020-10-19 07:50 UTC] cmb@php.net
 
-Status: Assigned
+Status: Feedback
  [2020-10-19 07:50 UTC] cmb@php.net
  [2020-10-19 16:10 UTC] alexander dot stix at erwinmueller dot de
  [2020-10-20 11:09 UTC] cmb@php.net
 
-Status:      Feedback
+Status:      Open
-Assigned To: cmb
+Assigned To:
  [2020-10-20 11:09 UTC] cmb@php.net
  [2020-11-05 11:20 UTC] cmb@php.net
  [2020-11-05 11:38 UTC] cmb@php.net
 
-Assigned To:
+Assigned To: cmb
  [2020-11-05 11:38 UTC] cmb@php.net
  [2020-11-05 11:47 UTC] cmb@php.net
  [2020-11-05 11:48 UTC] cmb@php.net
  [2020-11-09 14:17 UTC] cmb@php.net
  [2020-11-10 01:18 UTC] alexander dot stix at erwinmueller dot de
  [2020-11-10 17:25 UTC] cmb@php.net
  [2020-11-30 14:51 UTC] cmb@php.net
 
-Status:      Assigned
+Status:      Open
-Assigned To: cmb
+Assigned To:
  [2020-11-30 14:51 UTC] cmb@php.net
  [2020-12-01 19:50 UTC] alexander dot stix at erwinmueller dot de
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 13:00:01 2025 UTC | 
Description: ------------ getting randomly (approximately each second request) following segfault: kernel: php-fpm7.3[17905]: segfault at 860 ip 00007f7e4e77cec0 sp 00007ffdcda8b040 error 4 in libodbc.so.2.0.0[7f7e4e765000+62000] some strange behaviors: - uncommenting line 17 fixes the issue. - also execution someReflection() with same parameter and an even number of times the issue doesn't occur. additional info: - libodbc1 package: 2.3.4-1.1ubuntu3 - php is executed by fpm - affects php versions 7.1.33, 7.2.27, 7.3.14, 7.4.2 (not more tested) Test script: --------------- <?php class Core { public $conn; public function __construct() { $this->circularReference = $this; } public function connect() { $this->conn = new PDO("odbc:mysql"); } public $stm; function createStm( string $foo ) { $this->connect(); $this->stm = $this->conn->prepare("SELECT * FROM mytable"); // $this->stm = NULL; } } function someReflection( $function ) { $rParameters = (new \ReflectionFunction($function))->getParameters(); } someReflection("implode"); $app = new Core; $app->createStm("bar");