Project

General

Profile

Bug #1003 ยป suricata-threaddump.txt

Duarte Silva, 10/18/2013 03:35 AM

 
(gdb) bt full
#0 0x00007fe765a87e88 in HTPStateGetTxCnt (alstate=0x7fe75070ed60) at app-layer-htp.c:2434
No locals.
#1 0x00007fe765b07eed in DeStateFlowHasInspectableState (f=0x7fe74847e320, alproto=1, alversion=<value optimized out>,
flags=6 '\006') at detect-engine-state.c:220
r = 0
#2 0x00007fe765ad3818 in SigMatchSignatures (th_v=0x7fe76efdf060, de_ctx=0x7fe767f4d300, det_ctx=0x7fe750015900,
p=0x7fe767bb17f0) at detect.c:1280
has_state = <value optimized out>
sms_runflags = 1 '\001'
alert_flags = 0 '\000'
alproto = 1
idx = <value optimized out>
flags = 6 '\006'
alstate = 0x7fe75070ed60
smsg = 0x7fe7103b95f0
s = 0x0
sm = 0x0
alversion = 1
reset_de_state = <value optimized out>
state_alert = 0
alerts = 0
app_decoder_events = 0
mask = <value optimized out>
#3 0x00007fe765ad42bd in Detect (tv=<value optimized out>, p=<value optimized out>, data=<value optimized out>,
pq=<value optimized out>, postpq=<value optimized out>) at detect.c:1699
det_ctx = <value optimized out>
de_ctx = <value optimized out>
r = <value optimized out>
#4 0x00007fe765ba2748 in TmThreadsSlotVarRun (tv=0x7fe76efdf060, p=0x7fe767bb17f0, slot=<value optimized out>)
at tm-threads.c:559
SlotFunc = <value optimized out>
r = <value optimized out>
s = 0x7fe76bc120f0
extra_p = <value optimized out>
#5 0x00007fe765ba277f in TmThreadsSlotVarRun (tv=0x7fe76efdf060, p=0x7fe767bbf830, slot=<value optimized out>)
at tm-threads.c:585
SlotFunc = <value optimized out>
r = <value optimized out>
s = 0x7fe76fc2ff40
extra_p = 0x7fe767bb17f0
#6 0x00007fe765b7cc00 in TmThreadsSlotProcessPkt (ptv=<value optimized out>) at tm-threads.h:142
r = TM_ECODE_OK
#7 AFPReadFromRing (ptv=<value optimized out>) at source-af-packet.c:845
p = 0x7fe767bbf830
from = <value optimized out>
det_ctx = <value optimized out>
de_ctx = <value optimized out>
r = <value optimized out>
#4 0x00007fe765ba2748 in TmThreadsSlotVarRun (tv=0x7fe76efdf060, p=0x7fe767bb17f0, slot=<value optimized out>)
at tm-threads.c:559
SlotFunc = <value optimized out>
r = <value optimized out>
s = 0x7fe76bc120f0
extra_p = <value optimized out>
#5 0x00007fe765ba277f in TmThreadsSlotVarRun (tv=0x7fe76efdf060, p=0x7fe767bbf830, slot=<value optimized out>)
at tm-threads.c:585
SlotFunc = <value optimized out>
r = <value optimized out>
s = 0x7fe76fc2ff40
extra_p = 0x7fe767bb17f0
#6 0x00007fe765b7cc00 in TmThreadsSlotProcessPkt (ptv=<value optimized out>) at tm-threads.h:142
r = TM_ECODE_OK
#7 AFPReadFromRing (ptv=<value optimized out>) at source-af-packet.c:845
p = 0x7fe767bbf830
from = <value optimized out>
---Type <return> to continue, or q <return> to quit---
emergency_flush = 0 '\000'
read_pkts = 1
loop_start = -1
#8 0x00007fe765b7d144 in ReceiveAFPLoop (tv=0x7fe76efdf060, data=0x7fe7500008f0, slot=<value optimized out>)
at source-af-packet.c:1049
packet_q_len = <value optimized out>
ptv = 0x7fe7500008f0
fds = {fd = 11, events = 1, revents = 1}
r = <value optimized out>
s = <value optimized out>
last_dump = 1382004744
current_time = {tv_sec = 1382004744, tv_usec = 296857}
__FUNCTION__ = "ReceiveAFPLoop"
#9 0x00007fe765ba238e in TmThreadsSlotPktAcqLoop (td=0x7fe76efdf060) at tm-threads.c:703
tv = 0x7fe76efdf060
s = 0x7fe76bccc520
run = <value optimized out>
r = <value optimized out>
slot = <value optimized out>
__FUNCTION__ = "TmThreadsSlotPktAcqLoop"
#10 0x00007fe7632ca851 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#11 0x00007fe762e1494d in clone () from /lib64/libc.so.6
No symbol table info available.


(gdb) info threads
8 Thread 0x7fe76068d700 (LWP 27232) 0x00007fe762e0b293 in poll () from /lib64/libc.so.6
7 Thread 0x7fe75fe8c700 (LWP 27233) 0x00007fe762e0b293 in poll () from /lib64/libc.so.6
* 6 Thread 0x7fe75f68b700 (LWP 27234) 0x00007fe765a87e88 in HTPStateGetTxCnt (alstate=0x7fe75070ed60)
at app-layer-htp.c:2434
5 Thread 0x7fe75ee8a700 (LWP 27235) 0x00007fe762e0b293 in poll () from /lib64/libc.so.6
4 Thread 0x7fe75e689700 (LWP 27236) 0x00007fe7632ce7bb in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
3 Thread 0x7fe75b345700 (LWP 27237) 0x00007fe7632ce7bb in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
2 Thread 0x7fe75ab44700 (LWP 27238) 0x00007fe7632ce7bb in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
1 Thread 0x7fe765a54800 (LWP 27230) 0x00007fe762dd8bcd in nanosleep () from /lib64/libc.so.6
    (1-1/1)