pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/32395: Apache brocken by php-odbc



>Number:         32395
>Category:       pkg
>Synopsis:       Apache brocken by php-odbc
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 28 07:30:00 +0000 2005
>Originator:     Arnaud LACOMBE
>Release:        NetBSD 3.0
>Organization:
>Environment:
NetBSD janus 3.0 NetBSD 3.0 (IX-XENU) #3: Tue Dec 27 00:22:18 CET 2005 
root@ix:/kernel/XENU.obj/IX-XENU i386
>Description:
Apache fails to start when odbc.so is include in php.ini.

Apache generates a core, a backtrace gives the following:
(gdb) bt                                         
#0  0xbdb160bb in kill () from /usr/lib/libc.so.12           
#1  0xbdb1801b in __libc_mutex_unlock () from /usr/lib/libc.so.12
#2  0xbdb96813 in malloc () from /usr/lib/libc.so.12
#3  0xbd98c27f in zend_hash_add_or_update ()
from /usr/pkg/lib/httpd/mod_php4.so
#4  0xbd991d9a in zend_register_ini_entries () 
from /usr/pkg/lib/httpd/mod_php4.so
#5  0xbcf364d9 in zm_startup_odbc () from /usr/pkg/lib/php/20020429/odbc.so
#6  0xbd9093d4 in php_dl () from /usr/pkg/lib/httpd/mod_php4.so
#7  0xbd964405 in php_load_function_extension_cb ()
from /usr/pkg/lib/httpd/mod_php4.so
#8  0xbd983379 in zend_llist_apply () from /usr/pkg/lib/httpd/mod_php4.so
#9  0xbd9649c2 in php_ini_delayed_modules_startup ()
from /usr/pkg/lib/httpd/mod_php4.so
#10 0xbd95f58b in php_module_startup () from /usr/pkg/lib/httpd/mod_php4.so
#11 0xbd99ba17 in php_apache_startup () from /usr/pkg/lib/httpd/mod_php4.so
#12 0xbd99c762 in php_init_handler () from /usr/pkg/lib/httpd/mod_php4.so
#13 0x08073993 in ap_init_modules ()
#14 0x0807c397 in main ()
#15 0x080503c6 in ___start ()

I can provide a core if needed.
>How-To-Repeat:
build www/apache, www/ap-php, www/php4 and meta-pkgs/php4-extensions
include all extensions into php.ini
restart apache
>Fix:




Home | Main Index | Thread Index | Old Index