Acfboy commented on issue #18566:
URL: https://github.com/apache/nuttx/issues/18566#issuecomment-5156452861

   > I have compiled NuttX for x86_64 QEMU with Nano-X options and I receive 
fault due attempt to dereference -1 pointer 
   
   It's caused by a stack overflow.
   
   The buf use about 30000 bytes (`MAXREQUESTSZ`=30000) in 
[src/nanox/srvnet.c](https://github.com/ghaerr/microwindows/blob/2108675308cf69a5c1c54b483e29e3c039f319be/src/nanox/srvnet.c#L2240),
 but I just assigned 32768 bytes to the server. 
   
   ```diff
   -    task_create("nanoxserver", 100, 32768, nanox_server_main, NULL);
   +    task_create("nanoxserver", 100, 65536, nanox_server_main, NULL);
   ```


-- 
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