#19278 [Fbk->Opn]: SIGABRT during Apache startup with latest pspell
| From: | ast at domdv dot de | Date: | Sat, 07 Sep 2002 14:44:07 +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-18618@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
New Comment:
In case of SIGABRT a stacktrace doesn't really help - but
on request here it is.
titanic:~ # gdb /usr/local/apache/bin/httpsd
GNU gdb 5.2.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)...
(gdb) run -X
Starting program: /usr/local/apache/bin/httpsd -X
Reading key for server titanic.lan.domdv.de:443
Launching... /usr/local/apache/bin/gcache
pid=3817
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGABRT, Aborted.
0x40254e61 in __kill () at __kill:-1
-1 __kill: No such file or directory.
in __kill
(gdb) bt
#0 0x40254e61 in __kill () at __kill:-1
#1 0x40254c76 in raise () from /lib/libc.so.6
(gdb) quit
The program is running. Exit anyway? (y or n) y
titanic:~ #
What may help more here is some other output:
titanic:~ # ltrace /usr/local/apache/bin/httpsd -X
<snip>
malloc(24) = 0x080cd2c8
malloc(11) = 0x080cd2e8
malloc(21) = 0x080cd2f8
malloc(24) = 0x080cd318
malloc(5) = 0x080cd338
malloc(21) = 0x080cd348
malloc(24) = 0x080cd368
malloc(9) = 0x080cd388
malloc(21) = 0x080cd398
malloc(24) = 0x080cd3b8
malloc(9) = 0x080cd3d8
malloc(25) = 0x080cd3e8
__xstat(3, "/etc/cram-md5.pwd", 0xbffff46c) = -1
memset(0x0812e984, '\000', 28) = 0x0812e984
memset(0x0812e9a4, '\000', 16) = 0x0812e9a4
memset(0x0812e9f4, '\000', 20) = 0x0812e9f4
dup(2, 0x4055e660, 0x08094d84, 0x4042f23e, 0x0808b540) = 0
close(2) = 0
dup(1, 0x4055e660, 0x08094d84, 0x4042f23e, 0x0808b540) = -1
__assert_fail(0x0807e807, 0x0807df84, 1656, 0x0807e7e8, 0x0808b540
<unfinished .
..>
--- SIGABRT (Aborted) ---
+++ killed by SIGABRT +++
The above shows that an assertion in the pspell module
fails.
Previous Comments:
------------------------------------------------------------------------
[2002-09-07 08:55:49] derick@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2002-09-07 08:43:48] ast@domdv.de
php 4.2.3 configured with "--with-pspell=shared,/usr" and
linked against the latest pspell library (included now in
the combined aspell/pspell package and available as
ftp://ftp.gnu.org/gnu/aspell/aspell-0.50.1.tar.gz)
causes
SIGABRT during apache (1.3.26) startup when
"extension=pspell.so" is given in php.ini. Compiler is gcc 3.2,
binutils version is 2.13.
Trailing lines of "strace /usr/local/apache/bin/httpsd -X"
open("/usr/local/php/lib/php/extensions/no-debug-non-zts-20020429/zlib.so",
O_RDONLY) = 0
read(0, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\36\0"...,
1024) = 1024
fstat64(0, {st_mode=S_IFREG|0755, st_size=32246, ...}) = 0
mmap2(NULL, 30064, PROT_READ|PROT_EXEC, MAP_PRIVATE, 0, 0) =
0x40bf8000
mprotect(0x40bff000, 1392, PROT_NONE) = 0
mmap2(0x40bff000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 0,
0x6) = 0x40bff000
close(0) = 0
dup(2) = 0
close(2) = 0
dup(1) = -1 EBADF (Bad file
descriptor)
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
getpid() = 1348
kill(1348, SIGABRT) = 0
--- SIGABRT (Aborted) ---
+++ killed by SIGABRT +++
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19278&edit=1