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/09/18 10:53:04 UTC
DO NOT REPLY [Bug 12760] New: -
First call of getservbyname in module causes segm fault
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=12760>.
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=12760
First call of getservbyname in module causes segm fault
Summary: First call of getservbyname in module causes segm fault
Product: Apache httpd-2.0
Version: 2.0.40
Platform: Other
OS/Version: Linux
Status: NEW
Severity: Major
Priority: Other
Component: Core
AssignedTo: bugs@httpd.apache.org
ReportedBy: uwe@steinmann.cx
I tried both catacomb (web dav with mysql as an repos) and php4
as an apache module. Both show the same error when getservbyname()
is called.
#0 0x00000000 in ?? ()
#1 0x0ed61690 in _nss_db_getspnam_r () from /lib/libnss_db.so.2
#2 0x0ed61794 in _nss_db_getspnam_r () from /lib/libnss_db.so.2
#3 0x0ed60afc in _nss_db_endservent () from /lib/libnss_db.so.2
#4 0x0ed60eb0 in _nss_db_getservbyname_r () from /lib/libnss_db.so.2
#5 0x0fb4ddb4 in getservbyname_r () from /lib/libc.so.6
#6 0x0fb4dbfc in getservbyname () from /lib/libc.so.6
In catacomb getservbyname() is called within mysql_init() which
itself is called when the module is initialized.
To verify this behaviour I tried php4 with mysql support. This one
shows the same behaviour, though the call to getservbyname() isn't
done be mysql_init() but earlier in php right before calling mysql_init().
I can verify this for apache 2.0.40 and 2.0.36. I used two different
versions of mysql as well (one of them self compiled).
My system is GNU/Debian Linux for PPC (stable and some stuff from testing)
glibc 2.2.5-14
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org