Bug #68348 [Asn->Csd]: SIGSEGV in zend_hash_destroy at L558 p = p->pListNext;
Edit report at https://bugs.php.net/bug.php?id=68348&edit=1
ID: 68348
Updated by: cmb@php.net
Reported by: php dot net at danslereseau dot com
Summary: SIGSEGV in zend_hash_destroy at L558 p =
p->pListNext;
-Status: Assigned
+Status: Closed
Type: Bug
Package: *General Issues
Operating System: Amazon Linux 2014.09
PHP Version: 5.5.18
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Thanks for the swift reply! I assume the issue has been fixed in
the meantime.
Previous Comments:
------------------------------------------------------------------------
[2021-10-11 13:20:41] php dot net at danslereseau dot com
No, I can't reproduce now.
I tried on PHP 7.2, 7.3, 7.4 and 8.0, using CLI.
------------------------------------------------------------------------
[2021-10-11 13:06:34] cmb@php.net
On a closer look, this might not be related to the mysql extension
at all, but rather to the session extension and/or the shutdown
sequence. Since mysql is unbundled as of PHP 7.0.0 (and unlikely
to receive bug fixes), I've tried with mysqli_real_connect() and
curl_init(), but there was no segfault for me. Can you still
reproduce the segfault with any of the actively supported PHP
versions[1]? Also if you call another extension in crash(), or is
this actually mysql related?
[1] <https://www.php.net/supported-versions.php>
------------------------------------------------------------------------
[2017-09-21 16:11:45] cmb@php.net
Thanks for the quick reply! I'm not accustomed to the MySQL extension, which
apparently causes the segfault, so I'm unassigning myself. Sorry.
------------------------------------------------------------------------
[2017-09-21 15:52:58] php dot net at danslereseau dot com
Yes, the code snippet posted on 2014-11-06 05:34 UTC still crashes PHP 5.6.31 from CLI.
$ php crash.php
Segmentation fault
$ php -v
PHP 5.6.31 (cli) (built: Aug 14 2017 17:37:23)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
------------------------------------------------------------------------
[2017-09-21 15:45:13] cmb@php.net
Support for PHP 5.5 has ended quite a while ago. Can you still reproduce this
issue with a currently supported PHP version?
------------------------------------------------------------------------
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=68348
--
Edit this bug report at https://bugs.php.net/bug.php?id=68348&edit=1
Thread (8 messages)