-------------------------------------------------------------------------------- (gdb) thread 3 #0 0x41848604 in __pthread_sigsuspend () from /lib/libpthread.so.0 #1 0xbf7ff6a8 in ?? () #2 0x418483c8 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #3 0x41849a6b in __pthread_lock () from /lib/libpthread.so.0 #4 0x41846bbd in pthread_mutex_lock () from /lib/libpthread.so.0 #5 0x4176a820 in flockfile () from /lib/libc.so.6 #6 0x4176ca48 in fwrite () from /lib/libc.so.6 #7 0x41675067 in std::__basic_file::xsputn(char const*, int) (this=0xfffffffc, __s=0xfffffffc
, __n=-4) at basic_file.cc:167 #8 0x4168150c in std::basic_filebuf >::_M_convert_to_external(char*, int, int&, int&) (this=0x416dbe00, __ibuf=0xbf7ff7f7 "C", __ilen=1, __elen=@0xbf7ff7f8, __plen=@0xbf7ff7fc) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/bits/fstream.tcc:258 #9 0x416812b4 in std::basic_filebuf >::_M_really_overflow(int) (this=0x416dbe00) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/bits/fstream.tcc:341 #10 0x416811dc in std::basic_filebuf >::overflow(int) (this=0x416dbe00) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/bits/fstream.tcc:240 #11 0x416b3614 in std::basic_streambuf >::xsputn(char const*, int) (this=0x416dbe00, __s=0x812f87b "Calc : ", __n=9) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/bits/char_traits.h:161 #12 0x41681a48 in std::basic_filebuf >::xsputn(char const*, int) (this=0x416dbe00, __s=0xfffffffc
, __n=-4) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/fstream:238 #13 0x416aa641 in std::ostream::write(char const*, int) (this=0x416dbe00, __s=0xfffffffc
, __n=9) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/streambuf:346 #14 0x416aad66 in std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*) (__out=@0x416dbe00, __s=0x812f87b "Calc : ") at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/bits/ostream.tcc:640 #15 0x080b4c9c in PIT::ATS::calcLoop() () -------------------------------------------------------------------------------- (gdb) thread 4 #0 0x41848604 in __pthread_sigsuspend () from /lib/libpthread.so.0 #1 0xbf5ff548 in ?? () #2 0x418483c8 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #3 0x41849a6b in __pthread_lock () from /lib/libpthread.so.0 #4 0x41846bbd in pthread_mutex_lock () from /lib/libpthread.so.0 #5 0x4176a820 in flockfile () from /lib/libc.so.6 #6 0x4176ca48 in fwrite () from /lib/libc.so.6 #7 0x41675067 in std::__basic_file::xsputn(char const*, int) (this=0xfffffffc, __s=0xfffffffc
, __n=-4) at basic_file.cc:167 #8 0x4168150c in std::basic_filebuf >::_M_convert_to_external(char*, int, int&, int&) (this=0x416dbe00, __ibuf=0xbf5ff697 "C", __ilen=1, __elen=@0xbf5ff698, __plen=@0xbf5ff69c) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/bits/fstream.tcc:258 #9 0x416812b4 in std::basic_filebuf >::_M_really_overflow(int) (this=0x416dbe00) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/bits/fstream.tcc:341 #10 0x416811dc in std::basic_filebuf >::overflow(int) (this=0x416dbe00) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/bits/fstream.tcc:240 #11 0x416b3614 in std::basic_streambuf >::xsputn(char const*, int) (this=0x416dbe00, __s=0xbf5ff780 "Calc :", ' ' , "dÜ÷_¿.kgA\e", __n=27) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/bits/char_traits.h:161 #12 0x41681a48 in std::basic_filebuf >::xsputn(char const*, int) (this=0x416dbe00, __s=0xfffffffc
, __n=-4) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/fstream:238 #13 0x416aa641 in std::ostream::write(char const*, int) (this=0x416dbe00, __s=0xfffffffc
, __n=27) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/streambuf:346 #14 0x416aad66 in std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*) (__out=@0x416dbe00, __s=0xbf5ff780 "Calc :", ' ' , "dÜ÷_¿.kgA\e") at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/bits/ostream.tcc:640 #15 0x080c1360 in PIT::ATS::calcWhatIf(PIT::WhatIfScenario const&, unsigned) () #16 0x080c19e5 in PIT::ATS::calcWhatIfs(unsigned, unsigned long) () #17 0x080b5724 in PIT::ATS::extraLoop() () #18 0x080b3a75 in PIT::ATS::extraLoopThread(void*) () #19 0x4036093b in ACE_Thread_Adapter::invoke_i() (this=0x4184de74) at Thread_Adapter.cpp:148 #20 0x40360896 in ACE_Thread_Adapter::invoke() (this=0x80b3a40) at Thread_Adapter.cpp:91 #21 0x40329670 in ace_thread_adapter (args=0xfffffffc) at Base_Thread_Adapter.cpp:121 #22 0x41845e51 in pthread_start_thread () from /lib/libpthread.so.0 -------------------------------------------------------------------------------- (gdb) thread 14 #0 0x41848604 in __pthread_sigsuspend () from /lib/libpthread.so.0 #1 0xbe1ff508 in ?? () #2 0x418483c8 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #3 0x41849a6b in __pthread_lock () from /lib/libpthread.so.0 #4 0x41846bbd in pthread_mutex_lock () from /lib/libpthread.so.0 #5 0x4176a820 in flockfile () from /lib/libc.so.6 #6 0x4176ca48 in fwrite () from /lib/libc.so.6 #7 0x41675067 in std::__basic_file::xsputn(char const*, int) (this=0xfffffffc, __s=0xfffffffc
, __n=-4) at basic_file.cc:167 #8 0x4168150c in std::basic_filebuf >::_M_convert_to_external(char*, int, int&, int&) (this=0x416dbe00, __ibuf=0xbe1ff657 "O", __ilen=1, __elen=@0xbe1ff658, __plen=@0xbe1ff65c) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/bits/fstream.tcc:258 #9 0x416812b4 in std::basic_filebuf >::_M_really_overflow(int) (this=0x416dbe00) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/bits/fstream.tcc:341 #10 0x416811dc in std::basic_filebuf >::overflow(int) (this=0x416dbe00) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/bits/fstream.tcc:240 #11 0x416b3614 in std::basic_streambuf >::xsputn(char const*, int) (this=0x416dbe00, __s=0xbe1ff700 "OperationsService-devison \b<÷\037¾\031", __n=27) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/bits/char_traits.h:161 #12 0x41681a48 in std::basic_filebuf >::xsputn(char const*, int) (this=0x416dbe00, __s=0xfffffffc
, __n=-4) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/fstream:238 #13 0x416a852a in std::basic_ostream >& std::operator<< , std::allocator >(std::basic_ostream >&, std::basic_string, std::allocator > const&) (__out=@0x8149a38, __str=@0xfffffffc) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/streambuf:346 #14 0x4147bcd5 in PIT::EventServerHandler::report(std::string const&) const () from /pit/ats/app/Linux_2.4_i686/g++_3.2.1/lib/libevent_O.so.225 #15 0x4147c7b3 in PIT::EventServerHandler::handle_timeout(ACE_Time_Value const&, void const*) () from /pit/ats/app/Linux_2.4_i686/g++_3.2.1/lib/libevent_O.so.225 #16 0x40400dd5 in ACE_Event_Handler_Handle_Timeout_Upcall::timeout(ACE_Timer_Queue_T, ACE_Recursive_Thread_Mutex>&, ACE_Event_Handler*, void const*, ACE_Time_Value const&) (this=0x8381528, timer_queue=@0x8149a3c, handler=0x41b140a8, act=0xfffffffc, cur_time=@0xfffffffc) at /proj/ACE-5.2.1/ACE_wrappers/ace/Timer_Queue_T.cpp:318 #17 0x4036f4c8 in ACE_TP_Reactor::dispatch_i(ACE_Time_Value*, ACE_TP_Token_Guard&) (this=0x8149a3c, max_wait_time=0x4184de74, guard=@0xbe1ff9f4) at /proj/ACE-5.2.1/ACE_wrappers/ace/Timer_Queue_T.i:186 #18 0x4036ed6d in ACE_TP_Reactor::handle_events(ACE_Time_Value*) (this=0xbfffda48, max_wait_time=0x0) at TP_Reactor.cpp:171 #19 0x4036c828 in ACE_Reactor::run_reactor_event_loop(int (*)(void*)) (this=0xbe1ffa04, eh=0) at Reactor.cpp:152 #20 0x41536617 in PIT::ACEUtil::eventLoopThread(void*) () from /pit/ats/app/Linux_2.4_i686/g++_3.2.1/lib/libbase_O.so.223 #21 0x4036093b in ACE_Thread_Adapter::invoke_i() (this=0x4184de74) at Thread_Adapter.cpp:148 #22 0x40360896 in ACE_Thread_Adapter::invoke() (this=0x415365e0) at Thread_Adapter.cpp:91 #23 0x40329670 in ace_thread_adapter (args=0xfffffffc) at Base_Thread_Adapter.cpp:121 #24 0x41845e51 in pthread_start_thread () from /lib/libpthread.so.0 -------------------------------------------------------------------------------- (gdb) thread 16 #0 0x41848604 in __pthread_sigsuspend () from /lib/libpthread.so.0 #1 0xbddff528 in ?? () #2 0x418483c8 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #3 0x41849a6b in __pthread_lock () from /lib/libpthread.so.0 #4 0x41846bbd in pthread_mutex_lock () from /lib/libpthread.so.0 #5 0x4176a820 in flockfile () from /lib/libc.so.6 #6 0x4176ca48 in fwrite () from /lib/libc.so.6 #7 0x41675067 in std::__basic_file::xsputn(char const*, int) (this=0xfffffffc, __s=0xfffffffc
, __n=-4) at basic_file.cc:167 #8 0x4168150c in std::basic_filebuf >::_M_convert_to_external(char*, int, int&, int&) (this=0x416dbe00, __ibuf=0xbddff677 "O", __ilen=1, __elen=@0xbddff678, __plen=@0xbddff67c) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/bits/fstream.tcc:258 #9 0x416812b4 in std::basic_filebuf >::_M_really_overflow(int) (this=0x416dbe00) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/bits/fstream.tcc:341 #10 0x416811dc in std::basic_filebuf >::overflow(int) (this=0x416dbe00) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/bits/fstream.tcc:240 #11 0x416b3614 in std::basic_streambuf >::xsputn(char const*, int) (this=0x416dbe00, __s=0xbddff720 "OrderService", ' ' , "\b", __n=27) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/bits/char_traits.h:161 #12 0x41681a48 in std::basic_filebuf >::xsputn(char const*, int) (this=0x416dbe00, __s=0xfffffffc
, __n=-4) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/fstream:238 #13 0x416a852a in std::basic_ostream >& std::operator<< , std::allocator >(std::basic_ostream >&, std::basic_string, std::allocator > const&) (__out=@0x8149a38, __str=@0xfffffffc) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/streambuf:346 #14 0x4147b5c0 in PIT::EventServerHandler::handle_input(int) () from /pit/ats/app/Linux_2.4_i686/g++_3.2.1/lib/libevent_O.so.225 #15 0x403702f6 in ACE_TP_Reactor::dispatch_socket_event(ACE_EH_Dispatch_Info&) (this=0xbfffda48, dispatch_info=@0xbddff8f4) at TP_Reactor.cpp:753 #16 0x4036f96c in ACE_TP_Reactor::handle_socket_events(int&, ACE_TP_Token_Guard&) (this=0xbfffda48, event_count=@0xbddff968, guard=@0x0) at TP_Reactor.cpp:555 #17 0x4036f51e in ACE_TP_Reactor::dispatch_i(ACE_Time_Value*, ACE_TP_Token_Guard&) (this=0xbfffda48, max_wait_time=0x4184de74, guard=@0xbddff9f4) at TP_Reactor.cpp:380 #18 0x4036ed6d in ACE_TP_Reactor::handle_events(ACE_Time_Value*) (this=0xbfffda48, max_wait_time=0x0) at TP_Reactor.cpp:171 #19 0x4036c828 in ACE_Reactor::run_reactor_event_loop(int (*)(void*)) (this=0xbddffa04, eh=0) at Reactor.cpp:152 #20 0x41536617 in PIT::ACEUtil::eventLoopThread(void*) () from /pit/ats/app/Linux_2.4_i686/g++_3.2.1/lib/libbase_O.so.223 #21 0x4036093b in ACE_Thread_Adapter::invoke_i() (this=0x4184de74) at Thread_Adapter.cpp:148 #22 0x40360896 in ACE_Thread_Adapter::invoke() (this=0x415365e0) at Thread_Adapter.cpp:91 #23 0x40329670 in ace_thread_adapter (args=0xfffffffc) at Base_Thread_Adapter.cpp:121 #24 0x41845e51 in pthread_start_thread () from /lib/libpthread.so.0 -------------------------------------------------------------------------------- (gdb) thread 17 #0 0x417d5bab in write () from /lib/libc.so.6 #1 0x4183b550 in sys_sigabbrev () from /lib/libc.so.6 #2 0x41775ede in _IO_do_write () from /lib/libc.so.6 #3 0x41775e76 in _IO_do_write () from /lib/libc.so.6 #4 0x41776ae7 in _IO_file_sync () from /lib/libc.so.6 #5 0x4176ba9c in fflush () from /lib/libc.so.6 #6 0x41675131 in std::__basic_file::sync() (this=0xfffffe00) at basic_file.cc:186 #7 0x416818e1 in std::basic_filebuf >::sync() (this=0x416dbe00) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/fstream:205 #8 0x416aa6c9 in std::ostream::flush() (this=0x416dbe00) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/streambuf:283 #9 0x416aaa8f in std::basic_ostream >& std::flush >(std::basic_ostream >&) (__os=@0xfffffe00) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/ostream:267 #10 0x416aaa29 in std::basic_ostream >& std::endl >(std::basic_ostream >&) (__os=@0x416dbe00) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/ostream:257 #11 0x416a928a in std::ostream::operator<<(std::ostream& (*)(std::ostream&)) (this=0x416dbe00, __pf=0x809e9c8 >& std::endl >(std::basic_ostream >&)>) at /proj/gcc-3.2.1_build/i686-pc-linux-gnu/libstdc++-v3/include/bits/ostream.tcc:60 #12 0x4147bd04 in PIT::EventServerHandler::report(std::string const&) const () from /pit/ats/app/Linux_2.4_i686/g++_3.2.1/lib/libevent_O.so.225 #13 0x4147c7b3 in PIT::EventServerHandler::handle_timeout(ACE_Time_Value const&, void const*) () from /pit/ats/app/Linux_2.4_i686/g++_3.2.1/lib/libevent_O.so.225 #14 0x40400dd5 in ACE_Event_Handler_Handle_Timeout_Upcall::timeout(ACE_Timer_Queue_T, ACE_Recursive_Thread_Mutex>&, ACE_Event_Handler*, void const*, ACE_Time_Value const&) (this=0x8381528, timer_queue=@0x416dbe00, handler=0x41bad5f0, act=0xfffffe00, cur_time=@0xfffffe00) at /proj/ACE-5.2.1/ACE_wrappers/ace/Timer_Queue_T.cpp:318 #15 0x4036f4c8 in ACE_TP_Reactor::dispatch_i(ACE_Time_Value*, ACE_TP_Token_Guard&) (this=0x416dbe00, max_wait_time=0x2f, guard=@0xbdbff9f4) at /proj/ACE-5.2.1/ACE_wrappers/ace/Timer_Queue_T.i:186 #16 0x4036ed6d in ACE_TP_Reactor::handle_events(ACE_Time_Value*) (this=0xbfffda48, max_wait_time=0x0) at TP_Reactor.cpp:171 #17 0x4036c828 in ACE_Reactor::run_reactor_event_loop(int (*)(void*)) (this=0xbdbffa04, eh=0) at Reactor.cpp:152 #18 0x41536617 in PIT::ACEUtil::eventLoopThread(void*) () from /pit/ats/app/Linux_2.4_i686/g++_3.2.1/lib/libbase_O.so.223 #19 0x4036093b in ACE_Thread_Adapter::invoke_i() (this=0x2f) at Thread_Adapter.cpp:148 #20 0x40360896 in ACE_Thread_Adapter::invoke() (this=0x415365e0) at Thread_Adapter.cpp:91 #21 0x40329670 in ace_thread_adapter (args=0xfffffe00) at Base_Thread_Adapter.cpp:121 #22 0x41845e51 in pthread_start_thread () from /lib/libpthread.so.0