ID: 19278 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Pspell related Operating System: Linux 2.4 PHP Version: 4.2.3 Assigned To: vlad New Comment:
FYI: The problem was actually located in libaspell-common-0.50.1.so which did close stdin/stdout/stderr during dlclose(). The problem is already fixed by the aspell author, if you need the fix please see: http://mail.gnu.org/pipermail/aspell-user/2002-September/000057.html Previous Comments: ------------------------------------------------------------------------ [2002-09-15 14:51:58] [EMAIL PROTECTED] pspell definitely isn't the guilty party. The assertion is triggered when libaspell-common-0.50.1.so is loaded. The function triggering the assertion is InitSSLServer() which is part of Apache-SSL. InitSSLServer causes the assertion on closed stdout. I'm closing this bug here and continue it on the Apache-SSL list after further analysis. ------------------------------------------------------------------------ [2002-09-15 12:58:40] [EMAIL PROTECTED] Right now it seems that php pspell is not the guilty party. I disabled all functionality in pspell.c, linked without libpspell.so and there's no assertion abort. Furthermore the abort occurs if only libaspell-common-0.50.1.so is linked to pspell.so (the all functionality disabled version) - seems that the problem is in the library initialization of this aspell library. I'll investigate further. ------------------------------------------------------------------------ [2002-09-13 13:15:09] [EMAIL PROTECTED] it would be fantastic if you try to compile a few less modules too. Like ./configure --with-apxs=/usr/local/apache/bin/apxs --with-pspell=shared,/usr --enable-debug (or something like that) If still crashes, maybe even remove 'shared' from --with-pspell. Also, the question I asked before still stands: What makes you think that it's aspell that's crashing? ------------------------------------------------------------------------ [2002-09-13 10:03:26] [EMAIL PROTECTED] Could it be that in the end this is a compiler (flags) and/or configuration problem? Below my compiler and build configuration. If I find the time I'll try to find out something more over the weekend. cflags and cxxflags: CXXFLAGS=-O3 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -fschedule-insns2 -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop -frerun-loop-opt -fgcse -fgcse-lm -fgcse-sm -fdelete-null-pointer-checks -falign-loops -falign-jumps -falign-functions -mcpu=pentiumpro -march=pentiumpro -mmmx -minline-all-stringops CFLAGS=-O3 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -fschedule-insns2 -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop -frerun-loop-opt -fgcse -fgcse-lm -fgcse-sm -fdelete-null-pointer-checks -falign-loops -falign-jumps -falign-functions -mcpu=pentiumpro -march=pentiumpro -mmmx -minline-all-stringops php-4.2.3 configuration: ./configure --with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/local/php --with-config-file-path=/usr/local/php/conf --disable-short-tags --enable-bcmath=shared --enable-calendar=shared --with-gdbm=/usr --with-db3=/usr/BerkeleyDB/3.1.17 --enable-dba=shared --enable-dbase=shared --with-dom=shared --enable-ftp=shared --with-gd=shared,/usr --with-ttf --with-gettext=shared --with-imap=shared,/usr/imap --with-mcrypt=shared,/usr --with-mhash=shared --with-msql=shared --with-mysql=shared,/usr/local/mysql --with-png-dir=/usr --with-freetype-dir=/usr --enable-shmop=shared --enable-sockets=shared --enable-sysvsem=shared --enable-sysvshm=shared --with-zlib=shared --with-curl=shared,/usr --enable-xml=shared --enable-memory-limit --with-tsrm-pthreads --enable-shared --with-gnu-ld --with-jpeg-dir=/usr --with-openssl=shared,/usr --enable-yp=shared --with-pspell=shared,/usr --with-gmp=shared,/usr --with-bz2=/usr --enable-gd-imgstrttf --enable-gd-native-ttf --with-expat-dir=shared,/usr --enable-inline-optimization --with-dom-xslt=shared --with-dom-exslt=shared --with-cyrus=shared aspell-0.50.1 configuration: ./configure --prefix=/usr --sysconfdir=/etc --with-gnu-ld ------------------------------------------------------------------------ [2002-09-12 18:26:28] [EMAIL PROTECTED] I can not reproduce this. I am using the same version of aspell as you do, the same version of PHP, same version of apache and even same gcc. BTW: What makes you think that it's aspell that's crashing? Or did I miss something in your stack trace? Also, could you also compile it statically and see if that helps? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19278 -- Edit this bug report at http://bugs.php.net/?id=19278&edit=1