stackoverflow

Help debug a stackoverflow - next steps with repeating stack?

Folks, I've got a stack overflow in my .net 4.0 app. using WinDbg I've found the following chunk of stack-info repeated 110 times (with different memory addresses of course), which leads me to believe that this is the case of the overflow. The issue is that none of this seems like my code! Any suggestions on how to proceed with debug...

What's a good general way of catching a StackOverflow exception in C#?

If I have a method that I know could potentially recurse infinitely, but I can't reliably predict what conditions/parameters would cause it, what's a good way in C# of doing this: try { PotentiallyInfiniteRecursiveMethod(); } catch (StackOverflowException) { // Handle gracefully. } Obviously in the main thread you can't do this, b...

my threads are missing in stackoverflow account

Am not sure, i thing, some of old post threads missing in my account , can your tell me , is there any thing grace period for the threads , thanks ...

What are stackoverflow and bufferoverflow errors?

Possible Duplicate: What is a stack overflow error? Well, I have heard its the most common error that one experiences while writing a program... I am very new to programming, just 2 years coding and I have never actually come across this error! So, at the risk of sounding very stupid, I would like to ask... What is stackoverfl...

How can I filter out all questions that don't have an interesting tag?

Is there a way to only view questions that have the tags I consider interesting? ...

Why do I get a stack overflow exception?

Below is a simple test program that throws a StackOverflowException when Equals is called. I expected the generic Equals that I got from object to call my IEquatable<MyClass>.Equals, but it does not, it calls itself instead. Why? The parameter type seems ok. Why does it call the generic version in the first place? I am confused. using S...

Question 1-Million ... ?

Congratulations everyone! We all love Stackoverflow! A huge personal thanks for a great site to Jeff and everyone involved :) ... I hope this question can be a landmark in the question time-line and a chance for people to put a stake in the ground marking classic and good questions for future and current users. Out of the 1-million...

How do I use OData Expand like a SQL join?

I'm trying to figure out how to accomplish the equivalent of: select * from Users u inner join Comments c on c.UserId = u.Id where Id = 1569 (table aliases for better sql readability) ...on the StackOverflow OData endpoint. How would this url be constructed? I'm looking at the documentation for Expand at OData.org and I would have th...

stack level too deep in simple captcha plugin for ruby on rails

I am using Simple Captcha plugin in my application. The application was running fine from last two months but recently (last two days) it is giving error "stack level too deep" while saving the user into for "@user.save_with_captcha" line. The error occurs only in Production environment. In development mode, everything works fine. After ...

Stack overflow - static memory vs. dynamic memory

If you write int m[1000000]; inside the main function of C/C++, it will get a runtime error for stack overflow. Instead if you write vector<int> m; and then push_back 1000000 elements there, it will run fine. I am very curious about why this is happening. They both are local memory, aren't they? Thanks in advance. ...

List of questions with tag with the Stackoverflow API

As some of you know, Stackoverflow now has an API, which now makes these types of questions valid programming questions. My question: I'm trying to write a small script to connect to the SO API to get a list of all questions under a subject (such as oauth, python, twitter-api and so on). Can someone advise how to do this? I have no e...

Stack overflow like site for Sys Admins?

Hello. sorry for the silly questions, but could somebody recommend a site like Stach Overflow but for UNIX sys admins? Thanks ...

How to search || and or on StackOverflow?

One of my questions was closed, because of being a duplicate. My question is how can I search for duplicates for my original question. The keywords in my mind are: || or ruby rails Putting the four in the Stackoverflow search box didn't return anything meaningful. Thanks! ...

What makes people answer questions on stack overflow?

Apart from ego / personal satisfaction, what mechanism is used to give stack overflow users the urge to increase their reputation points? ...

How should I implement capacity for C Dymanic Linked List?

I know it is very easy to implement when you are using it as an ADT in OOP languages. But what should be done in case of structured language like C? Should I use a global variable? Should I keep an extra variable in every node? Or what? I have implemented my Dynamic Stack like this. As you can see there are no capacity checking. ...

How can I listen to tags in stackoverflow

Is there a way I could "listen" (maybe get an e-mail a message in my stackoverflow inbox) to some tags, so when a question is added this tag I can answer it quickly? ...

High Reputation score in stack overflow

Hi, Tips to increase reputation score in stackoverflow.com ? ...

PHP recursive function to delete all child nodes causes stackoverflow

My MySQL looks like this: (the name of the table is category) 'id', 'content', 'parent' where: id = the id of the category content = some-text-we-dont-care-about parent = the id of the parent category this is what I'm trying right now: function remrecurs($id) { $qlist=mysql_query("SELECT * FROM category WHERE parent='$id'"); ...

"Run-Time Check Failure #2 - Stack around the variable 'filePath' was corrupted" in debug Mode

Hi I’ve problem with this function using winsock2. When program leave this function in debug mode I receive 2 statements (only during exiting this function): “Run-Time Check Failure #2 - Stack around the variable 'filePath' was corrupted.” “Run-Time Check Failure #2 - Stack around the variable 'recBuf' was corrupted.” I’m programming...

Does stackoverflow's pretty print engine and editor exist as plugin to wordpress?

Hi, I really like the editor and the pretty print functionality in stackoverflow and wonder if there exist a plugin in to use the editor and pretty print functionality in wordpress? The simplicity and the look is at least as good as any other plugin I tried. ...