Bug #1753: httpd segfaults when compiled --with-mysql

From: Date: Tue, 20 Jul 1999 16:27:23 +0000
Subject: Bug #1753: httpd segfaults when compiled --with-mysql
Groups: php.dev 
Request: Send a blank email to php-dev+get-8776@lists.php.net to get a copy of this message
From: joey@samaritan.com Operating system: debian linux 2.1 (2.0.36 kernel) PHP version: 4.0 Beta 1 PHP Bug Type: Reproduceable crash Bug description: httpd segfaults when compiled --with-mysql ./configure --with-apache=/usr/src/apache --with-sybase=/usr/local/sybase --with-mysql --with-ldap --with-imap --with-dbase=yes --with-filepro=yes --with-zlib --enable-sysvshm=yes --enable-sysvsem=yes --with-config-file-path --enable-track-vars=yes --enable-magic-quotes=yes --enable-debugger=yes --enable-bcmath=yes % gdb ./httpd Program received signal SIGSEGV, Segmentation fault. 0x40059e9e in db.init_charset () (gdb) bt #0 0x40059e9e in db.init_charset () #1 0x4005c64e in dbopen () #2 0x40234817 in () #3 0x402349f1 in () #4 0x40234c51 in () #5 0x401f6456 in getservbyname_r () #6 0x401f62c2 in getservbyname () #7 0x80a4783 in OnMySQLPort (entry=0x8217990, new_value=0x0, new_value_length=3, mh_arg1=0x0, mh_arg2=0x0, mh_arg3=0x0) at mysql.c:242 #8 0x80935e1 in php_register_ini_entries (ini_entry=0x81d4e98, module_number=20) at php_ini.c:113 #9 0x80a47ec in php3_minit_mysql (type=1, module_number=20) at mysql.c:285 #10 0x80d6c9f in zend_startup_module (module=0x81d4e68) at zend_API.c:539 #11 0x808fb04 in module_startup_modules () at internal_functions.c:119 #12 0x808f2bd in php_module_startup (sf=0x81d179c) at main.c:843 #13 0x808e75b in php_init_handler () #14 0x80f3889 in ap_init_modules () #15 0x80fec3d in main ()

« previous php.dev (#8776) next »