From:             [EMAIL PROTECTED]
Operating system: Linux debian/woody
PHP version:      4.2.0
PHP Bug Type:     MySQL related
Bug description:  Crash of Webserver

Dear PHP Developers!

May there be some kind of error in build in MySql support?

Backtracing tells me:
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x40ba9682 in __db_err () from /lib/libdb.so.3
#2  0x40ba2e1d in db_open () from /lib/libdb.so.3
#3  0x40b8dd0a in _nss_db_getprotobynumber_r () from /lib/libnss_db.so.2
#4  0x40b8defa in _nss_db_endservent () from /lib/libnss_db.so.2
#5  0x40b8e181 in _nss_db_getservbyname_r () from /lib/libnss_db.so.2
#6  0x401bbac3 in getservbyname_r () from /lib/libc.so.6
#7  0x401bb971 in getservbyname () from /lib/libc.so.6
#8  0x402cc752 in OnMySQLPort (entry=0x80c9768, new_value=0x0,
    new_value_length=3, mh_arg1=0x0, mh_arg2=0x0, mh_arg3=0x0, stage=1)
    at php_mysql.c:285
#9  0x402b2ac1 in zend_register_ini_entries (ini_entry=0x403b7148,
    module_number=7) at zend_ini.c:150
#10 0x402cc821 in zm_startup_mysql (type=1, module_number=7) at
php_mysql.c:334
#11 0x402a89ec in zend_startup_module (module=0x403b7100) at
zend_API.c:1007
#12 0x402b7d16 in php_startup_extensions (ptr=0x403b68b4, count=8)
    at main.c:831
#13 0x402c41f6 in php_startup_internal_extensions () at
internal_functions.c:60
#14 0x402b821c in php_module_startup (sf=0x403b1680) at main.c:989
#15 0x402b3e03 in php_apache_startup (sapi_module=0x403b1680) at
mod_php4.c:279
#16 0x402b4e94 in php_init_handler (s=0x8088a2c, p=0x8088a04) at
mod_php4.c:836
#17 0x0805549e in ap_init_modules ()
#18 0x0805d98a in main ()

Its Apache 1.3.23 and PHP 4.2.0 compiled with mysql and debug.

Best Regards,


MaC
-- 
Edit bug report at http://bugs.php.net/?id=16836&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16836&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16836&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16836&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16836&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16836&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16836&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16836&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16836&r=submittedtwice

Reply via email to