You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/04/26 03:02:41 UTC
DO NOT REPLY [Bug 8537] New: -
Creating proc pthread mutex
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8537>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8537
Creating proc pthread mutex
Summary: Creating proc pthread mutex
Product: APR
Version: HEAD
Platform: HP
OS/Version: HP-UX
Status: NEW
Severity: Normal
Priority: Other
Component: APR
AssignedTo: bugs@httpd.apache.org
ReportedBy: matanya@bridgeport.edu
All started when I tried to setup Apache(mpm=worker) with mod_ssl on HPUX 11i.
mod_ssl complained about SSLMutex 'null', and when I set it up in the config
It complained "Could not create file...". After a day of debugging I ended up
in srclib/apr/locks/unix/proc_mutex.c.
The function proc_mutex_proc_pthread_create(...) uses /dev/zero as input to
a call to mmap(...). This call fails with "Device not found" error. The mmap
manpage states specifically:
The mmap() function is supported for regular files. Support for any
other type of file is unspecified.
Seems like this was overlooked by whoever did this, and some OS's are able to
mmap on special devices. I worked around this by forcing libapr to default to
other locking system, but this should probably be revised by a more
knowledgeable programmer than me.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org