slorquet opened a new issue, #9275:
URL: https://github.com/apache/nuttx/issues/9275

   Hello,
   
   I found a crash when trying to read /proc/%d/cmdline on a kthread manually 
created with argv=NULL.
   
   After some unresponded messages on the mailing list I got no feedback so 
here is a github issue.
   
   The crash happens when trying to read /proc/%d/cmdline, but using gdb 
watchpoints, I have determined that the memory address that stores 
tcb->group->tg_info->argv[n] is written  by an later arm exception, which is 
most probably a context switch.
   
   This leads me to believe that the stack adjustment does not work correctly 
in certain cases.
   
   This is a very annoying bug with a memory corruption and I would like to fix 
it, but I need to reproduce it in an isolated case that developers can 
reproduce.
   
   Who has nucleo h7 boards and is able to help me fix this?
   
   Thank you for your help.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to