<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>ZeroC Forums - Bug Reports</title>
		<link>http://www.zeroc.com/forums</link>
		<description>Please include as much detail as possible. At a minimum, provide your Ice version, platform and compiler, and a description of how to reproduce the problem.</description>
		<language>en</language>
		<lastBuildDate>Wed, 08 Sep 2010 06:41:45 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.zeroc.com/forums/images/misc/rss.jpg</url>
			<title>ZeroC Forums - Bug Reports</title>
			<link>http://www.zeroc.com/forums</link>
		</image>
		<item>
			<title><![CDATA[Freeze doesn't release TLS index on Freeze::SharedDbEnv::~SharedDbEnv]]></title>
			<link>http://www.zeroc.com/forums/bug-reports/5068-freeze-doesnt-release-tls-index-freeze-shareddbenv-shareddbenv.html</link>
			<pubDate>Wed, 01 Sep 2010 11:47:38 GMT</pubDate>
			<description><![CDATA[Hi,

It looks like a bug in SharedDbEnv class - please confirm: 
allocated by constructor (_tsdKey = TlsAlloc();),
TLS index is not released by TlsFree on destructor.

Result: A simple loop like 

Code:
---------
for (int j=0; j<2000; ++j) {
   ConnectionPtr connection = createConnection(communicator(), "db");
}
---------
will give us 

---Quote---
SharedDbEnv.cpp:440: IceUtil::ThreadSyscallException:
syscall exception: Not enough storage is available to process this command.
---End Quote---
If thread local storage is used for application needs it may lead to hardly reproducible bugs.
Possible workaround: Connection pool created on application startup - please confirm.

Environment:
ICE: 3.3.1 - according to source code, will happen on 3.4.1 as well
Compiler: VS2008
OS: Vista

Thanks in advance,]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hi,<br />
<br />
It looks like a bug in SharedDbEnv class - please confirm: <br />
allocated by constructor (_tsdKey = TlsAlloc();),<br />
TLS index is not released by TlsFree on destructor.<br />
<br />
Result: A simple loop like <br />
<!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">for (int j=0; j&lt;2000; ++j) {<br />
&nbsp;  ConnectionPtr connection = createConnection(communicator(), &quot;db&quot;);<br />
}</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->will give us <br />
<!-- BEGIN TEMPLATE: bbcode_quote_printable -->
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				SharedDbEnv.cpp:440: IceUtil::ThreadSyscallException:<br />
syscall exception: Not enough storage is available to process this command.
			
			<hr />
		</td>
	</tr>
	</table>
</div>
<!-- END TEMPLATE: bbcode_quote_printable -->If thread local storage is used for application needs it may lead to hardly reproducible bugs.<br />
Possible workaround: Connection pool created on application startup - please confirm.<br />
<br />
Environment:<br />
ICE: 3.3.1 - according to source code, will happen on 3.4.1 as well<br />
Compiler: VS2008<br />
OS: Vista<br />
<br />
Thanks in advance,</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.zeroc.com/forums/bug-reports/">Bug Reports</category>
			<dc:creator>allro</dc:creator>
			<guid isPermaLink="true">http://www.zeroc.com/forums/bug-reports/5068-freeze-doesnt-release-tls-index-freeze-shareddbenv-shareddbenv.html</guid>
		</item>
		<item>
			<title>Not specying IceStorm version in Icebox broken on 3.4 ?</title>
			<link>http://www.zeroc.com/forums/bug-reports/5058-not-specying-icestorm-version-icebox-broken-3-4-a.html</link>
			<pubDate>Tue, 17 Aug 2010 13:52:46 GMT</pubDate>
			<description><![CDATA[With Ice 3.3 on Linux and windows we have the following xml to register an icestorm server 

   <icebox id="IceBoxServer" exe="icebox" activation="on-demand">
                <service name="IceStorm" entry="IceStormService:createIceStorm">


However with Ice 3.4 on Windows we get the following error : 

!! 08/12/10 14:34:40.309 IceBoxServer: error: ServiceManager: unable to load entry point `IceStormService:createIceStorm'
!! 08/12/10 14:34:40.340 IceBoxServer: error: ServiceManager: unable to load entry point `IceStormService:createIceStorm'
!! 08/12/10 14:34:40.371 IceBoxServer: error: ServiceManager: unable to load entry point `IceStormService:createIceStorm'
!! 08/12/10 14:34:40.402 IceBoxServer: error: ServiceManager: unable to load entry point `IceStormService:createIceStorm'

This is solved by adding the version number : 
<service name="IceStorm" entry="IceStormService,34:createIceStorm">
However I wish to suport both 3.3 and 3.4 and I though that the version was optional.
What is wrong ?

Olivier]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>With Ice 3.3 on Linux and windows we have the following xml to register an icestorm server <br />
<br />
   &lt;icebox id=&quot;IceBoxServer&quot; exe=&quot;icebox&quot; activation=&quot;on-demand&quot;&gt;<br />
                &lt;service name=&quot;IceStorm&quot; entry=&quot;IceStormService:createIceStorm&quot;&gt;<br />
<br />
<br />
However with Ice 3.4 on Windows we get the following error : <br />
<br />
!! 08/12/10 14:34:40.309 IceBoxServer: error: ServiceManager: unable to load entry point `IceStormService:createIceStorm'<br />
!! 08/12/10 14:34:40.340 IceBoxServer: error: ServiceManager: unable to load entry point `IceStormService:createIceStorm'<br />
!! 08/12/10 14:34:40.371 IceBoxServer: error: ServiceManager: unable to load entry point `IceStormService:createIceStorm'<br />
!! 08/12/10 14:34:40.402 IceBoxServer: error: ServiceManager: unable to load entry point `IceStormService:createIceStorm'<br />
<br />
This is solved by adding the version number : <br />
&lt;service name=&quot;IceStorm&quot; entry=&quot;IceStormService,34:createIceStorm&quot;&gt;<br />
However I wish to suport both 3.3 and 3.4 and I though that the version was optional.<br />
What is wrong ?<br />
<br />
Olivier</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.zeroc.com/forums/bug-reports/">Bug Reports</category>
			<dc:creator>oroulet</dc:creator>
			<guid isPermaLink="true">http://www.zeroc.com/forums/bug-reports/5058-not-specying-icestorm-version-icebox-broken-3-4-a.html</guid>
		</item>
	</channel>
</rss>
