segfault at 000000000311c000 rip 000000000040fb46 rsp 0000007fbffff830 error 4

Gunnar Lindberg Gunnar.Lindberg at chalmers.se
Thu May 7 11:07:59 EDT 2009


Eventually. My knowledge of gdb is limited, så please guide me.

	Gunnar Lindberg


-rw-r--r--  1 root root 68866048 May  7 16:33 /core.14369

May  7 16:33:30 argv kernel: argus[14369] general protection rip:410bc2 rsp:7fbffff308 error:0

# gdb /usr/local/sbin/argus /core.14369
...
#0  0x0000000000410bc2 in ArgusLoadList ()

(gdb) backtrace
#0  0x0000000000410bc2 in ArgusLoadList ()
#1  0x000000000041557b in ArgusOutputProcess ()
#2  0x000000000040bb6c in ArgusProcessPacket ()
#3  0x000000000040d006 in ArgusEtherPacket ()
#4  0x00000034e2f04bff in ?? () from /usr/lib64/libpcap.so.0.8.3
#5  0x0000000000410759 in ArgusGetPackets ()
#6  0x0000000000404f83 in main ()

(gdb) disassemble 0x0000000000410bc2
Dump of assembler code for function ArgusLoadList:
0x0000000000410ba0 <ArgusLoadList+0>:   test   %rdi,%rdi
0x0000000000410ba3 <ArgusLoadList+3>:   setne  %dl
0x0000000000410ba6 <ArgusLoadList+6>:   xor    %eax,%eax
0x0000000000410ba8 <ArgusLoadList+8>:   test   %rsi,%rsi
0x0000000000410bab <ArgusLoadList+11>:  setne  %al
0x0000000000410bae <ArgusLoadList+14>:  test   %eax,%edx
0x0000000000410bb0 <ArgusLoadList+16>:  je     0x410be9 <ArgusLoadList+73>
0x0000000000410bb2 <ArgusLoadList+18>:  cmpq   $0x0,(%rsi)
0x0000000000410bb6 <ArgusLoadList+22>:  mov    0x10(%rdi),%ecx
0x0000000000410bb9 <ArgusLoadList+25>:  je     0x410bf0 <ArgusLoadList+80>
0x0000000000410bbb <ArgusLoadList+27>:  mov    0x8(%rsi),%r9
0x0000000000410bbf <ArgusLoadList+31>:  mov    (%rdi),%r10
0x0000000000410bc2 <ArgusLoadList+34>:  mov    %r10,(%r9)
0x0000000000410bc5 <ArgusLoadList+37>:  mov    0x8(%rdi),%r11
0x0000000000410bc9 <ArgusLoadList+41>:  add    %ecx,0x1c(%rdi)
0x0000000000410bcc <ArgusLoadList+44>:  add    %ecx,0x10(%rsi)
0x0000000000410bcf <ArgusLoadList+47>:  movq   $0x0,(%rdi)
0x0000000000410bd6 <ArgusLoadList+54>:  movl   $0x0,0x10(%rdi)
0x0000000000410bdd <ArgusLoadList+61>:  mov    %r11,0x8(%rsi)
0x0000000000410be1 <ArgusLoadList+65>:  movq   $0x0,0x8(%rdi)
0x0000000000410be9 <ArgusLoadList+73>:  repz retq 
0x0000000000410beb <ArgusLoadList+75>:  data16
0x0000000000410bec <ArgusLoadList+76>:  data16
0x0000000000410bed <ArgusLoadList+77>:  nop    
0x0000000000410bee <ArgusLoadList+78>:  data16
0x0000000000410bef <ArgusLoadList+79>:  nop    
0x0000000000410bf0 <ArgusLoadList+80>:  mov    (%rdi),%r8
0x0000000000410bf3 <ArgusLoadList+83>:  mov    %r8,(%rsi)
0x0000000000410bf6 <ArgusLoadList+86>:  jmp    0x410bc5 <ArgusLoadList+37>
0x0000000000410bf8 <ArgusLoadList+88>:  data16
0x0000000000410bf9 <ArgusLoadList+89>:  data16
0x0000000000410bfa <ArgusLoadList+90>:  data16
0x0000000000410bfb <ArgusLoadList+91>:  nop    
0x0000000000410bfc <ArgusLoadList+92>:  data16
0x0000000000410bfd <ArgusLoadList+93>:  data16
0x0000000000410bfe <ArgusLoadList+94>:  data16
0x0000000000410bff <ArgusLoadList+95>:  nop    
End of assembler dump.



>From argus-info-bounces+gunnar.lindberg=chalmers.se at lists.andrew.cmu.edu  Thu May  7 08:10:44 2009
>Date: Thu, 7 May 2009 08:09:02 +0200 (MEST)
>Message-Id: <200905070609.n47692Eq016272 at grunert.cdg.chalmers.se>
>From: Gunnar Lindberg <Gunnar.Lindberg at chalmers.se>
>To: argus-info at lists.andrew.cmu.edu
>In-Reply-To: <20090507031101.GA25745 at sfu.ca>
>Subject: Re: [ARGUS] segfault at 000000000311c000 rip 000000000040fb46
>	rsp	0000007fbffff830 error 4
>...

>	Gunnar Lindberg, wating for a crash dump :-)



More information about the argus mailing list