Actions
Bug #683
closed
VJ
PM
ppa: suricata-dbg contains no debug symbols
Bug #683:
ppa: suricata-dbg contains no debug symbols
Affected Versions:
Effort:
Difficulty:
Label:
Description
How to reproduce:
Start suricata in the foreground. Kill it with a abort signal
Suricata will now abort and dump core.
In gdb
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:
VJ Updated by Victor Julien almost 14 years ago
Ah I see the difference between the packages. suricata-dbg has --enable-debug while the other has not. I think the -dbg should have CFLAGS="-ggdb -O0" instead of --enable-debug.
PM Updated by Peter Manev almost 14 years ago
It has them (CFLAGS="-ggdb -O0") in the configure line , but your point about the "stripped" output could be correct.
plus we have to check the dh_strip behaviour as well ....
investigating...
PM Updated by Peter Manev almost 14 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Fixed and updated in Ubuntu PPA
VJ Updated by Victor Julien almost 14 years ago
- Status changed from Resolved to Closed
- Target version set to 1.4
Confirmed, thanks Peter.
Actions