[ace-users] Segmentation fault in ACE_Select_Reactor_T::handle_error

Jules d'Entremont Jules.dEntremont at SolaceSystems.com
Thu Jun 28 14:39:42 CDT 2007


    ACE VERSION: 5.5.1

 

    HOST MACHINE and OPERATING SYSTEM:

        Linux dev228 2.6.11.11sol-pe #1 SMP Thu Aug 25 13:56:24 EDT 2005
i686 i686 i386 GNU/Linux

 

    TARGET MACHINE and OPERATING SYSTEM, if different from HOST:

    COMPILER NAME AND VERSION (AND PATCHLEVEL):  

      g++ (GCC) 3.3.2

 

    THE $ACE_ROOT/ace/config.h FILE [if you use a link to a
platform-specific file, simply state which one]:  

       #include "config-linux.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_linux.GNU

 

    CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features

    (used by MPC when you generate your own makefiles):

 

    AREA/CLASS/EXAMPLE AFFECTED:

 

    DOES THE PROBLEM AFFECT:

        COMPILATION?

        LINKING?

            On Unix systems, did you run make realclean first?

        EXECUTION?  yes

        OTHER (please specify)?

 

    SYNOPSIS:

 

    DESCRIPTION:

I've recently been getting segmentation faults in my ACE application,
which I'm at a loss to explain.  Here's the stack trace:

 

(gdb) where

#0  0xb7ffe327 in ACE_OS::NULL_key () from /usr/local/lib/libACE.so.5

#1  0xb7f9cf69 in ACE_Select_Reactor_Handler_Repository::unbind
(this=0x0, handle=135356272, mask=511) at
../../ace/Select_Reactor_Base.cpp:445

#2  0xb7f22d10 in ACE_Select_Reactor_T<ACE_Reactor_Token_T<ACE_Token>
>::remove_handler_i (this=0x8108168, handle=135366840, mask=135366840)

    at ../../ace/Select_Reactor_T.cpp:1014

#3  0xb7f237ca in ACE_Select_Reactor_T<ACE_Reactor_Token_T<ACE_Token>
>::check_handles (this=0x8108168) at ../../ace/Select_Reactor_T.cpp:1508

#4  0xb7f2383b in ACE_Select_Reactor_T<ACE_Reactor_Token_T<ACE_Token>
>::handle_error (this=0x8108168) at ../../ace/Select_Reactor_T.cpp:787

#5  0xb7f20b37 in ACE_Select_Reactor_T<ACE_Reactor_Token_T<ACE_Token>
>::wait_for_multiple_events (this=0x8108168, dispatch_set=@0x810817c,
max_wait_time=0x0)

    at ../../ace/Select_Reactor_T.cpp:1092

#6  0xb7f24cc0 in ACE_Select_Reactor_T<ACE_Reactor_Token_T<ACE_Token>
>::handle_events_i (this=0x8108168, max_wait_time=0x81188b8)

    at ../../ace/Select_Reactor_T.cpp:1425

#7  0xb7f20d77 in ACE_Select_Reactor_T<ACE_Reactor_Token_T<ACE_Token>
>::handle_events (this=0x8108168, max_wait_time=0x0) at
../../ace/Select_Reactor_T.cpp:1406

#8  0xb7f8f1c6 in ACE_Reactor::run_reactor_event_loop (this=0x81062e0,
eh=0) at ../../ace/Reactor.cpp:233

#9  0x08079ce3 in (anonymous namespace)::ReactorThread::svc
(this=0x8111280) at
/home/jdentremont/svn/branches/d14_branch/cppcsmp/CSMPFactory.cpp:131

#10 0xb7faeb92 in ACE_Task_Base::svc_run (args=0x8111280) at
../../ace/Task.cpp:258

#11 0xb7faf00c in ACE_Thread_Adapter::invoke_i (this=0x8115f80) at
../../ace/Thread_Adapter.cpp:151

#12 0xb7faef66 in ACE_Thread_Adapter::invoke (this=0x8112080) at
../../ace/Thread_Adapter.cpp:95

#13 0xb7f26ee1 in ace_thread_adapter (args=0x81188b8) at
../../ace/Base_Thread_Adapter.cpp:137

#14 0x006c1b80 in start_thread () from /lib/libpthread.so.0

#15 0x00619dee in clone () from /lib/libc.so.6

 

I don't know where to start to try to debug this.  Any insight that
anyone could offer would be greatly appreciated.

 

Thanks.

 

Jules d'Entremont

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20070628/afae72fe/attachment.htm


More information about the Ace-users mailing list