Project

General

Profile

Actions

Bug #1354

closed

coredumps on quitting on OpenBSD

Added by Philipp Buehler over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

2.1dev (rev ff8dae3) on OpenBSD/amd64 5.5

1) hitting ctrl-c (or kill(1) the process)
^C26456 29/12/2014 -- 10:40:24 - (suricata.c:2370) <Notice> (main) -- Signal Received. Stopping engine.
Segmentation fault (core dumped)
#0 PacketPoolGetPacket () at tmqh-packetpool.c:205
205 p->pool = pool;
(gdb) bt
#0 PacketPoolGetPacket () at tmqh-packetpool.c:205
#1 0x000013331c33cd9d in PacketPoolDestroy () at tmqh-packetpool.c:312
#2 0x000013331c3388f9 in main (argc=Variable "argc" is not available.
) at suricata.c:2471

2) requesting shutdown via suricatasc

shutdown

[5574] 29/12/2014 -- 10:43:48 - (suricata.c:2370) <Notice> (main) -- Signal Received. Stopping engine.
#0 PktVarFree (pv=0x6769730064695f65) at pkt-var.c:98
98 if (pv->value != NULL)
(gdb) bt
#0 PktVarFree (pv=0x6769730064695f65) at pkt-var.c:98
#1 0x00000e3205e43cd2 in PacketFree (p=0xe320610be43) at decode.c:93
#2 0x00000e3205f3cd53 in PacketPoolDestroy () at tmqh-packetpool.c:302
#3 0x00000e3205f388f9 in main (argc=Variable "argc" is not available.
) at suricata.c:2471

Startup for all three cases:
/home/suricata/bin/suricata --unix-socket=/tmp/suricata.sock
(Note issue 1353 about unix-socket on this platform)

Actions

Also available in: Atom PDF