|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2013-04-14 02:23 UTC] imprec at gmail dot com
Description: ------------ When running eio_mkdir code example, the directory is created but the eio_mkdir function hangs and blocks the process. I'm using an SSD. Note : I'm encountering this issue when running test suite of react libeio implementation, see https://github.com/romainneutron/react/blob/filesystem/src/React/Filesystem/Libeio Filesystem.php Some tests on eio_open eio_read produce some "bus error" segmentation fault. Test script: --------------- <?php $temp_dirname = "eio-temp-dir"; /* Is called when eio_mkdir() finishes */ function my_mkdir_callback($data, $result) { if ($result == 0 && is_dir($temp_dirname) && !is_readable($temp_dirname) && is_writable($temp_dirname)) { echo "eio_mkdir_ok"; } // Remove directory if (file_exists($data)) rmdir($temp_dirname); } // Create directory with access mode 0300 eio_mkdir($temp_dirname, 0300, EIO_PRI_DEFAULT, "my_mkdir_callback", $temp_dirname); eio_event_loop(); PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 11:00:01 2025 UTC |
Some informations about the system : PHP 5.4.13 (cli) (built: Apr 13 2013 20:13:48) (DEBUG) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans eio eio support => enabled Debug support => enabled Version => 1.2.1