Hi All,

The combination of Apache + PHP + FreeTDS I use under 3.2-Release without
problems, segfaults when it's built and run under -current (current as of
about 2 weeks ago).

i.e. I get "Segmentation fault - core dumped" when I try to run it. If I try
to run gdb through the core file, that also segfaults as well, and dies... :(

I'm no expert on debugging things, hence this email... By running httpd with
gdb, I get the following output:

"
Program received signal SIGSEGV, Segmentation fault.
0x281c0177 in strncpy () from /usr/lib/libc.so.3
(gdb) bt
#0  0x281c0177 in strncpy () from /usr/lib/libc.so.3
#1  0x2812de51 in tds_set_server (tds_login=0x6374652f, server=0x0)
    at login.c:57
#2  0x2812a3b9 in dbopen (login=0x281d894b, server=0x0) at dblib.c:398
#3  0x28199118 in endpwent () from /usr/lib/libc.so.3
#4  0x28198e83 in getpwnam () from /usr/lib/libc.so.3
#5  0x80c2185 in ap_uname2id (name=0x8101dc8 "nobody") at util.c:1799
#6  0x80ad4b1 in init_config_globals (p=0x815b00c) at http_config.c:1388
#7  0x80ad754 in ap_read_config (p=0x815b00c, ptemp=0x815e00c,
    confname=0x81575a0 "/usr/local/etc/apache/conf/httpd.conf")
    at http_config.c:1466
#8  0x80b6f26 in main (argc=3, argv=0xbfbfdba4) at http_main.c:4574
"

Anyone got any suggestions as to why it builds and runs under 3.2, builds and
faults under 4.0-current?. If I copy the httpd built on 3.2 and run that on
-current, it also segfaults...

Any suggestions where to go next? (i.e. who I should be talking to, the
FreeBSD people, the Apache people, the PHP people, or the FreeTDS people?)

The machine running this isn't production, but it does get very busy when it
is used... It would have been nice to keep it as 4.0, but if I can't get it to
build and run at all, I'll have to back it down to 3.2-Release...

The machine is a P2-450, w/512mb RAM. The 3.2-Release box is a Pentium 233
with 64Mb of RAM. If it can't be fixed, or no one has any time I'll just back
the box down to 3.2 - I just thought it would be nice to try :)

Thanks,

-Karl


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to