Is that ZE2? There is no zend_assign_add_obj_handler function anywhere in my checkout of HEAD + ZE1, and line 232 of zend_execute is a case statement in my checkout.
I'm not concerned with ZE2 problems at this time (well, I am, but don't have the time to support it). Most likely, this is an issue with the recent splitting of the opcode handlers; Andi would probably like to see this backtrace. --Wez. On 29/10/02, "Marcus Börger" <[EMAIL PROTECTED]> wrote: > (gdb) file /usr/src/php4-HEAD/sapi/cli/php > Reading symbols from /usr/src/php4-HEAD/sapi/cli/php...done. > (gdb) set args ext/standard/tests/file/userstreams.phpt > (gdb) run > Starting program: /usr/src/php4-HEAD/sapi/cli/php > ext/standard/tests/file/userstreams.phpt > [New Thread 1024 (LWP 13760)] > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 1024 (LWP 13760)] > 0x081cb069 in zend_assign_add_obj_handler (execute_data=0xbfffa520, > op_array=0x407581bc, tsrm_ls=0x82887b0) > at /usr/src/php4-HEAD/Zend/zend_execute.c:232 > 232 if ((*object_ptr)->type == IS_NULL > (gdb) bt > #0 0x081cb069 in zend_assign_add_obj_handler (execute_data=0xbfffa520, > op_array=0x407581bc, tsrm_ls=0x82887b0) > at /usr/src/php4-HEAD/Zend/zend_execute.c:232 > #1 0x081c34de in execute (op_array=0x407581bc, tsrm_ls=0x82887b0) > at /usr/src/php4-HEAD/Zend/zend_execute.c:1194 > #2 0x081a9f7c in call_user_function_ex (function_table=0x4073e74c, > object_pp=0x40798984, function_name=0xbfffa6a0, retval_ptr_ptr=0xbfffa694, > param_count=1, params=0xbfffa698, no_separation=0, symbol_table=0x0, > tsrm_ls=0x82887b0) at /usr/src/php4-HEAD/Zend/zend_execute_API.c:646 > #3 0x081944f7 in php_userstreamop_read (stream=0x40799760, buf=0x407cea4c "", > count=8192, tsrm_ls=0x82887b0) > at /usr/src/php4-HEAD/main/user_streams.c:444 > #4 0x0818cdb9 in php_stream_fill_read_buffer (stream=0x40799760, size=1023, > tsrm_ls=0x82887b0) at /usr/src/php4-HEAD/main/streams.c:491 > #5 0x0818d1e0 in _php_stream_get_line (stream=0x40799760, buf=0x407ce610 "", > maxlen=1024, returned_len=0xbfffa770, tsrm_ls=0x82887b0) > at /usr/src/php4-HEAD/main/streams.c:758 > #6 0x08120a1c in zif_fgets (ht=2, return_value=0x407cc368, this_ptr=0x0, > return_value_used=1, tsrm_ls=0x82887b0) > at /usr/src/php4-HEAD/ext/standard/file.c:1341 > #7 0x081d4bfa in zend_do_fcall_common_helper (execute_data=0xbfffd7b0, > op_array=0x40738864, tsrm_ls=0x82887b0) > at /usr/src/php4-HEAD/Zend/zend_execute.c:2414 > ---Type <return> to continue, or q <return> to quit--- > #8 0x081d5419 in zend_do_fcall_handler (execute_data=0xbfffd7b0, > op_array=0x40738864, tsrm_ls=0x82887b0) > at /usr/src/php4-HEAD/Zend/zend_execute.c:2533 > #9 0x081c34de in execute (op_array=0x40738864, tsrm_ls=0x82887b0) > at /usr/src/php4-HEAD/Zend/zend_execute.c:1194 > #10 0x081b3177 in zend_execute_scripts (type=8, tsrm_ls=0x82887b0, retval=0x0, > file_count=3) at /usr/src/php4-HEAD/Zend/zend.c:862 > #11 0x08183f99 in php_execute_script (primary_file=0xbffffab0, > tsrm_ls=0x82887b0) at /usr/src/php4-HEAD/main/main.c:1541 > #12 0x081dfa30 in main (argc=2, argv=0xbffffb44) > at /usr/src/php4-HEAD/sapi/cli/php_cli.c:695 > #13 0x40561280 in __libc_start_main () from /lib/libc.so.6 > (gdb) > > At 19:02 29.10.2002, you wrote: > >OK, so how about a backtrace ? > > > >--Wez. > > > >On Tue, 29 Oct 2002, Marcus [iso-8859-1] Börger wrote: > > > > > At 16:36 29.10.2002, Wez Furlong wrote: > > > > > >Also, could you strace it too? (just to be sure) > > > > > > old_mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > > > 0) = 0x407d5000 > > > read(3, "...naq gur ebnq orpbzrf zl oevqr"..., 8192) = 8192 > > > lseek(3, 0, SEEK_SET) = 0 > > > --- SIGSEGV (Segmentation fault) --- > > > +++ killed by SIGSEGV +++ > > > > > > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php