|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-06-29 18:42 UTC] felipe@php.net
-Status: Open
+Status: Feedback
[2011-06-29 18:42 UTC] felipe@php.net
[2011-06-29 19:15 UTC] ricardo dot nuno dot rodrigues at hotmail dot com
-Status: Feedback
+Status: Open
[2011-06-29 19:15 UTC] ricardo dot nuno dot rodrigues at hotmail dot com
[2011-07-08 18:27 UTC] kalle@php.net
-Status: Open
+Status: Feedback
[2011-07-08 18:27 UTC] kalle@php.net
[2012-05-04 23:04 UTC] ricardo dot nuno dot rodrigues at hotmail dot com
-Status: Feedback
+Status: Open
[2012-05-04 23:04 UTC] ricardo dot nuno dot rodrigues at hotmail dot com
[2012-05-04 23:08 UTC] felipe@php.net
[2012-05-04 23:08 UTC] felipe@php.net
-Status: Open
+Status: Feedback
[2012-05-04 23:20 UTC] ricardo dot nuno dot rodrigues at hotmail dot com
-Status: Feedback
+Status: Open
[2012-05-04 23:20 UTC] ricardo dot nuno dot rodrigues at hotmail dot com
[2012-05-04 23:22 UTC] ricardo dot nuno dot rodrigues at hotmail dot com
[2016-10-07 13:01 UTC] cmb@php.net
-Package: Semaphore related
+Package: *Extensibility Functions
[2020-03-29 15:11 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2020-03-29 15:11 UTC] cmb@php.net
[2020-04-12 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 11:00:01 2025 UTC |
Description: ------------ If I make such a intensive read of something saved by shmop, the apache will crash. If it was intensive write, the crash is sooner. This only happens in Win32 (not in Linux) Test script: --------------- <?php $key = 1; $value = 1000; $nbr_of_read_tests = 100000; $shm_id = shmop_open( $key, "c", 0644, strlen($value)); shmop_write ( $shm_id , $value , 0); shmop_close($shm_id); for ($i = 1; $i <= $nbr_of_read_tests; $i++) { $shm_id = shmop_open($key, "a", 0, 0); shm_size = shmop_size($shm_id); $returnedValue = shmop_read ( $shm_id , 0 , $shm_size ); shmop_close($shm_id); } shmop_delete($shm_id); shmop_close($shm_id); ?> Expected result: ---------------- work without any problem. In Linux it works. Actual result: -------------- Crash of Apache