#36273 [Opn->Fbk]: pspell_suggest on certain string causes segfault

From: Date: Fri, 03 Feb 2006 13:16:57 +0000
Subject: #36273 [Opn->Fbk]: pspell_suggest on certain string causes segfault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-92870@lists.php.net to get a copy of this message
ID: 36273 Updated by: tony2001@php.net Reported By: mnc at firmseek dot com -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: Linux PHP Version: 4.4.2 New Comment: Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2006-02-03 14:11:42] mnc at firmseek dot com Description: ------------ The code below generates a reproducible segmentation fault on every server I've tried it on. Reproduce code: --------------- <? $pspell_link = pspell_new("en", "", "", "utf-8", PSPELL_FAST | PSPELL_RUN_TOGETHER); $suggestions = pspell_suggest($pspell_link, '--'); ?> Expected result: ---------------- Null array, or an error code, but not a dead Apache. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36273&edit=1

« previous php.bugs (#92870) next »