[Ace-users] [ace-users] ACE core on exit()

Johnny Willemsen jwillemsen at remedy.nl
Sun Feb 10 13:12:20 CST 2008


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


or in


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
very error-prone and slows down our responsiveness.  If you don't use
the PRF, therefore, it is less likely that someone from the core
ACE+TAO developer team will be able to answer your question.
Naturally, we encourage and appreciate other members of the ACE+TAO
user community who can respond to questions that they have the answers

Try to add a wait on the thread manager at the end of the main



<yicding at gmail.com> wrote in message
news:<c10a2c5a-ed3e-428e-9548-a9a639164393 at b2g2000hsg.googlegroups.com>...
> Hi,
> I am getting the following core when the system is calling exit():
> (gdb) bt
> #0  0x0015200c in pthread_join () from /lib/tls/libpthread.so.0
> #1  0x06532b6f in ACE_OS::thr_join (thr_handle=41049008, status=0x0)
>     at /view/rbeathar-tpl_lnx_main/vob/ccm_tpl//release/include/ace/
> OS_NS_Thread.inl:2967
> #2  0x06565f1e in ACE_Thread::join (wait_for=41049008, status=0x0)
>     at /view/rbeathar-tpl_lnx_main/vob/ccm_tpl//release/include/ace/
> Thread.inl:135
> #3  0x0656b2f7 in ACE_Thread_Manager::wait_task (this=0x8927b60,
> task=0x8928d60)
>     at Thread_Manager.cpp:1943
> #4  0x065657ea in ACE_Task_Base::wait (this=0x8928d60) at Task.cpp:85
> #5  0x00271caf in ~PingPrimaryTask (this=0x8928d60) at
> PingPrimaryTask.cpp:45
> #6  0x00264dbd in dbl::DriverManager::shutdown (this=0x85ca4a8) at
> dbldriver.cpp:696
> #7  0x0025f8bd in ~DriverManager (this=0x85ca4a8) at dbldriver.cpp:395
> #8  0x00268db6 in __tcf_12 ()
>     at /view/BLD-cup_bison-raw-d/vob/ccm_tpl/linux/include/stlport/stl/
> _auto_ptr.h:67
> #9  0x0040c7a4 in __cxa_finalize () from /lib/tls/libc.so.6
> #10 0x002512da in __do_global_dtors_aux () from /usr/local/cm/lib/
> libdbl.so
> #11 0x002907c6 in _fini () from /usr/local/cm/lib/libdbl.so
> #12 0x00705907 in _dl_fini () from /lib/ld-linux.so.2
> #13 0x0040c527 in exit () from /lib/tls/libc.so.6
> #14 0x0815be53 in safe_clean_child_exit () at prefork.c:243
> #15 0x0815c664 in child_main (child_num_arg=3) at prefork.c:624
> #16 0x0815ccf7 in make_child (s=0x84a1ba0, slot=3) at prefork.c:905
> #17 0x0815cd6a in startup_children (number_to_start=2) at prefork.c:
> 923
> #18 0x0815d723 in ap_mpm_run (_pconf=0x849c130, plog=0x84f6298,
> s=0x84a1ba0) at prefork.c:1274
> #19 0x081131f3 in main (argc=1, argv=0xbfffebe4) at main.c:717
> Anyone had a similar experience on this problem? I feel like it might
> be related to mutex as we use guard in the code. But knowing very
> little on ACE, I don't know how to track down the root cause.
> Thanks for help!
> Yichun

More information about the Ace-users mailing list