Hi,

I'm building a new box (FreeBSD 4.0-RELEASE, w/ 5.005_03) with a largely
DSO-driven Apache.  I've got mod_perl 1.24 built as a DSO, and it runs fine.

[Since this is a production box located about 100 miles from me, maintained
over a modem(!) I'd really rather not reinstall Perl.. 5.005_03's what comes
out of the box with FreeBSD 4.0-RELEASE, and I'm trying to keep this machine
as generic as possible.   Mod_perl's going in as a DSO because I'm using the
same basic apache build for 4 jails -- some with mod_perl, some without.]

However, when I add in a few other DSOs, httpd coredumps.  The gdb output
for httpd -X:

-----
Program received signal SIGSEGV, Segmentation fault.
0x2810d654 in tzset () from /usr/lib/libc.so.4
(gdb) bt
#0  0x2810d654 in tzset () from /usr/lib/libc.so.4
#1  0x2810d76b in localtime () from /usr/lib/libc.so.4
#2  0x2810dc25 in ctime () from /usr/lib/libc.so.4
#3  0x2812b8f2 in .cerror () from /usr/lib/libc.so.4
#4  0x2825cd21 in _thread_fd_lock_debug () from /usr/lib/libc_r.so.4
#5  0x2825a5ee in ioctl () from /usr/lib/libc_r.so.4
#6  0x2812b356 in tcgetattr () from /usr/lib/libc.so.4
#7  0x281299c6 in isatty () from /usr/lib/libc.so.4
#8  0x28129106 in __smakebuf () from /usr/lib/libc.so.4
#9  0x281197c3 in __srefill () from /usr/lib/libc.so.4
#10 0x281196a0 in __srget () from /usr/lib/libc.so.4
#11 0x2833e2c5 in Perl_sv_gets () from /usr/lib/libperl.so.3
#12 0x283647b1 in Perl_filter_read () from /usr/lib/libperl.so.3
#13 0x2836586f in Perl_yylex () from /usr/lib/libperl.so.3
#14 0x28360178 in Perl_yyparse () from /usr/lib/libperl.so.3
#15 0x2837871d in perl_parse () from /usr/lib/libperl.so.3
#16 0x282c2b1c in perl_startup () from /app/pkg/apache/libexec/libperl.so
#17 0x282c2643 in perl_module_init () from/app/pkg/apache/libexec/libperl.so
#18 0x8055dc8 in ap_init_modules ()
#19 0x806018b in main ()
#20 0x804e8b5 in _start ()
-----

The modules are pretty much skeletons, but link in the MySQL client library:

apxs -c -L/app/pkg/mysql/lib/mysql/ -I/app/pkg/mysql/include/ \
    -lmysqlclient -lm mod_aroma.c


Right now, my workaround is NOT loading mod_perl.so.  However, that's not a
great solution! =)   The mod_aroma module works fine when mod_perl isn't in
there.  This behaviour also happens when I use the DSO version of
mod_auth_mysql at ftp.kcilink.com/pub


I've got !clue.  Any idea what it could be?


Thanks in advance,
Tom


-- 
Tom Gidden
Gid's Games
e: [EMAIL PROTECTED]

Reply via email to