php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53320 Segmentation fault (core dumped) by using timezone_identifiers_list function
Submitted: 2010-11-16 07:34 UTC Modified: 2010-11-18 10:30 UTC
From: kitani at cseas dot kyoto-u dot ac dot jp Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.3.3 OS: Redhat Linux ES5
Private report: No CVE-ID: None
 [2010-11-16 07:34 UTC] kitani at cseas dot kyoto-u dot ac dot jp
Description:
------------
By using timezone_identifiers_list function, "Segmentation fault (core dumped)" 
error occurs.



Test script:
---------------
php -r 'var_dump ( timezone_identifiers_list() );'



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-11-16 11:22 UTC] felipe@php.net
-Status: Open +Status: Feedback
 [2010-11-16 11:22 UTC] felipe@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2010-11-18 04:08 UTC] kitani at cseas dot kyoto-u dot ac dot jp
In case of using the compiled PHP from source, there was no problem.
(PHP5.3.3, snapshot)
In case of using the PHP from rpm binary, there is this problem.
  - Error: Segmentation fault (core dumped) 
  - /var/log/messages: kernel: php[31640]: segfault at 0000000000000004 rip 
000000000042245c rsp 00007fffd2057380 error 4
  - yum install repository: http://wing-net.ddo.jp/wing/extras/el5/SRPMS/

I checked the compile options using phpinfo method, I presume that the casus is 
"--with-system-tzdata".

There is not this option in PHP source.
 [2010-11-18 10:30 UTC] derick@php.net
-Status: Feedback +Status: Bogus
 [2010-11-18 10:30 UTC] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

This is an unofficial RedHat patch that we've opposed (many times) before. Please take this up with the RedHat folks. Not our bug -> bogus.
 [2010-11-19 03:14 UTC] kitani at cseas dot kyoto-u dot ac dot jp
I understood about this issue by various information.
I'd like to close this issue because it's due to the customized PHP, including 
unofficial patch.
Thank you for the supporters' kindness.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 08:02:42 2024 UTC