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

Carter Bullard carter at qosient.com
Thu May 7 13:00:42 EDT 2009


Hey Gunnar,
The gdb() commands of interest are:

    (gdb) where

ArgusLoadList() is the routine that passes flow record status reports  
from the
packet processing engine to the output processor.  This definitely  
shouldn't
have a problem, so it will be interesting to figure out what the  
problem maybe.

Are you running with threads enabled?  (is there a ./.threads file in  
your root directory?)

Carter

On May 7, 2009, at 11:07 AM, Gunnar Lindberg wrote:

> 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 :-)
>

Carter Bullard
CEO/President
QoSient, LLC
150 E 57th Street Suite 12D
New York, New York  10022

+1 212 588-9133 Phone
+1 212 588-9134 Fax



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3815 bytes
Desc: not available
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20090507/d09ea53e/attachment.bin>


More information about the argus mailing list