stackoverflow

NHibernate ManyToMany Relationship Cascading AllDeleteOrphan StackOverflowException

I have two objects that have a ManyToMany relationship with one another through a mapping table. Though, when I try to save it, I get a stack overflow exception. The following is the code for the mappings: //EventMapping.cs HasManyToMany(x => x.Performers).Table("EventPerformer").Inverse().Cascade.AllDeleteOrphan().LazyLoad().ParentKeyC...

What is StackOverflowError in Java ? When it occurs ?

Can anybody tell me what is StackOverflowError in Java ? ...

Stackoverflow like Question Asking Functionality

I want to create Stackoverflow like Question Asking Functionality. I have noticed as soon as cursor is move from Title textbox to Question, it is showing related links, without doing page postback. I want to doo something similar to that. How can I perform this? ...

Stack Overflow's User authentication style

I have to say, stack overflow's user authentication system is probably the best out there. I truly admire using cookies to store anonymous's identity and was planning to do something like that for my sites too (since it is so convenient). I am fluent in django and python, is that enough to build an authentication system which is based ...

Compiles in Eclipse but not with Javac from command line: StackOverFlow

Hey All, I have a Java project that contains many very large source files and it compiles fine in Eclipse, however it will not compile with javac from the command line or within Ant. When I try to compile it from the command with javac (or using Ant) I get a StackOverflow Exception: [javac] java.lang.StackOverflowError [javac] ...

how can I only view the posts for the tags I am interested in

currently the posts for my interested tags are being just highlighted. is there a way I can just view the tags I indicate interest on and ignore the rest? ...

Using Eclipse, how do I script the formatting of a code snippet for Stack Overflow?

The background: I'm a dyed-in-the-wool Emacs user who dabbles in a lot of languages. Recently a Famous Engineer upbraided me for continuing to use Emacs in this day and age, and I wish to put this Famous Engineer's chiding to the test. (This Famous Engineer happens to be partial to NetBeans, but we'll let that slide for the moment. ;-) )...

how can i get catch the root of a stackoverflow exception on recursive code

I have the following recursive code and i am getting a stackoverflow exception. I can't figure out the root cause because once i get the exception,i dont get the full call stack in Visual studio. The idea is that there are org teams that roll up into larger "Main" teams. Does anyone see a flaw on this code below that could be the culp...

Fixed point combinator usage? Why a stack overflow here?

I am confused about something. I wanted to generate an example (in Clojure) demonstrating how a fixed point combinator could be used to evaluate the fixed point of a sequence that mathematically converges after an infinite number of applications but would, in fact, converge after a finite number of steps due to finite precision of floati...

Difference between Static Corruption and Stack Corruption

Can anyone explain insights about the difference between Stack corruption and Static corruption ? ...

Should this sequence expression be tail-recursive?

This F# seq expression looks tail-recursive to me, but I'm getting stack overflow exceptions (with tail-calls enabled). Does anybody know what I'm missing? let buildSecondLevelExpressions expressions = let initialState = vector expressions |> randomize let rec allSeq state = seq { for partial in state do if c...

stackoverflow exception in non-recursive context.

I have an application that fetches data from a database and stores it in memory for later use. I've tested this application for around 7000 data rows but when I want to use it for 10000 or more I ran into a StackOverflow exception. This is so weird because I think I should get OutOfMemory, not Stackoverflow if my data is too big. ...

Why does calling this function with more than 2 parameters in Actionscript 3 cause stack overflow?

function testFunc(val1:int, val2:int, val3:int):int { var returnVal:int = 0; return returnVal; } var val:int = testFunc(1, 2, 3); causes locals: Main int int int * 4:dup VerifyError: Error #1023: Stack overflow occurred. ...

mmap regions allocating from reserved stack space?

In our product we use a malloc implementation that relies exclusively on mmap for memory allocation. We also do a fair use of allocaing. We've just encountered a problem where mmap will allocate regions that should be reserved to stack space (thus causing very bad things to happen when one of our larger alloca's spills into the malloc'...

Stack overflow in Internet Explorer

Yesterday I came across an error which I was puzzled by and had a little laugh at. I opened my website in Internet explorer (I use chrome 99% of the time) and got a "Stack Overflow" error. I was just wondering is this a bad thing because when I open it in chrome or firefox it loads fine. Also does this happen to anyone else? the we...

recursive + 900 elements + neighbor check = causes stackoverflow

Hi, I have a city simulation game and try to find a way to check the flow of our power system. The basics: The map for the city is based on tiles (30 by 30 tiles = 900 tiles). Now i start at a power plant and do a recursive neighbor check (top, left, right, bottom) to check if there is something that will transport the power. If there i...

Autocomplete text box like "Tags" text box in SOF

Hi, How to design & implement "Tags" text box used in SOF? Thanks. ...

Storing URLs with keywords - what's the best approach?

Hello all, I am developing a component that stores URLs and maintains a certain set of keywords associated with these URLs. For example- URL: http://www.imdb.com Keywords: search, movies, movie-index, reviews The keywords themselves are not restricted by number. The number of urls may be huge in number ranging between 10K to 100K. Wha...

Variable stack size

My system (linux kernel 2.6.32-24) is implementing a feature named Address Space Layout Randomization (ASLR). ASLR seems to change the stack size: void f(int n) { printf(" %d ", n); f(n + 1); } int main(...) { f(0); } Obviously if you execute the program you'll get a stack overflow. The problem is that segmentation fault...

WPF, calling method with parameters in XAML's class

I have an ObjectDataProvider in my XAML that references a method in my Window-deriving class. That is, I have NewForm.xaml.cs with class NewForm and the ObjectDataProvider in NewForm.xaml is referencing a method in NewForm. Currently, with the following XAML, I get a stack overflow error because the NewForm constructor keeps getting ca...