I'm running an application, but it appears to crash instantly. The logs say that it cannot attach to the process, and when running "native-debug", I get the error:
Cannot access memory at address 0x0 [Inferior 1 (process 12474) exited with code 0377]
Currently, I'm not able to see any "printf" log output, or AppLog output for that matter. I modified one of the sample applications to have an "int main", and it still ran properly. I was concerned this may be the problem. Interestingly, if I try to remove the "int main" from my our codebase, we have a linker error, that crt1.so is referencing main from the "start" method. This doesn't appear to be required in the sample, so I'm not sure if this is implied behavior from somewhere else, and if this may be the cause of some of our trouble?
Is there a place to get printf log output, and are there more details about the application start-up process using OSP, regarding main vs. OspMain, etc?