ID:               32850
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Feedback
 Bug Type:         SQLite related
 Operating System: Debian Sarge Unstable
 PHP Version:      5CVS-2005-04-27 (dev)
 New Comment:

PHP crashes in the second I invoke ./php

Like the backtrace shows it dies when loading sqlite extension because
it ends up calling zend_do_implement_interface (ce=0x82f2ca0,
iface=0x0) <--- with a 0x0 NULL pointer




Previous Comments:
------------------------------------------------------------------------

[2005-04-28 22:00:13] [EMAIL PROTECTED]

Any info on how to reproduce it?

------------------------------------------------------------------------

[2005-04-27 12:04:51] [EMAIL PROTECTED]

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
"[EMAIL PROTECTED]",
    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 this bug report at http://bugs.php.net/?id=32850&edit=1

Reply via email to