Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (gdb) run -vn
- Starting program: /root/tmtc_if-msg/build/tmtc_if -vn
- [New Thread 1024 (LWP 22963)]
- | 13:21:19 |Starting
- | 13:21:19 |HLP RECEIVE_ERROR from 0, Level:10, Code 8013, Description: [LIB_HLP] Il y a un probl�me d'ouverture du fichier de configuration
- | 13:21:19 |HLP RECEIVE_MESSAGE from 11, Size:0, Type 1. [Messages in FIFO:1]
- [New Thread 2049 (LWP 22964)]
- [New Thread 1026 (LWP 22965)]
- | 13:21:19 |HLP RECEIVE_MESSAGE from 11, Size:0, Type 1. [Messages in FIFO:2]
- | 13:21:19 |HLP RECEIVE_MESSAGE from 11, Size:0, Type 1. [Messages in FIFO:3]
- | 13:21:19 |HLP RECEIVE_MESSAGE from 11, Size:0, Type 1. [Messages in FIFO:4]
- [New Thread 2051 (LWP 22966)]
- | 13:21:20 |HLP RECEIVE_MESSAGE from 11, Size:0, Type 1. [Messages in FIFO:5]
- | 13:21:20 |HLP RECEIVE_MESSAGE from 11, Size:0, Type 1. [Messages in FIFO:6]
- | 13:21:20 |Local Link Id given : 11
- [New Thread 3076 (LWP 22967)]
- | 13:21:20 |Thread RAW has tid 3076
- [New Thread 4101 (LWP 22968)]
- [New Thread 5126 (LWP 22969)]
- | 13:21:20 |Thread TC Coil has tid 5126, Thread TM Coil has tid 4101
- | 13:21:20 |Checking HLP Message PROTOCOL
- | 13:21:20 |Checking HLP Message PROTOCOL
- | 13:21:20 |Checking HLP Message PROTOCOL
- | 13:21:20 |Checking HLP Message PROTOCOL
- | 13:21:20 |Checking HLP Message PROTOCOL
- | 13:21:20 |Checking HLP Message PROTOCOL
- | 13:33:30 |Checking HLP Message PROTOCOL
- | 13:33:30 |HLP RECEIVE_MESSAGE from 1, Size:0, Type 1. [Messages in FIFO:0]
- | 13:33:30 |HLP RECEIVE_MESSAGE from 11, Size:0, Type 1. [Messages in FIFO:1]
- | 13:33:30 |HLP RECEIVE_MESSAGE from 11, Size:0, Type 1. [Messages in FIFO:2]
- | 13:33:30 |HLP RECEIVE_MESSAGE from 11, Size:0, Type 1. [Messages in FIFO:3]
- | 13:33:30 |Checking HLP Message PROTOCOL
- | 13:33:30 |Checking HLP Message PROTOCOL
- | 13:33:30 |Checking HLP Message PROTOCOL
- [New Thread 6151 (LWP 23398)]
- Program received signal SIGSEGV, Segmentation fault.
- [Switching to Thread 2051 (LWP 22966)]
- 0xb7820cb9 in CWaitEvent::NotifEvent () from /usr/lib/lib_hlp.so
- ---------------------------------------------------------------------
- [95902.806810] tmtc_if[19125]: segfault at 28 ip b7840cb9 sp bf5ffa38 error 4 in lib_hlp.so.3.6.0[b7815000+37000]
- ---------------------------------------------------------------------
- (gdb) info frame
- Stack level 0, frame at 0xbf5ffa04:
- eip = 0xb7820cb9 in CWaitEvent::NotifEvent(int); saved eip 0xb781b3d8
- called by frame at 0xbf5ffa34
- Arglist at 0xbf5ffa04, args:
- Locals at 0xbf5ffa04, Previous frame's sp is 0x0
- Saved registers:
- ebx at 0xbf5ffa00, ebp at 0xbf5ffa04, eip at 0xbf5ffa08
- (gdb) info reg
- eax 0x0 0
- ecx 0xbf5ff99c -1084229220
- edx 0x160 352
- ebx 0xb7832b34 -1216140492
- esp 0xbf5ff9f8 0xbf5ff9f8
- ebp 0xbf5ffa04 0xbf5ffa04
- esi 0xbf5ffb20 -1084228832
- edi 0xbf5ffc00 -1084228608
- eip 0xb7820cb9 0xb7820cb9
- eflags 0x10282 66178
- cs 0x73 115
- ss 0x7b 123
- ds 0x7b 123
- es 0x7b 123
- fs 0x0 0
- gs 0x0 0
- fctrl 0x37f 895
- fstat 0x0 0
- ftag 0xffff 65535
- fiseg 0x0 0
- fioff 0x0 0
- foseg 0x0 0
- fooff 0x0 0
- fop 0x0 0
- xmm0 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
- xmm1 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
- xmm2 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
- xmm3 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
- xmm4 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
- xmm5 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
- xmm6 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
- xmm7 {f = {0x0, 0x0, 0x0, 0x0}} {f = {-nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
- mxcsr 0x1f80 8064
- orig_eax 0xffffffff -1
- (gdb) thread apply all bt full 10
- Thread 8 (Thread 6151 (LWP 23398)):
- #0 0xb769787e in sigsuspend () from /lib/libc.so.6
- No symbol table info available.
- #1 0xb7840879 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
- No symbol table info available.
- #2 0xb7842636 in __pthread_lock () from /lib/libpthread.so.0
- No symbol table info available.
- #3 0xb783e0ed in pthread_start_thread_event () from /lib/libpthread.so.0
- No symbol table info available.
- Thread 7 (Thread 5126 (LWP 22969)):
- #0 0xb770ede1 in nanosleep () from /lib/libc.so.6
- No symbol table info available.
- #1 0xb7738e8e in usleep () from /lib/libc.so.6
- No symbol table info available.
- #2 0x0804f811 in thread_coil_tc__FPv (t=0x8053f50) at src/thread/tas_thread.c:55
- it = (int *) 0x8053f50
- #3 0xb783e0ba in pthread_start_thread () from /lib/libpthread.so.0
- No symbol table info available.
- #4 0xb783e101 in pthread_start_thread_event () from /lib/libpthread.so.0
- No symbol table info available.
- Thread 6 (Thread 4101 (LWP 22968)):
- #0 0xb770ede1 in nanosleep () from /lib/libc.so.6
- No symbol table info available.
- #1 0xb7738e8e in usleep () from /lib/libc.so.6
- No symbol table info available.
- #2 0x0804f7a1 in thread_coil_tm__FPv (t=0x8053f4c) at src/thread/tas_thread.c:40
- it = (int *) 0x8053f4c
- #3 0xb783e0ba in pthread_start_thread () from /lib/libpthread.so.0
- No symbol table info available.
- #4 0xb783e101 in pthread_start_thread_event () from /lib/libpthread.so.0
- No symbol table info available.
- Thread 5 (Thread 3076 (LWP 22967)):
- #0 0xb770ede1 in nanosleep () from /lib/libc.so.6
- No symbol table info available.
- #1 0xb770ed78 in sleep () from /lib/libc.so.6
- No symbol table info available.
- #2 0x0804f925 in thread_raw__FPv (t=0x8053f30) at src/thread/tas_thread.c:79
- c = -1216831424
- array = (int **) 0x8053f30
- listeRAW = 0x0
- mnemo = {{static npos = 4294967295, static nilRep = {len = 0, res = 0, ref = 1, selfish = false}, dat = 0x832ee10 "BI002Z"}, {static npos = 4294967295, static nilRep = {len = 0, res = 0, ref = 1, selfish = false}, dat = 0x832ee30 "BI001Z"}, {static npos = 4294967295, static nilRep = {len = 0, res = 0, ref = 1, selfish = false}, dat = 0x832ee50 "BS000X"}, {static npos = 4294967295, static nilRep = {len = 0, res = 0, ref = 1, selfish = false}, dat = 0x832ee70 "BI000Z"}}
- #3 0xb783e0ba in pthread_start_thread () from /lib/libpthread.so.0
- No symbol table info available.
- #4 0xb783e101 in pthread_start_thread_event () from /lib/libpthread.so.0
- No symbol table info available.
- Thread 4 (Thread 2051 (LWP 22966)):
- #0 0xb7820cb9 in CWaitEvent::NotifEvent () from /usr/lib/lib_hlp.so
- No symbol table info available.
- #1 0xb781b3d8 in CServerHLP::SocketConnected () from /usr/lib/lib_hlp.so
- No symbol table info available.
- #2 0xb7819823 in OnAcceptHandler () from /usr/lib/lib_hlp.so
- No symbol table info available.
- #3 0xb78151d2 in AcceptHandler () from /usr/lib/lib_hlp.so
- No symbol table info available.
- #4 0xb783e0ba in pthread_start_thread () from /lib/libpthread.so.0
- No symbol table info available.
- #5 0xb783e101 in pthread_start_thread_event () from /lib/libpthread.so.0
- No symbol table info available.
- Thread 3 (Thread 1026 (LWP 22965)):
- #0 0xb769787e in sigsuspend () from /lib/libc.so.6
- No symbol table info available.
- #1 0xb7840879 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
- No symbol table info available.
- #2 0xb784008c in pthread_create@@GLIBC_2.1 () from /lib/libpthread.so.0
- No symbol table info available.
- #3 0xb7814308 in Socket::waitForData () from /usr/lib/lib_hlp.so
- No symbol table info available.
- #4 0xb78177d7 in CSocketHLP::Accepted () from /usr/lib/lib_hlp.so
- No symbol table info available.
- #5 0xb781681a in CChannelHLP::SocketConnected () from /usr/lib/lib_hlp.so
- No symbol table info available.
- #6 0xb781b25d in CServerHLP::SocketConnected () from /usr/lib/lib_hlp.so
- No symbol table info available.
- #7 0xb78197f4 in OnAcceptHandler () from /usr/lib/lib_hlp.so
- No symbol table info available.
- #8 0xb78151d2 in AcceptHandler () from /usr/lib/lib_hlp.so
- No symbol table info available.
- #9 0xb783e0ba in pthread_start_thread () from /lib/libpthread.so.0
- No symbol table info available.
- (More stack frames follow...)
- Thread 2 (Thread 2049 (LWP 22964)):
- #0 0xb7736bb0 in poll () from /lib/libc.so.6
- No symbol table info available.
- #1 0xb783dd96 in __pthread_manager () from /lib/libpthread.so.0
- No symbol table info available.
- #2 0xb783dfc0 in pthread_start_thread () from /lib/libpthread.so.0
- No symbol table info available.
- Thread 1 (Thread 1024 (LWP 22963)):
- #0 0xb770ede1 in nanosleep () from /lib/libc.so.6
- No symbol table info available.
- #1 0xb7738e8e in usleep () from /lib/libc.so.6
- No symbol table info available.
- #2 0x0804cbbe in main (argc=2, argv=0xbfe99204) at src/main/tas.c:108
- opt = -1
- s_tm_main = 1
- s_tm_red = 1
- s_tm_rf = 1
- s_tc_main = 0
- s_tc_red = 1
- s_tc_rf = 1
- tcpulse_infosent = 0
- ack_pending_tc = 0
- ack_pending_tm = 0
- expected_tc = 0
- expected_tm = 0
- res = -1216848312
- #0 0xb7820cb9 in CWaitEvent::NotifEvent () from /usr/lib/lib_hlp.so
- (gdb) bt
- #0 0xb7820cb9 in CWaitEvent::NotifEvent () from /usr/lib/lib_hlp.so
- #1 0xb781b3d8 in CServerHLP::SocketConnected () from /usr/lib/lib_hlp.so
- #2 0xb7819823 in OnAcceptHandler () from /usr/lib/lib_hlp.so
- #3 0xb78151d2 in AcceptHandler () from /usr/lib/lib_hlp.so
- #4 0xb783e0ba in pthread_start_thread () from /lib/libpthread.so.0
- #5 0xb783e101 in pthread_start_thread_event () from /lib/libpthread.so.0
- (gdb) bt full
- #0 0xb7820cb9 in CWaitEvent::NotifEvent () from /usr/lib/lib_hlp.so
- No symbol table info available.
- #1 0xb781b3d8 in CServerHLP::SocketConnected () from /usr/lib/lib_hlp.so
- No symbol table info available.
- #2 0xb7819823 in OnAcceptHandler () from /usr/lib/lib_hlp.so
- No symbol table info available.
- #3 0xb78151d2 in AcceptHandler () from /usr/lib/lib_hlp.so
- No symbol table info available.
- #4 0xb783e0ba in pthread_start_thread () from /lib/libpthread.so.0
- No symbol table info available.
- #5 0xb783e101 in pthread_start_thread_event () from /lib/libpthread.so.0
- No symbol table info available.
- (gdb) disassemble
- Dump of assembler code for function NotifEvent__10CWaitEventi:
- 0xb7820ca0 <NotifEvent__10CWaitEventi>: push %ebp
- 0xb7820ca1 <NotifEvent__10CWaitEventi+1>: mov %esp,%ebp
- 0xb7820ca3 <NotifEvent__10CWaitEventi+3>: push %ebx
- 0xb7820ca4 <NotifEvent__10CWaitEventi+4>: sub $0x4,%esp
- 0xb7820ca7 <NotifEvent__10CWaitEventi+7>: call 0xb7820cac <NotifEvent__10CWaitEventi+12>
- 0xb7820cac <NotifEvent__10CWaitEventi+12>: pop %ebx
- 0xb7820cad <NotifEvent__10CWaitEventi+13>: add $0x11e88,%ebx
- 0xb7820cb3 <NotifEvent__10CWaitEventi+19>: sub $0x4,%esp
- 0xb7820cb6 <NotifEvent__10CWaitEventi+22>: mov 0x8(%ebp),%eax
- 0xb7820cb9 <NotifEvent__10CWaitEventi+25>: pushl 0x28(%eax)
- 0xb7820cbc <NotifEvent__10CWaitEventi+28>: pushl 0xc(%ebp)
- 0xb7820cbf <NotifEvent__10CWaitEventi+31>: lea 0xffff870c(%ebx),%eax
- 0xb7820cc5 <NotifEvent__10CWaitEventi+37>: push %eax
- 0xb7820cc6 <NotifEvent__10CWaitEventi+38>: call 0xb780acc0 <DebugTrace__6CTracePce>
- 0xb7820ccb <NotifEvent__10CWaitEventi+43>: add $0x10,%esp
- 0xb7820cce <NotifEvent__10CWaitEventi+46>: movl $0x0,0xfffffff8(%ebp)
- 0xb7820cd5 <NotifEvent__10CWaitEventi+53>: mov 0xc(%ebp),%eax
- 0xb7820cd8 <NotifEvent__10CWaitEventi+56>: mov 0x8(%ebp),%edx
- 0xb7820cdb <NotifEvent__10CWaitEventi+59>: cmp 0x28(%edx),%eax
- 0xb7820cde <NotifEvent__10CWaitEventi+62>: jne 0xb7820d16 <NotifEvent__10CWaitEventi+118>
- 0xb7820ce0 <NotifEvent__10CWaitEventi+64>: mov 0x8(%ebp),%eax
- 0xb7820ce3 <NotifEvent__10CWaitEventi+67>: movl $0xffffffff,0x28(%eax)
- 0xb7820cea <NotifEvent__10CWaitEventi+74>: sub $0x8,%esp
- 0xb7820ced <NotifEvent__10CWaitEventi+77>: pushl 0xc(%ebp)
- 0xb7820cf0 <NotifEvent__10CWaitEventi+80>: lea 0xffff872c(%ebx),%eax
- 0xb7820cf6 <NotifEvent__10CWaitEventi+86>: push %eax
- 0xb7820cf7 <NotifEvent__10CWaitEventi+87>: call 0xb780acc0 <DebugTrace__6CTracePce>
- 0xb7820cfc <NotifEvent__10CWaitEventi+92>: add $0x10,%esp
- 0xb7820cff <NotifEvent__10CWaitEventi+95>: sub $0xc,%esp
- 0xb7820d02 <NotifEvent__10CWaitEventi+98>: mov 0x8(%ebp),%eax
- 0xb7820d05 <NotifEvent__10CWaitEventi+101>: add $0x1c,%eax
- 0xb7820d08 <NotifEvent__10CWaitEventi+104>: push %eax
- 0xb7820d09 <NotifEvent__10CWaitEventi+105>: call 0xb77fe470 <_init+1752>
- 0xb7820d0e <NotifEvent__10CWaitEventi+110>: add $0x10,%esp
- 0xb7820d11 <NotifEvent__10CWaitEventi+113>: mov %eax,%eax
- 0xb7820d13 <NotifEvent__10CWaitEventi+115>: mov %eax,0xfffffff8(%ebp)
- 0xb7820d16 <NotifEvent__10CWaitEventi+118>: mov 0xfffffff8(%ebp),%eax
- 0xb7820d19 <NotifEvent__10CWaitEventi+121>: mov %eax,%eax
- 0xb7820d1b <NotifEvent__10CWaitEventi+123>: mov 0xfffffffc(%ebp),%ebx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement