NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Apache 1.3.33/php 4.3.10/dbg-2.11.32 crashes


Joined: 30 May 2006
Posts: 95
Reply with quote
hi dmitri,

we are trying to use your non-commercial debugger in following environment - using remote debugging:

· local machine (client) running on Windows server 2003,
· remote server - PHP 4.3.10 running on Apache/1.3.33 Server/linux debian
· installed debugger 2.11.32 (we also tried 2.13, both show that same result)
· our IDE is PHPEdit 2.2

Our problem is, that we are constantly receiving error message:
“File you are trying access does not exist anymore.”

But this is not right, coz all PHP files are located inside of the root.

Then client debugger listener shows following message:
Failed to open or create an instance of IDE CoClass {F7B68CDA-BFAF-440A-B72B-895D0C2E8BED}. OSERR (0x80080005) 'Server execution failed'.

We have also tried more versions of PHPEdit and/or debugger (also 2.13 client-linux server), and finally figured out, that the reason of constant crashing down is TWO OR MORE SIMULTANNEOUS DEBUG REQUESTS (at the same time).

We have simulated whole situation in following code:
(place both files into root and run test.php)

FILE 1 - Code in “test.php” :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<title>test</title>
</head>

<body>
<img src="/test/load1.php?haluze=1" >
<img src="/test/load1.php?haluze=10" >
<img src="/test/load1.php?haluze=11" >
<img src="/test/load1.php?haluze=12" >
<img src="/test/load1.php?haluze=13" >
<img src="/test/load1.php?haluze=14" >
<img src="/test/load1.php?haluze=15" >
<img src="/test/load1.php?haluze=16" >
<img src="/test/load1.php?haluze=17" >
<img src="/test/load1.php?haluze=18" >

</body>
</html>

FILE 2 – “load1.php”
<?php

echo "starting... ";
for($i=0; $i<100; ++$i){
echo "$i. test image...<br/>";
}
echo "end... ";
?>

The crash occurs in both modes – with breakpoints and/or without breakpoints, once debugging client is started. After crashing, multiple instances will be automatically launched, where number of these instances equals number of simultaneous requests and the only way to bring it back to work is close everything (PHPEDIT, debugger client, browsers...) and restart everything again.

Do you have any idea, WHY is this happening?

Is the problem on the side of debugging client listener – or is it a problem of PHP editor?

Thank you very much, and also thank you for your GREAT work on debugger!!!
Lubos
View user's profileFind all posts by lubosdzSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Well. It's a freeware branch of the debugger so you have ALL necessary sources. Just proceed with these http://bugs.php.net/bugs-generating-backtrace.php instructions and come back with bt (backtrace) output
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 30 May 2006
Posts: 95
Reply with quote
well,
I found out, that I would need to re-compile PHP source with some debug-enabled directive Surprised ... However i am a WIN32/PHP guy, I really have no idea, how to install that GDB backtrace thing and what is the **recompiling** and how to do it.... Smile) So, it looks like dead end here, right?

Does anybody have any clue about similar crashes?? Coz I saw more problems about these crashes - but never any solution. It is actually still unclear, whether the problem is caused by IDE or is it PHP debugger and which part (client-server)? okay, I will try to figure out something, but frankly - it looks like too big bite for small mouth:-))

anyway, thanx a lot.
XLubos Confused
View user's profileFind all posts by lubosdzSend private message
Veteran

Joined: 24 Jan 2006
Posts: 311
Reply with quote
I don't know how much comfort can this give you - but we don't have any issues running PhpED with dbg
View user's profileFind all posts by yfaktorSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Probably your [Server/linux debian] is maintained by somebody who is not a Win32 guy Smile

Regarding crashes themselves, not to blame dbg-2.11/2.13 but can you reproduce them in PhpED 4.5.1 + dbg 2.20.2 combination? Being commercial products they have proven their stability.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 30 May 2006
Posts: 95
Reply with quote
ddmitrie wrote:
Probably your [Server/linux debian] is maintained by somebody who is not a Win32 guy Smile

Regarding crashes themselves, not to blame dbg-2.11/2.13 but can you reproduce them in PhpED 4.5.1 + dbg 2.20.2 combination? Being commercial products they have proven their stability.


That's right, commercial debugger DID NOT crash for this test.

We are trying to convince our bosses to get da licence for your PHPEd Professional 4.6 with commercial debugger (remote SSL support).

Q :: Shall we receive invoice for booking purposes and how long does it take to send it to us (Slovakia)?
(sorry 4 silly Q, but we've got some uncomfortable experience in the past with purchasing software online and bosses wants 2know, u know bosses Evil or Very Mad )

thnx,
XLubos
View user's profileFind all posts by lubosdzSend private message
Veteran

Joined: 24 Jan 2006
Posts: 311
Reply with quote
Hi there, sure we know the bosses Smile. When you purchase PhpED the system generates the invoice in both pdf and txt format which you can print out. If this doesn't work we will be happy to send you the hard copy of the invoice -we can mail it out the next day of the purchase. Please let us know if there is anything else we can do to help you buy this wonderful product Smile
View user's profileFind all posts by yfaktorSend private message
Apache 1.3.33/php 4.3.10/dbg-2.11.32 crashes
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic