stackoverflow

Saving and Stack Overflows

I'm having a problem saving a vary large database type in Delphi. It contains an array[1..3500] of TItem, which in turn has two arrays[1..50] and [1..20]. I get a stack overflow unless I set the variable as a Pointer and use the GetMem, FreeMem commands below, but then I can't save it. Code is below. procedure TDatabase.SaveDB; var ...

How to detect the point of a stack overflow.

I have the following problem with my C program: Somewhere is a stack overflow. Despite compiling without optimization and with debugger symbols, the program exits with this output (within or outside of gdb on Linux): Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists. The only way I could detect ...

Emacs (or conkeror) stackoverflow mode?

Have any of the heavy users put together an emacs or conkeror stackoverflow mode that they'd wish to share? It'd be REALLY nice to compose posts and replies in a text editor rather than switching to the browser. Pages could load in the background while you get coding done, etc. In terms of implementation -- I took a look at how stackov...

Fielding support requests for OS project here

I run the open-source project, and maintain a support forum to help answer user's questions. This works tolerably well, except that it turns that at a forum is not actually that good at managing user support requests. So, on the spur of the moment, I thought to myself, "StackOverflow is a perfect place for answering questions! Why don't...

live debugging a stack overflow

I have a managed code Windows Service application that is crashing occasionally in production due to a managed StackOverFlowException. I know this because I've run adplus in crash mode and analyzed the crash dump post mortem using SoS. I have even attached the windbg debugger and set it to "go unhandled exception". My problem is, I can'...

Structuremap Stackoverflow Exception

I keep getting a stackoverflow exception when I call "GetInstance" (the last line). All, yes ALL of my types implement ITracker. MultiTracker has a constructor with a single parameter, which is an array of ITracker's. It seems like StructureMap is ignoring the fact that I told it that MultiTracker is the default class I want when reques...

Large 2D array gives segmentation fault

I am writing some C++ code in Linux where I have declared a few 2D arrays like so: double x[5000][500], y[5000][500], z[5000][500]; During compilation there is no error. When I execute it says "segmentation fault". Wen I reduce the size of the array from 5000 to 50, the program runs fine. How can I protect myself against this proble...

How can I control the number of podcast RSS feed entries on stackowerflow?

The default URL gives me only the 10 newest podcasts. How can I get a lengthier list? Or list all of the podcasts? ...

Is there any way to bypass SSP (StackSmashing Protection)/Propolice ?

After some research i haven't found any paper describing method to do this (no even an unreliable one). It seems that SSP (StackSmashing Protection)/Propolice ...

How to filter StackOverflow for questions with 0 answers?

Given that the 'Unanswered' tab shows questions that have no 'accepted answers', is there any way (perhaps a URL parameter?) that I can filter it for questions with only 0 answers? ...

Can I use the stackoverflow framework for a photography website?

What do you guys think? I found the chinese framework that works similar but thought SO looked a little bit nicer. I would like to use SO if possible. ...

How can I search within all answers in a given question on StackOverflow?

So I was trying to answer a "heavily answered" question, like this one, but I didn't know if my answer (Apache Chainsaw, if you insist) has already been written or not. Is there some kind of a search mechanism to search within all answers to a given question? Something with GUI, "conventional". That is: not a hack for RSS feeds, not a ha...

Avoiding stack overflow (with F# infinite sequences of sequences)

I have this "learning code" I wrote for the morris seq in f# that suffers from stack overflow that I don't know how to avoid. "morris" returns an infinite sequence of "see and say" sequences (i.e., {{1}, {1,1}, {2,1}, {1,2,1,1}, {1,1,1,2,2,1}, {3,1,2,2,1,1},...}). let printList l = Seq.iter (fun n -> printf "%i" n) l ...

Managing Stackoverflow Questions

How Do I close / delete questions that I have not received any conclusive feedback on? What's the appropriate thing to do as far as the existing comments and dealing with the question itself? Thank you kindly. FeemurK ...

Would IDE integration for Stack Overflow be beneficial to anyone?

Having seen a recent increase in plugins aimed at integrating other services such as bug trackers and continuous integration server with IDEs, I'm wondering if Stack Overflow would be a candidate for similar work. Some thoughts that spring to mind would be notifications of responses within the IDE. Maybe some type of cross referencing ...

QuickSort and stack overflow exception

Hi. I think that QuickSort in some specific conditions may cause a stack overflow exception. There are two basic ways of selecting the pivot element during the sort process - the pivot value can be the element in the middle of the sorted range or the element chosen randomly (within the sorted range). Is the second method (random) less ...

who is responsible for determining the size of the stack

Recently I made a program in c, which only purpose was to overflow the stack, using a recursive method. Apparently there is no portable way(like a try / catch block, at least in c), to avoid that the next call to a function causes a stack overflow. My question is, in your opinion, high-level languages should offer alternatives on resizin...

What are the possible causes of a stack overflow?

What are the possible causes of a stack overflow? ...

Is there a AJAX or JSON interface to retrieve the stackoverflow.com userId for a given username?

I'm trying to develop a stackoverflow.com widget for Mac OS X and I'd like to show the flair for a given username. The different possibilities described in User Flair are all expecting the ID of a user but I'd like to let the user enter a username, instead. Is there any way to retrieve the userID for a given username? Better yet, is t...

Decrease max stacksize at runtime in JAVA?

I'm attempting to write a junit test to guard against a piece of code getting stuck in a endless iteration which will eventually cause a StackOverflow. so i'm looking for a way to decrease the stack size at runtime so the Junittest will fail faster. setting the max stack as a jvm argument is not possible because the test is part of a m...