Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

Crashing when using syslog, core dump generated #3

Open
tuckner opened this issue Jun 8, 2015 · 3 comments
Open

Crashing when using syslog, core dump generated #3

tuckner opened this issue Jun 8, 2015 · 3 comments

Comments

@tuckner
Copy link

tuckner commented Jun 8, 2015

Trying to use the syslog component of this. When switched on, loggrabber is crashing.

Centos 6.6 32 bit

Program terminated with signal 11, Segmentation fault.
#0 0x006549ef in __strlen_ia32 () from /lib/libc.so.6

(gdb) bt
#0 0x006549ef in __strlen_ia32 () from /lib/libc.so.6
#1 0x0061f23f in vfprintf () from /lib/libc.so.6
#2 0x006b9e56 in __vsyslog_chk () from /lib/libc.so.6
#3 0x006b9fd7 in syslog () from /lib/libc.so.6
#4 0x080579d8 in submit_syslog (
message=0x8c42d60 "*log redacted*"...) at fw1-loggrabber.c:4704
#5 0x08058f16 in leaRecordProcessor (data=0x0) at fw1-loggrabber.c:5293
#6 0x0077ab39 in start_thread () from /lib/libpthread.so.0
#7 0x006bdc2e in clone () from /lib/libc.so.6

Can provide core.

@adepasquale
Copy link
Contributor

Thanks for reporting the crash. Unfortunately version 2.0 of FW1-LogGrabber has never been tested under 32 bit architectures.

I'd be happy to have a look at your core dump, you can find my email here.

@WsH89
Copy link

WsH89 commented Jun 17, 2015

has this been updated?

@adepasquale
Copy link
Contributor

@WsH89 no updates, cannot reproduce because I don't have a 32bit environment.

In the meantime you could use a workaround like: fw1 writes to a local file, then the local syslog daemon reads that file and eventually sends it to a remote syslog server. You might also need to set OUTPUT_FILE_ROTATESIZE to zero and configure logrotate with copytruncate enabled.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants