GIDForums  

Go Back   GIDForums > Computer Programming Forums > Assembly Language
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 24-Oct-2009, 09:51
megadeath16 megadeath16 is offline
New Member
 
Join Date: Oct 2009
Posts: 2
megadeath16 is on a distinguished road

Corrupted stack pointer


I have a thread A in my code. Even though the stack is not full, I sometimes see that I have an invalid value of the stack pointer (the stack pointer value is outside the stack size range for that thread) and see a stack overflow error. Any tips on what are the possible ways this could happen? and how I could possibly debug this?
Thx
Subbu
  #2  
Old 28-Oct-2009, 07:57
Howard_L Howard_L is offline
Senior Member
 
Join Date: Apr 2007
Location: Maryland/PA, USA
Posts: 1,007
Howard_L is a jewel in the roughHoward_L is a jewel in the roughHoward_L is a jewel in the rough

Re: Corrupted stack pointer


sorry so late... While YOU know what you're talking about, we would really need more information for US to know, so
State what OS and compiler you are using.
Post you code.
Post the commands you use to compile and run the program along with the output
...and maybe someone can try it and give you some meaningful answers.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
prime factors with stack Kubu C++ Forum 5 16-Apr-2006 17:08
[Tutorial] Pointers in C (Part II) Stack Overflow C Programming Language 0 27-Apr-2005 17:36

Network Sites: GIDNetwork · GIDApp · GIDBlog · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 15:36.


vBulletin, Copyright © 2000 - 2014, Jelsoft Enterprises Ltd.