Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2005 23:59:00 -0300 (ADT)
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        php <php-general@lists.php.net>
Cc:        freebsd-ports@freebsd.org
Subject:   pspell.so causes server to crash ...
Message-ID:  <20050720235350.O36717@ganymede.hub.org>

next in thread | raw e-mail | index | archive | help

Was having this problem with 4.3.11, figured I'd upgrade to 4.4.0 first, 
to make sure it wasn't fixed already ... but, if I have the pspell.so 
extension enabled, and do a SIGHUP of the server, the apache process 
(apache 1) crashes ...

I've currently got the following aspell installed from FreeBSD ports:

drwxr-xr-x  2 root  wheel  512 Jul 15 14:32 aspell-0.60.3

and a backtrace of the apache process shows:

(gdb) bt
#0  0x280ec610 in kill () from /usr/lib/libc_r.so.4
#1  0x805c1d8 in sig_coredump ()
#2  0x280fe79b in _thread_sig_handler () from /usr/lib/libc_r.so.4
#3  0x280fe606 in _thread_sig_handler () from /usr/lib/libc_r.so.4
#4  0x7fbfffac in ?? ()
#5  0x288ccec0 in acommon::GlobalCacheBase::~GlobalCacheBase () from /usr/local/lib/libaspell.so.16
#6  0x28906ce9 in __static_initialization_and_destruction_0 () from /usr/local/lib/libaspell.so.16
#7  0x28906db2 in global destructors keyed to acommon::ToUniLookup::reset () from /usr/local/lib/libaspell.so.16
#8  0x288ccaae in __do_global_dtors_aux () from /usr/local/lib/libaspell.so.16
#9  0x289cb6f5 in _fini () from /usr/local/lib/libaspell.so.16
#10 0x280932ae in dlclose () from /usr/libexec/ld-elf.so.1
#11 0x28474ee1 in object.11 () from /usr/local/libexec/apache/libphp4.so
#12 0x28476945 in object.11 () from /usr/local/libexec/apache/libphp4.so
#13 0x28476a8e in object.11 () from /usr/local/libexec/apache/libphp4.so
#14 0x2847250c in object.11 () from /usr/local/libexec/apache/libphp4.so
#15 0x2844d292 in object.11 () from /usr/local/libexec/apache/libphp4.so
#16 0x2844d26b in object.11 () from /usr/local/libexec/apache/libphp4.so
#17 0x2848c004 in object.11 () from /usr/local/libexec/apache/libphp4.so
#18 0x80517cb in run_cleanups ()
#19 0x8050610 in ap_clear_pool ()
#20 0x805df12 in standalone_main ()
#21 0x805e747 in main ()
#22 0x804fd32 in _start (arguments=0x7fbffcf8 "/usr/local/sbin/httpd") at /usr/src/lib/csu/i386-elf/crt1.c:119

As soon as I disable pspell.so, the problem goes away ...

is this a problem with the pspell extension, or just the aspell library 
itself?

Thanks ...

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050720235350.O36717>