Hi,

I'm trying to get peruser working on our environment, but I'm only 
getting segfaults. I've looked around but couldn't figure out what's 
causing it. There is nothing in the logs that gives me a hint about 
peruser, so I've ran it through gdb.

i'd appreciate any hints as to where to look, as I'm unsure where to 
look. GDB output and apache error logs follow.

Thanks!

infernix



Here's the GDB output:

[EMAIL PROTECTED] bin]# gdb httpd
GNU gdb Red Hat Linux (6.3.0.0-1.153.el4_6.2rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host 
libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run -X
Starting program: /usr/local/apache/bin/httpd -X
[Thread debugging using libthread_db enabled]
[New Thread -1208396096 (LWP 13078)]
[Tue May 13 15:12:17 2008] [warn] pid file 
/usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of 
previous Apache run?

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208396096 (LWP 13078)]
0x080cc434 in peruser_post_read (r=0x98648d0) at peruser.c:2742
2742            processor = &CHILD_INFO_TABLE[sconf->senv->processor_id];
(gdb) bt full
#0  0x080cc434 in peruser_post_read (r=0x98648d0) at peruser.c:2742
         retval = Variable "retval" is not available.
(gdb) bt
#0  0x080cc434 in peruser_post_read (r=0x98648d0) at peruser.c:2742
#1  0x0806d886 in ap_run_post_read_request (r=0x98648d0) at protocol.c:1636
#2  0x0806dd67 in ap_read_request (conn=0x985aa48) at protocol.c:1011
#3  0x080ae794 in ap_process_http_connection (c=0x985aa48) at 
http_core.c:202
#4  0x0807d752 in ap_run_process_connection (c=0x985aa48) at connection.c:43
#5  0x080c9cfe in child_main (child_num_arg=Variable "child_num_arg" is 
not available.
) at peruser.c:1035
#6  0x080ca85b in make_child (s=0x9762dd8, slot=0) at peruser.c:1954
#7  0x080cb716 in ap_mpm_run (_pconf=0x975b0a8, plog=0x97a91e0, 
s=0x9762dd8) at peruser.c:2063
#8  0x080685ac in main (argc=2, argv=0xbff90734) at main.c:717

Apache error log:

[Tue May 13 15:04:58 2008] [info] mod_unique_id: using ip addr 81.4.88.56
[Tue May 13 15:04:59 2008] [info] Init: Initialized OpenSSL library
[Tue May 13 15:04:59 2008] [info] Init: Seeding PRNG with 136 bytes of 
entropy
[Tue May 13 15:04:59 2008] [info] Init: Generating temporary RSA private 
keys (512/1024 bits)
[Tue May 13 15:04:59 2008] [info] Init: Generating temporary DH 
parameters (512/1024 bits)
[Tue May 13 15:04:59 2008] [debug] ssl_scache_dbm.c(409): Inter-Process 
Session Cache (DBM) Expiry: old: 0, new: 0, removed: 0
[Tue May 13 15:04:59 2008] [info] Init: Initializing (virtual) servers 
for SSL
[Tue May 13 15:04:59 2008] [info] Server: Apache/2.2.3, Interface: 
mod_ssl/2.2.3, Library: OpenSSL/0.9.7a
[Tue May 13 15:04:59 2008] [info] mod_unique_id: using ip addr 81.4.88.56
[Tue May 13 15:05:00 2008] [info] Init: Initialized OpenSSL library
[Tue May 13 15:05:00 2008] [info] Init: Seeding PRNG with 136 bytes of 
entropy
[Tue May 13 15:05:00 2008] [info] Init: Generating temporary RSA private 
keys (512/1024 bits)
[Tue May 13 15:05:00 2008] [info] Init: Generating temporary DH 
parameters (512/1024 bits)
[Tue May 13 15:05:00 2008] [info] Init: Initializing (virtual) servers 
for SSL
[Tue May 13 15:05:00 2008] [info] Server: Apache/2.2.3, Interface: 
mod_ssl/2.2.3, Library: OpenSSL/0.9.7a
[Tue May 13 15:05:00 2008] [notice] Apache/2.2.3 (Unix) mod_ssl/2.2.3 
OpenSSL/0.9.7a configured -- resuming normal operations
[Tue May 13 15:05:00 2008] [info] Server built: May 13 2008 11:13:35
[Tue May 13 15:05:00 2008] [debug] peruser.c(2240): AcceptMutex: sysvsem 
(default: sysvsem)
[Tue May 13 15:05:01 2008] [debug] proxy_util.c(1625): proxy: grabbed 
scoreboard slot 0 in child 12981 for worker proxy:reverse
[Tue May 13 15:05:01 2008] [debug] proxy_util.c(1724): proxy: 
initialized single connection worker 0 in child 12981 for (*)
[Tue May 13 15:05:02 2008] [notice] child pid 12981 exit signal 
Segmentation fault (11)
[Tue May 13 15:05:02 2008] [debug] proxy_util.c(1625): proxy: grabbed 
scoreboard slot 0 in child 12995 for worker proxy:reverse
[Tue May 13 15:05:02 2008] [debug] proxy_util.c(1644): proxy: worker 
proxy:reverse already initialized
[Tue May 13 15:05:02 2008] [debug] proxy_util.c(1724): proxy: 
initialized single connection worker 0 in child 12995 for (*)
[Tue May 13 15:05:09 2008] [notice] child pid 12995 exit signal 
Segmentation fault (11)
[Tue May 13 15:05:09 2008] [debug] proxy_util.c(1625): proxy: grabbed 
scoreboard slot 0 in child 12998 for worker proxy:reverse
[Tue May 13 15:05:09 2008] [debug] proxy_util.c(1644): proxy: worker 
proxy:reverse already initialized
[Tue May 13 15:05:09 2008] [debug] proxy_util.c(1724): proxy: 
initialized single connection worker 0 in child 12998 for (*)
[Tue May 13 15:05:17 2008] [notice] child pid 12998 exit signal 
Segmentation fault (11)
[Tue May 13 15:05:17 2008] [debug] proxy_util.c(1625): proxy: grabbed 
scoreboard slot 0 in child 12999 for worker proxy:reverse
[Tue May 13 15:05:17 2008] [debug] proxy_util.c(1644): proxy: worker 
proxy:reverse already initialized
[Tue May 13 15:05:17 2008] [debug] proxy_util.c(1724): proxy: 
initialized single connection worker 0 in child 12999 for (*)
[Tue May 13 15:05:17 2008] [notice] child pid 12999 exit signal 
Segmentation fault (11)


_______________________________________________
Peruser mailing list
[email protected]
http://www.telana.com/mailman/listinfo/peruser

Reply via email to