Bug #73114 [NEW]: php segfault probably becouse OpenBSD wx implementation

From: Date: Mon, 19 Sep 2016 15:09:42 +0000
Subject: Bug #73114 [NEW]: php segfault probably becouse OpenBSD wx implementation
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-204131@lists.php.net to get a copy of this message
From:             martin dot larsson2 at gmail dot com
Operating system: OpenBSD
PHP version:      7.0.11
Package:          Reproducible crash
Bug Type:         Bug
Bug description:php segfault probably becouse OpenBSD wx implementation

Description:
------------
# php-7.0 broke.php                                                     
                                                                        
         
Abort trap (core dumped) 
# 

php segfault probably becouse of OpenBSD wx implementation, must stuff
seem to work but preg_replace segfaults php.                            
                                                                        
                                   


Test script:
---------------
<?php
$string = 'April 15, 2003';
$pattern = '/(\w+) (\d+), (\d+)/i';
$replacement = '${1}1,$3';
echo preg_replace($pattern, $replacement, $string);
?>


-- 
Edit bug report at https://bugs.php.net/bug.php?id=73114&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=73114&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=73114&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=73114&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=73114&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=73114&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=73114&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=73114&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=73114&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=73114&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=73114&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=73114&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=73114&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=73114&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73114&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=73114&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=73114&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=73114&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=73114&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=73114&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=73114&r=mysqlcfg



Thread (15 messages)

« previous php.bugs (#204131) next »