The following reply was made to PR mod_jserv/5420; it has been noted by GNATS.
From: Ed Korthof <[EMAIL PROTECTED]> To: Thierry Delaitre <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Re: mod_jserv/5420: Segmentation Fault Date: Fri, 10 Dec 1999 15:21:45 -0800 (PST) ok ... well, we're closer. there's a problem either before or at the point when the module is loaded as a DSO -- before any JServ code has run. given that, it seems unlikely that JServ is the source of your problem -- unless the problem is our compiler options. can you compile and use any other DSOs? can you start the webserver if you compile JServ in statically? when you compile or load JServ, do you see any warnings about relocatable code? you could try adding -fpic or -fPIC to your CFLAGS -- if one or the other isn't not already there, and it solves the problem, it's something we should look into adding (dep on system and/or compiler). (pic stands for position independant code; from the man pages, the main difference seems to be that -fPIC is more insistent about it.) thanks -- ed On Fri, 10 Dec 1999, Thierry Delaitre wrote: [snip] > Please find the output below. > > ************************* > Starting program: /rhino_local/apache-internet/bin/httpd -X -f > /rhino_local/apache-internet/conf/httpd.conf > > Breakpoint 1, ap_os_dso_load ( > path=0xe9658 "/rhino_local/apache-internet/libexec/mod_jserv.so") at > os.c:117 > 117 return dlopen(path, RTLD_NOW | RTLD_GLOBAL); > (gdb) p jserv_module > No symbol "jserv_module" in current context. > (gdb) n > 119 } > (gdb) p jserv_module > $6 = {version = 19990320, minor_version = 6, module_index = -1, > name = 0x5b93f0 <Address 0x5b93f0 out of bounds>, dynamic_load_handle > =0x0, > next = 0x0, magic = 1095774515, init = 0x5a8cbc, create_dir_config = 0, > merge_dir_config = 0, create_server_config = 0x5a6058, > merge_server_config = 0x5a61b0, cmds = 0x5cee90, handlers = 0x5cee70, > translate_handler = 0x5a94bc, ap_check_user_id = 0, auth_checker = 0, > access_checker = 0, type_checker = 0x5a965c, fixer_upper = 0, logger =0, > header_parser = 0, child_init = 0x5a8e30, child_exit = 0,post_read_request > = 0} > (gdb) > *************************