Hi!
Here is a strace-output of the segmentation fault with the midgard.so
module in php4 enabled. Perhaps it helps to locate the error:
accept(16, {sin_family=AF_INET, sin_port=htons(61054),
sin_addr=inet_addr("62.54.134.202")}}, [16]) = 3
rt_sigaction(SIGUSR1, {SIG_IGN}, {0x805b814, [], SA_INTERRUPT|0x4000000},
8) = 0
getsockname(3, {sin_family=AF_INET, sin_port=htons(88),
sin_addr=inet_addr("192.168.100.10")}}, [16]) = 0
setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = 0
brk(0x8117000) = 0x8117000
brk(0x811a000) = 0x811a000
read(3, "GET /test.php HTTP/1.1\r\nAccept: "..., 4096) = 259
rt_sigaction(SIGUSR1, {SIG_IGN}, {SIG_IGN}, 8) = 0
time(NULL) = 987425070
gettimeofday({987425070, 307520}, NULL) = 0
time(NULL) = 987425070
write(15, "[Mon Apr 16 14:44:30 2001] [debu"..., 146) = 146
open("/etc/services", O_RDONLY) = 4
fcntl(4, F_GETFD) = 0
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=15325, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40018000
read(4, "# /etc/services:\n# $Id: services"..., 4096) = 4096
read(4, "SO Z39.50 database\nz3950\t\t210/ud"..., 4096) = 4096
read(4, "\t\t\t# udp sftp side effect\ncodasr"..., 4096) = 4096
close(4) = 0
munmap(0x40018000, 4096) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
brk(0x811b000) = 0x811b000
socket(PF_UNIX, SOCK_STREAM, 0) = 4
fcntl(4, F_GETFL) = 0x2 (flags O_RDWR)
connect(4, {sin_family=AF_UNIX, path="/var/run/mysqld/mysqld.sock"}, 110) =
0
brk(0x811e000) = 0x811e000
setsockopt(4, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
read(4, ",\0\0\0", 4) = 4
read(4, "\n3.23.36-log\0/\0\0\0\\F)9$H|X\0, \10\2\0\0"..., 44) = 44
open("/usr/share/mysql/charsets/Index", O_RDONLY|O_LARGEFILE) = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=549, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40018000
read(6, "# sql/share/charsets/Index\n#\n# T"..., 4096) = 549
read(6, "", 4096) = 0
close(6) = 0
munmap(0x40018000, 4096) = 0
write(4, "\31\0\0\1\215 \0\0\0mgd14\0DCMNIJQN\0mgd14", 29) = 29
read(4, "\5\0\0\2", 4) = 4
read(4, "\0\0\0\2\0", 5) = 5
time(NULL) = 987425070
write(15, "[Mon Apr 16 14:44:30 2001] [debu"..., 148) = 148
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(4, 0x811a0a0, 8192) = -1 EAGAIN (Resource temporarily
unavailable)
fcntl(4, F_SETFL, O_RDWR) = 0
write(4, "\1\0\0\0\t", 5) = 5
read(4, "\206\0\0\1", 4) = 4
read(4, "Uptime: 447101 Threads: 1 Ques"..., 134) = 134
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(4, 0x811a0a0, 8192) = -1 EAGAIN (Resource temporarily
unavailable)
fcntl(4, F_SETFL, O_RDWR) = 0
write(4, "\23\1\0\0\3SELECT id,style,root,info&1"..., 279) = 279
read(4, "\1\0\0\1", 4) = 4
read(4, "\6", 1) = 1
read(4, "\22\0\0\2", 4) = 4
read(4, "\4host\2id\3\v\0\0\1\3\3\3B\0", 18) = 18
brk(0x8120000) = 0x8120000
read(4, "\25\0\0\3", 4) = 4
read(4, "\4host\5style\3\v\0\0\1\3\3\1\0\0", 21) = 21
read(4, "\24\0\0\4", 4) = 4
read(4, "\4host\4root\3\v\0\0\1\3\3\1\0\0", 20) = 20
read(4, "\22\0\0\5", 4) = 4
read(4, "\0\6info&1\3\25\0\0\1\10\3\1\0\0", 18) = 18
read(4, "\32\0\0\6", 4) = 4
read(4, "\0\16Length(prefix)\3\n\0\0\1\10\3\1\0\0", 26) = 26
read(4, "\31\0\0\7", 4) = 4
read(4, "\4host\tsitegroup\3\v\0\0\1\3\3\t@\0", 25) = 25
read(4, "\1\0\0\10", 4) = 4
read(4, "\376", 1) = 1
brk(0x8122000) = 0x8122000
read(4, "\1\0\0\t", 4) = 4
read(4, "\376", 1) = 1
time(NULL) = 987425070
write(15, "[Mon Apr 16 14:44:30 2001] [debu"..., 130) = 130
stat("/home/mad/public_html/test.php", {st_mode=S_IFREG|0644, st_size=47,
...}) = 0
open("/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
directory)
open("/home/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
directory)
open("/home/mad/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file
or directory)
open("/home/mad/public_html/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
lstat("/home/mad/public_html/test.php", {st_mode=S_IFREG|0644, st_size=47,
...}) = 0
umask(077) = 022
umask(022) = 077
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={30, 0}}, NULL) = 0
rt_sigaction(SIGPROF, {0x40275694, [PROF], SA_RESTART|0x4000000},
{SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0
--- SIGSEGV (Segmentation fault) ---
chdir("/etc/apache") = 0
rt_sigaction(SIGSEGV, {SIG_DFL}, {SIG_DFL}, 8) = 0
getpid() = 18006
kill(18006, SIGSEGV) = 0
sigreturn() = ? (mask now [])
--- SIGSEGV (Segmentation fault) ---
Matthias
--
Matthias Gelbhardt | brought to you by CommY-Entertainment
[EMAIL PROTECTED] | with the power of Debian-Linux
http://www.commy.de |
+49 (0)170 547 10 11 | Abi 2000 im Netz http://abi2000.rats-ms.de
PGP-Fingerprint: 97DF 5DB4 2A29 247B 0A68 99CA 453D 9ABA 8BF3 42EA
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]