| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ace/Service_Repository.cpp
Modified ASR::fini to print debug info for empty
service entries and handle empty service entries.
This fixes the ASR remove functionality that was
one of the reasons SC_Server was crashing at shutdown.
* examples/ASX/CCM_App/SC_Server.cpp
Removing signal handler before main exit to present SEGV
* tests/run_test.lst
Apparently it was missed in the last commit.
This fixes Bugzilla #2916 and #3205.
I'll create another patch for #3334 after this commit.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ace/Service_Repository.cpp
Modified ASR::fini to print debug info for empty
service entries and handle empty service entries.
This fixes the ASR remove functionality that was
one of the reasons SC_Server was crashing at shutdown.
* examples/ASX/CCM_App/SC_Server.cpp
Removed ACE_Sig_Adapter shutdown_handler.
Registered SIGINT and SIGQUIT handler for Event_Handler
so it could call eh->remove_std_in_handler() to prevent
SEGV at shutdown when CTRL-C was used to shutdown.
This fixes Bugzilla #2916 and #3205.
I'll create another patch for #3334 after this commit.
|
|
|
|
|
|
|
|
|
|
| |
* examples/ASX/CCM_App/SC_Server.cpp
Removed ACE_Sig_Adapter shutdown_handler.
This was causing a bus error at application termination.
It is also unnecessary because the STDIN handler
is taking care of shutdown upon a CTRL-C.
This fixes Bugzilla #2916 and #3205
|
|
|
|
|
|
|
|
| |
* tests/Bug_3334_Regression_Test.cpp
Added call to ACE_Service_Config::fini_svcs in order to see all debug output before
application exit.
#3334
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ace/Service_Types.cpp
ACE_Module_Type::fini was reverted to original code from trunk. It calls fini on
the reader and writer tasks, closes and deletes the Module, and
returns ACE_Service_Type_Impl::fini()
ACE_Stream_Type::fini was modified to not call ACE_Module_Type::fini as this will
results in a double delete when ACE_Service_Repository::fini is called.
ACE_Stream_Type::remove(module_name) was modified to not call
ACE_Module_Type::fini as this will results in a double delete
when ACE_Service_Repository::fini is called also.
* ace/Service_Repository.cpp
Modified ASR::fini to iterate over the service_array_ twice. ACE_Service_Type::fini is called
on all ACE_Stream_Type and ACE_Service_Object_Type instances first. Then, fini is called on
all ACE_Modules_Type instances. All calls to fini are done in the order the services appear
in the ASR::service_array_ except for the grouping described here. The calls to
ACE_Module_Type::fini must be done last because ACE_Stream_Type::fini accesses the Modules
so they must not be deleted from a call to ACE_Module_Type::fini before that.
I'll create a patch for ACE Bugzilla #3334 after this commit.
|
|
|
|
|
| |
* tests/run_test.lst
Restoring to entire list from debug list
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ace/Service_Types.h
* ace/Service_Types.inl
* ace/Service_Types.cpp
Added service_type_ attr to expose the type of service being managed to the ACE_Service_Repository.
This allows the ASR to manage the lifecycle of the ACE_Module and ACE_Stream in order to
avoid a double delete of ACE_Module at shutdown.
Double delete of ACE_Module_Type is avoided by deleting the ACE_Module_Type in the
ACE_Stream_Type::fini method and not returning ACE_Service_Type_Impl::fini()
from ACE_Module_Type::fini(). Instead ACE_Module_Type::fini returns zero.
* ace/Service_Repository.cpp
Modified ASR::fini to iterate over the service_array_ twice. ACE_Service_Type::fini is called
on all ACE_Module_Type instances first. Then, fini is called on all ACE_Stream_Type and
ACE_Service_Object_Type instances in the order they appear in the service_array_.
This is a patch for Bugzilla #3334
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ace/Service_Types.h
* ace/Service_Types.inl
* ace/Service_Types.cpp
Added service_type_ attr to expose the type of service being managed to the ACE_Service_Repository.
This allows the ASR to manage the lifecycle of the ACE_Module and ACE_Stream in order to
avoid a double delete of ACE_Module at shutdown.
Double delete of ACE_Module_Type is avoided by deleting the ACE_Module_Type in the
ACE_Stream_Type::fini method and not returning ACE_Service_Type_Impl::fini()
from ACE_Module_Type::fini(). Instead ACE_Module_Type::fini returns zero.
* ace/Service_Repository.cpp
Modified ASR::fini to iterate over the service_array_ twice. ACE_Service_Type::fini is called
on all ACE_Module_Type instances first. Then, fini is called on all ACE_Stream_Type and
ACE_Service_Object_Type instances in the order they appear in the service_array_.
This is a patch for Bugzilla #3334
|
|
|
|
| |
Removing branch and re-creating from trunk for quick global conflict resolution.
|
|
|
|
| |
3334 fix. Merged trunk/ACE into branches/bugzilla_fix_3334 to get entire trunk tree
|
|
|
|
| |
3334 fix. Merged trunk/ACE/ace into branches/bugzilla_fix_3334/ace and retested.
|
|
|
|
| |
ACE_Modules and the lifecycle of ACE_Modules is managed by ACE_Streams
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
<j.parsons@vanderbilt.edu>
|
| |
|
| |
|
|
|
|
| |
<j.parsons@vanderbilt.edu>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|