Project

General

Profile

Actions

Bug #683

closed

ppa: suricata-dbg contains no debug symbols

Added by Victor Julien about 12 years ago. Updated almost 12 years ago.

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

Description

How to reproduce:

Start suricata in the foreground. Kill it with a abort signal

sudo kill -n ABRT `pidof suricata`

Suricata will now abort and dump core.
gdb /usr/bin/suricata core

In gdb
thread apply all bt

No Suricata function names will be printed, only ???

Further info:

I think "stripped" in this output means the symbols have been stripped:

# file /usr/bin/suricata
/usr/bin/suricata: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, stripped

The binary is bigger than the "suricata" one though:

(suricata-dbg) # ls -lh /usr/bin/suricata
-rwxr-xr-x 1 root root 3.6M 2012-12-04 03:14 /usr/bin/suricata
(suricata) # ls -lh /usr/bin/suricata
-rwxr-xr-x 1 root root 1.8M 2012-12-04 03:03 /usr/bin/suricata
Actions

Also available in: Atom PDF