<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic aC++ compiler versions in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ac-compiler-versions/m-p/3103763#M717468</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have two applications running on two different N class server clusters on hp-ux 11i.&lt;BR /&gt;We are experencing some problems when application1 is trying to send data to application2 in the past two weeks. the data is not reflected on the other application (sometimes not always ) though it is being stored in the database which is Oracle 9i on both the servers.We also have MQSeries as the middleware.&lt;BR /&gt;The developers think that it is due to mismatch between the version of aC++ compilers on the servers. &lt;BR /&gt;B3913DB                               C.03.30.02     HP aC++ Compiler (S800) &lt;BR /&gt;&lt;BR /&gt;B3913DB                       C.03.33.01     HP aC++ Compiler (S800)&lt;BR /&gt;&lt;BR /&gt;application1 is a new one which went into production in aug so they are not sure whether it is a bug or really a compiler problem.&lt;BR /&gt;&lt;BR /&gt;frankly speaking i feel that it is a problem with their code( but i cannot say that to my boss now, can i? :)&lt;BR /&gt;&lt;BR /&gt;so here i am !!&lt;BR /&gt;can someone pl tell me which is the newer version of the both.&lt;BR /&gt;has anyone faced any problems due to compiler versions.&lt;BR /&gt;thanks in advance.&lt;BR /&gt;pl help me&lt;BR /&gt;aparna</description>
    <pubDate>Tue, 28 Oct 2003 01:34:23 GMT</pubDate>
    <dc:creator>aparna challagulla</dc:creator>
    <dc:date>2003-10-28T01:34:23Z</dc:date>
    <item>
      <title>aC++ compiler versions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ac-compiler-versions/m-p/3103763#M717468</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have two applications running on two different N class server clusters on hp-ux 11i.&lt;BR /&gt;We are experencing some problems when application1 is trying to send data to application2 in the past two weeks. the data is not reflected on the other application (sometimes not always ) though it is being stored in the database which is Oracle 9i on both the servers.We also have MQSeries as the middleware.&lt;BR /&gt;The developers think that it is due to mismatch between the version of aC++ compilers on the servers. &lt;BR /&gt;B3913DB                               C.03.30.02     HP aC++ Compiler (S800) &lt;BR /&gt;&lt;BR /&gt;B3913DB                       C.03.33.01     HP aC++ Compiler (S800)&lt;BR /&gt;&lt;BR /&gt;application1 is a new one which went into production in aug so they are not sure whether it is a bug or really a compiler problem.&lt;BR /&gt;&lt;BR /&gt;frankly speaking i feel that it is a problem with their code( but i cannot say that to my boss now, can i? :)&lt;BR /&gt;&lt;BR /&gt;so here i am !!&lt;BR /&gt;can someone pl tell me which is the newer version of the both.&lt;BR /&gt;has anyone faced any problems due to compiler versions.&lt;BR /&gt;thanks in advance.&lt;BR /&gt;pl help me&lt;BR /&gt;aparna</description>
      <pubDate>Tue, 28 Oct 2003 01:34:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ac-compiler-versions/m-p/3103763#M717468</guid>
      <dc:creator>aparna challagulla</dc:creator>
      <dc:date>2003-10-28T01:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: aC++ compiler versions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ac-compiler-versions/m-p/3103764#M717469</link>
      <description>To be honest its a bit hard to see a problem when you have no clear signs of one.Some (I think 30-40%) of compilers' bugs usually end with application dumping core.If this is the case you can at least see the stack trace with debugger (assume gdb).Another 30% percent of problems may come from compatibility issues with standards (ansi etc).&lt;BR /&gt;&lt;BR /&gt;Anyway , here's the revisions' history for aC++,can check the release information for 03.30 vs 03.33 :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,1743,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,1743,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Zeev</description>
      <pubDate>Tue, 28 Oct 2003 03:01:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ac-compiler-versions/m-p/3103764#M717469</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-10-28T03:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: aC++ compiler versions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ac-compiler-versions/m-p/3103765#M717470</link>
      <description>B3913DB C.03.33.01 HP aC++ Compiler (S800) &lt;BR /&gt;is the newer version.&lt;BR /&gt;&lt;BR /&gt;As for finding out the differences they could be minor or could be major, certainly possible the version difference could be causing you problems. The version difference is quite big.&lt;BR /&gt;&lt;BR /&gt;Why not upgrade the 30.02 version to the later 33.02 version to see if it fixes your problem.&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Oct 2003 03:48:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ac-compiler-versions/m-p/3103765#M717470</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2003-10-28T03:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: aC++ compiler versions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ac-compiler-versions/m-p/3103766#M717471</link>
      <description>Aparna,&lt;BR /&gt;  What does the system tests reveal before going into production?  Did they work correctly?&lt;BR /&gt;&lt;BR /&gt;  If you have upgraded the compilers in between the current and previous releases of the application, then you can have a say for the compiler problem.&lt;BR /&gt;&lt;BR /&gt;  I think you are not getting the messages into application2 from the MQSeries.  May be it is a problem in MQSeries side or the Queue exit program.&lt;BR /&gt;&lt;BR /&gt;  My suggestions.&lt;BR /&gt;HTH,&lt;BR /&gt;Umapathy</description>
      <pubDate>Tue, 28 Oct 2003 04:23:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ac-compiler-versions/m-p/3103766#M717471</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2003-10-28T04:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: aC++ compiler versions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ac-compiler-versions/m-p/3103767#M717472</link>
      <description>hi Zeev,&lt;BR /&gt;&lt;BR /&gt;The applictaion does not dump any core. The code just hangs while trying to do some dynamic memory allocation.&lt;BR /&gt;Thanks for the link.&lt;BR /&gt;&lt;BR /&gt;hi Stefan,&lt;BR /&gt;&lt;BR /&gt;We will upgrade to 33.02 after the days activities are over and see if it solves the issue.&lt;BR /&gt;&lt;BR /&gt;hi Umapathy,&lt;BR /&gt;&lt;BR /&gt;The application worked fine during testing. no problem at all.&lt;BR /&gt;We did not do any upgradation on the compilers.&lt;BR /&gt;The MQSeries does not have any errors but i will check again just in case i find something.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for your suggestions.&lt;BR /&gt;&lt;BR /&gt;have fun&lt;BR /&gt;aparna</description>
      <pubDate>Tue, 28 Oct 2003 04:46:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ac-compiler-versions/m-p/3103767#M717472</guid>
      <dc:creator>aparna challagulla</dc:creator>
      <dc:date>2003-10-28T04:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: aC++ compiler versions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ac-compiler-versions/m-p/3103768#M717473</link>
      <description>A hang during memory allocation is often a problem with the application code writing past the end of an allocated memory area.  That can lead to a crash or a cpu-bound loop in later memory allocations when the damaged data structure is used.  There was a performance improvement in aCC 3.33 runtime that could expose a latent application problem.  As noted in the following extract from the release notes, the default is not to use the small block allocator.  That causes a different amount of alignment padding beyond a requested memory size.  It could expose problems where bad code had been writing into the padding bytes.  That same code could now be writing into important data structures.&lt;BR /&gt;You could try a quick experiment with using _M_SBA_OPTS to change the use of small block allocator and the amount of padding.  You could use wdb's memory check tool to look for writes before or after block bounds.&lt;BR /&gt;&lt;BR /&gt;=============================================&lt;BR /&gt;&lt;BR /&gt;o Small Block Allocator for malloc&lt;BR /&gt;&lt;BR /&gt;The aC++ runtime now automatically enables malloc's Small&lt;BR /&gt;Block Allocator (SBA) after the aCC runtime patch and libc patch&lt;BR /&gt;appropriate for your system are installed. (See the Required&lt;BR /&gt;Patches section above.)  This improves heap performance.&lt;BR /&gt;See malloc(3) and mallopt(3).&lt;BR /&gt;&lt;BR /&gt;The default values are:&lt;BR /&gt;M_MXFAST = 512 bytes&lt;BR /&gt;M_NLBLKS = 100&lt;BR /&gt;M_GRAIN = 8 bytes&lt;BR /&gt;&lt;BR /&gt;If you want to change the defaults, the environment variable _M_SBA_OPTS&lt;BR /&gt;can be used.  The format is:&lt;BR /&gt;         export _M_SBA_OPTS=::&lt;BR /&gt;&lt;BR /&gt;If your existing application is already calling mallopt, then mallopt&lt;BR /&gt;will likely return an error because libCsup will have already called&lt;BR /&gt;mallopt and allocated a small block by the time the application calls&lt;BR /&gt;mallopt.&lt;BR /&gt;&lt;BR /&gt;If the above defaults are acceptable or you are already using&lt;BR /&gt;_M_SBA_OPTS then the error should just be ignored.  If the defaults&lt;BR /&gt;would degrade performance, then either set _M_SBA_OPTS with the values&lt;BR /&gt;used by the application or you can disable this new feature by using the&lt;BR /&gt;following:&lt;BR /&gt;         export _M_SBA_OPTS=0:0:0&lt;BR /&gt;&lt;BR /&gt;Applications with latent memory leaks may fail.  If the application&lt;BR /&gt;allocates a block that is too small while SBA is disabled, the block&lt;BR /&gt;may be padded such that a overrun of the end of the allocated block&lt;BR /&gt;might not cause a failure.  But with SBA enabled, the next contiguous&lt;BR /&gt;bytes may have been used for control information and an overrun&lt;BR /&gt;would corrupt the heap and cause various aborts.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Oct 2003 12:49:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ac-compiler-versions/m-p/3103768#M717473</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2003-10-28T12:49:32Z</dc:date>
    </item>
  </channel>
</rss>

