certego / fw1-loggrabber

FW1-Loggrabber is a command-line tool to grab logfiles from remote Checkpoint devices using OPSEC LEA (Log Export API)
GNU General Public License v2.0
52 stars 35 forks source link

Segmentation Fault #39

Open sametsazak opened 6 years ago

sametsazak commented 6 years ago

Hi,

My fw1-loggrabber set up is always up and running and it gives constantly segfault. After restart, it works again and then segfault.

Dec 10 00:40:03 localhost kernel: fw1-loggrabber[44314]: segfault at 11 ip 0000000000644dd1 sp 00000000ff824710 error 4 in libOS.so[615000+58000] Dec 10 00:40:03 localhost abrt[44460]: Saved core dump of pid 44314 (/usr/local/fw1-loggrabber/bin/fw1-loggrabber) to /var/spool/abrt/ccpp-2017-12-10-00:40:03-44314 (15540224 bytes) Dec 10 00:40:03 localhost abrtd: Directory 'ccpp-2017-12-10-00:40:03-44314' creation detected Dec 10 00:40:04 localhost abrtd: Executable '/usr/local/fw1-loggrabber/bin/fw1-loggrabber' doesn't belong to any package and ProcessUnpackaged is set to 'no' Dec 10 00:40:04 localhost abrtd: 'post-create' on '/var/spool/abrt/ccpp-2017-12-10-00:40:03-44314' exited with 1 Dec 10 00:40:04 localhost abrtd: Deleting problem directory '/var/spool/abrt/ccpp-2017-12-10-00:40:03-44314'

Strace

[ Process PID=44557 runs in 32 bit mode. ] futex(0xf7448000, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EFAULT (Bad address) --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xf7448000} --- +++ killed by SIGSEGV (core dumped) +++

There is no core dump file but I can configure for it. Is there any related issue?

jvm3487 commented 6 years ago

This could be related to https://github.com/certego/fw1-loggrabber/pull/47 if you were running the latest master at the time.