-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Stack overflowed after a while #5001
Comments
vtimer is deprecated and one should use xtimer instead. However, vtimer is using xtimer internally now anyway and this shouldn't be related to your problem.
Have you tried
?
Thanks! |
Thank you for quick reply. I am not sure how I sould use the "make debug"... can you provide details? There is no point to change all vtimer then? |
Another try might be to call |
Here is the result of objdump:
I can't find 0x08003e05, but I supposed it it somewhere around:
Anyway, this function should not be used at the time of the crash... Does it give some hint? |
Hm, since you've said that the problem happens only after some hours of runtime, I would assume that both, |
Also, I get crashes with my xtimer code that (I think) go away with #4903. Perhaps give it a try. EDIT: they don't really look related, but it won't hurt to try. |
Ok. I'll try this tonight or tomorrow and let run for a while. Let you know. Le mer. 9 mars 2016 01:12, Michael Andersen notifications@github.com a
|
I rebased on master. Let's go for a test overnight. Le mer. 9 mars 2016 06:41, Sebastien Risler sebastien.risler@gmail.com a
|
The device is running since 7:30AM and no problem. It is a record ! I let it run over the night and close the issue if it is still on. Thank you for your help |
I'll keep my fingers crossed! |
Still working after more than 24h running. I close this bug. Reminder: I rebased on commit: d15bc43 Thank you all |
Glad to hear! :) To clarifiy, you didn't have to include #4903 as well? |
No Le ven. 11 mars 2016 10:24, Oleg Hahm notifications@github.com a écrit :
|
Hi all,
I am facing kind of a problem on a STM32F0 MCU. The program is running pretty well but crashed after a random time. So far, it happens between 2 and 11 hours...
In the test condition, the system is requesting measurement to an external ADC every 2 seconds.
I am using vtimer_now(&timex); and compare timex to count the 2 seconds. This program is based on RIOT commit 0e285e8.
Here is the trace (always the same when it crashes):
What do you think it could cause that? How can I track down this bug?
Thank you for your help,
PS: By the way, congrats for this awesome work !
The text was updated successfully, but these errors were encountered: