From:             [EMAIL PROTECTED]
Operating system: FreeBSD 4.4-STABLE
PHP version:      4.0.6
PHP Bug Type:     Pspell related
Bug description:  using pspell functions cause apache to Abort

Script:
   $q = "foo";
   $pl = pspell_new_personal("/usr/share/dict/acmovies","en");
   $sug = pspell_suggest($pl,$q);
   if (count($sug)>0) {
      echo "Suggestions:<ul>";
      while(list(,$val)=each($sug)) {
         echo "<li>{$val}";
      }
   } else {
      echo "No matches.";
   }
}

Script runs when pspell_new_personal is not included (commented out). 
fails with pspell_new function as well.

Configure line:
 './configure' '--with-apxs=/usr/local/sbin/apxs'
'--with-config-file-path=/usr/local/etc' '--enable-versioning'
'--with-system-regex' '--disable-debug' '--enable-track-vars'
'--without-gd' '--without-mysql' '--with-gd=/usr/local'
'--with-freetype-dir=/usr/local' '--with-jpeg-dir=/usr/local'
'--with-png-dir=/usr/local' '--with-zlib' '--with-mysql=/usr/local'
'--with-pspell=/usr/local' '--prefix=/usr/local' 'i386--freebsd4.4'

Server Version: Apache/1.3.22 (Unix) mod_gzip/1.3.19.1a PHP/4.0.6

Aspell: aspell-0.33.7.1
Pspell: pspell-0.12.2_1
Ispell: ispell-3.1.20c_2
mod_PHP: mod_php4-4.0.6_5

Apache error line: 
[date] [notice] child pid X exit signal Abort trap (6)

Successfully compiled example-c and tested it in pspell.

All pspell and aspell directories and files are readable by nobody,
directories executable for nobody (others).

httpd does not crash, the child gets an Abort trap (6).  No backtrace
available.

Not using Soblot.

PHP compiles correctly, everything works except that when I use pspell
functions httpd crashes.
-- 
Edit bug report at: http://bugs.php.net/?id=14218&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to