Skip to content

ossec-logcollector segfaults with no logs to collect #2156

@TotalGriffLock

Description

@TotalGriffLock

Installing 3.8.0 from the ubuntu jammy pkg on your repo, and removing all the logfile tags from the conf file, causes the ossec-logcollector to still start (this is well documented) but then it segfaults. It repeatedly gets restarted and segfaults.

To reproduce, install on ubuntu jammy and remove all logfile tags from ossec.conf....

[1045327.910636] ossec-logcollec[1132971]: segfault at 0 ip 00007fce98533d73 sp 00007ffdbe0510f8 error 4 in libc.so.6[7fce983a9000+195000]
[1045327.910674] Code: 84 22 04 00 00 0f 82 0c 04 00 00 49 89 d3 89 f8 31 d2 62 a1 fd 00 ef c0 09 f0 25 ff 0f 00 00 3d 80 0f 00 00 0f 8f 2d 04 00 00 <62> e1 fe 28 6f 0f 62 b2 75 20 26 d1 62 f3 75 22 3f 0e 00 c5 fb 93

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions