Re: Help with segfault

From: Date: Tue, 18 Sep 2001 11:17:18 +0000
Subject: Re: Help with segfault
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-66176@lists.php.net to get a copy of this message
Hello, can you make a backtrace of it (with gdb)? Derick On Tue, 18 Sep 2001, Richard Heyes wrote: > Hi, I'm getting some strange segfaults from a script I'm running. Isn't > consistent unfortunately, but I have managed to get this strace output > from the apache child serving the request. Does it mean anything to > anyone? Look like it's going through all the include() calls in the php > script, last one being page.cache.prepend.inc, and then barfing. :( > > TIA > > [root@delllive php-4.0.6]# strace -p 28188 > fcntl(26, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0 > select(19, [17 18], NULL, NULL, NULL) = 1 (in [18]) > accept(18, {sin_family=AF_INET, sin_port=htons(63416), > sin_addr=inet_addr("*.*.*.*")}}, [16]) = 3 > fcntl(26, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0 > rt_sigaction(SIGUSR1, {SIG_IGN}, {0x805a4f0, [], > SA_INTERRUPT|0x4000000}, 8) = 0 > getsockname(3, {sin_family=AF_INET, sin_port=htons(80), > sin_addr=inet_addr("192.168.10.5")}}, [16]) = 0 > setsockopt(3, IPPROTO_TCP1, [1], 4) = 0 > read(3, "GET / HTTP/1.1\r\nAccept: image/gi"..., 4096) = 505 > rt_sigaction(SIGUSR1, {SIG_IGN}, {SIG_IGN}, 8) = 0 > time(NULL) = 1000809165 > gettimeofday({1000809165, 730544}, NULL) = 0 > stat("/www/vhtdocs/adtrader3/htdocs", {st_mode=S_IFDIR|0775, > st_size=4096, ...}) = 0 > open("/.htaccess", O_RDONLY) = -1 ENOENT (No such file or > directory) > open("/www/.htaccess", O_RDONLY) = -1 ENOENT (No such file or > directory) > open("/www/vhtdocs/.htaccess", O_RDONLY) = -1 ENOENT (No such file or > directory) > open("/www/vhtdocs/adtrader3/.htaccess", O_RDONLY) = -1 ENOENT (No such > file or directory) > open("/www/vhtdocs/adtrader3/htdocs/.htaccess", O_RDONLY) = -1 ENOENT > (No such file or directory) > stat("/www/vhtdocs/adtrader3/htdocs/index.html", 0xbffff868) = -1 ENOENT > (No such file or directory) > stat("/www/vhtdocs/adtrader3/htdocs", {st_mode=S_IFDIR|0775, > st_size=4096, ...}) = 0 > stat("/www/vhtdocs/adtrader3/htdocs/index.php", {st_mode=S_IFREG|0775, > st_size=6248, ...}) = 0 > stat("/www/vhtdocs/adtrader3/htdocs/index.php", {st_mode=S_IFREG|0775, > st_size=6248, ...}) = 0 > umask(077) = 022 > umask(022) = 077 > setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0 > rt_sigaction(SIGPROF, {0x4022effc, [], SA_RESTART|0x4000000}, {SIG_DFL}, > 8) = 0 > rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0 > brk(0x8138000) = 0x8138000 > brk(0x8139000) = 0x8139000 > time(NULL) = 1000809165 > getpid() = 28188 > getpid() = 28188 > getcwd("/", 4095) = 2 > chdir("/www/vhtdocs/adtrader3/htdocs") = 0 > open("/www/vhtdocs/adtrader3/htdocs/index.php", O_RDONLY) = 4 > getcwd("/mnt/disk1/www/vhtdocs/adtrader3/htdocs", 4095) = 40 > lstat("/www", {st_mode=S_IFLNK|0777, st_size=9, ...}) = 0 > readlink("/www", "/raid/www", 4095) = 9 > lstat("/raid", {st_mode=S_IFLNK|0777, st_size=11, ...}) = 0 > readlink("/raid", "/mnt/disk1/", 4095) = 11 > lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs", {st_mode=S_IFDIR|0775, st_size=4096, > ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3", {st_mode=S_IFDIR|S_ISGID|0775, > st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/htdocs", {st_mode=S_IFDIR|0775, > st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/htdocs/index.php", > {st_mode=S_IFREG|0775, st_size=6248, ...}) = 0 > brk(0x813e000) = 0x813e000 > ioctl(4, TCGETS, 0xbfffe6fc) = -1 ENOTTY (Inappropriate ioctl > for device) > read(4, "<?php\n/*************************"..., 8192) = 6248 > read(4, "", 1944) = 0 > brk(0x813f000) = 0x813f000 > brk(0x8143000) = 0x8143000 > brk(0x8153000) = 0x8153000 > read(4, "", 8192) = 0 > ioctl(4, TCGETS, 0xbfffd70c) = -1 ENOTTY (Inappropriate ioctl > for device) > close(4) = 0 > open("./siteconf.inc", O_RDONLY) = -1 ENOENT (No such file or > directory) > open("/www/vhtdocs/adtrader3/includes//siteconf.inc", O_RDONLY) = 4 > getcwd("/mnt/disk1/www/vhtdocs/adtrader3/htdocs", 4095) = 40 > lstat("/www", {st_mode=S_IFLNK|0777, st_size=9, ...}) = 0 > readlink("/www", "/raid/www", 4095) = 9 > lstat("/raid", {st_mode=S_IFLNK|0777, st_size=11, ...}) = 0 > readlink("/raid", "/mnt/disk1/", 4095) = 11 > lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs", {st_mode=S_IFDIR|0775, st_size=4096, > ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3", {st_mode=S_IFDIR|S_ISGID|0775, > st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/includes", > {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/includes/siteconf.inc", > {st_mode=S_IFREG|0775, st_size=5535, ...}) = 0 > ioctl(4, TCGETS, 0xbfffc0e8) = -1 ENOTTY (Inappropriate ioctl > for device) > read(4, "<?php\n/*************************"..., 8192) = 5535 > read(4, "", 2657) = 0 > brk(0x8163000) = 0x8163000 > read(4, "", 8192) = 0 > ioctl(4, TCGETS, 0xbfffb0f8) = -1 ENOTTY (Inappropriate ioctl > for device) > close(4) = 0 > pipe([4, 5]) = 0 > vfork() = 28239 > close(5) = 0 > fstat64(0x4, 0xbfffa6d8) = 0 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > -1, 0) = 0x40372000 > read(4, "delllive.*.*.com\n", 4096) = 31 > --- SIGCHLD (Child exited) --- > read(4, "", 4096) = 0 > close(4) = 0 > wait4(28239, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 28239 > munmap(0x40372000, 4096) = 0 > open("./siteconf.delllive.inc", O_RDONLY) = -1 ENOENT (No such file or > directory) > open("/www/vhtdocs/adtrader3/includes//siteconf.delllive.inc", O_RDONLY) > = 4 > getcwd("/mnt/disk1/www/vhtdocs/adtrader3/htdocs", 4095) = 40 > lstat("/www", {st_mode=S_IFLNK|0777, st_size=9, ...}) = 0 > readlink("/www", "/raid/www", 4095) = 9 > lstat("/raid", {st_mode=S_IFLNK|0777, st_size=11, ...}) = 0 > readlink("/raid", "/mnt/disk1/", 4095) = 11 > lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs", {st_mode=S_IFDIR|0775, st_size=4096, > ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3", {st_mode=S_IFDIR|S_ISGID|0775, > st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/includes", > {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/includes/siteconf.delllive.inc", > {st_mode=S_IFREG|0775, st_size=3499, ...}) = 0 > ioctl(4, TCGETS, 0xbfffa7b0) = -1 ENOTTY (Inappropriate ioctl > for device) > read(4, "<?php\n/*************************"..., 8192) = 3499 > read(4, "", 4693) = 0 > read(4, "", 8192) = 0 > ioctl(4, TCGETS, 0xbfff97c0) = -1 ENOTTY (Inappropriate ioctl > for device) > close(4) = 0 > time(NULL) = 1000809165 > time(NULL) = 1000809165 > setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0 > setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0 > rt_sigaction(SIGPROF, {0x4022effc, [], SA_RESTART|0x4000000}, > {0x4022effc, [], SA_RESTART|0x4000000}, 8) = 0 > rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0 > open("/www/vhtdocs/adtrader3/admin/siteedit/tabllist.inc", O_RDONLY) = 4 > getcwd("/mnt/disk1/www/vhtdocs/adtrader3/htdocs", 4095) = 40 > lstat("/www", {st_mode=S_IFLNK|0777, st_size=9, ...}) = 0 > readlink("/www", "/raid/www", 4095) = 9 > lstat("/raid", {st_mode=S_IFLNK|0777, st_size=11, ...}) = 0 > readlink("/raid", "/mnt/disk1/", 4095) = 11 > lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs", {st_mode=S_IFDIR|0775, st_size=4096, > ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3", {st_mode=S_IFDIR|S_ISGID|0775, > st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/admin", {st_mode=S_IFDIR|0775, > st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/admin/siteedit", > {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/admin/siteedit/tabllist.inc", > {st_mode=S_IFREG|0775, st_size=7418, ...}) = 0 > ioctl(4, TCGETS, 0xbfffa7b0) = -1 ENOTTY (Inappropriate ioctl > for device) > read(4, "<?php\n\t/************************"..., 8192) = 7418 > read(4, "", 774) = 0 > brk(0x8173000) = 0x8173000 > read(4, "", 8192) = 0 > ioctl(4, TCGETS, 0xbfff97c0) = -1 ENOTTY (Inappropriate ioctl > for device) > close(4) = 0 > open("./site.functions.inc", O_RDONLY) = -1 ENOENT (No such file or > directory) > open("/www/vhtdocs/adtrader3/includes//site.functions.inc", O_RDONLY) = > 4 > getcwd("/mnt/disk1/www/vhtdocs/adtrader3/htdocs", 4095) = 40 > lstat("/www", {st_mode=S_IFLNK|0777, st_size=9, ...}) = 0 > readlink("/www", "/raid/www", 4095) = 9 > lstat("/raid", {st_mode=S_IFLNK|0777, st_size=11, ...}) = 0 > readlink("/raid", "/mnt/disk1/", 4095) = 11 > lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs", {st_mode=S_IFDIR|0775, st_size=4096, > ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3", {st_mode=S_IFDIR|S_ISGID|0775, > st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/includes", > {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/includes/site.functions.inc", > {st_mode=S_IFREG|0775, st_size=28593, ...}) = 0 > ioctl(4, TCGETS, 0xbfffa7b0) = -1 ENOTTY (Inappropriate ioctl > for device) > read(4, "<?php\n/*************************"..., 8192) = 8192 > read(4, "text The text to parse.\n** @retu"..., 8192) = 8192 > read(4, "io)\n****************************"..., 8192) = 8192 > brk(0x8174000) = 0x8174000 > brk(0x8175000) = 0x8175000 > read(4, "details[\'class_id\']\n**\t\t\t Will"..., 8192) = 4017 > read(4, "", 4175) = 0 > brk(0x8176000) = 0x8176000 > read(4, "", 8192) = 0 > ioctl(4, TCGETS, 0xbfff97c0) = -1 ENOTTY (Inappropriate ioctl > for device) > close(4) = 0 > open("./classes/db.class", O_RDONLY) = -1 ENOENT (No such file or > directory) > open("/www/vhtdocs/adtrader3/includes//classes/db.class", O_RDONLY) = -1 > ENOENT (No such file or directory) > open("/www/kernel//classes/db.class", O_RDONLY) = 4 > getcwd("/mnt/disk1/www/vhtdocs/adtrader3/htdocs", 4095) = 40 > lstat("/www", {st_mode=S_IFLNK|0777, st_size=9, ...}) = 0 > readlink("/www", "/raid/www", 4095) = 9 > lstat("/raid", {st_mode=S_IFLNK|0777, st_size=11, ...}) = 0 > readlink("/raid", "/mnt/disk1/", 4095) = 11 > lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/kernel", {st_mode=S_IFDIR|S_ISGID|0775, > st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/kernel/classes", {st_mode=S_IFDIR|S_ISGID|0775, > st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/kernel/classes/db.class", {st_mode=S_IFREG|0764, > st_size=14572, ...}) = 0 > ioctl(4, TCGETS, 0xbfffa7b0) = -1 ENOTTY (Inappropriate ioctl > for device) > read(4, "<?php\n/*************************"..., 8192) = 8192 > brk(0x8177000) = 0x8177000 > brk(0x8178000) = 0x8178000 > read(4, "LECTs\n\t\t\t\t$rowcount = (($result "..., 8192) = 6380 > read(4, "", 1812) = 0 > brk(0x817c000) = 0x817c000 > brk(0x817d000) = 0x817d000 > brk(0x8181000) = 0x8181000 > brk(0x8182000) = 0x8182000 > brk(0x8183000) = 0x8183000 > read(4, "", 8192) = 0 > ioctl(4, TCGETS, 0xbfff97c0) = -1 ENOTTY (Inappropriate ioctl > for device) > close(4) = 0 > open("./prepend.inc", O_RDONLY) = -1 ENOENT (No such file or > directory) > open("/www/vhtdocs/adtrader3/includes//prepend.inc", O_RDONLY) = 4 > getcwd("/mnt/disk1/www/vhtdocs/adtrader3/htdocs", 4095) = 40 > lstat("/www", {st_mode=S_IFLNK|0777, st_size=9, ...}) = 0 > readlink("/www", "/raid/www", 4095) = 9 > lstat("/raid", {st_mode=S_IFLNK|0777, st_size=11, ...}) = 0 > readlink("/raid", "/mnt/disk1/", 4095) = 11 > lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs", {st_mode=S_IFDIR|0775, st_size=4096, > ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3", {st_mode=S_IFDIR|S_ISGID|0775, > st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/includes", > {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/includes/prepend.inc", > {st_mode=S_IFREG|0775, st_size=449, ...}) = 0 > ioctl(4, TCGETS, 0xbfffa7b0) = -1 ENOTTY (Inappropriate ioctl > for device) > read(4, "<?php\n/*************************"..., 8192) = 449 > read(4, "", 7743) = 0 > read(4, "", 8192) = 0 > ioctl(4, TCGETS, 0xbfff97c0) = -1 ENOTTY (Inappropriate ioctl > for device) > close(4) = 0 > open("./dispinfo.inc", O_RDONLY) = -1 ENOENT (No such file or > directory) > open("/www/vhtdocs/adtrader3/includes//dispinfo.inc", O_RDONLY) = 4 > getcwd("/mnt/disk1/www/vhtdocs/adtrader3/htdocs", 4095) = 40 > lstat("/www", {st_mode=S_IFLNK|0777, st_size=9, ...}) = 0 > readlink("/www", "/raid/www", 4095) = 9 > lstat("/raid", {st_mode=S_IFLNK|0777, st_size=11, ...}) = 0 > readlink("/raid", "/mnt/disk1/", 4095) = 11 > lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs", {st_mode=S_IFDIR|0775, st_size=4096, > ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3", {st_mode=S_IFDIR|S_ISGID|0775, > st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/includes", > {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/includes/dispinfo.inc", > {st_mode=S_IFREG|0764, st_size=480, ...}) = 0 > ioctl(4, TCGETS, 0xbfffa7b0) = -1 ENOTTY (Inappropriate ioctl > for device) > brk(0x8184000) = 0x8184000 > read(4, "<?php\n/*************************"..., 8192) = 480 > read(4, "", 7712) = 0 > brk(0x8185000) = 0x8185000 > read(4, "", 8192) = 0 > ioctl(4, TCGETS, 0xbfff97c0) = -1 ENOTTY (Inappropriate ioctl > for device) > close(4) = 0 > open("./dbas_open.inc", O_RDONLY) = -1 ENOENT (No such file or > directory) > open("/www/vhtdocs/adtrader3/includes//dbas_open.inc", O_RDONLY) = 4 > getcwd("/mnt/disk1/www/vhtdocs/adtrader3/htdocs", 4095) = 40 > lstat("/www", {st_mode=S_IFLNK|0777, st_size=9, ...}) = 0 > readlink("/www", "/raid/www", 4095) = 9 > lstat("/raid", {st_mode=S_IFLNK|0777, st_size=11, ...}) = 0 > readlink("/raid", "/mnt/disk1/", 4095) = 11 > lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs", {st_mode=S_IFDIR|0775, st_size=4096, > ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3", {st_mode=S_IFDIR|S_ISGID|0775, > st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/includes", > {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/includes/dbas_open.inc", > {st_mode=S_IFREG|0775, st_size=857, ...}) = 0 > ioctl(4, TCGETS, 0xbfffc0e8) = -1 ENOTTY (Inappropriate ioctl > for device) > read(4, "<?php\n/*************************"..., 8192) = 857 > read(4, "", 7335) = 0 > read(4, "", 8192) = 0 > ioctl(4, TCGETS, 0xbfffb0f8) = -1 ENOTTY (Inappropriate ioctl > for device) > close(4) = 0 > gettimeofday({1000809165, 786002}, NULL) = 0 > open("/etc/services", O_RDONLY) = 4 > fcntl(4, F_GETFD) = 0 > fcntl(4, F_SETFD, FD_CLOEXEC) = 0 > fstat64(0x4, 0xbfffb8d0) = 0 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > -1, 0) = 0x40372000 > read(4, "# /etc/services:\n# $Id: services"..., 4096) = 4096 > read(4, "\t\t# Protocol v3\nrpc2portmap\t369/"..., 4096) = 4096 > close(4) = 0 > munmap(0x40372000, 4096) = 0 > rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 > socket(PF_UNIX, SOCK_STREAM, 0) = 4 > fcntl(4, F_GETFL) = 0x2 (flags O_RDWR) > connect(4, {sin_family=AF_UNIX, path=" > /var/lib/mysql/mysql.sock"}, 110) = 0 > setsockopt(4, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 > read(4, "(\0\0\0", 4) = 4 > read(4, "\n3.23.37\0\264\1\0\0T]Z)\\uW2\0,\0\10\2\0\0\0\0\0\0"..., 40) = > 40 > open("/usr/local/mysql/share/mysql/charsets/Index", > O_RDONLY|O_LARGEFILE) = 5 > fstat64(0x5, 0xbfffa6fc) = 0 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > -1, 0) = 0x40372000 > read(5, "# sql/share/charsets/Index\n#\n# T"..., 4096) = 549 > read(5, "", 4096) = 0 > close(5) = 0 > munmap(0x40372000, 4096) = 0 > write(4, "\v\0\0\1\205 \0\0\0*\0", 15) = 15 > read(4, "\3\0\0\2", 4) = 4 > read(4, "\0\0\0", 3) = 3 > fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 > read(4, 0x815b698, 8192) = -1 EAGAIN (Resource > temporarily unavailable) > fcntl(4, F_SETFL, O_RDWR) = 0 > write(4, "\16\0\0\0\2adtrader_0220", 18) = 18 > read(4, "\3\0\0\1", 4) = 4 > read(4, "\0\0\0", 3) = 3 > open("./session.inc", O_RDONLY) = -1 ENOENT (No such file or > directory) > open("/www/vhtdocs/adtrader3/includes//session.inc", O_RDONLY) = 5 > getcwd("/mnt/disk1/www/vhtdocs/adtrader3/htdocs", 4095) = 40 > lstat("/www", {st_mode=S_IFLNK|0777, st_size=9, ...}) = 0 > readlink("/www", "/raid/www", 4095) = 9 > lstat("/raid", {st_mode=S_IFLNK|0777, st_size=11, ...}) = 0 > readlink("/raid", "/mnt/disk1/", 4095) = 11 > lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs", {st_mode=S_IFDIR|0775, st_size=4096, > ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3", {st_mode=S_IFDIR|S_ISGID|0775, > st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/includes", > {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/includes/session.inc", > {st_mode=S_IFREG|0775, st_size=5961, ...}) = 0 > ioctl(5, TCGETS, 0xbfffc0e8) = -1 ENOTTY (Inappropriate ioctl > for device) > read(5, "<?php\r\n/************************"..., 8192) = 5961 > read(5, "", 2231) = 0 > brk(0x8189000) = 0x8189000 > brk(0x8199000) = 0x8199000 > read(5, "", 8192) = 0 > ioctl(5, TCGETS, 0xbfffb0f8) = -1 ENOTTY (Inappropriate ioctl > for device) > close(5) = 0 > gettimeofday({1000809165, 794953}, NULL) = 0 > open("/tmp/sess_0e2c0776c090dd0f4dc058c7f9e092fd", O_RDWR) = -1 ENOENT > (No such file or directory) > open("/tmp/sess_0e2c0776c090dd0f4dc058c7f9e092fd", > O_RDWR|O_CREAT|O_EXCL, 0600) = 5 > flock(5, LOCK_EX) = 0 > fstat(5, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 > lseek(5, 0, SEEK_SET) = 0 > read(5, "", 0) = 0 > time(NULL) = 1000809165 > open("./site.functions/func.get_site_id.inc", O_RDONLY) = -1 ENOENT (No > such file or directory) > open("/www/vhtdocs/adtrader3/includes//site.functions/func.get_site_id.i > nc", O_RDONLY) = 6 > getcwd("/mnt/disk1/www/vhtdocs/adtrader3/htdocs", 4095) = 40 > lstat("/www", {st_mode=S_IFLNK|0777, st_size=9, ...}) = 0 > readlink("/www", "/raid/www", 4095) = 9 > lstat("/raid", {st_mode=S_IFLNK|0777, st_size=11, ...}) = 0 > readlink("/raid", "/mnt/disk1/", 4095) = 11 > lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs", {st_mode=S_IFDIR|0775, st_size=4096, > ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3", {st_mode=S_IFDIR|S_ISGID|0775, > st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/includes", > {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/includes/site.functions", > {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/includes/site.functions/func.get > _site_id.inc", {st_mode=S_IFREG|0775, st_size=934, ...}) = 0 > ioctl(6, TCGETS, 0xbfffa464) = -1 ENOTTY (Inappropriate ioctl > for device) > read(6, "<?php\r\n/************************"..., 8192) = 934 > read(6, "", 7258) = 0 > read(6, "", 8192) = 0 > ioctl(6, TCGETS, 0xbfff9474) = -1 ENOTTY (Inappropriate ioctl > for device) > close(6) = 0 > gettimeofday({1000809165, 799970}, NULL) = 0 > fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 > read(4, 0x815b698, 8192) = -1 EAGAIN (Resource > temporarily unavailable) > fcntl(4, F_SETFL, O_RDWR) = 0 > write(4, "k\0\0\0\3SELECT site_id, site_desc F"..., 111) = 111 > read(4, "\1\0\0\1", 4) = 4 > read(4, "\2", 1) = 1 > read(4, "\30\0\0\2", 4) = 4 > read(4, "\5sites\7site_id\3\v\0\0\1\3\3)@\0", 24) = 24 > read(4, "\32\0\0\3", 4) = 4 > read(4, "\5sites\tsite_desc\3\200\0\0\1\375\3\t@\0", 26) = 26 > read(4, "\1\0\0\4", 4) = 4 > read(4, "\376", 1) = 1 > read(4, "\v\0\0\5", 4) = 4 > read(4, "\0011\10adtrader", 11) = 11 > read(4, "\1\0\0\6", 4) = 4 > read(4, "\376", 1) = 1 > gettimeofday({1000809165, 801958}, NULL) = 0 > open("./adtrader/config.inc", O_RDONLY) = -1 ENOENT (No such file or > directory) > open("/www/vhtdocs/adtrader3/includes//adtrader/config.inc", O_RDONLY) = > -1 ENOENT (No such file or directory) > open("/www/kernel//adtrader/config.inc", O_RDONLY) = -1 ENOENT (No such > file or directory) > open("/www/vhtdocs/adtrader3/sites//adtrader/config.inc", O_RDONLY) = 6 > getcwd("/mnt/disk1/www/vhtdocs/adtrader3/htdocs", 4095) = 40 > lstat("/www", {st_mode=S_IFLNK|0777, st_size=9, ...}) = 0 > readlink("/www", "/raid/www", 4095) = 9 > lstat("/raid", {st_mode=S_IFLNK|0777, st_size=11, ...}) = 0 > readlink("/raid", "/mnt/disk1/", 4095) = 11 > lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs", {st_mode=S_IFDIR|0775, st_size=4096, > ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3", {st_mode=S_IFDIR|S_ISGID|0775, > st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/sites", {st_mode=S_IFDIR|0775, > st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/sites/adtrader", > {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/sites/adtrader/config.inc", > {st_mode=S_IFREG|0775, st_size=4048, ...}) = 0 > ioctl(6, TCGETS, 0xbfffa5b0) = -1 ENOTTY (Inappropriate ioctl > for device) > read(6, "<?php\n/*************************"..., 8192) = 4048 > read(6, "", 4144) = 0 > read(6, "", 8192) = 0 > ioctl(6, TCGETS, 0xbfff95c0) = -1 ENOTTY (Inappropriate ioctl > for device) > close(6) = 0 > open("./adtrader/lang.inc", O_RDONLY) = -1 ENOENT (No such file or > directory) > open("/www/vhtdocs/adtrader3/includes//adtrader/lang.inc", O_RDONLY) = > -1 ENOENT (No such file or directory) > open("/www/kernel//adtrader/lang.inc", O_RDONLY) = -1 ENOENT (No such > file or directory) > open("/www/vhtdocs/adtrader3/sites//adtrader/lang.inc", O_RDONLY) = 6 > getcwd("/mnt/disk1/www/vhtdocs/adtrader3/htdocs", 4095) = 40 > lstat("/www", {st_mode=S_IFLNK|0777, st_size=9, ...}) = 0 > readlink("/www", "/raid/www", 4095) = 9 > lstat("/raid", {st_mode=S_IFLNK|0777, st_size=11, ...}) = 0 > readlink("/raid", "/mnt/disk1/", 4095) = 11 > lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs", {st_mode=S_IFDIR|0775, st_size=4096, > ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3", {st_mode=S_IFDIR|S_ISGID|0775, > st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/sites", {st_mode=S_IFDIR|0775, > st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/sites/adtrader", > {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/sites/adtrader/lang.inc", > {st_mode=S_IFREG|0764, st_size=6400, ...}) = 0 > ioctl(6, TCGETS, 0xbfffa5b0) = -1 ENOTTY (Inappropriate ioctl > for device) > read(6, "<?php\n/*************************"..., 8192) = 6400 > read(6, "", 1792) = 0 > brk(0x819a000) = 0x819a000 > read(6, "", 8192) = 0 > ioctl(6, TCGETS, 0xbfff95c0) = -1 ENOTTY (Inappropriate ioctl > for device) > close(6) = 0 > open("./functions/func.tpl.inc", O_RDONLY) = -1 ENOENT (No such file or > directory) > open("/www/vhtdocs/adtrader3/includes//functions/func.tpl.inc", > O_RDONLY) = -1 ENOENT (No such file or directory) > open("/www/kernel//functions/func.tpl.inc", O_RDONLY) = 6 > getcwd("/mnt/disk1/www/vhtdocs/adtrader3/htdocs", 4095) = 40 > lstat("/www", {st_mode=S_IFLNK|0777, st_size=9, ...}) = 0 > readlink("/www", "/raid/www", 4095) = 9 > lstat("/raid", {st_mode=S_IFLNK|0777, st_size=11, ...}) = 0 > readlink("/raid", "/mnt/disk1/", 4095) = 11 > lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/kernel", {st_mode=S_IFDIR|S_ISGID|0775, > st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/kernel/functions", {st_mode=S_IFDIR|S_ISGID|0775, > st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/kernel/functions/func.tpl.inc", > {st_mode=S_IFREG|0764, st_size=5086, ...}) = 0 > ioctl(6, TCGETS, 0xbfffc0e8) = -1 ENOTTY (Inappropriate ioctl > for device) > read(6, "<?php\n/*************************"..., 8192) = 5086 > read(6, "", 3106) = 0 > brk(0x819e000) = 0x819e000 > brk(0x81a2000) = 0x81a2000 > read(6, "", 8192) = 0 > ioctl(6, TCGETS, 0xbfffb0f8) = -1 ENOTTY (Inappropriate ioctl > for device) > close(6) = 0 > open("./page.cache.prepend.inc", O_RDONLY) = -1 ENOENT (No such file or > directory) > open("/www/vhtdocs/adtrader3/includes//page.cache.prepend.inc", > O_RDONLY) = 6 > getcwd("/mnt/disk1/www/vhtdocs/adtrader3/htdocs", 4095) = 40 > lstat("/www", {st_mode=S_IFLNK|0777, st_size=9, ...}) = 0 > readlink("/www", "/raid/www", 4095) = 9 > lstat("/raid", {st_mode=S_IFLNK|0777, st_size=11, ...}) = 0 > readlink("/raid", "/mnt/disk1/", 4095) = 11 > lstat("/mnt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs", {st_mode=S_IFDIR|0775, st_size=4096, > ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3", {st_mode=S_IFDIR|S_ISGID|0775, > st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/includes", > {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > lstat("/mnt/disk1/www/vhtdocs/adtrader3/includes/page.cache.prepend.inc" > , {st_mode=S_IFREG|0775, st_size=463, ...}) = 0 > ioctl(6, TCGETS, 0xbfffc0e8) = -1 ENOTTY (Inappropriate ioctl > for device) > read(6, "<?php\n/*************************"..., 8192) = 463 > read(6, "", 7729) = 0 > read(6, "", 8192) = 0 > ioctl(6, TCGETS, 0xbfffb0f8) = -1 ENOTTY (Inappropriate ioctl > for device) > close(6) = 0 > brk(0x81ad000) = 0x81ad000 > chdir("/") = 0 > --- SIGSEGV (Segmentation fault) --- > chdir("/etc/httpd") = 0 > rt_sigaction(SIGSEGV, {SIG_DFL}, {SIG_DFL}, 8) = 0 > getpid() = 28188 > kill(28188, SIGSEGV) = 0 > sigreturn() = ? (mask now []) > --- SIGSEGV (Segmentation fault) --- > > > > -- > Richard Heyes > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > Derick Rethans --------------------------------------------------------------------- PHP: Scripting the Web - www.php.net - derick@php.net SRM: Site Resource Manager - www.vl-srm.net ---------------------------------------------------------------------

« previous php.dev (#66176) next »