compose.php3 & SIGSEGV in httpd

Roger Massey rmassey@avaya.com
Mon, 11 Dec 2000 17:13:50 -0700


Hi,

I have installed the following:

Mandrake 6.5
PHP 3.0.17-1.6.2 (using mod_php3 in Apache)
MYSQL Client api version 3.22.32
Apache 1.3.14
phplib 7.2-1

Imp works ok until I click "send message" or "save draft" of
compose.php3. The server is sent a:

POST compose.php3?uniq=xxxxxxxxxxxxxx

An strace in the server (see below) shows the server  read
the POST,  access compose.php3 followed by prepend.php3 and
then a SIGSEGV. The processing of these files when the composition
window was created and sent worked ok.

I am a newbie, probably doing something stupid. I have read
the FAQ but if the answer is there I did not recognize it. I did
see in the archives that php3.0.17-1 is a problem with compose.php3.
Is php4 the answer?

Thanks,

Roger Massey

32537 read(3, "POST /horde/imp/compose.php3?uni"..., 4096) = 667
32537 rt_sigaction(SIGUSR1, {SIG_IGN}, {SIG_IGN}, 8) = 0
32537 time(NULL)                        = 976570695
32537 read(3, "\r\n-----------------------------7"..., 4096) = 1197
32537 stat("/home/httpd/html/horde/imp/compose.php3", {st_mode=S_IFREG|0644,
st_size=35510, ...}) = 0
32537 open("/home/httpd/html/horde/imp/compose.php3", O_RDONLY) = 5
32537 fcntl(5, F_DUPFD, 15)             = 19
32537 close(5)                          = 0
32537 umask(077)                        = 022
32537 umask(022)                        = 077
32537 chdir("/home/httpd/html/horde/imp") = 0
32537 setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={30, 0}}, NULL) =
0
32537 rt_sigaction(SIGPROF, {0x2acefac0, [], SA_INTERRUPT}, {0x2acefac0, [],
SA_INTERRUPT}, 8) = 0
32537 fcntl(19, F_GETFL)                = 0 (flags O_RDONLY)
32537 fstat(19, {st_mode=S_IFREG|0644, st_size=35510, ...}) = 0
32537 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2aac1000
32537 _llseek(19, 0, [0], SEEK_CUR)     = 0
32537 ioctl(19, TCGETS, 0x7ffff850)     = -1 ENOTTY (Inappropriate ioctl for
device)
32537 ioctl(19, TCGETS, 0x7ffff80c)     = -1 ENOTTY (Inappropriate ioctl for
device)
32537 open("/home/httpd/horde-phplib/prepend.php3", O_RDONLY) = 5
32537 ioctl(5, TCGETS, 0x7ffff7c4)      = -1 ENOTTY (Inappropriate ioctl for
device)
32537 read(5, "<?php\n/*\n * Session Management f"..., 8192) = 1051
32537 read(5, "", 7141)                 = 0
32537 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
32537 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
32537 --- SIGSEGV (Segmentation fault) ---
32537 chdir("/etc/httpd")               = 0
32537 rt_sigaction(SIGSEGV, {SIG_DFL}, {SIG_DFL}, 8) = 0
32537 getpid()                          = 32537
32537 kill(32537, SIGSEGV)              = 0
32537 sigreturn()                       = ? (mask now [])
32537 --- SIGSEGV (Segmentation fault) ---