Thanks.
Applied, tested and committed.
Sean
> -----Original Message-----
> From: Adam Dickmeiss [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 09, 2001 3:33 PM
> To: Jani Taskinen; [EMAIL PROTECTED]
> Subject: Re: [PHP-DEV] Segfault with current cvs
>
>
> Hi,
>
> this patch seems to fix this.
>
> RCS file: /repository/php4/ext/standard/dir.c,v
> retrieving revision 1.59
> diff -u -r1.59 dir.c
> --- dir.c 2001/04/08 21:57:13 1.59
> +++ dir.c 2001/04/09 19:28:43
> @@ -141,7 +141,7 @@
> #endif
> tmpstr[0] = DEFAULT_SLASH;
> tmpstr[1] = '\0';
> - REGISTER_STRING_CONSTANT("DIRECTORY_SEPARATOR", tmpstr, 0);
> + REGISTER_STRING_CONSTANT("DIRECTORY_SEPARATOR", tmpstr,
> CONST_PERSISTENT);
>
> return SUCCESS;
> }
>
> Cheers,
> Adam
>
> On Mon, Apr 09, 2001 at 03:15:36PM -0400, Jon Parise wrote:
> > On Mon, Apr 09, 2001 at 09:11:42PM +0200, Jani Taskinen wrote:
> >
> > > >Today's build is giving me this when I try to start
> Apache with PHP
> > > >compiled as a DSO:
> > > >
> > > >Program received signal SIGSEGV, Segmentation fault.
> > > >0x281cc7b1 in _efree (ptr=0x282c8650) at zend_alloc.c:227
> > > >227 REMOVE_POINTER_FROM_LIST(p);
> > > >
> > > >./configure \
> > > > --with-apxs=/usr/local/apache/bin/apxs \
> > > > --with-config-file-path=/usr/local/apache/conf \
> > > > --enable-ftp \
> > > > --with-gettext \
> > > > --with-imap=/usr/local \
> > > > --without-mysql \
> > > > --with-pgsql=/usr/local/pgsql \
> > > > --enable-sockets \
> > > > --enable-sysvsem \
> > > > --enable-sysvshm \
> > > > --enable-xml
> > > >
> > > >Any thoughts?
> > >
> > > Umm..backtrace?
> > >
> > > --Jani
> >
> > Woops. Sorry about that. I was rushing before.
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x281cc7b1 in _efree (ptr=0x282c8650) at zend_alloc.c:227
> > 227 REMOVE_POINTER_FROM_LIST(p);
> > (gdb) bt
> > #0 0x281cc7b1 in _efree (ptr=0x282c8650) at zend_alloc.c:227
> > #1 0x281e41c5 in _zval_dtor (zvalue=0x80d9140) at
> zend_variables.c:62
> > #2 0x281d1e6e in free_zend_constant (c=0x80d9140) at
> zend_constants.c:31
> > #3 0x281e8c97 in zend_hash_destroy (ht=0x80b9380) at
> zend_hash.c:564
> > #4 0x281d221c in zend_shutdown_constants () at zend_constants.c:153
> > #5 0x281e4ccf in zend_shutdown () at zend.c:444
> > #6 0x281f63f4 in php_module_shutdown () at main.c:925
> > #7 0x281f63bc in php_module_shutdown_wrapper
> (sapi_globals=0x282ae800) at main.c:900
> > #8 0x281f44ec in apache_php_module_shutdown_wrapper () at
> mod_php4.c:694
> > #9 0x8050b75 in run_cleanups ()
> > #10 0x804f22b in ap_clear_pool ()
> > #11 0x805fee4 in standalone_main ()
> > #12 0x806083c in main ()
> > #13 0x804eaa1 in _start ()
> >
> > --
> > Jon Parise ([EMAIL PROTECTED]) . Rochester Inst. of Technology
> > http://www.csh.rit.edu/~jon/ : Computer Science House Member
> >
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
> --
> Adam Dickmeiss mailto:[EMAIL PROTECTED] http://www.indexdata.dk
> Index Data T: +45 33410100 Mob.: 212 212 66
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]