Mantis - php5
Viewing Issue Advanced Details
5166 regular use crash always 2014-04-22 13:21 2016-10-08 22:46
rherbst  
dam  
normal  
closed  
fixed  
none    
none  
0005166: PHP CLI suffers from segmentation fault during job completion
When started at the command line, php does what it it is expected to do but then throws a segmentation fault error and generates a core dump.
Problem occures after switching to Dublin (the new stable), i.e. with PHP 5.3.21.
Please find more details in the attached file. As far as I can see, the problem occures every time I started php CLI.
txt file icon csw_php_segfault.txt [^] (25,649 bytes) 2014-04-22 13:21
Issue History
2014-04-22 13:21 rherbst New Issue
2014-04-22 13:21 rherbst File Added: csw_php_segfault.txt
2014-04-23 09:10 rherbst Issue Monitored: rherbst
2014-09-09 17:12 dam Status new => assigned
2014-09-09 17:12 dam Assigned To => dam
2014-09-09 17:15 dam Note Added: 0010900
2014-09-09 17:15 dam Status assigned => feedback
2014-09-17 18:44 rherbst Note Added: 0010916
2014-09-17 18:45 rherbst Note Added: 0010917
2016-10-08 22:46 dam Note Added: 0011204
2016-10-08 22:46 dam Status feedback => closed
2016-10-08 22:46 dam Resolution open => fixed

Notes
(0010900)
dam   
2014-09-09 17:15   
I made a new set of packages and the error seems to be fixed now:
  http://buildfarm.opencsw.org/experimental.html#php5 [^]
Please take a look if this really resolves your issue so I can push the packages.
(0010916)
rherbst   
2014-09-17 18:44   
Unfortunatly not. But during the tests, I was able to further nail the problem down.

If I exclude either curl.so or openssl.so from the extension list in php.ini, than the problem disappears.

I have attached a core dump, maybe this helps!
(0010917)
rherbst   
2014-09-17 18:45   
Sorry, the upload failed. of course, the size is about 18MB. Any other way to send you the file?
(0011204)
dam   
2016-10-08 22:46   
This is fixed in the current release of CSWphp5 5.6.26,REV=2016.10.07

dam@unstable10s [unstable10s]:/home/dam > /opt/csw/bin/php -i >/dev/null
PHP Warning: Unknown: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in Unknown on line 0