﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
162	Doesn't run on MacOS X	rainer	rainer	"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>
}}}
"	defect	closed	major	2.5.9	main	2.5.8	fixed		
