7-stable: apache+php5 in a jail?

Michael Butler imb at protected-networks.net
Sat Jan 19 07:50:56 PST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have an issue with apache and php5 inside a jail on 7-stable where the
executable simply dumps core on start-up in the threading library.

I've recompiled everything inside and outside the jail but the behaviour
remains the same :-(

I have no idea how to go about debugging this .. any helpful suggestions
welcome ..

#0  0x28c4cac8 in ?? () from /lib/libthr.so.3
[New Thread 0x282b9500 (LWP 100378)]
(gdb) bt
#0  0x28c4cac8 in ?? () from /lib/libthr.so.3
#1  0x2818f65c in getprotoent_r () from /lib/libc.so.7
#2  0x2812ba87 in getprotobyname () from /lib/libc.so.7
#3  0x28bf1cd7 in zm_startup_sockets () from
/usr/local/lib/php/20060613/sockets.so
#4  0x287d5f30 in zend_startup_module_ex () from
/usr/local/libexec/apache/libphp5.so
#5  0x287dac0c in zend_hash_apply () from
/usr/local/libexec/apache/libphp5.so
#6  0x287d497c in zend_startup_modules () from
/usr/local/libexec/apache/libphp5.so
#7  0x28792bed in php_module_startup () from
/usr/local/libexec/apache/libphp5.so
#8  0x28849453 in php_apache_startup () from
/usr/local/libexec/apache/libphp5.so
#9  0x288dd180 in apache_functions () from
/usr/local/libexec/apache/libphp5.so
#10 0x00000001 in ?? ()
#11 0x00000000 in ?? ()
#12 0x00000001 in ?? ()
#13 0x288dcf60 in php_commands () from /usr/local/libexec/apache/libphp5.so
#14 0xbfbfca78 in ?? ()
#15 0x2884969f in php_init_handler () from
/usr/local/libexec/apache/libphp5.so
#16 0x00000000 in ?? ()
#17 0x288496b0 in php_init_handler () from
/usr/local/libexec/apache/libphp5.so
#18 0x00000000 in ?? ()
#19 0x28204010 in ?? ()
#20 0xbfbfcaa8 in ?? ()
#21 0x080545c9 in ap_init_modules ()
Previous frame inner to this frame (corrupt stack?)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iEYEARECAAYFAkeSHF0ACgkQQv9rrgRC1JL4bgCfb5ri0Xw2XF5PUbi2liyzu7yO
oQkAoIQhTKTLx+kdttWs2eYy1IT4IvEd
=55w2
-----END PGP SIGNATURE-----


More information about the freebsd-stable mailing list