ID: 17402 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open -Bug Type: *Spelling functions +Bug Type: Pspell related Operating System: Mandrake 8.2 PHP Version: 4.2.1
Previous Comments: ------------------------------------------------------------------------ [2002-05-24 03:14:05] [EMAIL PROTECTED] My browser reports that the page cannot be displayed, and the apache log includes a segmentation fault (11), when I try and open the following php script. When the pspell line is commented out the page displays: "Hello". Any suggestions? Thanks. versions: aspell 33.7.1 pspell 12.2 with patch php 4.2.1 apache 1.3.24 php configure: ./configure \ --with-debug \ --with-mysql=/usr \ --with-apxs=/usr/local/apache/bin/apxs \ --with-pspell \ --with-jpeg-dir=/usr/lib \ --with-png-dir=/usr/lib \ --with-zlib-dir=/usr/lib \ --with-freetype-dir=/usr/lib \ --with-gd=/usr \ --enable-inline-optimisation php script: <?php echo "<html>"; echo "Hello"; $dic = pspell_new("en"); echo "</html>"; ?> gdb backtrace: Program received signal SIGSEGV, Segmentation fault. 0x003c2c82 in throw_helper (eh=0x1010100, pc=0x0, my_udata=0x0, offset_p=0xbfffdaa0) at ../../gcc/libgcc2.c:3168 3168 ../../gcc/libgcc2.c: No such file or directory. in ../../gcc/libgcc2.c (gdb) bt #0 0x003c2c82 in throw_helper (eh=0x1010100, pc=0x0, my_udata=0x0, offset_p=0xbfffdaa0) at ../../gcc/libgcc2.c:3168 #1 0x0063b796 in aspell::Config::read_in (this=0x8, override=0x10) at /usr/include/g++-3/std/bastring.h:343 #2 0x0043c26c in __EXCEPTION_TABLE__ () from /usr/local/lib/libpspell.so.4 #3 0x003e37a1 in nothrow () from /usr/local/apache/libexec/libphp4.so #4 0x00438a00 in PspellString virtual table () from /usr/local/lib/libpspell.so.4 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17402&edit=1