Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 04-01-2004
alesio alesio is offline
Registered User
 
 
Join Date: Nov 2003
Location: sz
Posts: 9
About IcePHP exception?

hi,
I have a problem with the ice exception.The follow code is a part of "hello.php" demo.if the Apache server is not run,it will catch the connection exception.then if I try to connect a few times, the memory error
dialog is display.WHY?
Besides that, all the user exceptions have the same status. Wish you can give me a good news,thanks.


<?php
Ice_loadProfile();
try
{
$p = $ICE->stringToProxy("hello:tcp -p 10000:udp -p 10000");
if($p->ice_isTwoway())
{
$hello = $p->ice_checkedCast("::Hello");
}
}
catch(Ice_LocalException $ex)
{
echo "<pre>\n";
print_r($ex);
echo "</pre>\n";
}
?>
Reply With Quote
  #2 (permalink)  
Old 04-02-2004
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
Hi,

Thanks, I was able to reproduce this behavior on Windows, but I haven't been able to discover the cause yet. I tried many times to get it to happen on Linux, but without success. I'll post a reply when I have more information.

Take care,
- Mark
Reply With Quote
  #3 (permalink)  
Old 04-06-2004
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
After a lot of research, I've determined that this is caused by a bug in PHP, and not in IcePHP. I've submitted a PHP bug report which you can find here.

If this bug is a serious problem for you, it's possible that compiling PHP in debug mode will avoid it. Let me know if you need help building PHP from source, as it takes some effort.

Take care,
- Mark
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Have IceUtil::Exception inherit from std::exception? bpolivka Comments 2 12-13-2006 11:52 AM
IcePHP cesartovic Help Center 2 09-25-2006 01:05 PM
Missing IcePHP? g00fy Comments 4 07-13-2006 01:06 PM
IcePHP tests alfredt Help Center 2 04-08-2004 11:46 AM
why I can't use slice in icephp? angela.lu Help Center 5 03-24-2004 05:39 PM


All times are GMT -4. The time now is 10:40 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.