#32850 [NEW]: PHP crashes on startup because zend_do_implement_interface is called with NULL

From: Date: Wed, 27 Apr 2005 10:04:54 +0000
Subject: #32850 [NEW]: PHP crashes on startup because zend_do_implement_interface is called with NULL
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-78260@lists.php.net to get a copy of this message
From: sesser@php.net Operating system: Debian Sarge Unstable PHP version: 5CVS-2005-04-27 (dev) PHP Bug Type: SQLite related Bug description: PHP crashes on startup because zend_do_implement_interface is called with NULL Description: ------------ #0 zend_hash_merge_ex (target=0x82f2d38, source=0x98, pCopyConstructor=0x81d6e10 <zval_add_ref>, size=4, pMergeSource=0x81c8ec0 <do_inherit_constant_check>, pParam=0x0) at /home/.../php5-200504251230/Zend/zend_hash.c:818 p = (Bucket *) 0x82f2ca0 t = (void *) 0x82f4908 #1 0x081c8f79 in zend_do_implement_interface (ce=0x82f2ca0, iface=0x0) at /home/.../php5-200504251230/Zend/zend_compile.c:2099 No locals. #2 0x081dbfa9 in zend_class_implements (class_entry=0x82f2ca0, num_interfaces=2) at /home/.../php5-200504251230/Zend/zend_API.c:1646 interface_entry = (zend_class_entry *) 0x98 ce_num = 2 impl_num = 2 interface_list = 0xbffff390 "è#@ ¦/@\214" #3 0x080f6102 in zm_startup_sqlite (type=1, module_number=4) at /home/.../php5-200504251230/ext/sqlite/sqlite.c:1024 No locals. #4 0x081daf38 in zend_register_module_ex (module=0x82f0028) at /home/.../php5-200504251230/Zend/zend_API.c:1227 lcname = 0x0 module_ptr = (zend_module_entry *) 0x82f0028 #5 0x081a0dc0 in php_startup_extensions (ptr=0x82a450c, count=152) at /home/.../php5-200504251230/main/main.c:1269 end = (zend_module_entry **) 0x82a453c #6 0x08246d2b in php_startup_internal_extensions () at main/internal_functions_cli.c:72 No locals. #7 0x081a13ea in php_module_startup (sf=0x828396c, additional_modules=0x0, num_additional_modules=152) at /home/.../php5-200504251230/main/main.c:1454 zuf = {error_function = 0x819fbb0 <php_error_cb>, printf_function = 0x819f510 <php_printf>, write_function = 0x81a0d70 <php_body_write_wrapper>, fopen_function = 0x81a0220 <php_fopen_wrapper_for_zend>, message_handler = 0x81a0340 <php_message_handler_for_zend>, block_interruptions = 0, unblock_interruptions = 0, get_configuration_directive = 0x81a02f0 <php_get_configuration_directive_for_zend>, ticks_function = 0x81abd60 <php_run_ticks>, on_timeout = 0x81a0480 <php_on_timeout>, stream_open_function = 0x81a0270 <php_stream_open_for_zend>, vspprintf_function = 0x81a42c0 <vspprintf>, getenv_function = 0x81a7620 <sapi_getenv>} zuv = {import_use_extension = 0x82576e6 ".php", import_use_extension_length = 136766146, html_errors = 1 '\001'} #8 0x08245c9e in main (argc=1, argv=0xbffffbd4) at /home/.../php5-200504251230/sapi/cli/php_cli.c:632 exit_status = 0 c = 152 file_handle = {type = 0 '\0', filename = 0x82a46f4 "ØE*\b8n\001@л", opened_path = 0xbffffb28 "Hûÿ¿Ûs$\bÜûÿ¿`\234/@", handle = {fd = 134697609, fp = 0x8075289, stream = {handle = 0x8075289, reader = 0x402f9c50 <sys_sigabbrev+25040>, closer = 0xbffffb34, interactive = -1073743032}}, free_filename = 219 'Û'} -- Edit bug report at http://bugs.php.net/?id=32850&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32850&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32850&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32850&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32850&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32850&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32850&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32850&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32850&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32850&r=support Expected behavior: http://bugs.php.net/fix.php?id=32850&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32850&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32850&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32850&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32850&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32850&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32850&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32850&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32850&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32850&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32850&r=mysqlcfg

« previous php.bugs (#78260) next »