Stack overflow during system init.
Hi everyone, I just enabled CONFIG_ARMV7M_STACKCHECK, as I would like to have this functionality in my project, but I am facing problems. NuttX is not able to boot at all with this option selected. I stepped through the code and it seems that nxsig_initialize actually causes a stack overflow that is detected by the above check. Is this a bug, or I should configure something in a different way? Then I realized that __stack_overflow_trap is broken. When a stack overflow happens, this function is called which is supposed to cause a hardfault. However as __stack_overflow_trap is a function itself, __cyg_profile_func_enter is called again. Once again it detects the overflow and calls __stack_overflow_trap, and so on... Finally, as I see, the stack check is performed while entering a function, which is wrong. If there is a stack overflow, it will be detected at the next function call, which may be at a irrelevant part of the code. I believe that the check shall be performed on the exit of a function, in which case you will be sure that this specific function caused the overflow. And of course it will solve the issue above with __stack_overflow_trap.
IP Clearance
Well, we are over 10 months pushing 11 months as an Apache podling. In my assessment, we have made zero progress on IP clearance. I am certainly appreciative of the tool-related work of Adam Feurer and Matias N. They have certainly assured that we have proper tool support to do the job. But who is going to do the real job? There has been really no progress at clearing files. Zero files have been cleared. That is why I say that there has be zero progress. I don't know how much time is allowable for this. We have certainly pissed away this first year but I have heard of projects incubating for two years. Can we have another year? What is to say we do not piss that away too? Should we be making other plans? Food for thought?
Re: IP Clearance
Hi, For some context most project graduate at 1 1/2 t 2 years, but some take longer, it just depends on the project. The IP clearance is important and you would need to show progress on this before you could graduate. Thanks, Justin
Re: IP Clearance
For some context most project graduate at 1 1/2 t 2 years, but some take longer, it just depends on the project. The IP clearance is important and you would need to show progress on this before you could graduate. Well, I believe that we would be in the worst case in this because this is an older, established project with a long history and many files to be cleared. I don't expect overnight miracles. I would be comfortable if there were a plan to make slow, steady progress over the long haul. It does not take a major, superhuman effort; just steady progress But there no such plan and there is no such progress. That is a road to failure. At this point, why should we expect anything to be different in a year? In two years? What is the event that will change the status quo?
Re: IP Clearance
For some context most project graduate at 1 1/2 t 2 years, but some take longer, it just depends on the project. The IP clearance is important and you would need to show progress on this before you could graduate. Well, I believe that we would be in the worst case in this because this is an older, established project with a long history and many files to be cleared. I don't expect overnight miracles. I would be comfortable if there were a plan to make slow, steady progress over the long haul. It does not take a major, superhuman effort; just steady progress But there no such plan and there is no such progress. That is a road to failure. At this point, why should we expect anything to be different in a year? In two years? What is the event that will change the status quo? I have said before that I think that only way for this to be successful lies with the corporate users of NuttX who want to see NuttX be a successful Apache project. They should step up and fund an IV&V effort to assure that this will happen. It is clear that no one else is going to do this. The project volunteers do not have the bandwidth or the interest to do this job.. at least not alone. Xiaomi has stated that they ill provide a full time person to accomplish this.. I think that was Peter from whom we have heard nothing.