Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application crash #9

Open
poupie opened this issue Jul 13, 2014 · 1 comment
Open

Application crash #9

poupie opened this issue Jul 13, 2014 · 1 comment

Comments

@poupie
Copy link

poupie commented Jul 13, 2014

Hello,

I tried the application and encountered a few hickups:
-I got some data at year 2555 ?!? which I thought should not occur has this is an issue that has been flagged and solved.
-The application suddenly crashed.

I wonder Is there a way to have logs when it is daemonized ?
I am not a programmer so I have no real clue. I suppose that it is in daemonize.c where stdout & stderr are redirected to /dev/null but I am not sure.

Br

@cornetp
Copy link
Owner

cornetp commented Jul 14, 2014

  • A check has been added in cm160.c at line 75 to discard invalid values that seems to be sometimes sent by the device (this check is maybe not complete... personally the app is running at my side for almost two years without a break and I've never had the problem, so it is difficult for me to validate the fix).

Indeed you can redirect the logs into file by replacing /dev/null by a log file path.
But If I were you I should first try to reproduce the problem in the console (start the app without -d)...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants