> chassis.c: In function 'main_cmdline':
> chassis.c:509: warning: implicit declaration of function
> 'chassis_filemode_check'
>
> chassis-filemode.c: In function 'chassis_filemode_check':
> chassis-filemode.c:44: warning: implicit declaration of function 'strerror'
> chassis-filemode.c:44: warning: format '%s' expects type 'char *', but
> argument 6 has type 'int'
... which leads to:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000000824d2df0
0x00007fff82390cc0 in strlen ()
...
#6 0x00000001000398d4 in g_log ()
#7 0x00000001000016e9 in chassis_filemode_check (filename=0x100001906 "/tmp/a_non_existent_file") at ../../src/chassis-filemode.c:44
#8 0x00000001000013e7 in test_file_permissions () at check_chassis_filemode.c:48
...
> chassis.c: In function 'main_cmdline': filemode_ check' filemode_ check': filemode. c:44: warning: implicit declaration of function 'strerror' filemode. c:44: warning: format '%s' expects type 'char *', but
> chassis.c:509: warning: implicit declaration of function
> 'chassis_
>
> chassis-filemode.c: In function 'chassis_
> chassis-
> chassis-
> argument 6 has type 'int'
... which leads to:
Program received signal EXC_BAD_ACCESS, Could not access memory. ADDRESS at address: 0x00000000824d2df0 filemode_ check (filename= 0x100001906 "/tmp/a_ non_existent_ file") at ../../src/ chassis- filemode. c:44 permissions () at check_chassis_ filemode. c:48
Reason: KERN_INVALID_
0x00007fff82390cc0 in strlen ()
...
#6 0x00000001000398d4 in g_log ()
#7 0x00000001000016e9 in chassis_
#8 0x00000001000013e7 in test_file_
...