Project

General

Profile

Actions

Bug #1181

closed

Suricata 2.0 core dumps at reproducible place that depend on build options (mac os x)

Added by Philippe Langlois about 10 years ago. Updated over 8 years ago.

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

Description

System:
Darwin something 12.5.0 Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64 x86_64

2014-04-16 19:20:38 p:~/dev/suricata p$ gdb -c /cores/core.27752
GNU gdb 6.3.50-20050815 (Apple version gdb-1820) (Sat Jun 16 02:40:11 UTC 2012)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".
Now type:
64bits
exec-file ./64_macho_write_syscall
break start

Reading symbols for shared libraries . done
Reading symbols for shared libraries ........................................... done
#0  0x00007fff80b5a386 in __semwait_signal ()
gdb$ where
#0  0x00007fff80b5a386 in __semwait_signal ()
#1  0x00007fff8177f7c8 in nanosleep ()
#2  0x00007fff8177f6df in usleep ()
#3  0x000000010088ab6f in main (argc=0x5f543a90, argv=0x7fff5f53f290) at suricata.c:2287
gdb$
gdb -c /cores/core.72924
...
gdb$ where
#0  0x0000000108921077 in lua_close ()
#1  0x000000010866fc89 in OutputLuaLogInit ()
#2  0x000000010868a4a1 in RunModeInitializeOutputs ()
#3  0x00000001086aad2f in main ()
gdb$
gdb -c /cores/core.73034
...
gdb$ where
#0  0x0000000108ef8077 in lua_close ()
#1  0x0000000108c43c89 in OutputLuaLogInit ()
#2  0x0000000108c5e4a1 in RunModeInitializeOutputs ()
#3  0x0000000108c7ed2f in main ()
gdb$ 
gdb -c /cores/core.9827
...
gdb$ where
#0  0x00007fff80b5a386 in __semwait_signal ()
#1  0x00007fff8177f7c8 in nanosleep ()
#2  0x00007fff8177f6df in usleep ()
#3  0x00000001037c03bf in main ()
gdb$

On suricata source:
Last commit: 43b6cbd4bc76e423f9d52d63d5d4a60e864eedb3
branch: master

Actions #1

Updated by Victor Julien about 10 years ago

  • Subject changed from Suricata 2.0 core dumps at reproducible place that depend on build options to Suricata 2.0 core dumps at reproducible place that depend on build options (mac os x)
Actions #2

Updated by Victor Julien about 10 years ago

  • Target version deleted (2.0.2)

The cores are odd. You're stating to use the master branch, however the backtraces show clear signs on my dev-lua-output branch.

Actions #3

Updated by Andreas Herz over 8 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF