Bug #17034 Updated: mkdir causes segfault
| From: | derick@php.net | Date: | Mon, 06 May 2002 18:13:43 +0000 |
| Subject: | Bug #17034 Updated: mkdir causes segfault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-7066@lists.php.net to get a copy of this message | ||
ID: 17034
Updated by: derick@php.net
Reported By: david@acz.org
Status: Closed
Bug Type: Reproducible crash
Operating System: FreeBSD 4.4-STABLE
PHP Version: 4.2.0
New Comment:
Even better is to try the latest RC from www.php.net/~derick
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-05-06 13:54:45] jimw@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/
------------------------------------------------------------------------
[2002-05-06 05:11:40] david@acz.org
PHP consistently segfaults on the following line of code:
if (!@mkdir("split", 0750))
This did not happen in 4.1.2. A GDB backtrace is shown below:
(gdb) bt
#0 0x8178931 in execute (op_array=0x0) at ./zend_execute.c:1602
(gdb) frame 0
#0 0x8178931 in execute (op_array=0x0) at ./zend_execute.c:1602
1602
EX(Ts)[EX(opline)->result.u.var].var.ptr->is_ref = 0;
(gdb) print (char
*)(executor_globals.function_state_ptr->function)->common.function_name
$1 = 0x8191de4 "mkdir"
The configure command is shown below:
'./configure' '--with-config-file-path=/usr/local/etc/php.standalone'
'--disable-pear' '--enable-discard-path' '--with-readline=/usr'
'--enable-versioning' '--with-regex=system' '--without-gd'
'--without-mysql' '--enable-debug' '--with-gd=/usr/local'
'--enable-gd-native-ttf' '--with-freetype-dir=/usr/local'
'--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-zlib'
'--with-bz2=/usr' '--with-mcrypt=/usr/local' '--with-mhash=/usr/local'
'--with-imap=/usr/local' '--with-mysql=/usr/local'
'--with-openssl=/usr' '--with-snmp=/usr/local'
'--enable-ucd-snmp-hack'
'--with-openssl=/usr' '--with-expat-dir=/usr/local' '--with-xmlrpc'
'--enable-xslt' '--with-xslt-sablot' '--enable-wddx'
'--with-dom=/usr/local' '--enable-ftp' '--with-curl=/usr/local'
'--with-gettext=/usr/local' '--with-iconv=/usr/local'
'--with-pspell=/usr/local' '--enable-mbregex' '--enable-mbstring'
'--enable-bcmath' '--with-ming=/usr/local' '--enable-sockets'
'--enable-trans-sid' '--with-yaz=/usr/local/bin' '--prefix=/usr/local'
'i386-portbld-freebsd4.4'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17034&edit=1