A stack overflow occurs when too much memory is used on the call stack. NOTE: Do not use this tag to refer to the Stack Overflow website. If you have a question regarding the site, please go to http://meta.stackoverflow.com

learn more… | top users | synonyms

0
votes
2answers
51 views

Why this stack smashing?

I got the following code(part of a log function): /* set to 32 on purpose */ #define MAX_LOG_MSG_SZ 32 void log(const char *fmt, ...) { .... char msg[MAX_LOG_MSG_SZ] = {0}; int nb_bytes ...
2
votes
2answers
160 views

Microsoft's implementation of std::regex

I have been working with the <regex> library (Microsoft Visual Studio 2012: Update 3), trying to use it to implement a slightly safer loading procedure for my application, and have been having a ...
1
vote
0answers
29 views

Why “ulimit -s unlimited” can de-ASLR in overflow?

I know the ulimit -s unlimited trick (to fix the address of libc) but i dont understand the fact behind,anyone could help me to make a explanation?~ thx
-3
votes
1answer
78 views

Stackoverflow on a merge sort in c# [on hold]

I tried to implement a merge sort in C# and for some reason it gives me a stackoverflow exeption,I have no idea where it comes from. The error is something small i'm guessing but i can't find it ...
2
votes
2answers
41 views

How to measure stack memory in Java?

There is a single core class that is used in transaction engine. I did a test with high number of concurrent transaction which resulted in a deadly stack-overflow exception. I would like to know if ...
0
votes
2answers
38 views

Android java StackOverFlow Error

I made a custom adapter class using baseAdapter and it seems to be working just fine. BUT when I do the onItemClickMethod it returned a StackOverFlowError. Here is my adapter class : public class ...
0
votes
1answer
38 views

Would this recursive long polling technique result in a stack overflow?

I saw an example of a long polling technique on pastebin and I wondered whether the recursive nature of the design would result in a stack overflow? Sorry if this is a noob question, but I'm ...
-1
votes
0answers
8 views

Real time notifications on IRC about Stackoverflow questions on a particular topic

Is there a way to put a Real time notification system in place, which notifies an IRC channel as soon as questions are posted with specific tags on Stackoverflow? Its more of a Stackoverflow feature ...
3
votes
1answer
40 views

Lua: How to properly clean up errors returned by lua_pcall

I've been having a crash problem with Lua for a little while now, and I finally discovered what I believe to be the problem. I'm allowing the script to omit functions that are attempted to be called ...
4
votes
2answers
82 views

QUICKSORT : how to resolve java.lang.StackOverflowError?

I am writing a quicksort program to run on an input size of 100000. I have tried running it at a size of 500 and it works fine but with million inputs, the program breaks with the following error code ...
2
votes
2answers
161 views
+50

Regular Expression causing Stack Overflow

Further to my previous question: ECMAScript Regex for a multilined string, I have implemented the following loading procedure: void Load( const std::string& szFileName ) { static const ...
0
votes
1answer
42 views

Stack overflow in nested loop in Visual Basic

I made a constructor in my program but it kept giving me the stack overflow exception. I tried changing parameters but it did not help... Public Sub New() InitializeComponent() For i As ...
0
votes
0answers
23 views

Understanding stackoverflow unanswered questions [migrated]

When I navigate to the unanswered questions, it displays list of questions, but which has answers. What actually unanswered question means? 0 Answers OR user yet to accept the answer? Answer: I ...
0
votes
1answer
73 views

How do I fix a Java.lang.StackOverFlow exception?

Im not sure what to do here. I've looked at the logcat cat and I know that its between my MainActivity class and my DrawingTools class. I've also listed the line numbers to help identify which lines ...
2
votes
0answers
23 views

How do I chat with another user on StackOverflow? [migrated]

Sometimes i find old posts and Id like to call a users attention to something new or just ask for a followup. How can I invite a user to chat? Ive clicked on the chat link and I can create a room ...

1 2 3 4 5 75
15 30 50 per page