ID:               50150
 Updated by:       j...@php.net
 Reported By:      balanalin2003 at yahoo dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Streams related
 Operating System: ubuntu 9.10
 PHP Version:      5.3.0
 New Comment:

And you're sure it's not this bug:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/220658


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

[2009-11-11 12:34:30] balanalin2003 at yahoo dot com

Description:
------------
Starting program: /php-cli/bin/php /home/alin/Desktop/test.php
[Thread debugging using libthread_db enabled]

Breakpoint 1, php_stat (
    filename=0x87e2e80 "/mount/Arena/tickers.txt", 
    filename_length=24, type=17, return_value=0x87e283c, 
    tsrm_ls=0x86ea050)
    at /home/alin/Desktop/arhive/php-5.3.0/ext/standard/filestat.c:762
762     {
(gdb) bt
#0  php_stat (filename=0x87e2e80 "/mount/Arena/tickers.txt", 
    filename_length=24, type=17, return_value=0x87e283c, 
    tsrm_ls=0x86ea050)
    at /home/alin/Desktop/arhive/php-5.3.0/ext/standard/filestat.c:762
#1  0x0826c85b in php_if_stat (ht=1, return_value=0x87e283c, 
    return_value_ptr=0x0, this_ptr=0x0, return_value_used=1, 
    tsrm_ls=0x86ea050)
    at
/home/alin/Desktop/arhive/php-5.3.0/ext/standard/filestat.c:1125
#2  0x081ca23c in phar_stat (ht=1, return_value=0x87e283c, 
    return_value_ptr=0x0, this_ptr=0x0, return_value_used=1, 
    tsrm_ls=0x86ea050)
    at
/home/alin/Desktop/arhive/php-5.3.0/ext/phar/func_interceptors.c:1034
#3  0x083913f6 in zend_do_fcall_common_helper_SPEC (
    execute_data=0x88126f4, tsrm_ls=0x86ea050)
    at /home/alin/Desktop/arhive/php-5.3.0/Zend/zend_vm_execute.h:313
#4  0x08395aec in ZEND_DO_FCALL_SPEC_CONST_HANDLER (
    execute_data=0x88126f4, tsrm_ls=0x86ea050)
    at /home/alin/Desktop/arhive/php-5.3.0/Zend/zend_vm_execute.h:1601
#5  0x083906c6 in execute (op_array=0x87e2ecc, tsrm_ls=0x86ea050)
    at /home/alin/Desktop/arhive/php-5.3.0/Zend/zend_vm_execute.h:104
#6  0x0835ee92 in zend_execute_scripts (type=8, tsrm_ls=0x86ea050, 
    retval=0x0, file_count=3)
    at /home/alin/Desktop/arhive/php-5.3.0/Zend/zend.c:1188
#7  0x082dacb9 in php_execute_script (primary_file=0xbffff660, 
    tsrm_ls=0x86ea050)
    at /home/alin/Desktop/arhive/php-5.3.0/main/main.c:2196
#8  0x08434634 in main (argc=2, argv=0xbffff7f4)
---Type <return> to continue, or q <return> to quit---
    at /home/alin/Desktop/arhive/php-5.3.0/sapi/cli/php_cli.c:1188
(gdb) continue
Continuing.

Warning: stat(): stat failed for /mount/Arena/tickers.txt in
/home/alin/Desktop/test.php on line 3
bool(false)

Program exited normally.
---------------------------------------
 stat /mount/Arena2/tickers.txt
  File: `/mount/Arena2/tickers.txt'
  Size: 184118245       Blocks: 359680     IO Block: 16384  regular file
Device: 16h/22d Inode: 23080948090339228  Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/   
root)
Access: 2009-11-11 14:29:25.125000000 +0200
Modify: 2009-11-10 17:26:20.099468800 +0200
Change: 2009-11-10 17:26:20.099468800 +0200


Reproduce code:
---------------
<?php

var_dump(stat("/mount/Arena/tickers.txt"));
?>

Actual result:
--------------
Warning: stat(): stat failed for /mount/Arena/tickers.txt in
/home/alin/Desktop/test.php on line 3
bool(false)


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


-- 
Edit this bug report at http://bugs.php.net/?id=50150&edit=1

Reply via email to