Opened 15 years ago

Closed 15 years ago

#162 closed defect (fixed)

Doesn't run on MacOS X

Reported by: rainer Owned by: rainer
Priority: major Milestone: 2.5.9
Component: main Version: 2.5.8
Keywords: Cc:

Description

As reported by David, samhain crashes at startup on MacOS X:

I just updated from 2.5.3. to 2.5.8., and now I get crashes. With "samhain -t init" I get the following output:

----
ALERT : [2009-08-18T11:31:51+0200] msg=<START>, program=<Samhain>, userid=<0>, path=</etc/samhainrc>, hash=<10A01B17B027EAD02B5D659BE9CA316C0A766873023F713A>
ERROR : [2009-08-18T11:32:53+0200] msg=<Dereferenced NULL pointer>
ERROR : [2009-08-18T11:32:53+0200] msg=<Dereferenced NULL pointer>
ERROR : [2009-08-18T11:32:53+0200] msg=<Dereferenced NULL pointer>
ERROR : [2009-08-18T11:32:53+0200] msg=<Dereferenced NULL pointer>
ERROR : [2009-08-18T11:32:53+0200] msg=<Dereferenced NULL pointer>
----
... and so on, until I hit Ctrl+C.

Build options: --with-trusted=0,1,501,1000,1029 --with-state-dir=/usr/local/lib/samhain --with-data-file=/usr/local/lib/samhain/samhain_file --disable-dnmalloc

When I build with "--enable-debug", I get:

----
ALERT : [2009-08-18T11:37:06+0200] msg=<START>, program=<Samhain>, userid=<0>, path=</etc/samhainrc>, hash=<10A01B17B027EAD02B5D659BE9CA316C0A766873023F713A>

Backtrace:

main
sh_dirs_chk
sh_files_checkdir
sh_files_filecheck
ALERT : [2009-08-18T11:38:06+0200] msg=<EXIT>, program=<Samhain>, status=<Bus error>

Change History (1)

comment:1 by rainer, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in changeset [242] (released as 2.5.8a).

Note: See TracTickets for help on using tickets.