Project

General

Profile

Optimization #822 » thread-dump03.txt

Third thread dump when shutting down Suricata (this was taken in the same run as the second thread dump) - Duarte Silva, 07/08/2013 06:05 AM

 
(gdb) thread 1
[Switching to thread 1 (Thread 0x7f8f05e3f720 (LWP 4149))]#0 list_array_get (_l=<value optimized out>, idx=147) at dslib.c:242
242 while (idx--) {
(gdb) bt full
#0 list_array_get (_l=<value optimized out>, idx=147) at dslib.c:242
l = <value optimized out>
r = 0x0
i = 2865
#1 0x00007f8f05a3a83e in htp_conn_remove_tx (conn=0x7f8ee89c58f0, tx=0x7f8eeafd2b70) at htp_connection.c:112
etx = <value optimized out>
i = 3013
#2 0x00007f8f05a3d5a9 in htp_tx_destroy (tx=0x7f8eeafd2b70) at htp_transaction.c:152
hl = <value optimized out>
h = 0x0
#3 0x00007f8f05a3a8ca in htp_conn_destroy (conn=0x7f8ee89c58f0) at htp_connection.c:66
tx = <value optimized out>
i = 9075
#4 0x00007f8f05a352b7 in htp_connp_destroy_all (connp=0x7f8ee9c8f6a0) at htp_connection_parser.c:206
No locals.
#5 0x00007f8f05e84642 in HTPStateFree (state=0x7f8ee922dff0) at app-layer-htp.c:282
tx_id = <value optimized out>
total_txs = 9973
s = 0x7f8ee922dff0
#6 0x00007f8f05e88cd8 in AppLayerParserCleanupState (f=0x7f8eec3af8b0) at app-layer-parser.c:1290
p = <value optimized out>
#7 0x00007f8f05f3b7f8 in FlowClearMemory (f=0x7f8eec3af8b0, proto_map=<value optimized out>) at flow.c:763
No locals.
#8 0x00007f8f05f3b96b in FlowShutdown () at flow.c:482
n = 0x0
proto_map = <value optimized out>
f = 0x7f8eec3af8b0
f = <value optimized out>
u = <value optimized out>
#9 0x00007f8f05f838ec in main (argc=239188248, argv=<value optimized out>) at suricata.c:2105
opt = <value optimized out>
pcap_dev = "eth1", '\000' <repeats 123 times>
sig_file = 0x0
sig_file_exclusive = 0
conf_test = 0
pid_filename = 0x7fff0e41c85b "/var/lock/subsys/suricata"
dump_config = 0
list_app_layer_protocols = 0
list_unittests = 0
list_cuda_cards = 0
list_runmodes = 0
list_keywords = 0
keyword_info = <value optimized out>
runmode_custom_mode = 0x0
daemon = 1
user_name = 0x7fff0e41c88d "suri"
group_name = 0x7fff0e41c89a "suri"
do_setuid = 1 '\001'
do_setgid = 1 '\001'
userid = 495
groupid = 491
build_info = 0
delayed_detect = 0
log_dir = 0x7f8f06e6d3c0 "/var/log/suricata/"
buf = {st_dev = 64513, st_ino = 1061314, st_nlink = 2, st_mode = 16888, st_uid = 0, st_gid = 491, __pad0 = 0,
st_rdev = 0, st_size = 12288, st_blksize = 4096, st_blocks = 24, st_atim = {tv_sec = 1372897749,
tv_nsec = 605231249}, st_mtim = {tv_sec = 1372897748, tv_nsec = 936218909}, st_ctim = {tv_sec = 1372897748,
tv_nsec = 936218909}, __unused = {0, 0, 0}}
__FUNCTION__ = "main"
long_opts = {{name = 0x7f8f0600d469 "dump-config", has_arg = 0, flag = 0x7fff0e41b48c, val = 1}, {
name = 0x7f8f0600a7e8 "pfring", has_arg = 2, flag = 0x0, val = 0}, {name = 0x7f8f0600d475 "pfring-int",
has_arg = 1, flag = 0x0, val = 0}, {name = 0x7f8f0600d480 "pfring-cluster-id", has_arg = 1, flag = 0x0, val = 0}, {
name = 0x7f8f0600d492 "pfring-cluster-type", has_arg = 1, flag = 0x0, val = 0}, {
name = 0x7f8f06009381 "af-packet", has_arg = 2, flag = 0x0, val = 0}, {name = 0x7f8f0600a162 "pcap", has_arg = 2,
flag = 0x0, val = 0}, {name = 0x7f8f0600d4a6 "unix-socket", has_arg = 2, flag = 0x0, val = 0}, {
name = 0x7f8f0600d4b2 "pcap-buffer-size", has_arg = 1, flag = 0x0, val = 0}, {
name = 0x7f8f0600d4c3 "unittest-filter", has_arg = 1, flag = 0x0, val = 85}, {
name = 0x7f8f0600d4d3 "list-app-layer-protos", has_arg = 0, flag = 0x7fff0e41b488, val = 1}, {
name = 0x7f8f0600d4e9 "list-unittests", has_arg = 0, flag = 0x7fff0e41b484, val = 1}, {
name = 0x7f8f0600d4f8 "list-cuda-cards", has_arg = 0, flag = 0x7fff0e41b480, val = 1}, {
name = 0x7f8f0600d508 "list-runmodes", has_arg = 0, flag = 0x7fff0e41b47c, val = 1}, {
name = 0x7f8f0600d516 "list-keywords", has_arg = 2, flag = 0x7fff0e41b478, val = 1}, {
name = 0x7f8f06009342 "runmode", has_arg = 1, flag = 0x0, val = 0}, {name = 0x7f8f05ffbf6b "engine-analysis",
has_arg = 0, flag = 0x7f8f06267998, val = 1}, {name = 0x7f8f0600d524 "pidfile", has_arg = 1, flag = 0x0, val = 0},
{name = 0x7f8f0600d52c "init-errors-fatal", has_arg = 0, flag = 0x0, val = 0}, {
name = 0x7f8f0600d53e "fatal-unittests", has_arg = 0, flag = 0x0, val = 0}, {name = 0x7f8f0600d6a4 "user",
has_arg = 1, flag = 0x0, val = 0}, {name = 0x7f8f060183d5 "group", has_arg = 1, flag = 0x0, val = 0}, {
name = 0x7f8f0600d54e "erf-in", has_arg = 1, flag = 0x0, val = 0}, {name = 0x7f8f0600d555 "dag", has_arg = 1,
flag = 0x0, val = 0}, {name = 0x7f8f0600d559 "napatech", has_arg = 0, flag = 0x0, val = 0}, {
name = 0x7f8f0600d562 "build-info", has_arg = 0, flag = 0x7fff0e41b46c, val = 1}, {name = 0x0, has_arg = 0,
flag = 0x0, val = 0}}
option_index = 21
short_opts = "c:TDhi:l:q:d:r:us:S:U:VF:"
temp_default_packet_size = 0x7f8f04d6d1d0 ""
c = <value optimized out>
de_ctx = <value optimized out>
start_time = {tv_sec = 1372944291, tv_usec = 395384}
end_time = {tv_sec = 1373041163, tv_usec = 60092}
milliseconds = 96871664
global_de_ctx = 0x7f8f07efd2b0
__PRETTY_FUNCTION__ = "main"
(3-3/3)