Project

General

Profile

Actions

Bug #988

closed

suricata don't exit in live mode

Added by Eric Leblond over 10 years ago. Updated over 10 years ago.

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

Description

When starting suritcata in pcap mode (-i eth0) with latest commit being cb150003879edc0128f1902db903c5466f86a733, I'm not able to terminate suricata with CTRL+C.

Attaching a gdb process to suri and applying bt lead to:

(gdb) bt
#0  0x00007f437739349d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f43773bbf44 in usleep (useconds=<optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:32
#2  0x000000000073f4fa in FlowForceReassembly () at flow-timeout.c:693
#3  0x00000000007cc0f3 in main (argc=5, argv=0x7fff045ec378) at suricata.c:2160

Problem is the same with af-packet capture mode.

Actions #1

Updated by Victor Julien over 10 years ago

  • Status changed from New to Assigned
  • Assignee set to Victor Julien
Actions #2

Updated by Peter Manev over 10 years ago

Is it the same issue for pfring?

Actions #3

Updated by Eric Leblond over 10 years ago

Peter, given the error, I think this is the same with pfring.

Actions #4

Updated by Peter Manev over 10 years ago

Is there a chance this could relate/impact to -
https://redmine.openinfosecfoundation.org/issues/787
?

Actions #5

Updated by Victor Julien over 10 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

@Peter Pan, no.

Fixed in commit:

commit c1190545cfb1d06037847b94620591d2be6f3c07
Author: Victor Julien <victor@inliniac.net>
Date:   Thu Oct 3 10:33:56 2013 +0200

    Revert change in queue handler wait logic. Bug #988.

Actions

Also available in: Atom PDF