|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-11-14 06:01 UTC] jmaguire123 at hotmail dot com
Description: ------------ I know this issue has been seen and fixed in other versions, but I am seeing this in both php5.0.5 and the 11/14 snapshot. Linux Fedora, core 4. stock httpd 2.0.55 built from source. I have custom 404 errordocument directive in my httpd.conf file which points to .php script. 404 the causes segmentation fault. Any help is greatly appreciated. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 16:00:01 2025 UTC |
apache 2.0.55(source), php 4.4.1(source), FC2. exactly the same problem as described above. apache only segfaults when errordocument page is set to a file. tried php and html extensions. when errordocument is set to some text message: i.e. ErrorDocument 403 "page doesn't exist" all is fine. related strace output: [pid 12688] getsockname(9, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("local_ip")}, [16]) = 0 [pid 12688] fcntl64(9, F_GETFL) = 0x2 (flags O_RDWR) [pid 12688] fcntl64(9, F_SETFL, O_RDWR|O_NONBLOCK) = 0 [pid 12688] read(9, "GET /asdfdasfd HTTP/1.1\r\nAccept:"..., 8000) = 416 [pid 12688] gettimeofday({1132605779, 447411}, NULL) = 0 [pid 12688] stat64("path_to_nonexistent_file", 0xbff19abc) = -1 ENOENT (No such file or directory) [pid 12688] lstat64("/www", {st_mode=S_IFDIR|0755, st_size=440, ...}) = 0 [pid 12688] lstat64("path_to_dir_three_levels_up_from_nonexistent_file", {st_mode=S_IFDIR|0755, st_size=136, ...}) = 0 [pid 12688] lstat64("path_to_dir_two_levels_up_from_nonexistent_file", {st_mode=S_IFDIR|0755, st_size=72, ...}) = 0 [pid 12688] lstat64("path_to_dir_where_nonexistent_file_is", {st_mode=S_IFDIR|0755, st_size=176, ...}) = 0 [pid 12688] lstat64("path_to_nonexistent_file", 0xbff19a9c) = -1 ENOENT (No such file or directory) [pid 12688] gettimeofday({1132605779, 452037}, NULL) = 0 [pid 12688] write(7, "[Mon Nov 21 12:42:59 2005] [erro"..., 135) = 135 [pid 12688] stat64("path_to_404.html", {st_mode=S_IFREG|0644, st_size=1572, ...}) = 0 [pid 12688] lstat64("path_to_404.html", {st_mode=S_IFREG|0644, st_size=1572, ...}) = 0 [pid 12688] --- SIGSEGV (Segmentation fault) @ 0 (0) --- [pid 12688] chdir("/www") = 0 [pid 12688] rt_sigaction(SIGSEGV, {SIG_DFL}, {SIG_DFL}, 8) = 0 [pid 12688] kill(12688, SIGSEGV) = 0 [pid 12688] sigreturn() = ? (mask now []) [pid 12688] --- SIGSEGV (Segmentation fault) @ 0 (0) --- Process 12688 detached