|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-09-07 08:43 UTC] ast at domdv dot 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 +++ PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 13:00:01 2025 UTC |
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.