ID:               23906
 Comment by:       bugphp432 at barossa dot homeip dot net
 Reported By:      mbrennen at fni dot com
 Status:           Open
 Bug Type:         Reproducible crash
 Operating System: MDK 8.2 (Linux 2.4)
 PHP Version:      4.3.2
 New Comment:

Similar problems on WIN32 (win98 + APACHE 1.3.27)
msg=Unknow(); Unable to load dynamic library
c:\php\extensions\php_imap.dll - 

Then APACHE crash or not run.
with PHP4.3.1 all seems ok


Previous Comments:
------------------------------------------------------------------------

[2003-05-30 13:50:46] mbrennen at fni dot com

The following bug is reproduceable on two different systems.  As soon
as the process starts it cores.  A gdb stack trace and the tail of an
strace of the bug is below, as is the php configure script options. 
The same configuration works fine with 4.3.0.


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 24937)]
0x082c1b9d in nothrow ()
(gdb) 
(gdb) bt
#0  0x082c1b9d in nothrow ()
#1  0x4000b616 in _dl_map_object_deps () at dl-deps.c:498
#2  0x00000007 in ?? ()
Cannot access memory at address 0x8


....
lstat64("/dev/null", {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3),
...}) = 0
open("/dev/null", O_RDONLY)             = 3
fstat64(3, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0
fstat64(3, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE, 0xbfffd110) = -1 ENOTTY (Inappropriate
ioctl for device)
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40016000
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0x40016000, 4096)                = 0
lstat64("/dev/null", {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3),
...}) = 0
open("/dev/null", O_RDONLY)             = 3
fstat64(3, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0
fstat64(3, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE, 0xbfffd120) = -1 ENOTTY (Inappropriate
ioctl for device)
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40016000
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0x40016000, 4096)                = 0
brk(0x838a000)                          = 0x838a000
brk(0x838d000)                          = 0x838d000
open("/var/log/httpd/error_log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
fcntl64(3, F_DUPFD, 15)                 = 15
close(3)                                = 0
fcntl64(15, F_GETFL)                    = 0x401 (flags
O_WRONLY|O_APPEND)
fstat64(15, {st_mode=S_IFREG|0640, st_size=2001079, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40016000
_llseek(15, 0, [0], SEEK_CUR)           = 0
dup2(15, 2)                             = 2
brk(0x838e000)                          = 0x838e000
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2601, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40021000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2601
brk(0x838f000)                          = 0x838f000
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40021000, 4096)                = 0
open("/usr/share/locale/en_US/LC_CTYPE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=173408, ...}) = 0
old_mmap(NULL, 173408, PROT_READ, MAP_PRIVATE, 3, 0) = 0x409ce000
close(3)                                = 0
--- SIGSEGV (Segmentation fault) ---



### configuration script

./configure \
 --with-apache=/usr/local/apache_1.3.27 \
 --with-imap \
 --with-imap-ssl \
 --with-gd \
 --with-mysql=/usr \
 --with-solid=/usr/local/solidSDK351 \
 --with-exec-dir=/var/lib/php \
 --with-java=/usr/local/jdk \
 --enable-unified-odbc \
 --enable-safe-mode=yes \
 --enable-track-vars \
 --enable-ftp \
 --with-expat-dir=/usr \
 --with-xml \
 --with-dom=/usr \
 --with-dom-xslt=/usr \
 --with-dom-exslt=/usr \
 --enable-xslt \
 --with-xslt-sablot=/usr \
 --with-sablot-js=/usr \
 --with-zlib \
 --with-ldap \
 --with-openssl \
 --disable-debug \
 --disable-debugger \
 --with-config-file-path=/etc/httpd/conf


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=23906&edit=1

Reply via email to