[Ace-users] Re: [tao-users] tao exit crah
Johnny Willemsen
jwillemsen at remedy.nl
Wed Jul 11 08:06:45 CDT 2007
Hi,
Do you really use the CSD stuff in your app? If not, remove it. Static
initialization can bea problem on solaris, but I see you already use -z now.
How do you initiate the shutdown, maybe that can cause a problem also.
Regards,
Johnny Willemsen
Remedy IT
Postbus 101
2650 AC Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl
*** Integrated compile and test statistics see
http://scoreboard.theaceorb.nl ***
*** Commercial service and support for ACE/TAO/CIAO ***
*** See http://www.theaceorb.nl/en/support.html ***
"Jochen Rothenbacher" <jochen.rothenbacher at nsn.com> wrote in message
news:<Xns996A5CCA96440jochenrothenbachersi at 139.23.33.23>...
> Hi all,
>
>
>
> ACE VERSION: 5.5.6
>
> HOST MACHINE and OPERATING SYSTEM:
> sun solaris 10
>
> TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
> COMPILER NAME AND VERSION (AND PATCHLEVEL):
>
> CC: Sun C++ 5.7 Patch 117830-08 2006/07/12
>
> THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
> specific file, simply state which one]:
>
> #include "ace/config-sunos5.10.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++)]:
>
> include $(ACE_ROOT)/include/makeinclude/platform_sunos5_sunc++.GNU
>
> CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
> (used by MPC when you generate your own makefiles):
> ssl=0
> qos=0
>
>
> DOES THE PROBLEM AFFECT:
> EXECUTION:
> Exit crash.
>
>
> SYNOPSIS:
> Process linked with TAO libaries causes an exit crash.
>
>
> DESCRIPTION:
> A process linked with the following libraries causes an exit crash:
>
> libTAO.so.1.5.6
> libTAO_PortableServer.so.1.5.6
> libTAO_CSD_ThreadPool.so.1.5.6
> libTAO_PI.so.1.5.6
> libTAO_AnyTypeCode.so.1.5.6
> libTAO_Codeset.so.1.5.6
> libTAO_CSD_Framework.so.1.5.6
> libTAO_CodecFactory.so.1.5.6
> libTAO_ObjRefTemplate.so.1.5.6
> libTAO_Valuetype.so.1.5.6
> libTAO_IORInterceptor.so.1.5.6
>
> here is the core stack:
> > fdf41a58 _lwp_kill (6, 0, 0, fdf24d0c, ffffffff, 6) + 8
> > fdec01f8 abort (0, 1, ff0ba024, a81b4, fdf6b2d8, 0) + 110
> > ff0b7f88 SMTSigHandler (b, 0, ffbfd308, 0, ff0d1da0, fbeb0000) +
> b4
> > fdf40990 __sighndlr (b, 0, ffbfd308, ff0b7ed4, 0, 0) + c
> > fdf35a78 call_user_handler (b, 0, 12, 0, fe922000, ffbfd308) +
> 3b8
> > fe957524 __
> 1cbBTAO_CSD_Strategy_RepositoryNStrategy_Node2T5B6M_v_ (49455f44, 54680,
> 80, fe564e14, 31, 54690) + c
> > fe957104 __1cbBTAO_CSD_Strategy_Repository2T6M_v_ (49478, 0,
> 93120, fdf6fb94, 1a, 1a) + 34
> > fe957b08 __SLIP.DELETER__QB (49478, 1, 93160, fdf6cc80,
> fe922000, 1000) + 10
> > fe957784 __1cbJ_gobble_TAO_CSD_Strategy_Repository6Fpv_v_
> (49478, 1084, 93160, fe5752ec, fe922000, 1000) + a4
> > fe573e94 __1cVACE_Service_Type_ImplEfini6kM_i_ (5c8e0, 5d440,
> 4ed50, 4ed50, 88, 48) + 10c
> > fe574104 __1cXACE_Service_Object_TypeEfini6kM_i_ (5c8e0, 5d4c0,
> 88, fe6026f0, 3b, 5d4d0) + 64
> > fe5716ec __1cQACE_Service_TypeEfini6M_i_ (49520, 42e90, 93120,
> fdf6fb94, 13, 13) + 64
> > fe5724bc __1cWACE_Service_RepositoryEfini6M_i_ (42e80, 1084,
> 93160, fdec09bc, fe922000, 1000) + 25c
> > fe564e14 __1cSACE_Service_ConfigJfini_svcs6F_i_ (5c600, 0, 0, 0,
> 0, 0) + 54
> > fe5ffc9c __1cSACE_Object_ManagerEfini6M_i_ (482c8, 0, 0, 0, 0,
> 0) + ec
> > fe6021d4 __1cVACE_OS_Object_ManagerEfini6M_i_ (614d0, 0, 0, 0,
> 0, 0) + bc
> > fe601b6c __1cVACE_OS_Object_Manager2T6M_v_ (614d0, 1, 0, 0, 0,
> 0) + 24
> > fe6027d8 __SLIP.DELETER__A (614d0, 1, 0, ff, 0, 0) + 10
> > fe6026f0 __1cbDACE_OS_Object_Manager_Manager2T5B6M_v_ (fe6dfe98,
> 0, 0, 0, 0, fe922000) + 88
> > fe6027a8 __SLIP.FINAL__A (1, 1084, fbedcf40, 0, fe922000, 1000)
> + 28
> > fdec09bc _exithandle (fdf6dc40, fbedce80, fdf6cc80, 546a8,
> fe31b6d8, 617d4) + 3c
> > fdeaf2e0 exit (0, 50b38, 12800, 0, 0, ffbfdd90) + 4
> > 00012284 _start (0, 0, 0, 0, 0, 0) + 110
>
>
> The process was linked as follows
>
> (...)/usr/ccs/bin (...) target.o -mt +w -features=no%altspell -z now
> (...) -L/(...)/opt/ACE/lib -R/opt/ACE/lib (...) -lTAO -
> lTAO_PortableServer -lTAO_CSD_ThreadPool -lTAO_PI -lTAO_AnyTypeCode -
> lTAO_Codeset -lTAO_CSD_Framework -lTAO_CodecFactory -lTAO_ObjRefTemplate
> -lTAO_Valuetype -lACE -lnsl -lsocket -lrwtool -lpthread -o target.luc
>
> whereas (...) is our project specific stuff
>
>
> What I observed is that the process doesn't crashes if
> libTAO_Codeset.so.1.5.6 and libTAO_CSD_ThreadPool.so.1.5.6 isn't
> linked anymore to the target.
>
> Is there a problem with a static constructor or the like?
>
>
>
> Gruss Jochen
More information about the Ace-users
mailing list