Bug #74124 [Com]: Seg fault when running code using the ps (postscript) extension

From: Date: Thu, 01 Jun 2017 22:07:10 +0000
Subject: Bug #74124 [Com]: Seg fault when running code using the ps (postscript) extension
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-209348@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74124&edit=1 ID: 74124 Comment by: ian at gumstix dot com Reported by: ian at gumstix dot com Summary: Seg fault when running code using the ps (postscript) extension Status: Open Type: Bug Package: Reproducible crash Operating System: Xubuntu 16.04.2 PHP Version: 7.1.5 Block user comment: N Private report: N New Comment: Commenting out the call to ps_delete() seems to solve the problem. https://github.com/ianfp/php-ps-segfault/blob/master/src/PostscriptDocument.php#L63 Previous Comments: ------------------------------------------------------------------------ [2017-05-30 22:06:31] ian at gumstix dot com Related To: Bug #74676 ------------------------------------------------------------------------ [2017-05-30 21:49:45] ian at gumstix dot com I'm changing the package from "ps" to "Reproducible crash" based on the comment thread in bug 74676, which suggests that this is not actually a bug in the Postscript extension. ------------------------------------------------------------------------ [2017-05-30 21:19:58] ian at gumstix dot com Related To: Bug #74676 ------------------------------------------------------------------------ [2017-04-04 08:43:05] bugsphpnet888 at allanid dot com I experience the same problem. Having the same PHP version (7.1.3) but on a Debian 8.7. It gives strange artifacts my remaining PHP code. It somehow manages to cause the PHP script to be run multiple times - so if I run a script that adds a database record the record might be added 3 times! I need to use the ps_hyphenate() function to hyphenate text. Using this extension is the only method I have found to do it, so I really need this bug fixed. ------------------------------------------------------------------------ [2017-03-21 15:54:11] ian at gumstix dot com Still occurs in PHP 7.1.3. ------------------------------------------------------------------------ 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=74124 -- Edit this bug report at https://bugs.php.net/bug.php?id=74124&edit=1

« previous php.bugs (#209348) next »