Re: Crach with pear remote-list

From: Date: Tue, 21 May 2002 16:10:02 +0000
Subject: Re: Crach with pear remote-list
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-6289@lists.php.net to get a copy of this message
Hrm.. I don't get a segfault on current HEAD on Linux with that. You didn't build with --with-regex=system did you? On Tue, 21 May 2002, Tomas V.V.Cox wrote: > Rasmus Lerdorf wrote: > > > > Could you make up a simple standalone php script that recreates this > > segfault easily? This definitely needs to be fixed in PHP and not worked > > around in PEAR. > > > > http://vulcanonet.com/~cox/ereg_sefault.tgz > > $ php -m > Running PHP 4.2.0 > Zend Engine v1.2.0, Copyright (c) 1998-2002 Zend Technologies > with pcntl v1.0, 2001, by Jason Greene > > [PHP Modules] > xml > tokenizer > sysvshm > sysvsem > standard > sockets > session > readline > pgsql > pcre > pcntl > oci8 > mysql > gettext > ftp > dbase > ctype > bcmath > zlib > > [Zend Modules] > pcntl > > # gdb php > GNU gdb 4.18 > Copyright 1998 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "i386-redhat-linux"... > (gdb) run -f test.php > Starting program: /usr/bin/php -f test.php > > Program received signal SIGSEGV, Segmentation fault. > 0x406f31d8 in re_match_2_internal (bufp=0xbfffdff8, string1=0x0, > size1=0, > string2=0x81fdc9c "HTTP/1.1 200 OK\r\nDate: Tue, 21 May 2002 > 10:26:24 GMT\r\nServer: Apache/1.3.20 (Unix) > PHP/4.2.0RC2\r\nX-Powered-By: PHP/4.2.0RC2\r\nContent-length: > 52599\r\nConnection: close\r\nContent-Type: text/xml\r\n\r\n<?xml v"..., > size2=52792, pos=0, regs=0xbfffe018, stop=52792) at regex.c:4750 > 4750 regex.c: No existe el fichero o el directorio. > > > Tomas V.V.Cox >

« previous php.pear.dev (#6289) next »