|
From: Oswald, M. <mic...@si...> - 2008-03-20 14:51:51
|
> Did you already try to add --trace-signals=yes to Valgrind's command
> line options ? This should tell you more about the cause of the crash.
Ok, this did put out this:
==21657== Invalid read of size 4
==21657== at 0x804EBCA: main (TESTmib.C:127)
==21657== Address 0x40103d48 is not stack'd, malloc'd or (recently) free'd
--21657-- signal 11 arrived ... si_code=1, EIP=0x804EBCA, eip=0x6883659C
--21657-- SIGSEGV: si_code=1 faultaddr=0x40103D48 tid=1 ESP=0xBEFFD270 seg=NULL
--21657-- delivering signal 11 (SIGSEGV):1 to thread 1
--21657-- push_signal_frame (thread 1): signal 11
==21657== at 0x804EBCA: main (TESTmib.C:127)
--21657-- Async handler got signal 6 for tid 2 info 0
--21657-- kill: sent signal 6 to pid 21657
--21657-- VG_(signal_return) (thread 1): isRT=0 valid magic; EIP=0x804EBCA
==21657==
==21657== Jump to the invalid address stated on the next line
==21657== at 0x40103D40: ???
==21657== by 0x694B20F: (below main) (in /lib/tls/libc.so.6)
==21657== Address 0x40103d40 is not stack'd, malloc'd or (recently) free'd
--21657-- translations not allowed here (0x40103d40) - throwing SEGV
--21657-- delivering signal 11 (SIGSEGV):1 to thread 1
--21657-- push_signal_frame (thread 1): signal 11
==21657== at 0x40103D40: ???
==21657== by 0x694B20F: (below main) (in /lib/tls/libc.so.6)
--21657-- Async handler got signal 6 for tid 3 info 0
--21657-- kill: sent signal 6 to pid 21657
--21657-- VG_(signal_return) (thread 1): isRT=0 valid magic; EIP=0x40103D40
--21657-- translations not allowed here (0x40103d40) - throwing SEGV
--21657-- delivering signal 11 (SIGSEGV):1 to thread 1
--21657-- push_signal_frame (thread 1): signal 11
==21657== at 0x40103D40: ???
==21657== by 0x694B20F: (below main) (in /lib/tls/libc.so.6)
--21657-- Async handler got signal 6 for tid 4 info 0
--21657-- kill: sent signal 6 to pid 21657
--21657-- VG_(signal_return) (thread 1): isRT=0 valid magic; EIP=0x40103D40
--21657-- translations not allowed here (0x40103d40) - throwing SEGV
--21657-- delivering signal 11 (SIGSEGV):1 to thread 1
--21657-- push_signal_frame (thread 1): signal 11
==21657== at 0x40103D40: ???
==21657== by 0x694B20F: (below main) (in /lib/tls/libc.so.6)
--21657-- Async handler got signal 6 for tid 5 info 0
--21657-- kill: sent signal 6 to pid 21657
--21657-- VG_(signal_return) (thread 1): isRT=0 valid magic; EIP=0x40103D40
--21657-- translations not allowed here (0x40103d40) - throwing SEGV
--21657-- delivering signal 11 (SIGSEGV):1 to thread 1
--21657-- push_signal_frame (thread 1): signal 11
==21657== at 0x40103D40: ???
==21657== by 0x694B20F: (below main) (in /lib/tls/libc.so.6)
--21657-- Async handler got signal 6 for tid 6 info 0
--21657-- kill: sent signal 6 to pid 21657
--21657-- VG_(signal_return) (thread 1): isRT=0 valid magic; EIP=0x40103D40
--21657-- translations not allowed here (0x40103d40) - throwing SEGV
--21657-- delivering signal 11 (SIGSEGV):1 to thread 1
--21657-- push_signal_frame (thread 1): signal 11
==21657== at 0x40103D40: ???
==21657== by 0x694B20F: (below main) (in /lib/tls/libc.so.6)
--21657-- kill: sent signal 6 to pid 21657
--21657-- poll_signals: got signal 6 for thread 1
--21657-- Polling found signal 6 for tid 1
--21657-- delivering signal 6 (SIGABRT):0 to thread 1
--21657-- push_signal_frame (thread 1): signal 6
==21657== at 0x695D8B6: kill (in /lib/tls/libc.so.6)
==21657== by 0x62EDA77: (within /lib/tls/libpthread.so.0)
==21657== by 0x694B20F: (below main) (in /lib/tls/libc.so.6)
--21657-- delivering signal 6 (SIGABRT):0 to thread 6
--21657-- push_signal_frame (thread 6): signal 6
==21657== at 0x69BEE66: (within /lib/tls/libc.so.6)
==21657== by 0x49F4FD9: APPLItaskManagerInterface::checkTaskManager() (APPLItaskManagerInterface.C:1043)
==21657== by 0x49F4419: APPLItaskManagerInterface::f_checkTaskManger(void*) (APPLItaskManagerInterface.C:942)
==21657== by 0x49F55A1: APPLItaskManagerInterface_f_checkTaskMangerWrapper (APPLItaskManagerInterface.C:1064)
==21657== by 0x62E7CF6: start_thread (in /lib/tls/libpthread.so.0)
==21657== by 0x69F02ED: clone (in /lib/tls/libc.so.6)
==21657== by 0xA85EBAF: ???
--21657-- delivering signal 6 (SIGABRT):0 to thread 2
--21657-- push_signal_frame (thread 2): signal 6
==21657== at 0x62E9F7C: pthread_cond_timedwait@@GLIBC_2.3.2 (in /lib/tls/libpthread.so.0)
--21657-- delivering signal 6 (SIGABRT):0 to thread 3
--21657-- push_signal_frame (thread 3): signal 6
==21657== at 0x62E9D06: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/tls/libpthread.so.0)
==21657== by 0x65EFA1C: omniOrbORB::run() (in /opt/omniORB-4.1.0/lib/libomniORB4.so.1.0)
==21657== by 0x4889281: MISCcorba::startEventLoop(void (*)(void*), void*) (MISCcorba.C:1588)
==21657== by 0x488E63E: MISCcorbaLoopThread::threadMethod() (MISCcorba.C:94)
==21657== by 0x4892FE0: MISCthread::threadFunc(void*) (MISCthread.C:244)
==21657== by 0x48931A7: MISCthread_threadFuncWrapper (MISCthread.C:347)
==21657== by 0x62E7CF6: start_thread (in /lib/tls/libpthread.so.0)
==21657== by 0x69F02ED: clone (in /lib/tls/libc.so.6)
==21657== by 0x905BBAF: ???
--21657-- delivering signal 6 (SIGABRT):0 to thread 5
--21657-- push_signal_frame (thread 5): signal 6
==21657== at 0x62E9F7C: pthread_cond_timedwait@@GLIBC_2.3.2 (in /lib/tls/libpthread.so.0)
==21657== by 0x489125F: _CORBA_Sequence<unsigned char>::copybuffer(unsigned long) (seqTemplatedecls.h:296)
--21657-- delivering signal 6 (SIGABRT):0 to thread 4
--21657-- push_signal_frame (thread 4): signal 6
==21657== at 0x69E6E44: poll (in /lib/tls/libc.so.6)
==21657== by 0x667E5ED: omni::SocketCollection::Select() (in /opt/omniORB-4.1.0/lib/libomniORB4.so.1.0)
==21657== by 0x66A5002: omni::tcpEndpoint::AcceptAndMonitor(void (*)(void*, omni::giopConnection*), void*) (in /opt/omniORB-4.1.0/lib/libomniORB4.so.1.0)
==21657== by 0x666451F: omni::giopRendezvouser::execute() (in /opt/omniORB-4.1.0/lib/libomniORB4.so.1.0)
==21657== by 0x660AB7F: omniAsyncWorker::real_run() (in /opt/omniORB-4.1.0/lib/libomniORB4.so.1.0)
==21657== by 0x660A4CC: omniAsyncWorkerInfo::run() (in /opt/omniORB-4.1.0/lib/libomniORB4.so.1.0)
==21657== by 0x660ADE8: omniAsyncWorker::run(void*) (in /opt/omniORB-4.1.0/lib/libomniORB4.so.1.0)
==21657== by 0x6578982: omni_thread_wrapper (in /opt/omniORB-4.1.0/lib/libomnithread.so.3.3)
==21657== by 0x62E7CF6: start_thread (in /lib/tls/libpthread.so.0)
==21657== by 0x69F02ED: clone (in /lib/tls/libc.so.6)
Program catch signal 6.
Hm, so it initially throws a signal 11, but the Async handler gets a signal 6? Or does this mean, on signal 11 it sends signal 6 to abort the other threads?
Somehow confusing...
lg,
Michael
|