#19278 [Fbk->Opn]: SIGABRT during Apache startup with latest pspell
| From: | ast at domdv dot de | Date: | Sun, 15 Sep 2002 17:58:40 +0000 |
| Subject: | #19278 [Fbk->Opn]: SIGABRT during Apache startup with latest pspell | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19406@lists.php.net to get a copy of this message | ||
ID: 19278
User updated by: ast@domdv.de
Reported By: ast@domdv.de
-Status: Feedback
+Status: Open
Bug Type: Pspell related
Operating System: Linux 2.4
PHP Version: 4.2.3
Assigned To: vlad
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2002-09-13 13:15:09] vlad@php.net
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] ast@domdv.de
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] vlad@php.net
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?
------------------------------------------------------------------------
[2002-09-11 21:18:46] vlad@php.net
I just checked latest aspell with php4.2.3 in CGI mode, and it seems to
work well. I don't have an apache installation handy that I can hose,
so further testing will have to wait a couple of days, but my guess is
that I won't be able to reproduce your problem easily.
------------------------------------------------------------------------
[2002-09-10 20:09:52] vlad@php.net
a lot (including some API) has changed since aspell and pspell got
merged into one project. I don't know yet if that's why things don't
work for you, but I'll look into it in a few days (as the time
allows).
Assigning to myself, unless someone else wants to pick it up.
------------------------------------------------------------------------
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