<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.14.1">
</HEAD>
<BODY>
Hi Johnny,<BR>
<BR>
I've run just another example the OS/Process and it also failed with the same error. Maybe it's something I misconfigured?<BR>
<BR>
In VxWorks changelog for version 6.3 it is said that the pthread_getspecifc routine now returns NULL when called with a valid key parameter to which no value is associated. (This occurs when no call to pthread_setspecific has been made). <BR>
<BR>
Can this be the problem?<BR>
<BR>
Kind Regards.<BR>
<BR>
On Fri, 2007-06-22 at 11:27 +0200, Johnny Willemsen wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Hi,</FONT>
<FONT COLOR="#000000"> </FONT>
<FONT COLOR="#000000">Thanks for using the PRF form. We do daily testing with VxWorks using PPC32</FONT>
<FONT COLOR="#000000">and x86 target and don't see this problem, see</FONT>
<FONT COLOR="#000000"><A HREF="http://scoreboard.theaceorb.nl">http://scoreboard.theaceorb.nl</A> for our test results. We have done some basic</FONT>
<FONT COLOR="#000000">testing with the simulator in the past and we did run some tests in it.</FONT>
<FONT COLOR="#000000"> </FONT>
<FONT COLOR="#000000">Regards,</FONT>
<FONT COLOR="#000000"> </FONT>
<FONT COLOR="#000000">Johnny Willemsen</FONT>
<FONT COLOR="#000000">Remedy IT</FONT>
<FONT COLOR="#000000">Postbus 101</FONT>
<FONT COLOR="#000000">2650 AC  Berkel en Rodenrijs</FONT>
<FONT COLOR="#000000">The Netherlands</FONT>
<FONT COLOR="#000000"><A HREF="http://www.theaceorb.nl">www.theaceorb.nl</A> / <A HREF="http://www.remedy.nl">www.remedy.nl</A> </FONT>

<FONT COLOR="#000000">*** Integrated compile and test statistics see</FONT>
<FONT COLOR="#000000"><A HREF="http://scoreboard.theaceorb.nl">http://scoreboard.theaceorb.nl</A> &lt;<A HREF="http://scoreboard.theaceorb.nl/">http://scoreboard.theaceorb.nl/</A>&gt;  ***</FONT>
<FONT COLOR="#000000">*** Commercial service and support for ACE/TAO/CIAO             ***</FONT>
<FONT COLOR="#000000">*** See <A HREF="http://www.theaceorb.nl/en/support.html">http://www.theaceorb.nl/en/support.html</A>                 *** </FONT>


<FONT COLOR="#000000">________________________________</FONT>

<FONT COLOR="#000000">        From: <A HREF="mailto:ace-users-bounces@cse.wustl.edu">ace-users-bounces@cse.wustl.edu</A></FONT>
<FONT COLOR="#000000">[<A HREF="mailto:ace-users-bounces@cse.wustl.edu">mailto:ace-users-bounces@cse.wustl.edu</A>] On Behalf Of Jos&#233; Rui Sim&#245;es</FONT>
<FONT COLOR="#000000">        Sent: Friday, June 22, 2007 11:23 AM</FONT>
<FONT COLOR="#000000">        To: ace-users</FONT>
<FONT COLOR="#000000">        Subject: [ace-users] Problem using ACE in vxworks</FONT>
<FONT COLOR="#000000">        </FONT>
<FONT COLOR="#000000">        </FONT>
<FONT COLOR="#000000">        ACE VERSION: 5.5.8 </FONT>
<FONT COLOR="#000000">        </FONT>
<FONT COLOR="#000000">            HOST MACHINE and OPERATING SYSTEM:</FONT>
<FONT COLOR="#000000">                AMD 64 Suse Linux 10.2</FONT>
<FONT COLOR="#000000">        </FONT>
<FONT COLOR="#000000">            TARGET MACHINE and OPERATING SYSTEM, if different from HOST:</FONT>
<FONT COLOR="#000000">                   Pentium 32 VxWorks 6.3</FONT>
<FONT COLOR="#000000">        </FONT>
<FONT COLOR="#000000">            THE $ACE_ROOT/ace/config.h FILE [if you use a link to a</FONT>
<FONT COLOR="#000000">platform-</FONT>
<FONT COLOR="#000000">            specific file, simply state which one]: config-vxworks6.3.h</FONT>
<FONT COLOR="#000000">        </FONT>
<FONT COLOR="#000000">            THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if</FONT>
<FONT COLOR="#000000">you</FONT>
<FONT COLOR="#000000">            use a link to a platform-specific file, simply state which one</FONT>
<FONT COLOR="#000000">            (unless this isn't used in this case, e.g., with Microsoft</FONT>
<FONT COLOR="#000000">Visual</FONT>
<FONT COLOR="#000000">            C++)]: platform_macros-vxworks6.3.GNU</FONT>
<FONT COLOR="#000000">        </FONT>
<FONT COLOR="#000000">            CONTENTS OF</FONT>
<FONT COLOR="#000000">$ACE_ROOT/bin/MakeProjectCreator/config/default.features</FONT>
<FONT COLOR="#000000">            (used by MPC when you generate your own makefiles):</FONT>
<FONT COLOR="#000000">        </FONT>
<FONT COLOR="#000000">            AREA/CLASS/EXAMPLE AFFECTED:</FONT>
<FONT COLOR="#000000">                Problem running test_SV example.</FONT>
<FONT COLOR="#000000">        </FONT>
<FONT COLOR="#000000">            DOES THE PROBLEM AFFECT:</FONT>
<FONT COLOR="#000000">                COMPILATION? no</FONT>
<FONT COLOR="#000000">                LINKING? no</FONT>
<FONT COLOR="#000000">                    On Unix systems, did you run make realclean first?</FONT>
<FONT COLOR="#000000">                EXECUTION? yes</FONT>
<FONT COLOR="#000000">                OTHER (please specify)?</FONT>
<FONT COLOR="#000000">        </FONT>
<FONT COLOR="#000000">        </FONT>
<FONT COLOR="#000000">            SYNOPSIS:</FONT>
<FONT COLOR="#000000">                When I try to run this example I receive a SIGSEGV.</FONT>
<FONT COLOR="#000000">        </FONT>
<FONT COLOR="#000000">            DESCRIPTION:</FONT>
<FONT COLOR="#000000">                When I try to run this example in vxworks simulator I</FONT>
<FONT COLOR="#000000">receive a SIGSEGV signal. This signal is generated in the</FONT>
<FONT COLOR="#000000">pthread_getspecific function called from within the</FONT>
<FONT COLOR="#000000">ACE_Object_Manager::init. Am I doing something wrong?</FONT>
<FONT COLOR="#000000">        </FONT>
<FONT COLOR="#000000">        </FONT>
<FONT COLOR="#000000">            REPEAT BY:</FONT>
<FONT COLOR="#000000">        </FONT>
<FONT COLOR="#000000">            SAMPLE FIX/WORKAROUND:</FONT>
<FONT COLOR="#000000">        </FONT>
<FONT COLOR="#000000">        </FONT>
<FONT COLOR="#000000">        _________________________ </FONT>

<FONT COLOR="#000000">        Jos&#233; Rui Sim&#245;es </FONT>

<FONT COLOR="#000000">        Junior Engineer </FONT>


<FONT COLOR="#000000">        Critical Software, SA</FONT>
<FONT COLOR="#000000">        Parque Industrial de Taveiro, Lote 48</FONT>
<FONT COLOR="#000000">        3045-504 Coimbra, Portugal</FONT>
<FONT COLOR="#000000">        Tel:+351.239 989 100 Fax:+351.239 989 119</FONT>
<FONT COLOR="#000000">        <A HREF="http://www.criticalsoftware.com">http://www.criticalsoftware.com</A> &lt;<A HREF="http://www.criticalsoftware.com/">http://www.criticalsoftware.com/</A>&gt; </FONT>
<FONT COLOR="#000000">        <A HREF="mailto:jose-r-simoes@criticalsoftware.com">jose-r-simoes@criticalsoftware.com</A></FONT>
<FONT COLOR="#000000">&lt;<A HREF="mailto:jose-r-simoes">mailto:jose-r-simoes</A>%40criticalsoftware.com&gt; </FONT>
<FONT COLOR="#000000">        </FONT>
<FONT COLOR="#000000">        </FONT>
<FONT COLOR="#000000">                </FONT>


</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<H1>
<B><S><FONT SIZE="5"><FONT COLOR="#969696">_________________________</FONT></FONT></S></B>
</H1>
<B><FONT SIZE="4">Jos&#233; Rui Sim&#245;es</FONT></B> 
<H4>
<B><I><TT><FONT COLOR="#808080">Junior Engineer</FONT></TT></I></B>
</H4>
<BR>
<B><FONT SIZE="4"><FONT COLOR="#dc0000">Critical Software, SA</FONT></FONT></B><BR>
<FONT COLOR="#808080">Parque Industrial de Taveiro, Lote 48</FONT><BR>
<FONT COLOR="#808080">3045-504 Coimbra, Portugal</FONT><BR>
<FONT COLOR="#808080">Tel:+351.239 989 100 Fax:+351.239 989 119</FONT><BR>
<A HREF="http://www.criticalsoftware.com/">http://www.criticalsoftware.com</A><BR>
<A HREF="mailto:jose-r-simoes%40criticalsoftware.com">jose-r-simoes@criticalsoftware.com</A><BR>
<BR>
<BR>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>