ID: 8133
Updated by: vlad
Old-Status: Open
Status: Analyzed
Bug Type: Pspell related
Assigned To: 

Looks like newer versions of pspell require the user's /root/.aspell.conf (if you are 
running apache as root) file to be present, while older ones did not care; otherwise 
we see:

open("/root/.aspell.conf", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or 
brk(0x8178000)                          = 0x8178000
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

I'll see if I can figure out how to get rid of that annoying and useless (in this 
context) feature.

I wonder if it is related to bug# 8464

Previous Comments:

[2000-12-06 00:24:12] [EMAIL PROTECTED]
This is a fresh source wipe & checkout from cvs. I also
installed fresh pspell & aspell packages of the latest
versions; they work fine from the command line. The command
line PHP seems to work fine; the module version segfaults.

Configure script (remove the apxs line for the cli version):


I cannot get a backtrace when this happens; running gdb
on httpd just gives:

Error while mapping shared library sections:
"/sbin/": not in executable format: Is a directory.
Error while reading shared library symbols:
"/sbin/": can't read symbols: Is a directory.
warning: find_solib: Can't read pathname for load map:
Input/output error an infinite loop until I kill gdb from another

I did a strace, if that helps. It was rather huge, and
is located at

The script with which I am testing:
<?php /* -*- mode: c++; minor-mode: font -*- */
$version = phpversion();

    <h1><?php echo $version ?> list answer testbed</h1>

$dictid = pspell_new('en', '', '', '', PSPELL_NORMAL);
echo "Got dictionary: '$dictid'<br>n";

(There a a couple of extraneous lines at the beginning
but they don't affect anything.)


Full Bug description available at:

PHP Development Mailing List <>
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