f



[ace-bugs] ACE_Service_Config::close() exception: Unhandled exception in test.exe (ACED.DLL): 0xC0000005:Access Violation

This is a multi-part message in MIME format.

------_=_NextPart_001_01C6A5D2.D5EEBB74
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

ACE VERSION: 5.5
=20
    HOST MACHINE and OPERATING SYSTEM:
        Windows XP service pack1=20
=20
    DOES THE PROBLEM AFFECT:
        COMPILATION?
        LINKING?
            On Unix systems, did you run make realclean first?
        EXECUTION?
        OTHER (please specify)?

        EXECUTION
=20
    SYNOPSIS:
    ACE_Service_Config::close()  has  exception: =20
         Unhandled exception in test.exe (ACED.DLL): 0xC0000005:Access
Violation
=20
    DESCRIPTION:
I try to use this function to load the logging configuration in runtime
(latest release ACE, Windows XP sp1, VC++ 6.0). =20
The source code is:=20
CLogger::CLogger() {
 if(ACE_Service_Config::open (ACE_TEXT ("ACE_Logger"),
                                  ACE_DEFAULT_LOGGER_KEY,          =20
                                  0,        //if 1, ignore static svc

                                  0,        //take value from svc.conf

                                  0) < 0)   //1 ignore debug flag
          exit(0);=20

}
=20
/** @brief Destructor=20
*=20
*/
CLogger::~CLogger() {
   ACE_Service_Config::close();
}
=20
But  when this class is desctrured , then I got an exception: Unhandled
exception in test.exe (ACED.DLL): 0xC00000005: Acess Violation.=20
=20
I am wondering what is the root cause and how to correctly use
ACE_Service_Config:: close() ?=20
=20
    REPEAT BY:

------_=_NextPart_001_01C6A5D2.D5EEBB74
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1528" name=3DGENERATOR></HEAD>
<BODY>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial size=3D2>ACE VERSION: =
5.5</FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial><FONT size=3D2>&nbsp;&nbsp;&nbsp; HOST MACHINE =
and OPERATING=20
SYSTEM:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN=20
class=3D762351618-25042006>Windows XP service pack1 =
</SPAN></FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial><FONT size=3D2>&nbsp;&nbsp;&nbsp; DOES THE =
PROBLEM=20
AFFECT:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
COMPILATION?<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
LINKING?<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;=20
On Unix systems, did you run make realclean=20
first?<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
EXECUTION?<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OTHER (please=20
specify)?</FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><BR><SPAN=20
class=3D762351618-25042006>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
EXECUTION</SPAN></FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><SPAN=20
class=3D762351618-25042006></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial><FONT size=3D2>&nbsp;&nbsp;&nbsp; =
SYNOPSIS:<BR><SPAN=20
class=3D762351618-25042006>&nbsp;&nbsp;&nbsp; <SPAN=20
class=3D360195516-25042006>ACE_Service_Config::close()&nbsp;<SPAN=20
class=3D522494814-12072006><FONT color=3D#0000ff>&nbsp;has=20
&nbsp;</FONT></SPAN>exception:&nbsp;<SPAN =
class=3D522494814-12072006><FONT=20
color=3D#0000ff>&nbsp;</FONT></SPAN></SPAN></SPAN></FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><SPAN =
class=3D762351618-25042006><SPAN=20
class=3D360195516-25042006><SPAN class=3D522494814-12072006><FONT=20
color=3D#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
</FONT>&nbsp;</SPAN>Unhandled exception in test.exe (ACED.DLL):=20
0xC0000005:Access Violation</SPAN></SPAN></FONT></FONT></DIV>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial><FONT size=3D2>&nbsp;&nbsp;&nbsp; =
DESCRIPTION:<BR>I try to=20
use this function to load the logging configuration in runtime (latest =
release=20
ACE, Windows XP sp<SPAN class=3D762351618-25042006>1</SPAN>, VC++ =
6.0).&nbsp;<SPAN=20
class=3D522494814-12072006><FONT=20
color=3D#0000ff>&nbsp;</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><SPAN =
class=3D522494814-12072006><FONT=20
color=3D#0000ff>The source code =
is:</FONT>&nbsp;</SPAN></FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D360195516-25042006>CLogger::CLogger()=20
{</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D360195516-25042006>&nbsp;if(ACE_Service_Config::open (ACE_TEXT=20
("ACE_Logger"),<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
ACE_DEFAULT_LOGGER_KEY,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;=20
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //if 1, ignore static=20
svc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;=20
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //take value from=20
svc.conf&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
=20
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0) &lt; 0)&nbsp;&nbsp; //1 ignore debug=20
flag<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
exit(0);&nbsp;</SPAN></FONT></DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D360195516-25042006>
<DIV><BR>}</DIV>
<DIV>&nbsp;</DIV>
<DIV>/** @brief Destructor <BR>* <BR>*/<BR>CLogger::~CLogger() =
{<BR>&nbsp;&nbsp;=20
ACE_Service_Config::close();<BR>}</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D360195516-25042006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D360195516-25042006>But&nbsp;<SPAN=20
class=3D522494814-12072006><FONT color=3D#0000ff>&nbsp;</FONT><FONT=20
color=3D#000000>when this class is desctrured&nbsp;</FONT></SPAN>, then =
I=20
got&nbsp;an exception: Unhandled exception in test.exe (ACED.DLL): =
0xC00000005:=20
Acess Violation.&nbsp;</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D360195516-25042006></SPAN></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D360195516-25042006>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D360195516-25042006>I am =
wondering=20
what&nbsp;is the root cause and how to&nbsp;correctly=20
use&nbsp;&nbsp;ACE_Service_Config::<SPAN =
class=3D522494814-12072006><FONT=20
color=3D#0000ff>&nbsp;close()&nbsp;</FONT></SPAN>?=20
</SPAN></FONT></DIV></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D360195516-25042006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; REPEAT=20
BY:</FONT></DIV></BODY></HTML>

------_=_NextPart_001_01C6A5D2.D5EEBB74--

0
Hu
7/12/2006 4:46:44 PM
comp.soft-sys.ace 20326 articles. 1 followers. marlow.andrew (167) is leader. Post Follow

0 Replies
591 Views

Similar Articles

[PageSpeed] 47

Reply:

Similar Artilces:

[ace-bugs] ACE::init() : Calling ACE::init() causes an exception on 20th instantiation of a DLL
ACE VERSION: 5.5 HOST MACHINE and OPERATING SYSTEM: Windows 2000 5.00.2195 Service Pack 4 with WINSOCK dll version 3.10.0.103 TARGET MACHINE and OPERATING SYSTEM: Same COMPILER NAME AND VERSION (AND PATCHLEVEL): Microsoft Dev Env 2003 Version 7.1.3088 (Visual C++) THE $ACE_ROOT/ace/config.h FILE: #define ACE_HAS_STANDARD_CPP_LIBRARY 1 #define ACE_AS_STATIC_LIBS 1 #include "ace/config-win32.h" THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE: No such file exists. CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features: No such file exists. AREA/CLASS/EXAMPLE AFFECTED: ACE:init() DOES THE PROBLEM AFFECT: EXECUTION of our application SYNOPSIS: Calling ACE::init() causes an exception on 20th instantiation of a DLL. DESCRIPTION: 1. With only change in the DLL and calling application being migration from ACE 5.3.1 to 5.5, calling ACE::init() causes a first chance exception on the 20th and all subsequent instantiations of the DLL. 2. Our application and DLL were recently upgraded ACE from ACE 5.3.1 to 5.5. All went well with the upgrade with the exception of our modified version of the ASNMP library. We pass a reactor to ASNMP library class transaction rather than use the ACE_Reactor::instance. With the new version of ACE, this would lead to an uncaught exception when unloading the DLL that makes use of the SNMP code. A solution wa...

[ace-bugs] [ACE tests]:ACE tests timing out
ACE VERSION: 5.3.3 HOST MACHINE and OPERATING SYSTEM: Solaris 8 (5.8) TARGET MACHINE and OPERATING SYSTEM, if different from HOST: SAME COMPILER NAME AND VERSION (AND PATCHLEVEL): gcc 3.0.3 GNU MAKE 3.8 CONTENTS OF $ACE_ROOT/ace/config.h: config-sunos5.8.h CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU): platform_sunos5_g++.GNU AREA/CLASS/EXAMPLE AFFECTED: Running Message_Queue_Test_Ex and Proactor_Test Fails DOES THE PROBLEM AFFECT: COMPILATION? no LINKING? no ...

Re: [ace-users] [ace-bugs] [BULK] Re: Calling ACE::init() causes exception on 20th instantiation of a DLL
After some delays due to project commitments I was able to create a small project that loads and unloads a DLL today. With this application I was able to reproduce an exception within ACE::init code after multiple load / unloads of the DLL. I am in the process of packaging up my test service and DLL with instructions, but in the meantime, I was able to narrow down the exception in ACE code to the following point : ACE_Unmanaged_Singleton<ACE_Service_Config,ACE_Recursive_Thread_Mutex>::instance() Line 174 <--------- this line ACE_Unmanaged_Singleton<ACE_Service_Config,ACE_Recursive_Thread_Mutex>::instance() Line 174 ACE_Service_Config::global() Line 324 ACE_Service_Config::current() Line 63 + 0x5 ACE_Service_Config::static_svcs() Line 316 ACE_Object_Manager_Preallocations::ACE_Object_Manager_Preallocations() Line 134 + 0x9 ACE_Object_Manager::init() Line 258 + 0x30 ACE_Object_Manager::ACE_Object_Manager() Line 313 ACE_Object_Manager::instance() Line 334 + 0x27 ACE::init() Line 23 + 0x5 template <class TYPE, class ACE_LOCK> TYPE * ACE_Unmanaged_Singleton<TYPE, ACE_LOCK>::instance (void) { ACE_TRACE ("ACE_Unmanaged_Singleton<TYPE, ACE_LOCK>::instance"); ACE_Unmanaged_Singleton<TYPE, ACE_LOCK> *&singleton = ACE_Unmanaged_Singleton<TYPE, ACE_LOCK>::instance_i (); // Perform the Double-Check pattern... if (singleton ...

[ace-bugs] Re: [ace-users] How to use c++ native exception handling instead of ACE's while building ACE+TAO
Hi, To ensure that we have proper version/platform/compiler information, please make sure you fill out the appropriate problem report form (PRF), which is in $ACE_ROOT/PROBLEM-REPORT-FORM $TAO_ROOT/PROBLEM-REPORT-FORM or in $ACE_ROOT/BUG-REPORT-FORM $TAO_ROOT/BUG-REPORT-FORM in older versions of ACE+TAO. Make sure to include this information when asking any questions about ACE+TAO since otherwise we have to "guess" what version/platform/compiler/options you've using, which is error-prone and slows down our responsiveness. > I know we can set exceptions = 1 or 0 in platform_macros.GNU > to use ACE's exception handling or C++'s native exception handling. > > But I am still not clear on which value should I set exceptions to if > I want to use only the C++'s native exception handling support. Then just set it to 1 which is the default. Regards, Johnny Willemsen Remedy IT Postbus 101 2650 AC Berkel en Rodenrijs The Netherlands www.theaceorb.nl / www.remedy.nl ------=_Part_4854_4331443.1142846841468 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline ACE VERSION: 5.5 HOST MACHINE and OPERATING SYSTEM: *Sparc, Solaris 10 * If on Windows based OS's, which version of WINSOCK do you use?: TARGET MACHINE and OPERATING SYSTEM, if different from HOST: COMPILER NAME AND VERSION (AN...

[ace-bugs] Calling ACE::init() causes exception on 20th instantiation of a DLL
ACE VERSION: 5.5 HOST MACHINE and OPERATING SYSTEM: Windows 2000 5.00.2195 Service Pack 4 with WINSOCK dll version 3.10.0.103 TARGET MACHINE and OPERATING SYSTEM: Same COMPILER NAME AND VERSION (AND PATCHLEVEL): Microsoft Dev Env 2003 Version 7.1.3088 (Visual C++) THE $ACE_ROOT/ace/config.h FILE: #define ACE_HAS_STANDARD_CPP_LIBRARY 1 #define ACE_AS_STATIC_LIBS 1 #include "ace/config-win32.h" THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE: No such file exists. CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features: No such file exists. AREA/CLASS/EXAMPLE AFFECTED: ACE:init() DOES THE PROBLEM AFFECT: EXECUTION of our application SYNOPSIS: Calling ACE::init() causes an exception on 20th instantiation of a DLL. DESCRIPTION: 1. With only change in the DLL and calling application being migration from ACE 5.3.1 to 5.5, calling ACE::init() causes a first chance exception on the 20th and all subsequent instantiations of the DLL. 2. Our application and DLL were recently upgraded ACE from ACE 5.3.1 to 5.5. All went well with the upgrade with the exception of our modified version of the ASNMP library. We pass a reactor to ASNMP library class transaction rather than use the ACE_Reactor::instance. With the new version of ACE, this would lead to an uncaught exception when unloading the DLL that makes use of the SNMP code. A solutio...

[ace-bugs] Re: [ACE DLL Project] error in linking ACE DLL
Hi Saiful, Thanks for using the PRF! > ACE VERSION: 5.3 Please upgrade to ACE 5.4 <deuce.doc.wustl.edu/Download.html> and see if things work better with this. If you need to use ACE 5.3 please contact one of the companies listed in http://www.cs.wustl.edu/~schmidt/commercial-support.html for help. Thanks, Doug > HOST MACHINE and OPERATING SYSTEM: > Windows XP > version of WINSOCK: 3.10.0.103 > > TARGET MACHINE and OPERATING SYSTEM: the same as HOST > > COMPILER NAME AND VERSION (AND PATCHLEVEL): > Mic...

[ace-bugs] [BULK] Re: Calling ACE::init() causes exception on 20th instantiation of a DLL
Hi, I upgraded to the ACE 5.5.7 and found the same issue exists, but the behavior is slightly different. With ACE 5.5, the exception occurs within the ACE::init() call. Debugging is pointing to ACE_Object_Manager::init() code at line 262. Call stack indicates: ACE_TSS_Keys::test_and_set() Line 566 ACE_TSS_Cleanup::thread_use_key() Line 1066 ACE_OS::thr_setspecific() Line 5468 ACE_Thread::setspecific() Line 42 ACE_Log_Message::instance() Line 365 ACE_Object_Manager::init() Line 262 <-------------------- Line pointed to by debugger ACE_Object_Manager::ACE_Object_Manager() Line 313 ACE_Object_Manager::instance() Line 334 ACE::init() Line 23 With ACE 5.5.7, the ACE::init() succeeds, however, as soon as an object is created that uses ACE, an exception occurs. Further testing also indicates that when the application is configured to use 2 DLLs, the exception occurs on the 10th iteration, rather than the 20th. I have some screen captures that I could send showing call stacks and object states if they would be of assistance to anyone. Thanks, Andrew >>> "Douglas C. Schmidt" <schmidt@dre.vanderbilt.edu> 04/09 10:56 AM >>> Hi Andrew, Thanks very much for using the PRF. > ACE VERSION: 5.5 I believe this problem has been fixed in recent versions of ACE. Please upgrade to ACE+TAO+CIAO x.5.7 (i.e., ACE 5.5.7, TAO 1.5.7, and CIAO 0.5.7), which you can download from http://d...

[ace-bugs] Re: [ACE DLL Project] error in linking ACE DLL #2
Hi, > Thanks for your response. > When I tried to build a new version (5.4), the same error occured. > I built in the smae operating system and compiler. > > Is there any environment variable that I sould set? Are you having the problem in your application code or in the ACE library/test code? Thanks, Doug ...

Re: [ace-users] [BULK] Re: [ace-bugs] [BULK] Re: Calling ACE::init() causes exception on 20th instantiation of a
Thanks to Aleksandar Vukajlovic at finsoft! He got us a bit closer to finding this issue and also came up with some much simpler test code that reproduces the issue (see below). It seems that ACE::fini is not properly cleaning up a thread or some storage. When config.h file is modified to include more thread keys (#define ACE_DEFAULT_THREAD_KEYS 1000), the issue occurs later on. The default value for ACE_DEFAULT_THREAD_KEYS is 64, with this, ACE::init will fail after ~20 iterations, with it increased to 1000, ACE::init fails ~500 iterations. Small program that will reproduce bug without using complex MFC follows from Aleksandar. Many thanks in advance for anyone who can help debug this. - Andrew //Test code #include "ace/OS.h" #include "ace/Log_Msg.h" #ifdef _DEBUG const char* dll_name = "U:\\Temp\\TestACEInit\\DllTest\\Debug\\DllTest.dll"; #else const char* dll_name = "U:\\Temp\\TestACEInit\\DllTest\\Release\\DllTest.dll"; #endif //_DEBUG void doTest () { for (int i = 0; i < 1000; ++i) { HMODULE hm = ::LoadLibrary (dll_name); if (hm == NULL) ACE_DEBUG ((LM_ERROR, "failed to load library, iteration (%d)\n", i)); if (::FreeLibrary (hm) == FALSE) ACE_DEBUG ((LM_ERROR, "failed to free library, iteration (%d)\n", i)); } } int main (int argc, char* argv[]) { doTest (); return 0; } ////////////////////////////////// // DllTest code...

[ace-bugs] Re: [ACE DLL Project] error in linking ACE DLL #2 #2
Hi Saiful, > Using MSVC++, I open ACE_Wrapper\ace\ace.dsw There are three project > there, ACE, RMCast, TMCast. The problem occured when I build (in > linking phase) the ACE Project. Hum, that's very odd since we build ACE 5.4 on XP using the MSVC++ 7.1 compiler all the time and things work fine for us. I recommend that you contact Steve Huston <shuston@riverace.com> or Johnny Willemsen <jwillemsen@remedy.nl> for commercial support. Take care, Doug ...

[ace-users] [ACE] ACE tests fails when running test suite coming along with the ACE package.
------=_Part_15751_29314851.1158178144544 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I had sent this mail yesterday before I subscribed the mail list. Since it did not show in the daily digest, I'm wondering if the email has been received. So hereby I'm sending the report again. If you guys have already got the previous one, just discard this email and I appologize for the duplicate. Hai Hi, I'm not a direct ACE user. In my current project I'm using a IEEE1451.1 lib that is built upon ACE 5.2. Since ACE 5.2 produced a lot compile and link error when using my current machine and OS, I turned to ACE 5.5 thinking it should be compatible with v5.2. I downloaded the ACE 5.5 package from the website. There was no trouble compiling and linking the code. However, to make sure the lib is usable, I ran the test suite that comes along with the package (under the directory $ACE_ROOT/tests/) using ./run_test.pl. There are four tests reported errors. I'm wondering if that indicates bugs in the current building and if the built lib still usable? The following are the problem discription in the bug report form. Please let me know if you need any other information. Thanks if any of you could help. ACE VERSION: 5.5 HOST MACHINE and OPERATING SYSTEM: Linux r3-mobile 2.6.14-1.1644_2.FC4.cubbi_swsusp2_rcubed (Fedora Core 4) TARGET MAC...

[ace-bugs] Re: [ace-users] ACE
Hi, Thanks for using the PRF. >> ACE VERSION: 5.4.1 >> >> HP Server and HP-UX 11.1 >> >> aCC: HP ANSI C++ B3910B A.03.37 >> >> CONTENTS OF $ACE_ROOT/ace/config.h : config-hpux-11.00.h >> >> CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU : >> platorm_hpux_aCC.GNU >> >> AREA/CLASS/EXAMPLE AFFECTED: >> >> $ACE_ROOT/ace - Compiled successfully but >> >> $ACE_ROOT/ - failed to compile as shown below >> >> Installing gperf -> /home/umit...

[ace-bugs] ACE bug
ACE VERSION: 5.4.3 HOST MACHINE and OPERATING SYSTEM: WindowsXP TARGET MACHINE and OPERATING SYSTEM, if different from HOST: WindowsCE 5.0 COMPILER NAME AND VERSION (AND PATCHLEVEL): eMbedded Visual C++ 4.0 plus current service pack THE $ACE_ROOT/ace/config.h FILE: #define ACE_HAS_STANDARD_CPP_LIBRARY 1 #define ACE_DISABLE_WIN32_INCREASE_PRIORITY #include "ace\config-win32.h" THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE: CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features (used by MPC when you generate your own makefiles): AREA/CLASS/EXAMPLE AFFECTED: Failed to compile Shared_Memory_SV.cpp DOES THE PROBLEM AFFECT: COMPILATION? Yes, can't compile ACE. LINKING? EXECUTION? OTHER (please specify)? SYNOPSIS: Can't compile e.g. Shared_Memory_SV.cpp due an 'external "C"' problem in file os_stat.h DESCRIPTION: The compiler anounces many errors like: e:\tao1.4\ace_wrappers\ace\os_ns_errno.h(42) : error C2733: second C linkage of overloaded function 'last_error' not allowed e:\tao1.4\ace_wrappers\ace\os_ns_errno.h(42) : see declaration of 'last_error' e:\tao1.4\ace_wrappers\ace\os_ns_stdlib.h(77) : error C2733: second C linkage of overloaded function 'atoi' not allowed e:\tao1.4\ace_wrappers\ace\os_ns_stdlib.h(77) : see declaration of 'atoi'...

[ace-users] Re: [ace-bugs] ACE Licensing Issue: ace/CLASSIX
Hi Michael, Thanks for using the PRF. >> ACE VERSION: 5.4 >> >> HOST MACHINE and OPERATING SYSTEM: >> HP rp8400 HP-UX 11iv1 >> >> TARGET MACHINE and OPERATING SYSTEM, if different from HOST: >> COMPILER NAME AND VERSION (AND PATCHLEVEL): >> aCC >> >> CONTENTS OF $ACE_ROOT/ace/config.h: >> >> CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU >> (unless >> this isn't used in this case, e.g., with Microsoft Visual C++): >> >> AREA/CLASS/EXAMPLE AFFECTED: >> ace/CLASSIX >> >> DOES THE PROBLEM AFFECT: >> OTHER? (Licensing) >> >> SYNOPSIS: >> Nearly all the files in ace/CLASSIX have a copyright in them >> or a signature from Nokia. Our lawyers are going nuts. >> Example: >> CLASSIX_Dgram_Mcast.cpp: >> // Copyright 1998 Nokia Telecommunications >> >> CLASSIX_OS.h >> // = AUTHOR(S) >> // Nokia Telecommunications >> >> DESCRIPTION: >> How does this affect the ace license? >> >> REPEAT BY: >> >> SAMPLE FIX/WORKAROUND: >> Get the copyrights out of the code, or put special permissions >> into the code. O...

Unhandled exception in MediaLink.exe (COMCTL32.DLL) : 0xC0000005 : Access Violation
Hello, I am getting an Unhandled Exception with some operations that are done with wxTreeCtrl & wxListCtrl on Windows XP OS.And the exception occurs after code leaves the function block for OnDoubleClick() event on wxTreeCtrl. Exception Is :-- Unhandled exception in MediaLink.exe (COMCTL32.DLL) : 0xC0000005 : Access Violation Version of COMCTL32.dll at below path is :-- Path C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common- Controls_6595b64144ccf1df_6.0.0.0_x-ww_1382d70a Version 6.0.2600.0 Version of COMCTL32.dll at below path is :-- Path C:\WINDOWS\system32 Version ...

Unhandled exception in MediaLink.exe (COMCTL32.DLL) : 0xC0000005 : Access Violation
Hello, I am getting an Unhandled Exception with some operations that are done with wxTreeCtrl & wxListCtrl on Windows XP OS.And the exception occurs after code leaves the function block for OnDoubleClick() event on wxTreeCtrl. Exception Is :-- Unhandled exception in MediaLink.exe (COMCTL32.DLL) : 0xC0000005 : Access Violation Version of COMCTL32.dll at below path is :-- Path C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common- Controls_6595b64144ccf1df_6.0.0.0_x-ww_1382d70a Version 6.0.2600.0 Version of COMCTL32.dll at below path is :-- Path C:\WINDOWS\system32 Version 5.82.2900.2180 A...

[ace-bugs] [ace-users] ACE Tests : Basic_Types_Test fails on Intel EM64T (Nocona)
Hi Johnnly and alls, >From me and Dan Shechter. 1. The PRF is deeply below. 2. Explanation: long double on Intel is indeed 12 bytes with alignment of 16 bytes, whereas gcc treats it as 16 bytes. For details: http://www.intel.com/cd/ids/developer/asmo-na/eng/microprocessors/ia32/x eon/167739.htm?page=3 http://forums.unitedadmins.com/index.php?s=4b433a8c4986fb89885d81de5b4ef 38b&showtopic=41224&st=0&#entry239013 3. Solution: We were about to write our preprocessing, but found a ready one in Basic_Types.h # ifndef ACE_SIZEOF_LONG_DOUBLE # if LDBL_MAX_E...

Re: [ace-users] [ace-bugs] ace-bugs: ACE_FACTORY_DEFINE NEEDED
Hi, Thanks for using the PRF! > ACE VERSION: 6.1.7 > > HOST MACHINE and OPERATING SYSTEM: > > Intel(R) Core(TM)2 Duo CPU > Ubuntu 12.04.2 LTS > Linux version 3.2.0-37-generic > > TARGET MACHINE and OPERATING SYSTEM, if different from HOST: > COMPILER NAME AND VERSION (AND PATCHLEVEL): > > gcc version 4.6.3 > (Ubuntu/Linaro 4.6.3-1ubuntu5) > > THE $ACE_ROOT/ace/config.h FILE: > > #include "ace/config-linux.h" > > THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE : > > include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU > ssl=1 > > CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features > (used by MPC when you generate your own makefiles): > > NONE > > AREA/CLASS/EXAMPLE AFFECTED: > > examples/C++NPv2/AIO_Client_Logging_Daemon.cpp > > DOES THE PROBLEM AFFECT: > EXECUTION! > sr_configurable_logging_server fails to properly work with libAIO_CLD.so > > SYNOPSIS: > > In AIO_Client_Lo...

[ace-bugs] ACE 6 doesn't honor -fno-exceptions
ACE VERSION: 6.0.1 HOST MACHINE and OPERATING SYSTEM: Mac OS X TARGET MACHINE and OPERATING SYSTEM, if different from HOST: COMPILER NAME AND VERSION (AND PATCHLEVEL): i686-apple-darwin9-g++-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490) THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform- specific file, simply state which one]: config-macosx-leopard.h THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you use a link to a platform-specific file, simply state which one (unless this isn't used in this case, e.g., with Microsoft Visual C++)]: platform_macosx_leopard.GNU BUILD METHOD USED: Makefile DOES THE PROBLEM AFFECT: COMPILATION of ACE and my applications SYNOPSIS: ACE doesn't honor -fno-exceptions DESCRIPTION: When I compile ACE, config-g++-common.h forces ACE_NEW_THROWS_EXCEPTIONS to be defined, even though I explicitly compile with exceptions=3D0 (-fno-exceptions). While it makes sense to turn on exceptions by default, some applications are intentionally written to check error conditions instead of throwing exceptions, so it must be possible to turn this off. SAMPLE FIX/WORKAROUND: include/makeinclude/wrapper_macros.GNU: ifeq ($(exceptions),0) CCFLAGS +=3D -fno-exceptions -fcheck-new endif # exceptions ace/config-g++-common.h: + #if defined (__EXCEPTIO...

[ace-bugs] Re: [ace-users] Re: native C++ exception support
Hi, > hi, > > Thanks for using the PRF. > > >> ACE VERSION: 5.4 > >> > >> HOST MACHINE and OPERATING SYSTEM: > >> SunOS pangea 5.8 Generic_117350-05 sun4u sparc SUNW,Ultra-80 > >> > >> COMPILER NAME AND VERSION (AND PATCHLEVEL): > >> gcc version 3.2 > >> > >> CONTENTS OF $ACE_ROOT/ace/config.h: > >> #include "ace/config-sunos5.8.h" > >> > >> > >> CONTENTS OF $ACE_ROOT/include/makeinclude/platform_ma...

[ace-bugs] Re: [ace-users] Sigsegv Fault after throw a customize exception,why?
Hi, Thanks for using the PRF. >> ACE VERSION: 5.19 The version of ACE you're using seems to be ancient. I recommend that you upgrade to a more recent version and/or contact Steve Huston <shuston@riverace.com> for commercial support. Thanks, Doug >> HOST MACHINE and OPERATING SYSTEM: >> UnixWare 5 7.1.1 i386 x86at SCO UNIX_SVR5 >> >> TARGET MACHINE and OPERATING SYSTEM, if different from HOST: >> >> COMPILER NAME AND VERSION (AND PATCHLEVEL): gcc version 2.95.2 >> >> CONTEN...

[ace-bugs] Re: [ace-users] Contribution to ACE
Hi Ishay, >> I will submit it soon. Great, thanks. >> The solution is implemented as part of my company internal framework. It is >> not written with the coding style of ace. >> >> Should I do some kind of adjustment before submitting it to the group? Yes - please see http://www.cs.wustl.edu/~schmidt/ACE_wrappers/docs/ACE-guidelines.html for instructions on how to conform to the ACE programming guidelines. >> Should I rewrite it so it will compile with the ace library? Yes, please try to get things working "out of the box" so that we can integrate it easily. Also, please add a "one button" test following the style of the various tests in $ACE_ROOT/tests/*_Test.cpp so that we can ensure that your changes work properly. >> Also, In order to integrate it as part of ace frameworks it will >> need some changes in the implementation. Are you referring to changes in the ACE implementation or to your framework's implementation? Thanks, Doug -- Dr. Douglas C. Schmidt Professor and Associate Chair Electrical Engineering and Computer Science TEL: (615) 343-8197 Institute for Software Integrated Systems WEB: www.dre.vanderbilt.edu/~schmidt Vanderbilt University, Nashville TN, 37203 NET: d.schmidt@vanderbilt.edu ...

[ace-bugs] ACE Licensing Issue: ace/CLASSIX
ACE VERSION: 5.4 HOST MACHINE and OPERATING SYSTEM: HP rp8400 HP-UX 11iv1 TARGET MACHINE and OPERATING SYSTEM, if different from HOST: COMPILER NAME AND VERSION (AND PATCHLEVEL): aCC CONTENTS OF $ACE_ROOT/ace/config.h: CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU (unless this isn't used in this case, e.g., with Microsoft Visual C++): AREA/CLASS/EXAMPLE AFFECTED: ace/CLASSIX DOES THE PROBLEM AFFECT: OTHER? (Licensing) SYNOPSIS: Nearly all the files in ace/CLASSIX have a copyright in them or a signature from Nokia. Our lawyers are going nuts. Example: CLASSIX_Dgram_Mcast.cpp: // Copyright 1998 Nokia Telecommunications CLASSIX_OS.h // = AUTHOR(S) // Nokia Telecommunications DESCRIPTION: How does this affect the ace license? REPEAT BY: SAMPLE FIX/WORKAROUND: Get the copyrights out of the code, or put special permissions into the code. ...

[ace-bugs] Re: [ace-users] Moving to ACE?
Hi Marcelo, Thanks for your email. BTW, to ensure that we have proper version/platform/compiler information, please make sure you fill out the appropriate problem report form (PRF), which is in $ACE_ROOT/PROBLEM-REPORT-FORM $TAO_ROOT/PROBLEM-REPORT-FORM or in $ACE_ROOT/BUG-REPORT-FORM $TAO_ROOT/BUG-REPORT-FORM in older versions of ACE+TAO. Make sure to include this information when asking any questions about ACE+TAO since otherwise we have to "guess" what version/platform/compiler/options you've using, which is error-prone and slows down our responsiveness...

Web resources about - [ace-bugs] ACE_Service_Config::close() exception: Unhandled exception in test.exe (ACED.DLL): 0xC0000005:Access Violation - comp.soft-sys.ace

Resources last updated: 3/5/2016 7:13:12 AM