Forum Discussion
Altera_Forum
Honored Contributor
20 years agoOut of memory..
I'm running an application that runs with 16 threads ( 17 if you count main()) on uCLIunx Nios II with 32 MB SDRAM. After it runs a while (for almost 1/2 hour), suddenly the OS does this: h...
Altera_Forum
Honored Contributor
19 years agoProblem stemmed from the fact that the two NIOS processors on the board had mismatched kernel and or rootfs.
Wow, weird problem requires weird solution. Heh. --- Quote Start --- originally posted by shachris23@Aug 20 2006, 04:50 PM i'm running an application that runs with 16 threads ( 17 if you count main()) on ucliunx nios ii with 32 mb sdram. after it runs a while (for almost 1/2 hour), suddenly the os does this:
http://www.e-mag.com/problem.jpg (http://www.e-mag.com/problem.jpg)
i really dont understand what could cause this because
1) my application doesnt do any memory allocation.
2) the 16 threads just sem_wait for interrupts from some processors that it's controlling.
so basically, the application just keeps calling sem_wait and sem_post and makes a few hardware-related calls.
this can't be related to stack overflow can it?
any thoughts would be greatly appreciated.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=17730)
--- quote end ---
--- Quote End ---