From:             spam02 at pornel dot net
Operating system: Debian stable
PHP version:      5.2.1
PHP Bug Type:     Pspell related
Bug description:  PSpell fails to open dictionaries when server is under load

Description:
------------
Problem reported in #33095 might be valid.

I can reproduce the same problem, every time, on PHP/5.2.1, Linux/2.6.8,
Apache/1.3.33, Aspell/0.60.3

It appears that PHP process which uses PSpell must be the only process on
the server (even images loading concurently affect it.), otherwise PSpell
fails to open dictionary.

Failure seems to be determined per process, because PSpell will either
work first time or always fail for a certain process (when you retry in a
loop, even with a delay, you always get failure).

I've tried different invocation methods, pspell_clear_session,
clearstatcache, different dictionaries - nothing helps.


Reproduce code:
---------------
Try pspell on pages with and without images. 

Different browsers have different patterns for requesting images, so for
example failure rate is higher in Firefox than Opera (I'm not mad,
really).



Actual result:
--------------
Warning: pspell_new_config() [function.pspell-new-config]: PSPELL couldn't
open the dictionary. reason: No word lists can be found for the language
"en". in ...

-- 
Edit bug report at http://bugs.php.net/?id=41238&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=41238&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=41238&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=41238&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=41238&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=41238&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=41238&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=41238&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=41238&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=41238&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=41238&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=41238&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=41238&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=41238&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=41238&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=41238&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=41238&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=41238&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=41238&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=41238&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=41238&r=mysqlcfg

Reply via email to