- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Problem 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 ---

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page