Re: vanilla install failure 1.3.12/1.22/5.6.0
On Sun, 23 Apr 2000 [EMAIL PROTECTED] wrote: Program received signal SIGSEGV, Segmentation fault. 0x806412e in perl_handler (r=0x8727d9c) at mod_perl.c:844 844 dPPREQ; seems the common element in both of these reports is ssl. i'll build a mod_perl+mod_ssl mix, so long as i can reproduce the problem, i'll have a patch soon..
Re: vanilla install failure 1.3.12/1.22/5.6.0
Hope this helps... GNU gdb 19991004 (gdb) httpd Program received signal SIGSEGV, Segmentation fault. 0x806412e in perl_handler (r=0x8727d9c) at mod_perl.c:844 844 dPPREQ; (gdb) bt #0 0x806412e in perl_handler (r=0x8727d9c) at mod_perl.c:844 #1 0x8097e23 in ap_invoke_handler (r=0x8727d9c) at http_config.c:508 #2 0x80ab309 in process_request_internal (r=0x8727d9c) at http_request.c:1215 #3 0x80ab772 in ap_internal_redirect_handler ( new_uri=0x8727d7c "/perl/action.pl/LoadClass.pm", r=0x872704c) at http_request.c:1351 #4 0x80909b1 in action_handler (r=0x872704c) at mod_actions.c:255 #5 0x8097e96 in ap_invoke_handler (r=0x872704c) at http_config.c:520 #6 0x80ab309 in process_request_internal (r=0x872704c) at http_request.c:1215 #7 0x80ab36c in ap_process_request (r=0x872704c) at http_request.c:1231 #8 0x80a2c4e in child_main (child_num_arg=0) at http_main.c:4177 #9 0x80a2ddc in make_child (s=0x818b404, slot=0, now=956521954) at http_main.c:4281 #10 0x80a2f39 in startup_children (number_to_start=5) at http_main.c:4363 #11 0x80a3566 in standalone_main (argc=4, argv=0xbb94) at http_main.c:4651 #12 0x80a3cf3 in main (argc=4, argv=0xbb94) at http_main.c:4978 (gdb) print *r $1 = {pool = 0x8727024, connection = 0x8726014, server = 0x818b404, next = 0x0, prev = 0x872704c, main = 0x0, the_request = 0x872773c "GET /LoadClass.pm HTTP/1.0", assbackwards = 0, proxyreq = NOT_PROXY, header_only = 0, protocol = 0x8727794 "HTTP/1.0", proto_num = 1000, hostname = 0x8727984 "localhost", request_time = 956521956, status_line = 0x0, status = 200, method = 0x872775c "GET", method_number = 0, allowed = 0, sent_bodyct = 0, bytes_sent = 0, mtime = 0, chunked = 0, byterange = 0, boundary = 0x0, range = 0x0, clength = 0, remaining = 0, read_length = 0, read_body = 0, read_chunked = 0, expecting_100 = 0, headers_in = 0x87271a4, headers_out = 0x8728084, err_headers_out = 0x872756c, subprocess_env = 0x87280fc, notes = 0x87282a4, content_type = 0x0, handler = 0x8508644 "perl-script", content_encoding = 0x0, content_language = 0x0, content_languages = 0x0, vlist_validator = 0x0, no_cache = 0, no_local_copy = 0, unparsed_uri = 0x8727ef4 "/perl/action.pl/LoadClass.pm", uri = 0x8727f14 "/perl/action.pl/LoadClass.pm", filename = 0x87285e4 "/work/mod_perl-1.22/t/net/perl/action.pl", path_info = 0x872861c "/LoadClass.pm", args = 0x0, finfo = {st_dev = 2053, __pad1 = 0, st_ino = 3957, st_mode = 33261, st_nlink = 1, st_uid = 1000, st_gid = 100, st_rdev = 0, __pad2 = 0, st_size = 17592186044530, st_blksize = 8, st_blocks = 956521953, st_atime = 946518392, __unused1 = 0, st_mtime = 956245011, __unused2 = 0, st_ctime = 0, __unused3 = 0, __unused4 = 0, __unused5 = 0}, parsed_uri = {scheme = 0x0, hostinfo = 0x0, user = 0x0, password = 0x0, hostname = 0x8727f14 "/perl/action.pl/LoadClass.pm", port_str = 0x0, path = 0x0, query = 0x0, fragment = 0x1 Address 0x1 out of bounds, hostent = 0x8728a84, port = 32564, is_initialized = 0, dns_looked_up = 1, dns_resolved = 0}, per_dir_config = 0x872891c, request_config = 0x7265702f, htaccess = 0x63612f6c} (gdb) print perl_module $2 = {version = 19990320, minor_version = 7, module_index = 18, name = 0x814fccf "mod_perl.c", dynamic_load_handle = 0x0, next = 0x8179960, magic = 1095774515, init = 0x80632e4 perl_module_init, create_dir_config = 0x8065da8 perl_create_dir_config, merge_dir_config = 0x8065b8c perl_merge_dir_config, create_server_config = 0x8065f44 perl_create_server_config, merge_server_config = 0x8065e34 perl_merge_server_config, cmds = 0x8178d64, handlers = 0x8178f2c, translate_handler = 0, ap_check_user_id = 0, auth_checker = 0, access_checker = 0, type_checker = 0, fixer_upper = 0, logger = 0, header_parser = 0, child_init = 0x806441c perl_child_init, child_exit = 0, post_read_request = 0} (gdb) quit The program is running. Exit anyway? (y or n) On Thu, Apr 20, 2000 at 10:58:56PM -0700, Doug MacEachern wrote: On Thu, 20 Apr 2000 [EMAIL PROTECTED] wrote: Hi, After much fast progress buiding a new machine, I'm stuck. This is a vanilla RH6.2 box with almost nothing on it.. no residue from RPM perl or httpd (deselected at machine blast time). I've built perl 5.6.0 (all tested out ok), also built apache 1.3.12 both with and without Ben-SSL (all tested out ok). The most basic Modperl 1.22 install attempt fails though: just with a simple perl Makefile.PL and let it build vanilla httpd next door. It builds a binary, and make test starts it, chucks a few requests and it core dumps. The trace is below, followed at the end by the perl -V output. The segfault comes in the third test .. "GET LoadClass.pm", just after it looks around for some .htaccess files if you could build mod_perl with PERL_DEBUG=1, then in mod_perl-1.22 run: % gdb ../apache-x.x.x/src/httpd (gdb) httpd
vanilla install failure 1.3.12/1.22/5.6.0
After much fast progress buiding a new machine, I'm stuck. This is a vanilla RH6.2 box with almost nothing on it.. no residue from RPM perl or httpd (deselected at machine blast time). I've built perl 5.6.0 (all tested out ok), also built apache 1.3.12 both with and without Ben-SSL (all tested out ok). The most basic Modperl 1.22 install attempt fails though: just with a simple perl Makefile.PL and let it build vanilla httpd next door. It builds a binary, and make test starts it, chucks a few requests and it core dumps. The trace is below, followed at the end by the perl -V output. The segfault comes in the third test .. "GET LoadClass.pm", just after it looks around for some .htaccess files There isnt any sign in the errorlog. help!? thanks -Justin accept(16, {sin_family=AF_INET, sin_port=htons(1512), sin_addr=inet_addr("127.0.0.1")}}, [16]) = 3 fcntl(18, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0 rt_sigaction(SIGUSR1, {SIG_IGN}, {0x80a05b4, [], SA_INTERRUPT|0x400}, 8) = 0 getsockname(3, {sin_family=AF_INET, sin_port=htons(8529), sin_addr=inet_addr("127.0.0.1")}}, [16]) = 0 setsockopt(3, IPPROTO_TCP1, [1], 4) = 0 brk(0x8728000) = 0x8728000 alarm(300) = 0 read(3, "GET /test.html HTTP/1.0\r\nHost: l"..., 4096) = 79 rt_sigaction(SIGUSR1, {SIG_IGN}, {SIG_IGN}, 8) = 0 time(NULL) = 956256085 alarm(300) = 300 alarm(0)= 300 stat("/work/mod_perl-1.22/t/docs/test.html", {st_mode=S_IFREG|0644, st_size=566, ...}) = 0 open("/work/mod_perl-1.22/t/.htaccess", O_RDONLY) = -1 ENOENT (No such file or directory) open("/work/mod_perl-1.22/t/docs/.htaccess", O_RDONLY) = -1 ENOENT (No such file or directory) open("/work/mod_perl-1.22/t/docs/test.html", O_RDONLY) = 4 old_mmap(NULL, 566, PROT_READ, MAP_PRIVATE, 4, 0) = 0x401de000 alarm(300) = 0 alarm(0)= 300 alarm(300) = 0 alarm(300) = 300 alarm(0)= 300 close(4)= 0 select(4, [3], NULL, NULL, {0, 0}) = 0 (Timeout) write(3, "HTTP/1.1 200 OK\r\nDate: Thu, 20 A"..., 838) = 838 time(NULL) = 956256085 write(17, "127.0.0.1 - - [20/Apr/2000:14:41"..., 77) = 77 alarm(30) = 0 shutdown(3, 1 /* send */) = 0 select(4, [3], NULL, NULL, {2, 0}) = 1 (in [3], left {2, 0}) read(3, "", 512)= 0 close(3)= 0 alarm(0)= 30 rt_sigaction(SIGUSR1, {0x80a05b4, [], SA_INTERRUPT|0x400}, {SIG_IGN}, 8) = 0 alarm(0)= 0 munmap(0x401de000, 566) = 0 fcntl(18, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0 accept(16, {sin_family=AF_INET, sin_port=htons(1513), sin_addr=inet_addr("127.0.0.1")}}, [16]) = 3 fcntl(18, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0 rt_sigaction(SIGUSR1, {SIG_IGN}, {0x80a05b4, [], SA_INTERRUPT|0x400}, 8) = 0 getsockname(3, {sin_family=AF_INET, sin_port=htons(8529), sin_addr=inet_addr("127.0.0.1")}}, [16]) = 0 setsockopt(3, IPPROTO_TCP1, [1], 4) = 0 alarm(300) = 0 read(3, "GET /test.html HTTP/1.0\r\nHost: l"..., 4096) = 79 rt_sigaction(SIGUSR1, {SIG_IGN}, {SIG_IGN}, 8) = 0 time(NULL) = 956256085 alarm(300) = 300 alarm(0)= 300 stat("/work/mod_perl-1.22/t/docs/test.html", {st_mode=S_IFREG|0644, st_size=566, ...}) = 0 open("/work/mod_perl-1.22/t/.htaccess", O_RDONLY) = -1 ENOENT (No such file or directory) open("/work/mod_perl-1.22/t/docs/.htaccess", O_RDONLY) = -1 ENOENT (No such file or directory) open("/work/mod_perl-1.22/t/docs/test.html", O_RDONLY) = 4 old_mmap(NULL, 566, PROT_READ, MAP_PRIVATE, 4, 0) = 0x401de000 alarm(300) = 0 alarm(0)= 300 alarm(300) = 0 alarm(300) = 300 alarm(0)= 300 close(4)= 0 select(4, [3], NULL, NULL, {0, 0}) = 0 (Timeout) write(3, "HTTP/1.1 200 OK\r\nDate: Thu, 20 A"..., 838) = 838 time(NULL) = 956256085 write(17, "127.0.0.1 - - [20/Apr/2000:14:41"..., 77) = 77 alarm(30) = 0 shutdown(3, 1 /* send */) = 0 select(4, [3], NULL, NULL, {2, 0}) = 1 (in [3], left {2, 0}) read(3, "", 512)= 0 close(3)= 0 alarm(0)= 30 rt_sigaction(SIGUSR1, {0x80a05b4, [], SA_INTERRUPT|0x400}, {SIG_IGN}, 8) = 0 alarm(0)= 0 munmap(0x401de000, 566) =
Re: vanilla install failure 1.3.12/1.22/5.6.0
On Thu, 20 Apr 2000 [EMAIL PROTECTED] wrote: Hi, After much fast progress buiding a new machine, I'm stuck. This is a vanilla RH6.2 box with almost nothing on it.. no residue from RPM perl or httpd (deselected at machine blast time). I've built perl 5.6.0 (all tested out ok), also built apache 1.3.12 both with and without Ben-SSL (all tested out ok). The most basic Modperl 1.22 install attempt fails though: just with a simple perl Makefile.PL and let it build vanilla httpd next door. It builds a binary, and make test starts it, chucks a few requests and it core dumps. The trace is below, followed at the end by the perl -V output. The segfault comes in the third test .. "GET LoadClass.pm", just after it looks around for some .htaccess files if you could build mod_perl with PERL_DEBUG=1, then in mod_perl-1.22 run: % gdb ../apache-x.x.x/src/httpd (gdb) httpd and in another window in the mod_perl-1.22 directory run: % make run_tests then send the output of: (gdb) bt