Project

General

Profile

Bug #1093

prelude-admin Segmentation Fault raspbian

Added by Marc-Antoine delannoy 5 months ago. Updated 5 months ago.

Status:
Assigned
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
05/06/2019
Due date:
% Done:

0%

Resolution:

Description

Hello,
I am trying to run the libprelude on a raspberry pi to use suricata with the prelude alert format.
I download the libprelude-5.0.0.tar.gz and decompress the archive.
then:

./configure
make
make install
LD_LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH

and when i try to use prelude-admin without argument it works and displays the help message.
But if for example i try prelude-admin list it returns a segmentation fault.
Same for any argument.

And if i run make check
I have 4 errors.
the end of the output is:


make  check-TESTS check-local
make[3]: Entering directory '/home/suricata/libprelude-5.0.0/tests'
make[4]: Entering directory '/home/suricata/libprelude-5.0.0/tests'
../test-driver: line 95: 26741 Segmentation fault      "$@" > $log_file 2>&1
FAIL: async-timer
PASS: idmef
../test-driver: line 95: 26789 Aborted                 "$@" > $log_file 2>&1
FAIL: idmef-criteria
PASS: idmef-message-helper
PASS: idmef-path
PASS: idmef-value
../test-driver: line 95: 26885 Segmentation fault      "$@" > $log_file 2>&1
FAIL: prelude-client
PASS: prelude-string
../test-driver: line 95: 26933 Segmentation fault      "$@" > $log_file 2>&1
FAIL: prelude-timer
make[5]: Entering directory '/home/suricata/libprelude-5.0.0/tests'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/suricata/libprelude-5.0.0/tests'
============================================================================
Testsuite summary for libprelude 5.0.0
============================================================================
# TOTAL: 9
# PASS:  5
# SKIP:  0
# XFAIL: 0
# FAIL:  4
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
============================================================================
Makefile:1881: recipe for target 'test-suite.log' failed
make[4]: *** [test-suite.log] Error 1
make[4]: Leaving directory '/home/suricata/libprelude-5.0.0/tests'
Makefile:1987: recipe for target 'check-TESTS' failed
make[3]: *** [check-TESTS] Error 2
make[3]: Leaving directory '/home/suricata/libprelude-5.0.0/tests'
Makefile:2117: recipe for target 'check-am' failed
make[2]: *** [check-am] Error 2
make[2]: Leaving directory '/home/suricata/libprelude-5.0.0/tests'
Makefile:1669: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/home/suricata/libprelude-5.0.0'
Makefile:1954: recipe for target 'check' failed
make: *** [check] Error 2

Do you have any idea how to solve this?

Regards

History

#1 Updated by Thomas ANDREJAK 5 months ago

  • Status changed from New to Assigned
  • Priority changed from High to Normal

Hello

Can you give us a full backtrace from gdb when segmentation fault appears ?

It should works as under debian : https://buildd.debian.org/status/package.php?p=libprelude
Is it possible for you to use these deb files ?

Regards

#2 Updated by Marc-Antoine delannoy 5 months ago

Yes that's what I did and it works with apt-get install libprelude-dev
Thank you for your help and excuse me for the inconvenience.

Also available in: Atom PDF