httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark <m...@node.to>
Subject [users@httpd] SIGSEGV in apr_proc_mutex_trylock on FreeBSD 4.7
Date Mon, 04 Nov 2002 19:28:02 GMT
I've tried using both FCNTL and SYSVSEM locks, but either way I get a 
segfault when trying "apr_proc_mutex_trylock" on the mutex.

Both lock and unlock work, and I'm passing the same arguement in the same context
. Here is the stack trace I get:

Program received signal SIGSEGV, Segmentation fault.
0x0 in ?? ()
(gdb) bt 
#0  0x0 in ?? ()
#1  0x281133ae in apr_proc_mutex_trylock (mutex=0x81581e8) at proc_mutex.c:917
..
#6  0x80854b7 in ap_run_handler (r=0x815e050) at config.c:194
#7  0x8085b2b in ap_invoke_handler (r=0x815e050) at config.c:401
#8  0x8073c33 in ap_process_request (r=0x815e050) at http_request.c:288
#9  0x806eeee in ap_process_http_connection (c=0x815a120) at http_core.c:293
#10 0x808fd7b in ap_run_process_connection (c=0x815a120) at connection.c:85
#11 0x8090088 in ap_process_connection (c=0x815a120, csd=0x815a050)
    at connection.c:207
#12 0x8083eac in child_main (child_num_arg=0) at prefork.c:696
#13 0x8083f76 in make_child (s=0x80c8cf0, slot=0) at prefork.c:736
#14 0x8084083 in startup_children (number_to_start=5) at prefork.c:808
#15 0x80843f2 in ap_mpm_run (_pconf=0x80c6018, plog=0x8102018, s=0x80c8cf0)
    at prefork.c:1024
#16 0x808a4c9 in main (argc=2, argv=0xbfbffb54) at main.c:643
#17 0x805c5e5 in _start ()

where ... is my handler code.


Any thoughts on this?

--mark


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message