segfault at 000000000311c000 rip 000000000040fb46rsp 0000007fbffff830 error 4

Gunnar Lindberg Gunnar.Lindberg at chalmers.se
Fri May 15 08:18:16 EDT 2009


May 15 09:09:48 argv kernel: argus[18482] general protection rip:34e22696bd rsp:7fbfffe840 error:0

argus-3.0.1.beta.3/
-rw-rw-r--   1 root root       0 May 15 07:13 .devel
/bin/ls: .threads: No such file or directory

-rwxrwxr-x  1 lindberg lindberg   829883 May 15 08:43 argus
-rw-r--r--  1 lindberg lindberg 41558016 May 15 09:09 core.18482

gdb argus-g.18482 core.18482
#0  0x00000034e22696bd in _int_malloc () from /lib64/tls/libc.so.6

(gdb) where
#0  0x00000034e22696bd in _int_malloc () from /lib64/tls/libc.so.6
#1  0x00000034e226b420 in calloc () from /lib64/tls/libc.so.6
#2  0x0000000000423994 in ArgusCalloc (nitems=5, bytes=4) at argus_util.c:1385
#3  0x00000000004202a2 in ArgusUpdateAppState (model=0x659010, 
    flowstr=0x6eee20, state=16 '\020') at ArgusApp.c:278
#4  0x000000000040b00f in ArgusUpdateState (model=0x659010, flowstr=0x6eee20, 
    state=16 '\020') at ArgusModeler.c:2443
#5  0x000000000040a0ae in ArgusUpdateFlow (model=0x659010, flow=0x6eee20, 
    state=16 '\020') at ArgusModeler.c:2068
#6  0x0000000000408317 in ArgusProcessPacket (src=0x2a95786010, p=0x65bb12 "", 
    length=171, tvp=0x7fbfffec60, type=-1) at ArgusModeler.c:1316
#7  0x00000000004107db in ArgusEtherPacket (user=0x2a95786010 "", 
    h=0x7fbfffece0, p=0x65bb12 "") at ArgusSource.c:716
#8  0x00000034e2f04bff in ?? () from /usr/lib64/libpcap.so.0.8.3
#9  0x0000000000413cd2 in ArgusGetPackets (src=0x2a95786010)
    at ArgusSource.c:2093
#10 0x0000000000404c77 in main (argc=1, argv=0x7fbffff5a8) at argus.c:535

common/argus_util.c
   1362 void *
   1363 ArgusCalloc (int nitems, int bytes)
   1364 {
...
   1385       retn = calloc (1, total + offset);
...
   1437 }


	Gunnar Lindberg


Hardware is Dell 2950.

OS is RHEL Linux
/etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 7)

# /bin/uname -a
Linux argc.irt.chalmers.se 2.6.9-78.0.13.ELsmp #1 SMP Wed Jan 7 17:45:52 EST 2009 x86_64 x86_64 x86_64 GNU/Linux

# /bin/arch
x86_64

gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-10)




More information about the argus mailing list