Bug #72329 [Com]: gmp_div segFaults
| From: | inefedor at gmail dot com | Date: | Fri, 03 Jun 2016 15:55:24 +0000 |
| Subject: | Bug #72329 [Com]: gmp_div segFaults | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-201435@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72329&edit=1
ID: 72329
Comment by: inefedor at gmail dot com
Reported by: raulrodriguez782 at gmail dot com
Summary: gmp_div segFaults
Status: Open
Type: Bug
Package: GNU MP related
Operating System: OSX - El Capitan
PHP Version: 5.5.36
Block user comment: N
Private report: N
New Comment:
Please make sure you don't have XDebug enabled. Most probably it is the cause of your issue.
You might have display_startup_errors disabled in php.ini configuration: http://php.net/manual/en/errorfunc.configuration.php#ini.display-startup-errors
If that's the case then you may get some errors when you enable it
Previous Comments:
------------------------------------------------------------------------
[2016-06-03 15:35:06] raulrodriguez782 at gmail dot com
To be more specific, this happens on OSX - El Capitan
------------------------------------------------------------------------
[2016-06-03 15:33:33] raulrodriguez782 at gmail dot com
Also reproduced in php 5.5.35
------------------------------------------------------------------------
[2016-06-03 15:30:21] raulrodriguez782 at gmail dot com
Description:
------------
I've reproduced this error on php 5.5.21, php 5.6.21 and php 7.0.7.
<?php
gmp_div('123', '123');
It throws a seg fault
Test script:
---------------
<?php
1 == gmp_div('123', '123');
Actual result:
--------------
Segmentation fault
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72329&edit=1