Bug #66572 [Fbk->NoF]: Crash / Suspended execution
Edit report at https://bugs.php.net/bug.php?id=66572&edit=1
ID: 66572
Updated by: php-bugs@lists.php.net
Reported by: jitesh dot prajapati at infostretch dot com
Summary: Crash / Suspended execution
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Sockets related
Operating System: Cent OS 6
PHP Version: Irrelevant
Assigned To: cmb
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2016-06-29 17:38:29] cmb@php.net
> Please find following URL containing code we have implemented.
>
> http://202.131.96.147/test/wevsocketclass.php
How are we supposed to see that code? If the problem still
persists on recent PHP versions, we need reproduce code or at
least a backtrace.
------------------------------------------------------------------------
[2014-01-29 18:20:13] requinix@php.net
Related To: Bug #66605
------------------------------------------------------------------------
[2014-01-27 13:09:45] jitesh dot prajapati at infostretch dot com
socket_write() never returns? - <b>MY ANSWER</b> - Yes, Program execution suspended on
socket_write and hags up.
It's really just a call to write(3) so there's not much room for it to have problems.
Could the socket be blocked - <b>MY ANSWER</b> - Not sure, it may block by php function
and have a some dead lock situation.
implying the client isn't reading everything from it? - <b>MY ANSWER</b> - client
is reading all information when it is delivered .
------------------------------------------------------------------------
[2014-01-27 06:36:45] jitesh dot prajapati at infostretch dot com
Thank you for your quick response.
Please find following URL containing code we have implemented.
http://202.131.96.147/test/wevsocketclass.php
Execution got suspended on "socket_write" function in "send" method, and till i
do not restart service it hangs up.
We do not implement explicit block/unblock of sockets. We have tried on different linux servers, and
same issue is producing on each servers.
------------------------------------------------------------------------
[2014-01-26 00:04:13] requinix@php.net
Still not enough info. We need to see demo code (a short sample that exhibits the same problem, not
your real thing), or error information, or backtraces, or something. A textual description of what
you observe is alright but doesn't really offer us much to go on.
You say "crash" but the process is running? Then it's not a crash. socket_write()
never returns? It's really just a call to write(3) so there's not much room for it to have
problems. Could the socket be blocked, implying the client isn't reading everything from it?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=66572
--
Edit this bug report at https://bugs.php.net/bug.php?id=66572&edit=1
Thread (9 messages)